Lines 18-24
Link Here
|
18 |
#include "sanitizer_platform_limits_posix.h" |
18 |
#include "sanitizer_platform_limits_posix.h" |
19 |
|
19 |
|
20 |
struct link_map; // Opaque type returned by dlopen(). |
20 |
struct link_map; // Opaque type returned by dlopen(). |
21 |
struct sigaltstack; |
|
|
22 |
|
21 |
|
23 |
namespace __sanitizer { |
22 |
namespace __sanitizer { |
24 |
// Dirent structure for getdents(). Note that this structure is different from |
23 |
// Dirent structure for getdents(). Note that this structure is different from |
Lines 28-35
struct linux_dirent;
Link Here
|
28 |
// Syscall wrappers. |
27 |
// Syscall wrappers. |
29 |
uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count); |
28 |
uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count); |
30 |
uptr internal_prctl(int option, uptr arg2, uptr arg3, uptr arg4, uptr arg5); |
29 |
uptr internal_prctl(int option, uptr arg2, uptr arg3, uptr arg4, uptr arg5); |
31 |
uptr internal_sigaltstack(const struct sigaltstack* ss, |
30 |
uptr internal_sigaltstack(const void* ss, void* oss); |
32 |
struct sigaltstack* oss); |
|
|
33 |
uptr internal_sigaction(int signum, const __sanitizer_kernel_sigaction_t *act, |
31 |
uptr internal_sigaction(int signum, const __sanitizer_kernel_sigaction_t *act, |
34 |
__sanitizer_kernel_sigaction_t *oldact); |
32 |
__sanitizer_kernel_sigaction_t *oldact); |
35 |
uptr internal_sigprocmask(int how, __sanitizer_kernel_sigset_t *set, |
33 |
uptr internal_sigprocmask(int how, __sanitizer_kernel_sigset_t *set, |