Changeset View
Changeset View
Standalone View
Standalone View
compiler-rt/lib/sanitizer_common/sanitizer_posix.h
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
#if SANITIZER_NETBSD | #if SANITIZER_NETBSD | ||||
uptr internal_ptrace(int request, int pid, void *addr, int data); | uptr internal_ptrace(int request, int pid, void *addr, int data); | ||||
#else | #else | ||||
uptr internal_ptrace(int request, int pid, void *addr, void *data); | uptr internal_ptrace(int request, int pid, void *addr, void *data); | ||||
#endif | #endif | ||||
uptr internal_waitpid(int pid, int *status, int options); | uptr internal_waitpid(int pid, int *status, int options); | ||||
int internal_fork(); | int internal_fork(); | ||||
int internal_forkpty(int *amaster); | fd_t internal_spawn(const char *argv[], pid_t *pid); | ||||
int internal_sysctl(const int *name, unsigned int namelen, void *oldp, | int internal_sysctl(const int *name, unsigned int namelen, void *oldp, | ||||
uptr *oldlenp, const void *newp, uptr newlen); | uptr *oldlenp, const void *newp, uptr newlen); | ||||
int internal_sysctlbyname(const char *sname, void *oldp, uptr *oldlenp, | int internal_sysctlbyname(const char *sname, void *oldp, uptr *oldlenp, | ||||
const void *newp, uptr newlen); | const void *newp, uptr newlen); | ||||
// These functions call appropriate pthread_ functions directly, bypassing | // These functions call appropriate pthread_ functions directly, bypassing | ||||
// the interceptor. They are weak and may not be present in some tools. | // the interceptor. They are weak and may not be present in some tools. | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |