Home | History | Annotate | Download | only in sanitizer
      1 //===-- linux_syscall_hooks.h ---------------------------------------------===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 //
     10 // This file is a part of public sanitizer interface.
     11 //
     12 // System call handlers.
     13 //
     14 // Interface methods declared in this header implement pre- and post- syscall
     15 // actions for the active sanitizer.
     16 // Usage:
     17 //   __sanitizer_syscall_pre_getfoo(...args...);
     18 //   int res = syscall(__NR_getfoo, ...args...);
     19 //   __sanitizer_syscall_post_getfoo(res, ...args...);
     20 //===----------------------------------------------------------------------===//
     21 #ifndef SANITIZER_LINUX_SYSCALL_HOOKS_H
     22 #define SANITIZER_LINUX_SYSCALL_HOOKS_H
     23 
     24 #ifdef __cplusplus
     25 extern "C" {
     26 #endif
     27 
     28 void __sanitizer_syscall_pre_rt_sigpending(void *p, size_t s);
     29 void __sanitizer_syscall_pre_getdents(int fd, void *dirp, int count);
     30 void __sanitizer_syscall_pre_getdents64(int fd, void *dirp, int count);
     31 void __sanitizer_syscall_pre_recvmsg(int sockfd, void *msg, int flags);
     32 void __sanitizer_syscall_pre_wait4(int pid, int *status, int options, void *r);
     33 void __sanitizer_syscall_pre_waitpid(int pid, int *status, int options);
     34 void __sanitizer_syscall_pre_clock_gettime(int clk_id, void *tp);
     35 void __sanitizer_syscall_pre_clock_getres(int clk_id, void *tp);
     36 void __sanitizer_syscall_pre_read(unsigned int fd, void *buf, size_t count);
     37 
     38 void __sanitizer_syscall_post_rt_sigpending(long res, void *p, size_t s);
     39 void __sanitizer_syscall_post_getdents(long res, int fd, void *dirp, int count);
     40 void __sanitizer_syscall_post_getdents64(long res, int fd, void *dirp,
     41                                          int count);
     42 void __sanitizer_syscall_post_recvmsg(long res, int sockfd, void *msg,
     43                                       int flags);
     44 void __sanitizer_syscall_post_wait4(long res, int pid, int *status, int options,
     45                                     void *r);
     46 void __sanitizer_syscall_post_waitpid(long res, int pid, int *status,
     47                                       int options);
     48 void __sanitizer_syscall_post_clock_gettime(long res, int clk_id, void *tp);
     49 void __sanitizer_syscall_post_clock_getres(long res, int clk_id, void *tp);
     50 void __sanitizer_syscall_post_read(long res, unsigned int fd, void *buf,
     51                                    size_t count);
     52 
     53 // And now a few syscalls we don't handle yet.
     54 
     55 #define __sanitizer_syscall_pre_accept(...)
     56 #define __sanitizer_syscall_pre_accept4(...)
     57 #define __sanitizer_syscall_pre_access(...)
     58 #define __sanitizer_syscall_pre_acct(...)
     59 #define __sanitizer_syscall_pre_add_key(...)
     60 #define __sanitizer_syscall_pre_adjtimex(...)
     61 #define __sanitizer_syscall_pre_afs_syscall(...)
     62 #define __sanitizer_syscall_pre_alarm(...)
     63 #define __sanitizer_syscall_pre_arch_prctl(...)
     64 #define __sanitizer_syscall_pre_bdflush(...)
     65 #define __sanitizer_syscall_pre_bind(...)
     66 #define __sanitizer_syscall_pre_break(...)
     67 #define __sanitizer_syscall_pre_brk(...)
     68 #define __sanitizer_syscall_pre_capget(...)
     69 #define __sanitizer_syscall_pre_capset(...)
     70 #define __sanitizer_syscall_pre_chdir(...)
     71 #define __sanitizer_syscall_pre_chmod(...)
     72 #define __sanitizer_syscall_pre_chown(...)
     73 #define __sanitizer_syscall_pre_chown32(...)
     74 #define __sanitizer_syscall_pre_chroot(...)
     75 #define __sanitizer_syscall_pre_clock_adjtime(...)
     76 #define __sanitizer_syscall_pre_clock_nanosleep(...)
     77 #define __sanitizer_syscall_pre_clock_settime(...)
     78 #define __sanitizer_syscall_pre_clone(...)
     79 #define __sanitizer_syscall_pre_close(...)
     80 #define __sanitizer_syscall_pre_connect(...)
     81 #define __sanitizer_syscall_pre_creat(...)
     82 #define __sanitizer_syscall_pre_create_module(...)
     83 #define __sanitizer_syscall_pre_delete_module(...)
     84 #define __sanitizer_syscall_pre_dup(...)
     85 #define __sanitizer_syscall_pre_dup2(...)
     86 #define __sanitizer_syscall_pre_dup3(...)
     87 #define __sanitizer_syscall_pre_epoll_create(...)
     88 #define __sanitizer_syscall_pre_epoll_create1(...)
     89 #define __sanitizer_syscall_pre_epoll_ctl(...)
     90 #define __sanitizer_syscall_pre_epoll_ctl_old(...)
     91 #define __sanitizer_syscall_pre_epoll_pwait(...)
     92 #define __sanitizer_syscall_pre_epoll_wait(...)
     93 #define __sanitizer_syscall_pre_epoll_wait_old(...)
     94 #define __sanitizer_syscall_pre_eventfd(...)
     95 #define __sanitizer_syscall_pre_eventfd2(...)
     96 #define __sanitizer_syscall_pre_execve(...)
     97 #define __sanitizer_syscall_pre_exit(...)
     98 #define __sanitizer_syscall_pre_exit_group(...)
     99 #define __sanitizer_syscall_pre_faccessat(...)
    100 #define __sanitizer_syscall_pre_fadvise64(...)
    101 #define __sanitizer_syscall_pre_fadvise64_64(...)
    102 #define __sanitizer_syscall_pre_fallocate(...)
    103 #define __sanitizer_syscall_pre_fanotify_init(...)
    104 #define __sanitizer_syscall_pre_fanotify_mark(...)
    105 #define __sanitizer_syscall_pre_fchdir(...)
    106 #define __sanitizer_syscall_pre_fchmod(...)
    107 #define __sanitizer_syscall_pre_fchmodat(...)
    108 #define __sanitizer_syscall_pre_fchown(...)
    109 #define __sanitizer_syscall_pre_fchown32(...)
    110 #define __sanitizer_syscall_pre_fchownat(...)
    111 #define __sanitizer_syscall_pre_fcntl(...)
    112 #define __sanitizer_syscall_pre_fcntl64(...)
    113 #define __sanitizer_syscall_pre_fdatasync(...)
    114 #define __sanitizer_syscall_pre_fgetxattr(...)
    115 #define __sanitizer_syscall_pre_flistxattr(...)
    116 #define __sanitizer_syscall_pre_flock(...)
    117 #define __sanitizer_syscall_pre_fork(...)
    118 #define __sanitizer_syscall_pre_fremovexattr(...)
    119 #define __sanitizer_syscall_pre_fsetxattr(...)
    120 #define __sanitizer_syscall_pre_fstat(...)
    121 #define __sanitizer_syscall_pre_fstat64(...)
    122 #define __sanitizer_syscall_pre_fstatat64(...)
    123 #define __sanitizer_syscall_pre_fstatfs(...)
    124 #define __sanitizer_syscall_pre_fstatfs64(...)
    125 #define __sanitizer_syscall_pre_fsync(...)
    126 #define __sanitizer_syscall_pre_ftime(...)
    127 #define __sanitizer_syscall_pre_ftruncate(...)
    128 #define __sanitizer_syscall_pre_ftruncate64(...)
    129 #define __sanitizer_syscall_pre_futex(...)
    130 #define __sanitizer_syscall_pre_futimesat(...)
    131 #define __sanitizer_syscall_pre_getcpu(...)
    132 #define __sanitizer_syscall_pre_getcwd(...)
    133 #define __sanitizer_syscall_pre_getegid(...)
    134 #define __sanitizer_syscall_pre_getegid32(...)
    135 #define __sanitizer_syscall_pre_geteuid(...)
    136 #define __sanitizer_syscall_pre_geteuid32(...)
    137 #define __sanitizer_syscall_pre_getgid(...)
    138 #define __sanitizer_syscall_pre_getgid32(...)
    139 #define __sanitizer_syscall_pre_getgroups(...)
    140 #define __sanitizer_syscall_pre_getgroups32(...)
    141 #define __sanitizer_syscall_pre_getitimer(...)
    142 #define __sanitizer_syscall_pre_get_kernel_syms(...)
    143 #define __sanitizer_syscall_pre_get_mempolicy(...)
    144 #define __sanitizer_syscall_pre_getpeername(...)
    145 #define __sanitizer_syscall_pre_getpgid(...)
    146 #define __sanitizer_syscall_pre_getpgrp(...)
    147 #define __sanitizer_syscall_pre_getpid(...)
    148 #define __sanitizer_syscall_pre_getpmsg(...)
    149 #define __sanitizer_syscall_pre_getppid(...)
    150 #define __sanitizer_syscall_pre_getpriority(...)
    151 #define __sanitizer_syscall_pre_getresgid(...)
    152 #define __sanitizer_syscall_pre_getresgid32(...)
    153 #define __sanitizer_syscall_pre_getresuid(...)
    154 #define __sanitizer_syscall_pre_getresuid32(...)
    155 #define __sanitizer_syscall_pre_getrlimit(...)
    156 #define __sanitizer_syscall_pre_get_robust_list(...)
    157 #define __sanitizer_syscall_pre_getrusage(...)
    158 #define __sanitizer_syscall_pre_getsid(...)
    159 #define __sanitizer_syscall_pre_getsockname(...)
    160 #define __sanitizer_syscall_pre_getsockopt(...)
    161 #define __sanitizer_syscall_pre_get_thread_area(...)
    162 #define __sanitizer_syscall_pre_gettid(...)
    163 #define __sanitizer_syscall_pre_gettimeofday(...)
    164 #define __sanitizer_syscall_pre_getuid(...)
    165 #define __sanitizer_syscall_pre_getuid32(...)
    166 #define __sanitizer_syscall_pre_getxattr(...)
    167 #define __sanitizer_syscall_pre_gtty(...)
    168 #define __sanitizer_syscall_pre_idle(...)
    169 #define __sanitizer_syscall_pre_init_module(...)
    170 #define __sanitizer_syscall_pre_inotify_add_watch(...)
    171 #define __sanitizer_syscall_pre_inotify_init(...)
    172 #define __sanitizer_syscall_pre_inotify_init1(...)
    173 #define __sanitizer_syscall_pre_inotify_rm_watch(...)
    174 #define __sanitizer_syscall_pre_io_cancel(...)
    175 #define __sanitizer_syscall_pre_ioctl(...)
    176 #define __sanitizer_syscall_pre_io_destroy(...)
    177 #define __sanitizer_syscall_pre_io_getevents(...)
    178 #define __sanitizer_syscall_pre_ioperm(...)
    179 #define __sanitizer_syscall_pre_iopl(...)
    180 #define __sanitizer_syscall_pre_ioprio_get(...)
    181 #define __sanitizer_syscall_pre_ioprio_set(...)
    182 #define __sanitizer_syscall_pre_io_setup(...)
    183 #define __sanitizer_syscall_pre_io_submit(...)
    184 #define __sanitizer_syscall_pre_ipc(...)
    185 #define __sanitizer_syscall_pre_kexec_load(...)
    186 #define __sanitizer_syscall_pre_keyctl(...)
    187 #define __sanitizer_syscall_pre_kill(...)
    188 #define __sanitizer_syscall_pre_lchown(...)
    189 #define __sanitizer_syscall_pre_lchown32(...)
    190 #define __sanitizer_syscall_pre_lgetxattr(...)
    191 #define __sanitizer_syscall_pre_link(...)
    192 #define __sanitizer_syscall_pre_linkat(...)
    193 #define __sanitizer_syscall_pre_listen(...)
    194 #define __sanitizer_syscall_pre_listxattr(...)
    195 #define __sanitizer_syscall_pre_llistxattr(...)
    196 #define __sanitizer_syscall_pre__llseek(...)
    197 #define __sanitizer_syscall_pre_lock(...)
    198 #define __sanitizer_syscall_pre_lookup_dcookie(...)
    199 #define __sanitizer_syscall_pre_lremovexattr(...)
    200 #define __sanitizer_syscall_pre_lseek(...)
    201 #define __sanitizer_syscall_pre_lsetxattr(...)
    202 #define __sanitizer_syscall_pre_lstat(...)
    203 #define __sanitizer_syscall_pre_lstat64(...)
    204 #define __sanitizer_syscall_pre_madvise(...)
    205 #define __sanitizer_syscall_pre_madvise1(...)
    206 #define __sanitizer_syscall_pre_mbind(...)
    207 #define __sanitizer_syscall_pre_migrate_pages(...)
    208 #define __sanitizer_syscall_pre_mincore(...)
    209 #define __sanitizer_syscall_pre_mkdir(...)
    210 #define __sanitizer_syscall_pre_mkdirat(...)
    211 #define __sanitizer_syscall_pre_mknod(...)
    212 #define __sanitizer_syscall_pre_mknodat(...)
    213 #define __sanitizer_syscall_pre_mlock(...)
    214 #define __sanitizer_syscall_pre_mlockall(...)
    215 #define __sanitizer_syscall_pre_mmap(...)
    216 #define __sanitizer_syscall_pre_mmap2(...)
    217 #define __sanitizer_syscall_pre_modify_ldt(...)
    218 #define __sanitizer_syscall_pre_mount(...)
    219 #define __sanitizer_syscall_pre_move_pages(...)
    220 #define __sanitizer_syscall_pre_mprotect(...)
    221 #define __sanitizer_syscall_pre_mpx(...)
    222 #define __sanitizer_syscall_pre_mq_getsetattr(...)
    223 #define __sanitizer_syscall_pre_mq_notify(...)
    224 #define __sanitizer_syscall_pre_mq_open(...)
    225 #define __sanitizer_syscall_pre_mq_timedreceive(...)
    226 #define __sanitizer_syscall_pre_mq_timedsend(...)
    227 #define __sanitizer_syscall_pre_mq_unlink(...)
    228 #define __sanitizer_syscall_pre_mremap(...)
    229 #define __sanitizer_syscall_pre_msgctl(...)
    230 #define __sanitizer_syscall_pre_msgget(...)
    231 #define __sanitizer_syscall_pre_msgrcv(...)
    232 #define __sanitizer_syscall_pre_msgsnd(...)
    233 #define __sanitizer_syscall_pre_msync(...)
    234 #define __sanitizer_syscall_pre_munlock(...)
    235 #define __sanitizer_syscall_pre_munlockall(...)
    236 #define __sanitizer_syscall_pre_munmap(...)
    237 #define __sanitizer_syscall_pre_name_to_handle_at(...)
    238 #define __sanitizer_syscall_pre_nanosleep(...)
    239 #define __sanitizer_syscall_pre_newfstatat(...)
    240 #define __sanitizer_syscall_pre__newselect(...)
    241 #define __sanitizer_syscall_pre_nfsservctl(...)
    242 #define __sanitizer_syscall_pre_nice(...)
    243 #define __sanitizer_syscall_pre_oldfstat(...)
    244 #define __sanitizer_syscall_pre_oldlstat(...)
    245 #define __sanitizer_syscall_pre_oldolduname(...)
    246 #define __sanitizer_syscall_pre_oldstat(...)
    247 #define __sanitizer_syscall_pre_olduname(...)
    248 #define __sanitizer_syscall_pre_open(...)
    249 #define __sanitizer_syscall_pre_openat(...)
    250 #define __sanitizer_syscall_pre_open_by_handle_at(...)
    251 #define __sanitizer_syscall_pre_pause(...)
    252 #define __sanitizer_syscall_pre_perf_event_open(...)
    253 #define __sanitizer_syscall_pre_personality(...)
    254 #define __sanitizer_syscall_pre_pipe(...)
    255 #define __sanitizer_syscall_pre_pipe2(...)
    256 #define __sanitizer_syscall_pre_pivot_root(...)
    257 #define __sanitizer_syscall_pre_poll(...)
    258 #define __sanitizer_syscall_pre_ppoll(...)
    259 #define __sanitizer_syscall_pre_prctl(...)
    260 #define __sanitizer_syscall_pre_pread64(...)
    261 #define __sanitizer_syscall_pre_preadv(...)
    262 #define __sanitizer_syscall_pre_prlimit64(...)
    263 #define __sanitizer_syscall_pre_process_vm_readv(...)
    264 #define __sanitizer_syscall_pre_process_vm_writev(...)
    265 #define __sanitizer_syscall_pre_prof(...)
    266 #define __sanitizer_syscall_pre_profil(...)
    267 #define __sanitizer_syscall_pre_pselect6(...)
    268 #define __sanitizer_syscall_pre_ptrace(...)
    269 #define __sanitizer_syscall_pre_putpmsg(...)
    270 #define __sanitizer_syscall_pre_pwrite64(...)
    271 #define __sanitizer_syscall_pre_pwritev(...)
    272 #define __sanitizer_syscall_pre_query_module(...)
    273 #define __sanitizer_syscall_pre_quotactl(...)
    274 #define __sanitizer_syscall_pre_readahead(...)
    275 #define __sanitizer_syscall_pre_readdir(...)
    276 #define __sanitizer_syscall_pre_readlink(...)
    277 #define __sanitizer_syscall_pre_readlinkat(...)
    278 #define __sanitizer_syscall_pre_readv(...)
    279 #define __sanitizer_syscall_pre_reboot(...)
    280 #define __sanitizer_syscall_pre_recvfrom(...)
    281 #define __sanitizer_syscall_pre_recvmmsg(...)
    282 #define __sanitizer_syscall_pre_remap_file_pages(...)
    283 #define __sanitizer_syscall_pre_removexattr(...)
    284 #define __sanitizer_syscall_pre_rename(...)
    285 #define __sanitizer_syscall_pre_renameat(...)
    286 #define __sanitizer_syscall_pre_request_key(...)
    287 #define __sanitizer_syscall_pre_restart_syscall(...)
    288 #define __sanitizer_syscall_pre_rmdir(...)
    289 #define __sanitizer_syscall_pre_rt_sigaction(...)
    290 #define __sanitizer_syscall_pre_rt_sigprocmask(...)
    291 #define __sanitizer_syscall_pre_rt_sigqueueinfo(...)
    292 #define __sanitizer_syscall_pre_rt_sigreturn(...)
    293 #define __sanitizer_syscall_pre_rt_sigsuspend(...)
    294 #define __sanitizer_syscall_pre_rt_sigtimedwait(...)
    295 #define __sanitizer_syscall_pre_rt_tgsigqueueinfo(...)
    296 #define __sanitizer_syscall_pre_sched_getaffinity(...)
    297 #define __sanitizer_syscall_pre_sched_getparam(...)
    298 #define __sanitizer_syscall_pre_sched_get_priority_max(...)
    299 #define __sanitizer_syscall_pre_sched_get_priority_min(...)
    300 #define __sanitizer_syscall_pre_sched_getscheduler(...)
    301 #define __sanitizer_syscall_pre_sched_rr_get_interval(...)
    302 #define __sanitizer_syscall_pre_sched_setaffinity(...)
    303 #define __sanitizer_syscall_pre_sched_setparam(...)
    304 #define __sanitizer_syscall_pre_sched_setscheduler(...)
    305 #define __sanitizer_syscall_pre_sched_yield(...)
    306 #define __sanitizer_syscall_pre_security(...)
    307 #define __sanitizer_syscall_pre_select(...)
    308 #define __sanitizer_syscall_pre_semctl(...)
    309 #define __sanitizer_syscall_pre_semget(...)
    310 #define __sanitizer_syscall_pre_semop(...)
    311 #define __sanitizer_syscall_pre_semtimedop(...)
    312 #define __sanitizer_syscall_pre_sendfile(...)
    313 #define __sanitizer_syscall_pre_sendfile64(...)
    314 #define __sanitizer_syscall_pre_sendmmsg(...)
    315 #define __sanitizer_syscall_pre_sendmsg(...)
    316 #define __sanitizer_syscall_pre_sendto(...)
    317 #define __sanitizer_syscall_pre_setdomainname(...)
    318 #define __sanitizer_syscall_pre_setfsgid(...)
    319 #define __sanitizer_syscall_pre_setfsgid32(...)
    320 #define __sanitizer_syscall_pre_setfsuid(...)
    321 #define __sanitizer_syscall_pre_setfsuid32(...)
    322 #define __sanitizer_syscall_pre_setgid(...)
    323 #define __sanitizer_syscall_pre_setgid32(...)
    324 #define __sanitizer_syscall_pre_setgroups(...)
    325 #define __sanitizer_syscall_pre_setgroups32(...)
    326 #define __sanitizer_syscall_pre_sethostname(...)
    327 #define __sanitizer_syscall_pre_setitimer(...)
    328 #define __sanitizer_syscall_pre_set_mempolicy(...)
    329 #define __sanitizer_syscall_pre_setns(...)
    330 #define __sanitizer_syscall_pre_setpgid(...)
    331 #define __sanitizer_syscall_pre_setpriority(...)
    332 #define __sanitizer_syscall_pre_setregid(...)
    333 #define __sanitizer_syscall_pre_setregid32(...)
    334 #define __sanitizer_syscall_pre_setresgid(...)
    335 #define __sanitizer_syscall_pre_setresgid32(...)
    336 #define __sanitizer_syscall_pre_setresuid(...)
    337 #define __sanitizer_syscall_pre_setresuid32(...)
    338 #define __sanitizer_syscall_pre_setreuid(...)
    339 #define __sanitizer_syscall_pre_setreuid32(...)
    340 #define __sanitizer_syscall_pre_setrlimit(...)
    341 #define __sanitizer_syscall_pre_set_robust_list(...)
    342 #define __sanitizer_syscall_pre_setsid(...)
    343 #define __sanitizer_syscall_pre_setsockopt(...)
    344 #define __sanitizer_syscall_pre_set_thread_area(...)
    345 #define __sanitizer_syscall_pre_set_tid_address(...)
    346 #define __sanitizer_syscall_pre_settimeofday(...)
    347 #define __sanitizer_syscall_pre_setuid(...)
    348 #define __sanitizer_syscall_pre_setuid32(...)
    349 #define __sanitizer_syscall_pre_setxattr(...)
    350 #define __sanitizer_syscall_pre_sgetmask(...)
    351 #define __sanitizer_syscall_pre_shmat(...)
    352 #define __sanitizer_syscall_pre_shmctl(...)
    353 #define __sanitizer_syscall_pre_shmdt(...)
    354 #define __sanitizer_syscall_pre_shmget(...)
    355 #define __sanitizer_syscall_pre_shutdown(...)
    356 #define __sanitizer_syscall_pre_sigaction(...)
    357 #define __sanitizer_syscall_pre_sigaltstack(...)
    358 #define __sanitizer_syscall_pre_signal(...)
    359 #define __sanitizer_syscall_pre_signalfd(...)
    360 #define __sanitizer_syscall_pre_signalfd4(...)
    361 #define __sanitizer_syscall_pre_sigpending(...)
    362 #define __sanitizer_syscall_pre_sigprocmask(...)
    363 #define __sanitizer_syscall_pre_sigreturn(...)
    364 #define __sanitizer_syscall_pre_sigsuspend(...)
    365 #define __sanitizer_syscall_pre_socket(...)
    366 #define __sanitizer_syscall_pre_socketcall(...)
    367 #define __sanitizer_syscall_pre_socketpair(...)
    368 #define __sanitizer_syscall_pre_splice(...)
    369 #define __sanitizer_syscall_pre_ssetmask(...)
    370 #define __sanitizer_syscall_pre_stat(...)
    371 #define __sanitizer_syscall_pre_stat64(...)
    372 #define __sanitizer_syscall_pre_statfs(...)
    373 #define __sanitizer_syscall_pre_statfs64(...)
    374 #define __sanitizer_syscall_pre_stime(...)
    375 #define __sanitizer_syscall_pre_stty(...)
    376 #define __sanitizer_syscall_pre_swapoff(...)
    377 #define __sanitizer_syscall_pre_swapon(...)
    378 #define __sanitizer_syscall_pre_symlink(...)
    379 #define __sanitizer_syscall_pre_symlinkat(...)
    380 #define __sanitizer_syscall_pre_sync(...)
    381 #define __sanitizer_syscall_pre_sync_file_range(...)
    382 #define __sanitizer_syscall_pre_syncfs(...)
    383 #define __sanitizer_syscall_pre__sysctl(...)
    384 #define __sanitizer_syscall_pre_sysfs(...)
    385 #define __sanitizer_syscall_pre_sysinfo(...)
    386 #define __sanitizer_syscall_pre_syslog(...)
    387 #define __sanitizer_syscall_pre_tee(...)
    388 #define __sanitizer_syscall_pre_tgkill(...)
    389 #define __sanitizer_syscall_pre_time(...)
    390 #define __sanitizer_syscall_pre_timer_create(...)
    391 #define __sanitizer_syscall_pre_timer_delete(...)
    392 #define __sanitizer_syscall_pre_timerfd_create(...)
    393 #define __sanitizer_syscall_pre_timerfd_gettime(...)
    394 #define __sanitizer_syscall_pre_timerfd_settime(...)
    395 #define __sanitizer_syscall_pre_timer_getoverrun(...)
    396 #define __sanitizer_syscall_pre_timer_gettime(...)
    397 #define __sanitizer_syscall_pre_timer_settime(...)
    398 #define __sanitizer_syscall_pre_times(...)
    399 #define __sanitizer_syscall_pre_tkill(...)
    400 #define __sanitizer_syscall_pre_truncate(...)
    401 #define __sanitizer_syscall_pre_truncate64(...)
    402 #define __sanitizer_syscall_pre_tuxcall(...)
    403 #define __sanitizer_syscall_pre_ugetrlimit(...)
    404 #define __sanitizer_syscall_pre_ulimit(...)
    405 #define __sanitizer_syscall_pre_umask(...)
    406 #define __sanitizer_syscall_pre_umount(...)
    407 #define __sanitizer_syscall_pre_umount2(...)
    408 #define __sanitizer_syscall_pre_uname(...)
    409 #define __sanitizer_syscall_pre_unlink(...)
    410 #define __sanitizer_syscall_pre_unlinkat(...)
    411 #define __sanitizer_syscall_pre_unshare(...)
    412 #define __sanitizer_syscall_pre_uselib(...)
    413 #define __sanitizer_syscall_pre_ustat(...)
    414 #define __sanitizer_syscall_pre_utime(...)
    415 #define __sanitizer_syscall_pre_utimensat(...)
    416 #define __sanitizer_syscall_pre_utimes(...)
    417 #define __sanitizer_syscall_pre_vfork(...)
    418 #define __sanitizer_syscall_pre_vhangup(...)
    419 #define __sanitizer_syscall_pre_vm86(...)
    420 #define __sanitizer_syscall_pre_vm86old(...)
    421 #define __sanitizer_syscall_pre_vmsplice(...)
    422 #define __sanitizer_syscall_pre_vserver(...)
    423 #define __sanitizer_syscall_pre_waitid(...)
    424 #define __sanitizer_syscall_pre_write(...)
    425 #define __sanitizer_syscall_pre_writev(...)
    426 
    427 #define __sanitizer_syscall_post_accept4(res, ...)
    428 #define __sanitizer_syscall_post_accept(res, ...)
    429 #define __sanitizer_syscall_post_access(res, ...)
    430 #define __sanitizer_syscall_post_acct(res, ...)
    431 #define __sanitizer_syscall_post_add_key(res, ...)
    432 #define __sanitizer_syscall_post_adjtimex(res, ...)
    433 #define __sanitizer_syscall_post_afs_syscall(res, ...)
    434 #define __sanitizer_syscall_post_alarm(res, ...)
    435 #define __sanitizer_syscall_post_arch_prctl(res, ...)
    436 #define __sanitizer_syscall_post_bdflush(res, ...)
    437 #define __sanitizer_syscall_post_bind(res, ...)
    438 #define __sanitizer_syscall_post_break(res, ...)
    439 #define __sanitizer_syscall_post_brk(res, ...)
    440 #define __sanitizer_syscall_post_capget(res, ...)
    441 #define __sanitizer_syscall_post_capset(res, ...)
    442 #define __sanitizer_syscall_post_chdir(res, ...)
    443 #define __sanitizer_syscall_post_chmod(res, ...)
    444 #define __sanitizer_syscall_post_chown32(res, ...)
    445 #define __sanitizer_syscall_post_chown(res, ...)
    446 #define __sanitizer_syscall_post_chroot(res, ...)
    447 #define __sanitizer_syscall_post_clock_adjtime(res, ...)
    448 #define __sanitizer_syscall_post_clock_nanosleep(res, ...)
    449 #define __sanitizer_syscall_post_clock_settime(res, ...)
    450 #define __sanitizer_syscall_post_clone(res, ...)
    451 #define __sanitizer_syscall_post_close(res, ...)
    452 #define __sanitizer_syscall_post_connect(res, ...)
    453 #define __sanitizer_syscall_post_create_module(res, ...)
    454 #define __sanitizer_syscall_post_creat(res, ...)
    455 #define __sanitizer_syscall_post_delete_module(res, ...)
    456 #define __sanitizer_syscall_post_dup2(res, ...)
    457 #define __sanitizer_syscall_post_dup3(res, ...)
    458 #define __sanitizer_syscall_post_dup(res, ...)
    459 #define __sanitizer_syscall_post_epoll_create1(res, ...)
    460 #define __sanitizer_syscall_post_epoll_create(res, ...)
    461 #define __sanitizer_syscall_post_epoll_ctl_old(res, ...)
    462 #define __sanitizer_syscall_post_epoll_ctl(res, ...)
    463 #define __sanitizer_syscall_post_epoll_pwait(res, ...)
    464 #define __sanitizer_syscall_post_epoll_wait_old(res, ...)
    465 #define __sanitizer_syscall_post_epoll_wait(res, ...)
    466 #define __sanitizer_syscall_post_eventfd2(res, ...)
    467 #define __sanitizer_syscall_post_eventfd(res, ...)
    468 #define __sanitizer_syscall_post_execve(res, ...)
    469 #define __sanitizer_syscall_post_exit_group(res, ...)
    470 #define __sanitizer_syscall_post_exit(res, ...)
    471 #define __sanitizer_syscall_post_faccessat(res, ...)
    472 #define __sanitizer_syscall_post_fadvise64_64(res, ...)
    473 #define __sanitizer_syscall_post_fadvise64(res, ...)
    474 #define __sanitizer_syscall_post_fallocate(res, ...)
    475 #define __sanitizer_syscall_post_fanotify_init(res, ...)
    476 #define __sanitizer_syscall_post_fanotify_mark(res, ...)
    477 #define __sanitizer_syscall_post_fchdir(res, ...)
    478 #define __sanitizer_syscall_post_fchmodat(res, ...)
    479 #define __sanitizer_syscall_post_fchmod(res, ...)
    480 #define __sanitizer_syscall_post_fchown32(res, ...)
    481 #define __sanitizer_syscall_post_fchownat(res, ...)
    482 #define __sanitizer_syscall_post_fchown(res, ...)
    483 #define __sanitizer_syscall_post_fcntl64(res, ...)
    484 #define __sanitizer_syscall_post_fcntl(res, ...)
    485 #define __sanitizer_syscall_post_fdatasync(res, ...)
    486 #define __sanitizer_syscall_post_fgetxattr(res, ...)
    487 #define __sanitizer_syscall_post_flistxattr(res, ...)
    488 #define __sanitizer_syscall_post_flock(res, ...)
    489 #define __sanitizer_syscall_post_fork(res, ...)
    490 #define __sanitizer_syscall_post_fremovexattr(res, ...)
    491 #define __sanitizer_syscall_post_fsetxattr(res, ...)
    492 #define __sanitizer_syscall_post_fstat64(res, ...)
    493 #define __sanitizer_syscall_post_fstatat64(res, ...)
    494 #define __sanitizer_syscall_post_fstatfs64(res, ...)
    495 #define __sanitizer_syscall_post_fstatfs(res, ...)
    496 #define __sanitizer_syscall_post_fstat(res, ...)
    497 #define __sanitizer_syscall_post_fsync(res, ...)
    498 #define __sanitizer_syscall_post_ftime(res, ...)
    499 #define __sanitizer_syscall_post_ftruncate64(res, ...)
    500 #define __sanitizer_syscall_post_ftruncate(res, ...)
    501 #define __sanitizer_syscall_post_futex(res, ...)
    502 #define __sanitizer_syscall_post_futimesat(res, ...)
    503 #define __sanitizer_syscall_post_getcpu(res, ...)
    504 #define __sanitizer_syscall_post_getcwd(res, ...)
    505 #define __sanitizer_syscall_post_getegid32(res, ...)
    506 #define __sanitizer_syscall_post_getegid(res, ...)
    507 #define __sanitizer_syscall_post_geteuid32(res, ...)
    508 #define __sanitizer_syscall_post_geteuid(res, ...)
    509 #define __sanitizer_syscall_post_getgid32(res, ...)
    510 #define __sanitizer_syscall_post_getgid(res, ...)
    511 #define __sanitizer_syscall_post_getgroups32(res, ...)
    512 #define __sanitizer_syscall_post_getgroups(res, ...)
    513 #define __sanitizer_syscall_post_getitimer(res, ...)
    514 #define __sanitizer_syscall_post_get_kernel_syms(res, ...)
    515 #define __sanitizer_syscall_post_get_mempolicy(res, ...)
    516 #define __sanitizer_syscall_post_getpeername(res, ...)
    517 #define __sanitizer_syscall_post_getpgid(res, ...)
    518 #define __sanitizer_syscall_post_getpgrp(res, ...)
    519 #define __sanitizer_syscall_post_getpid(res, ...)
    520 #define __sanitizer_syscall_post_getpmsg(res, ...)
    521 #define __sanitizer_syscall_post_getppid(res, ...)
    522 #define __sanitizer_syscall_post_getpriority(res, ...)
    523 #define __sanitizer_syscall_post_getresgid32(res, ...)
    524 #define __sanitizer_syscall_post_getresgid(res, ...)
    525 #define __sanitizer_syscall_post_getresuid32(res, ...)
    526 #define __sanitizer_syscall_post_getresuid(res, ...)
    527 #define __sanitizer_syscall_post_getrlimit(res, ...)
    528 #define __sanitizer_syscall_post_get_robust_list(res, ...)
    529 #define __sanitizer_syscall_post_getrusage(res, ...)
    530 #define __sanitizer_syscall_post_getsid(res, ...)
    531 #define __sanitizer_syscall_post_getsockname(res, ...)
    532 #define __sanitizer_syscall_post_getsockopt(res, ...)
    533 #define __sanitizer_syscall_post_get_thread_area(res, ...)
    534 #define __sanitizer_syscall_post_gettid(res, ...)
    535 #define __sanitizer_syscall_post_gettimeofday(res, ...)
    536 #define __sanitizer_syscall_post_getuid32(res, ...)
    537 #define __sanitizer_syscall_post_getuid(res, ...)
    538 #define __sanitizer_syscall_post_getxattr(res, ...)
    539 #define __sanitizer_syscall_post_gtty(res, ...)
    540 #define __sanitizer_syscall_post_idle(res, ...)
    541 #define __sanitizer_syscall_post_init_module(res, ...)
    542 #define __sanitizer_syscall_post_inotify_add_watch(res, ...)
    543 #define __sanitizer_syscall_post_inotify_init1(res, ...)
    544 #define __sanitizer_syscall_post_inotify_init(res, ...)
    545 #define __sanitizer_syscall_post_inotify_rm_watch(res, ...)
    546 #define __sanitizer_syscall_post_io_cancel(res, ...)
    547 #define __sanitizer_syscall_post_ioctl(res, ...)
    548 #define __sanitizer_syscall_post_io_destroy(res, ...)
    549 #define __sanitizer_syscall_post_io_getevents(res, ...)
    550 #define __sanitizer_syscall_post_ioperm(res, ...)
    551 #define __sanitizer_syscall_post_iopl(res, ...)
    552 #define __sanitizer_syscall_post_ioprio_get(res, ...)
    553 #define __sanitizer_syscall_post_ioprio_set(res, ...)
    554 #define __sanitizer_syscall_post_io_setup(res, ...)
    555 #define __sanitizer_syscall_post_io_submit(res, ...)
    556 #define __sanitizer_syscall_post_ipc(res, ...)
    557 #define __sanitizer_syscall_post_kexec_load(res, ...)
    558 #define __sanitizer_syscall_post_keyctl(res, ...)
    559 #define __sanitizer_syscall_post_kill(res, ...)
    560 #define __sanitizer_syscall_post_lchown32(res, ...)
    561 #define __sanitizer_syscall_post_lchown(res, ...)
    562 #define __sanitizer_syscall_post_lgetxattr(res, ...)
    563 #define __sanitizer_syscall_post_linkat(res, ...)
    564 #define __sanitizer_syscall_post_link(res, ...)
    565 #define __sanitizer_syscall_post_listen(res, ...)
    566 #define __sanitizer_syscall_post_listxattr(res, ...)
    567 #define __sanitizer_syscall_post_llistxattr(res, ...)
    568 #define __sanitizer_syscall_post__llseek(res, ...)
    569 #define __sanitizer_syscall_post_lock(res, ...)
    570 #define __sanitizer_syscall_post_lookup_dcookie(res, ...)
    571 #define __sanitizer_syscall_post_lremovexattr(res, ...)
    572 #define __sanitizer_syscall_post_lseek(res, ...)
    573 #define __sanitizer_syscall_post_lsetxattr(res, ...)
    574 #define __sanitizer_syscall_post_lstat64(res, ...)
    575 #define __sanitizer_syscall_post_lstat(res, ...)
    576 #define __sanitizer_syscall_post_madvise1(res, ...)
    577 #define __sanitizer_syscall_post_madvise(res, ...)
    578 #define __sanitizer_syscall_post_mbind(res, ...)
    579 #define __sanitizer_syscall_post_migrate_pages(res, ...)
    580 #define __sanitizer_syscall_post_mincore(res, ...)
    581 #define __sanitizer_syscall_post_mkdirat(res, ...)
    582 #define __sanitizer_syscall_post_mkdir(res, ...)
    583 #define __sanitizer_syscall_post_mknodat(res, ...)
    584 #define __sanitizer_syscall_post_mknod(res, ...)
    585 #define __sanitizer_syscall_post_mlockall(res, ...)
    586 #define __sanitizer_syscall_post_mlock(res, ...)
    587 #define __sanitizer_syscall_post_mmap2(res, ...)
    588 #define __sanitizer_syscall_post_mmap(res, ...)
    589 #define __sanitizer_syscall_post_modify_ldt(res, ...)
    590 #define __sanitizer_syscall_post_mount(res, ...)
    591 #define __sanitizer_syscall_post_move_pages(res, ...)
    592 #define __sanitizer_syscall_post_mprotect(res, ...)
    593 #define __sanitizer_syscall_post_mpx(res, ...)
    594 #define __sanitizer_syscall_post_mq_getsetattr(res, ...)
    595 #define __sanitizer_syscall_post_mq_notify(res, ...)
    596 #define __sanitizer_syscall_post_mq_open(res, ...)
    597 #define __sanitizer_syscall_post_mq_timedreceive(res, ...)
    598 #define __sanitizer_syscall_post_mq_timedsend(res, ...)
    599 #define __sanitizer_syscall_post_mq_unlink(res, ...)
    600 #define __sanitizer_syscall_post_mremap(res, ...)
    601 #define __sanitizer_syscall_post_msgctl(res, ...)
    602 #define __sanitizer_syscall_post_msgget(res, ...)
    603 #define __sanitizer_syscall_post_msgrcv(res, ...)
    604 #define __sanitizer_syscall_post_msgsnd(res, ...)
    605 #define __sanitizer_syscall_post_msync(res, ...)
    606 #define __sanitizer_syscall_post_munlockall(res, ...)
    607 #define __sanitizer_syscall_post_munlock(res, ...)
    608 #define __sanitizer_syscall_post_munmap(res, ...)
    609 #define __sanitizer_syscall_post_name_to_handle_at(res, ...)
    610 #define __sanitizer_syscall_post_nanosleep(res, ...)
    611 #define __sanitizer_syscall_post_newfstatat(res, ...)
    612 #define __sanitizer_syscall_post__newselect(res, ...)
    613 #define __sanitizer_syscall_post_nfsservctl(res, ...)
    614 #define __sanitizer_syscall_post_nice(res, ...)
    615 #define __sanitizer_syscall_post_oldfstat(res, ...)
    616 #define __sanitizer_syscall_post_oldlstat(res, ...)
    617 #define __sanitizer_syscall_post_oldolduname(res, ...)
    618 #define __sanitizer_syscall_post_oldstat(res, ...)
    619 #define __sanitizer_syscall_post_olduname(res, ...)
    620 #define __sanitizer_syscall_post_openat(res, ...)
    621 #define __sanitizer_syscall_post_open_by_handle_at(res, ...)
    622 #define __sanitizer_syscall_post_open(res, ...)
    623 #define __sanitizer_syscall_post_pause(res, ...)
    624 #define __sanitizer_syscall_post_perf_event_open(res, ...)
    625 #define __sanitizer_syscall_post_personality(res, ...)
    626 #define __sanitizer_syscall_post_pipe2(res, ...)
    627 #define __sanitizer_syscall_post_pipe(res, ...)
    628 #define __sanitizer_syscall_post_pivot_root(res, ...)
    629 #define __sanitizer_syscall_post_poll(res, ...)
    630 #define __sanitizer_syscall_post_ppoll(res, ...)
    631 #define __sanitizer_syscall_post_prctl(res, ...)
    632 #define __sanitizer_syscall_post_pread64(res, ...)
    633 #define __sanitizer_syscall_post_preadv(res, ...)
    634 #define __sanitizer_syscall_post_prlimit64(res, ...)
    635 #define __sanitizer_syscall_post_process_vm_readv(res, ...)
    636 #define __sanitizer_syscall_post_process_vm_writev(res, ...)
    637 #define __sanitizer_syscall_post_profil(res, ...)
    638 #define __sanitizer_syscall_post_prof(res, ...)
    639 #define __sanitizer_syscall_post_pselect6(res, ...)
    640 #define __sanitizer_syscall_post_ptrace(res, ...)
    641 #define __sanitizer_syscall_post_putpmsg(res, ...)
    642 #define __sanitizer_syscall_post_pwrite64(res, ...)
    643 #define __sanitizer_syscall_post_pwritev(res, ...)
    644 #define __sanitizer_syscall_post_query_module(res, ...)
    645 #define __sanitizer_syscall_post_quotactl(res, ...)
    646 #define __sanitizer_syscall_post_readahead(res, ...)
    647 #define __sanitizer_syscall_post_readdir(res, ...)
    648 #define __sanitizer_syscall_post_readlinkat(res, ...)
    649 #define __sanitizer_syscall_post_readlink(res, ...)
    650 #define __sanitizer_syscall_post_readv(res, ...)
    651 #define __sanitizer_syscall_post_reboot(res, ...)
    652 #define __sanitizer_syscall_post_recvfrom(res, ...)
    653 #define __sanitizer_syscall_post_recvmmsg(res, ...)
    654 #define __sanitizer_syscall_post_remap_file_pages(res, ...)
    655 #define __sanitizer_syscall_post_removexattr(res, ...)
    656 #define __sanitizer_syscall_post_renameat(res, ...)
    657 #define __sanitizer_syscall_post_rename(res, ...)
    658 #define __sanitizer_syscall_post_request_key(res, ...)
    659 #define __sanitizer_syscall_post_restart_syscall(res, ...)
    660 #define __sanitizer_syscall_post_rmdir(res, ...)
    661 #define __sanitizer_syscall_post_rt_sigaction(res, ...)
    662 #define __sanitizer_syscall_post_rt_sigprocmask(res, ...)
    663 #define __sanitizer_syscall_post_rt_sigqueueinfo(res, ...)
    664 #define __sanitizer_syscall_post_rt_sigreturn(res, ...)
    665 #define __sanitizer_syscall_post_rt_sigsuspend(res, ...)
    666 #define __sanitizer_syscall_post_rt_sigtimedwait(res, ...)
    667 #define __sanitizer_syscall_post_rt_tgsigqueueinfo(res, ...)
    668 #define __sanitizer_syscall_post_sched_getaffinity(res, ...)
    669 #define __sanitizer_syscall_post_sched_getparam(res, ...)
    670 #define __sanitizer_syscall_post_sched_get_priority_max(res, ...)
    671 #define __sanitizer_syscall_post_sched_get_priority_min(res, ...)
    672 #define __sanitizer_syscall_post_sched_getscheduler(res, ...)
    673 #define __sanitizer_syscall_post_sched_rr_get_interval(res, ...)
    674 #define __sanitizer_syscall_post_sched_setaffinity(res, ...)
    675 #define __sanitizer_syscall_post_sched_setparam(res, ...)
    676 #define __sanitizer_syscall_post_sched_setscheduler(res, ...)
    677 #define __sanitizer_syscall_post_sched_yield(res, ...)
    678 #define __sanitizer_syscall_post_security(res, ...)
    679 #define __sanitizer_syscall_post_select(res, ...)
    680 #define __sanitizer_syscall_post_semctl(res, ...)
    681 #define __sanitizer_syscall_post_semget(res, ...)
    682 #define __sanitizer_syscall_post_semop(res, ...)
    683 #define __sanitizer_syscall_post_semtimedop(res, ...)
    684 #define __sanitizer_syscall_post_sendfile64(res, ...)
    685 #define __sanitizer_syscall_post_sendfile(res, ...)
    686 #define __sanitizer_syscall_post_sendmmsg(res, ...)
    687 #define __sanitizer_syscall_post_sendmsg(res, ...)
    688 #define __sanitizer_syscall_post_sendto(res, ...)
    689 #define __sanitizer_syscall_post_setdomainname(res, ...)
    690 #define __sanitizer_syscall_post_setfsgid32(res, ...)
    691 #define __sanitizer_syscall_post_setfsgid(res, ...)
    692 #define __sanitizer_syscall_post_setfsuid32(res, ...)
    693 #define __sanitizer_syscall_post_setfsuid(res, ...)
    694 #define __sanitizer_syscall_post_setgid32(res, ...)
    695 #define __sanitizer_syscall_post_setgid(res, ...)
    696 #define __sanitizer_syscall_post_setgroups32(res, ...)
    697 #define __sanitizer_syscall_post_setgroups(res, ...)
    698 #define __sanitizer_syscall_post_sethostname(res, ...)
    699 #define __sanitizer_syscall_post_setitimer(res, ...)
    700 #define __sanitizer_syscall_post_set_mempolicy(res, ...)
    701 #define __sanitizer_syscall_post_setns(res, ...)
    702 #define __sanitizer_syscall_post_setpgid(res, ...)
    703 #define __sanitizer_syscall_post_setpriority(res, ...)
    704 #define __sanitizer_syscall_post_setregid32(res, ...)
    705 #define __sanitizer_syscall_post_setregid(res, ...)
    706 #define __sanitizer_syscall_post_setresgid32(res, ...)
    707 #define __sanitizer_syscall_post_setresgid(res, ...)
    708 #define __sanitizer_syscall_post_setresuid32(res, ...)
    709 #define __sanitizer_syscall_post_setresuid(res, ...)
    710 #define __sanitizer_syscall_post_setreuid32(res, ...)
    711 #define __sanitizer_syscall_post_setreuid(res, ...)
    712 #define __sanitizer_syscall_post_setrlimit(res, ...)
    713 #define __sanitizer_syscall_post_set_robust_list(res, ...)
    714 #define __sanitizer_syscall_post_setsid(res, ...)
    715 #define __sanitizer_syscall_post_setsockopt(res, ...)
    716 #define __sanitizer_syscall_post_set_thread_area(res, ...)
    717 #define __sanitizer_syscall_post_set_tid_address(res, ...)
    718 #define __sanitizer_syscall_post_settimeofday(res, ...)
    719 #define __sanitizer_syscall_post_setuid32(res, ...)
    720 #define __sanitizer_syscall_post_setuid(res, ...)
    721 #define __sanitizer_syscall_post_setxattr(res, ...)
    722 #define __sanitizer_syscall_post_sgetmask(res, ...)
    723 #define __sanitizer_syscall_post_shmat(res, ...)
    724 #define __sanitizer_syscall_post_shmctl(res, ...)
    725 #define __sanitizer_syscall_post_shmdt(res, ...)
    726 #define __sanitizer_syscall_post_shmget(res, ...)
    727 #define __sanitizer_syscall_post_shutdown(res, ...)
    728 #define __sanitizer_syscall_post_sigaction(res, ...)
    729 #define __sanitizer_syscall_post_sigaltstack(res, ...)
    730 #define __sanitizer_syscall_post_signalfd4(res, ...)
    731 #define __sanitizer_syscall_post_signalfd(res, ...)
    732 #define __sanitizer_syscall_post_signal(res, ...)
    733 #define __sanitizer_syscall_post_sigpending(res, ...)
    734 #define __sanitizer_syscall_post_sigprocmask(res, ...)
    735 #define __sanitizer_syscall_post_sigreturn(res, ...)
    736 #define __sanitizer_syscall_post_sigsuspend(res, ...)
    737 #define __sanitizer_syscall_post_socketcall(res, ...)
    738 #define __sanitizer_syscall_post_socketpair(res, ...)
    739 #define __sanitizer_syscall_post_socket(res, ...)
    740 #define __sanitizer_syscall_post_splice(res, ...)
    741 #define __sanitizer_syscall_post_ssetmask(res, ...)
    742 #define __sanitizer_syscall_post_stat64(res, ...)
    743 #define __sanitizer_syscall_post_statfs64(res, ...)
    744 #define __sanitizer_syscall_post_statfs(res, ...)
    745 #define __sanitizer_syscall_post_stat(res, ...)
    746 #define __sanitizer_syscall_post_stime(res, ...)
    747 #define __sanitizer_syscall_post_stty(res, ...)
    748 #define __sanitizer_syscall_post_swapoff(res, ...)
    749 #define __sanitizer_syscall_post_swapon(res, ...)
    750 #define __sanitizer_syscall_post_symlinkat(res, ...)
    751 #define __sanitizer_syscall_post_symlink(res, ...)
    752 #define __sanitizer_syscall_post_sync_file_range(res, ...)
    753 #define __sanitizer_syscall_post_syncfs(res, ...)
    754 #define __sanitizer_syscall_post_sync(res, ...)
    755 #define __sanitizer_syscall_post__sysctl(res, ...)
    756 #define __sanitizer_syscall_post_sysfs(res, ...)
    757 #define __sanitizer_syscall_post_sysinfo(res, ...)
    758 #define __sanitizer_syscall_post_syslog(res, ...)
    759 #define __sanitizer_syscall_post_tee(res, ...)
    760 #define __sanitizer_syscall_post_tgkill(res, ...)
    761 #define __sanitizer_syscall_post_timer_create(res, ...)
    762 #define __sanitizer_syscall_post_timer_delete(res, ...)
    763 #define __sanitizer_syscall_post_time(res, ...)
    764 #define __sanitizer_syscall_post_timerfd_create(res, ...)
    765 #define __sanitizer_syscall_post_timerfd_gettime(res, ...)
    766 #define __sanitizer_syscall_post_timerfd_settime(res, ...)
    767 #define __sanitizer_syscall_post_timer_getoverrun(res, ...)
    768 #define __sanitizer_syscall_post_timer_gettime(res, ...)
    769 #define __sanitizer_syscall_post_timer_settime(res, ...)
    770 #define __sanitizer_syscall_post_times(res, ...)
    771 #define __sanitizer_syscall_post_tkill(res, ...)
    772 #define __sanitizer_syscall_post_truncate64(res, ...)
    773 #define __sanitizer_syscall_post_truncate(res, ...)
    774 #define __sanitizer_syscall_post_tuxcall(res, ...)
    775 #define __sanitizer_syscall_post_ugetrlimit(res, ...)
    776 #define __sanitizer_syscall_post_ulimit(res, ...)
    777 #define __sanitizer_syscall_post_umask(res, ...)
    778 #define __sanitizer_syscall_post_umount2(res, ...)
    779 #define __sanitizer_syscall_post_umount(res, ...)
    780 #define __sanitizer_syscall_post_uname(res, ...)
    781 #define __sanitizer_syscall_post_unlinkat(res, ...)
    782 #define __sanitizer_syscall_post_unlink(res, ...)
    783 #define __sanitizer_syscall_post_unshare(res, ...)
    784 #define __sanitizer_syscall_post_uselib(res, ...)
    785 #define __sanitizer_syscall_post_ustat(res, ...)
    786 #define __sanitizer_syscall_post_utimensat(res, ...)
    787 #define __sanitizer_syscall_post_utime(res, ...)
    788 #define __sanitizer_syscall_post_utimes(res, ...)
    789 #define __sanitizer_syscall_post_vfork(res, ...)
    790 #define __sanitizer_syscall_post_vhangup(res, ...)
    791 #define __sanitizer_syscall_post_vm86old(res, ...)
    792 #define __sanitizer_syscall_post_vm86(res, ...)
    793 #define __sanitizer_syscall_post_vmsplice(res, ...)
    794 #define __sanitizer_syscall_post_vserver(res, ...)
    795 #define __sanitizer_syscall_post_waitid(res, ...)
    796 #define __sanitizer_syscall_post_write(res, ...)
    797 #define __sanitizer_syscall_post_writev(res, ...)
    798 
    799 #ifdef __cplusplus
    800 } // extern "C"
    801 #endif
    802 
    803 #endif // SANITIZER_LINUX_SYSCALL_HOOKS_H
    804