Lines Matching refs:long
40 // COMMON_SYSCALL_POST_FORK(long res)
92 unsigned long iov_len;
99 unsigned long msg_iovlen;
101 unsigned long msg_controllen;
111 long tv_sec;
112 long tv_nsec;
116 long tv_sec;
117 long tv_usec;
122 long ru_long[14];
155 PRE_SYSCALL(recvmsg)(long sockfd, sanitizer_kernel_msghdr *msg, long flags) {
159 POST_SYSCALL(recvmsg)(long res, long sockfd, sanitizer_kernel_msghdr *msg,
160 long flags) {
163 for (unsigned long i = 0; i < msg->msg_iovlen; ++i) {
171 PRE_SYSCALL(recvmmsg)(long fd, sanitizer_kernel_mmsghdr *msg, long vlen,
172 long flags, void *timeout) {
176 POST_SYSCALL(recvmmsg)(long res, long fd, sanitizer_kernel_mmsghdr *msg,
177 long vlen, long flags, void *timeout) {
180 for (unsigned long i = 0; i < msg->msg_hdr.msg_iovlen; ++i) {
191 PRE_SYSCALL(read)(long fd, void *buf, uptr count) {
197 POST_SYSCALL(read)(long res, long fd, void *buf, uptr count) {
205 POST_SYSCALL(time)(long res, void *tloc) {
207 if (tloc) POST_WRITE(tloc, sizeof(long));
213 POST_SYSCALL(stime)(long res, void *tptr) {
215 if (tptr) POST_WRITE(tptr, sizeof(long));
221 POST_SYSCALL(gettimeofday)(long res, void *tv, void *tz) {
230 POST_SYSCALL(settimeofday)(long res, void *tv, void *tz) {
240 POST_SYSCALL(adjtimex)(long res, void *txc_p) {
249 POST_SYSCALL(times)(long res, void *tbuf) {
257 POST_SYSCALL(gettid)(long res) {}
261 POST_SYSCALL(nanosleep)(long res, void *rqtp, void *rmtp) {
268 PRE_SYSCALL(alarm)(long seconds) {}
270 POST_SYSCALL(alarm)(long res, long seconds) {}
274 POST_SYSCALL(getpid)(long res) {}
278 POST_SYSCALL(getppid)(long res) {}
282 POST_SYSCALL(getuid)(long res) {}
286 POST_SYSCALL(geteuid)(long res) {}
290 POST_SYSCALL(getgid)(long res) {}
294 POST_SYSCALL(getegid)(long res) {}
298 POST_SYSCALL(getresuid)(long res, void *ruid, void *euid, void *suid) {
308 POST_SYSCALL(getresgid)(long res, void *rgid, void *egid, void *sgid) {
316 PRE_SYSCALL(getpgid)(long pid) {}
318 POST_SYSCALL(getpgid)(long res, long pid) {}
322 POST_SYSCALL(getpgrp)(long res) {}
324 PRE_SYSCALL(getsid)(long pid) {}
326 POST_SYSCALL(getsid)(long res, long pid) {}
328 PRE_SYSCALL(getgroups)(long gidsetsize, void *grouplist) {}
330 POST_SYSCALL(getgroups)(long res, long gidsetsize,
337 PRE_SYSCALL(setregid)(long rgid, long egid) {}
339 POST_SYSCALL(setregid)(long res, long rgid, long egid) {}
341 PRE_SYSCALL(setgid)(long gid) {}
343 POST_SYSCALL(setgid)(long res, long gid) {}
345 PRE_SYSCALL(setreuid)(long ruid, long euid) {}
347 POST_SYSCALL(setreuid)(long res, long ruid, long euid) {}
349 PRE_SYSCALL(setuid)(long uid) {}
351 POST_SYSCALL(setuid)(long res, long uid) {}
353 PRE_SYSCALL(setresuid)(long ruid, long euid, long suid) {}
355 POST_SYSCALL(setresuid)(long res, long ruid, long euid, long suid) {}
357 PRE_SYSCALL(setresgid)(long rgid, long egid, long sgid) {}
359 POST_SYSCALL(setresgid)(long res, long rgid, long egid, long sgid) {}
361 PRE_SYSCALL(setfsuid)(long uid) {}
363 POST_SYSCALL(setfsuid)(long res, long uid) {}
365 PRE_SYSCALL(setfsgid)(long gid) {}
367 POST_SYSCALL(setfsgid)(long res, long gid) {}
369 PRE_SYSCALL(setpgid)(long pid, long pgid) {}
371 POST_SYSCALL(setpgid)(long res, long pid, long pgid) {}
375 POST_SYSCALL(setsid)(long res) {}
377 PRE_SYSCALL(setgroups)(long gidsetsize, __sanitizer___kernel_gid_t *grouplist) {
381 POST_SYSCALL(setgroups)(long res, long gidsetsize,
389 POST_SYSCALL(acct)(long res, const void *name) {}
395 POST_SYSCALL(capget)(long res, void *header, void *dataptr) {
405 POST_SYSCALL(capset)(long res, void *header, const void *data) {}
407 PRE_SYSCALL(personality)(long personality) {}
409 POST_SYSCALL(personality)(long res, long personality) {}
413 POST_SYSCALL(sigpending)(long res, void *set) {
419 PRE_SYSCALL(sigprocmask)(long how, void *set, void *oset) {}
421 POST_SYSCALL(sigprocmask)(long res, long how, void *set, void *oset) {
428 PRE_SYSCALL(getitimer)(long which, void *value) {}
430 POST_SYSCALL(getitimer)(long res, long which, void *value) {
436 PRE_SYSCALL(setitimer)(long which, void *value, void *ovalue) {}
438 POST_SYSCALL(setitimer)(long res, long which, void *value, void *ovalue) {
445 PRE_SYSCALL(timer_create)(long which_clock, void *timer_event_spec,
448 POST_SYSCALL(timer_create)(long res, long which_clock, void *timer_event_spec,
452 if (created_timer_id) POST_WRITE(created_timer_id, sizeof(long));
456 PRE_SYSCALL(timer_gettime)(long timer_id, void *setting) {}
458 POST_SYSCALL(timer_gettime)(long res, long timer_id, void *setting) {
464 PRE_SYSCALL(timer_getoverrun)(long timer_id) {}
466 POST_SYSCALL(timer_getoverrun)(long res, long timer_id) {}
468 PRE_SYSCALL(timer_settime)(long timer_id, long flags, const void *new_setting,
473 POST_SYSCALL(timer_settime)(long res, long timer_id, long flags,
480 PRE_SYSCALL(timer_delete)(long timer_id) {}
482 POST_SYSCALL(timer_delete)(long res, long timer_id) {}
484 PRE_SYSCALL(clock_settime)(long which_clock, const void *tp) {
488 POST_SYSCALL(clock_settime)(long res, long which_clock, const void *tp) {}
490 PRE_SYSCALL(clock_gettime)(long which_clock, void *tp) {}
492 POST_SYSCALL(clock_gettime)(long res, long which_clock, void *tp) {
499 PRE_SYSCALL(clock_adjtime)(long which_clock, void *tx) {}
501 POST_SYSCALL(clock_adjtime)(long res, long which_clock, void *tx) {
508 PRE_SYSCALL(clock_getres)(long which_clock, void *tp) {}
510 POST_SYSCALL(clock_getres)(long res, long which_clock, void *tp) {
516 PRE_SYSCALL(clock_nanosleep)(long which_clock, long flags, const void *rqtp,
521 POST_SYSCALL(clock_nanosleep)(long res, long which_clock, long flags,
528 PRE_SYSCALL(nice)(long increment) {}
530 POST_SYSCALL(nice)(long res, long increment) {}
532 PRE_SYSCALL(sched_setscheduler)(long pid, long policy, void *param) {}
534 POST_SYSCALL(sched_setscheduler)(long res, long pid, long policy, void *param) {
540 PRE_SYSCALL(sched_setparam)(long pid, void *param) {
544 POST_SYSCALL(sched_setparam)(long res, long pid, void *param) {}
546 PRE_SYSCALL(sched_getscheduler)(long pid) {}
548 POST_SYSCALL(sched_getscheduler)(long res, long pid) {}
550 PRE_SYSCALL(sched_getparam)(long pid, void *param) {}
552 POST_SYSCALL(sched_getparam)(long res, long pid, void *param) {
558 PRE_SYSCALL(sched_setaffinity)(long pid, long len, void *user_mask_ptr) {
562 POST_SYSCALL(sched_setaffinity)(long res, long pid, long len,
565 PRE_SYSCALL(sched_getaffinity)(long pid, long len, void *user_mask_ptr) {}
567 POST_SYSCALL(sched_getaffinity)(long res, long pid, long len,
576 POST_SYSCALL(sched_yield)(long res) {}
578 PRE_SYSCALL(sched_get_priority_max)(long policy) {}
580 POST_SYSCALL(sched_get_priority_max)(long res, long policy) {}
582 PRE_SYSCALL(sched_get_priority_min)(long policy) {}
584 POST_SYSCALL(sched_get_priority_min)(long res, long policy) {}
586 PRE_SYSCALL(sched_rr_get_interval)(long pid, void *interval) {}
588 POST_SYSCALL(sched_rr_get_interval)(long res, long pid, void *interval) {
594 PRE_SYSCALL(setpriority)(long which, long who, long niceval) {}
596 POST_SYSCALL(setpriority)(long res, long which, long who, long niceval) {}
598 PRE_SYSCALL(getpriority)(long which, long who) {}
600 POST_SYSCALL(getpriority)(long res, long which, long who) {}
602 PRE_SYSCALL(shutdown)(long arg0, long arg1) {}
604 POST_SYSCALL(shutdown)(long res, long arg0, long arg1) {}
606 PRE_SYSCALL(reboot)(long magic1, long magic2, long cmd, void *arg) {}
608 POST_SYSCALL(reboot)(long res, long magic1, long magic2, long cmd, void *arg) {}
612 POST_SYSCALL(restart_syscall)(long res) {}
614 PRE_SYSCALL(kexec_load)(long entry, long nr_segments, void *segments,
615 long flags) {}
617 POST_SYSCALL(kexec_load)(long res, long entry, long nr_segments, void *segments,
618 long flags) {
624 PRE_SYSCALL(exit)(long error_code) {}
626 POST_SYSCALL(exit)(long res, long error_code) {}
628 PRE_SYSCALL(exit_group)(long error_code) {}
630 POST_SYSCALL(exit_group)(long res, long error_code) {}
632 PRE_SYSCALL(wait4)(long pid, void *stat_addr, long options, void *ru) {}
634 POST_SYSCALL(wait4)(long res, long pid, void *stat_addr, long options,
642 PRE_SYSCALL(waitid)(long which, long pid, void *infop, long options, void *ru) {
645 POST_SYSCALL(waitid)(long res, long which, long pid, void *infop, long options,
653 PRE_SYSCALL(waitpid)(long pid, void *stat_addr, long options) {}
655 POST_SYSCALL(waitpid)(long res, long pid, void *stat_addr, long options) {
663 POST_SYSCALL(set_tid_address)(long res, void *tidptr) {
669 PRE_SYSCALL(init_module)(void *umod, long len, const void *uargs) {
674 POST_SYSCALL(init_module)(long res, void *umod, long len, const void *uargs) {}
676 PRE_SYSCALL(delete_module)(const void *name_user, long flags) {
682 POST_SYSCALL(delete_module)(long res, const void *name_user, long flags) {}
684 PRE_SYSCALL(rt_sigprocmask)(long how, void *set, void *oset, long sigsetsize) {}
686 POST_SYSCALL(rt_sigprocmask)(long res, long how, kernel_sigset_t *set,
687 kernel_sigset_t *oset, long sigsetsize) {
694 PRE_SYSCALL(rt_sigpending)(void *set, long sigsetsize) {}
696 POST_SYSCALL(rt_sigpending)(long res, kernel_sigset_t *set, long sigsetsize) {
703 const void *uts, long sigsetsize) {
708 POST_SYSCALL(rt_sigtimedwait)(long res, const void *uthese, void *uinfo,
709 const void *uts, long sigsetsize) {
715 PRE_SYSCALL(rt_tgsigqueueinfo)(long tgid, long pid, long sig, void *uinfo) {}
717 POST_SYSCALL(rt_tgsigqueueinfo)(long res, long tgid, long pid, long sig,
724 PRE_SYSCALL(kill)(long pid, long sig) {}
726 POST_SYSCALL(kill)(long res, long pid, long sig) {}
728 PRE_SYSCALL(tgkill)(long tgid, long pid, long sig) {}
730 POST_SYSCALL(tgkill)(long res, long tgid, long pid, long sig) {}
732 PRE_SYSCALL(tkill)(long pid, long sig) {}
734 POST_SYSCALL(tkill)(long res, long pid, long sig) {}
736 PRE_SYSCALL(rt_sigqueueinfo)(long pid, long sig, void *uinfo) {}
738 POST_SYSCALL(rt_sigqueueinfo)(long res, long pid, long sig, void *uinfo) {
746 POST_SYSCALL(sgetmask)(long res) {}
748 PRE_SYSCALL(ssetmask)(long newmask) {}
750 POST_SYSCALL(ssetmask)(long res, long newmask) {}
752 PRE_SYSCALL(signal)(long sig, long handler) {}
754 POST_SYSCALL(signal)(long res, long sig, long handler) {}
758 POST_SYSCALL(pause)(long res) {}
762 POST_SYSCALL(sync)(long res) {}
764 PRE_SYSCALL(fsync)(long fd) {}
766 POST_SYSCALL(fsync)(long res, long fd) {}
768 PRE_SYSCALL(fdatasync)(long fd) {}
770 POST_SYSCALL(fdatasync)(long res, long fd) {}
772 PRE_SYSCALL(bdflush)(long func, long data) {}
774 POST_SYSCALL(bdflush)(long res, long func, long data) {}
776 PRE_SYSCALL(mount)(void *dev_name, void *dir_name, void *type, long flags,
779 POST_SYSCALL(mount)(long res, void *dev_name, void *dir_name, void *type,
780 long flags, void *data) {
793 PRE_SYSCALL(umount)(void *name, long flags) {}
795 POST_SYSCALL(umount)(long res, void *name, long flags) {
804 POST_SYSCALL(oldumount)(long res, void *name) {
811 PRE_SYSCALL(truncate)(const void *path, long length) {
816 POST_SYSCALL(truncate)(long res, const void *path, long length) {}
818 PRE_SYSCALL(ftruncate)(long fd, long length) {}
820 POST_SYSCALL(ftruncate)(long res, long fd, long length) {}
828 POST_SYSCALL(stat)(long res, const void *filename, void *statbuf) {
840 POST_SYSCALL(statfs)(long res, const void *path, void *buf) {
846 PRE_SYSCALL(statfs64)(const void *path, long sz, void *buf) {
851 POST_SYSCALL(statfs64)(long res, const void *path, long sz, void *buf) {
857 PRE_SYSCALL(fstatfs)(long fd, void *buf) {}
859 POST_SYSCALL(fstatfs)(long res, long fd, void *buf) {
865 PRE_SYSCALL(fstatfs64)(long fd, long sz, void *buf) {}
867 POST_SYSCALL(fstatfs64)(long res, long fd, long sz, void *buf) {
880 POST_SYSCALL(lstat)(long res, const void *filename, void *statbuf) {
886 PRE_SYSCALL(fstat)(long fd, void *statbuf) {}
888 POST_SYSCALL(fstat)(long res, long fd, void *statbuf) {
900 POST_SYSCALL(newstat)(long res, const void *filename, void *statbuf) {
912 POST_SYSCALL(newlstat)(long res, const void *filename, void *statbuf) {
918 PRE_SYSCALL(newfstat)(long fd, void *statbuf) {}
920 POST_SYSCALL(newfstat)(long res, long fd, void *statbuf) {
927 PRE_SYSCALL(ustat)(long dev, void *ubuf) {}
929 POST_SYSCALL(ustat)(long res, long dev, void *ubuf) {
942 POST_SYSCALL(stat64)(long res, const void *filename, void *statbuf) {
948 PRE_SYSCALL(fstat64)(long fd, void *statbuf) {}
950 POST_SYSCALL(fstat64)(long res, long fd, void *statbuf) {
962 POST_SYSCALL(lstat64)(long res, const void *filename, void *statbuf) {
969 long size, long flags) {
977 POST_SYSCALL(setxattr)(long res, const void *path, const void *name,
978 const void *value, long size, long flags) {}
981 long size, long flags) {
989 POST_SYSCALL(lsetxattr)(long res, const void *path, const void *name,
990 const void *value, long size, long flags) {}
992 PRE_SYSCALL(fsetxattr)(long fd, const void *name, const void *value, long size,
993 long flags) {
999 POST_SYSCALL(fsetxattr)(long res, long fd, const void *name, const void *value,
1000 long size, long flags) {}
1003 long size) {
1010 POST_SYSCALL(getxattr)(long res, const void *path, const void *name,
1011 void *value, long size) {
1018 long size) {
1025 POST_SYSCALL(lgetxattr)(long res, const void *path, const void *name,
1026 void *value, long size) {
1032 PRE_SYSCALL(fgetxattr)(long fd, const void *name, void *value, long size) {
1037 POST_SYSCALL(fgetxattr)(long res, long fd, const void *name, void *value,
1038 long size) {
1044 PRE_SYSCALL(listxattr)(const void *path, void *list, long size) {
1049 POST_SYSCALL(listxattr)(long res, const void *path, void *list, long size) {
1055 PRE_SYSCALL(llistxattr)(const void *path, void *list, long size) {
1060 POST_SYSCALL(llistxattr)(long res, const void *path, void *list, long size) {
1066 PRE_SYSCALL(flistxattr)(long fd, void *list, long size) {}
1068 POST_SYSCALL(flistxattr)(long res, long fd, void *list, long size) {
1081 POST_SYSCALL(removexattr)(long res, const void *path, const void *name) {}
1090 POST_SYSCALL(lremovexattr)(long res, const void *path, const void *name) {}
1092 PRE_SYSCALL(fremovexattr)(long fd, const void *name) {
1097 POST_SYSCALL(fremovexattr)(long res, long fd, const void *name) {}
1099 PRE_SYSCALL(brk)(long brk) {}
1101 POST_SYSCALL(brk)(long res, long brk) {}
1103 PRE_SYSCALL(mprotect)(long start, long len, long prot) {}
1105 POST_SYSCALL(mprotect)(long res, long start, long len, long prot) {}
1107 PRE_SYSCALL(mremap)(long addr, long old_len, long new_len, long flags,
1108 long new_addr) {}
1110 POST_SYSCALL(mremap)(long res, long addr, long old_len, long new_len,
1111 long flags, long new_addr) {}
1113 PRE_SYSCALL(remap_file_pages)(long start, long size, long prot, long pgoff,
1114 long flags) {}
1116 POST_SYSCALL(remap_file_pages)(long res, long start, long size, long prot,
1117 long pgoff, long flags) {}
1119 PRE_SYSCALL(msync)(long start, long len, long flags) {}
1121 POST_SYSCALL(msync)(long res, long start, long len, long flags) {}
1123 PRE_SYSCALL(munmap)(long addr, long len) {}
1125 POST_SYSCALL(munmap)(long res, long addr, long len) {}
1127 PRE_SYSCALL(mlock)(long start, long len) {}
1129 POST_SYSCALL(mlock)(long res, long start, long len) {}
1131 PRE_SYSCALL(munlock)(long start, long len) {}
1133 POST_SYSCALL(munlock)(long res, long start, long len) {}
1135 PRE_SYSCALL(mlockall)(long flags) {}
1137 POST_SYSCALL(mlockall)(long res, long flags) {}
1141 POST_SYSCALL(munlockall)(long res) {}
1143 PRE_SYSCALL(madvise)(long start, long len, long behavior) {}
1145 POST_SYSCALL(madvise)(long res, long start, long len, long behavior) {}
1147 PRE_SYSCALL(mincore)(long start, long len, void *vec) {}
1149 POST_SYSCALL(mincore)(long res, long start, long len, void *vec) {
1165 POST_SYSCALL(pivot_root)(long res, const void *new_root, const void *put_old) {}
1173 POST_SYSCALL(chroot)(long res, const void *filename) {}
1175 PRE_SYSCALL(mknod)(const void *filename, long mode, long dev) {
1181 POST_SYSCALL(mknod)(long res, const void *filename, long mode, long dev) {}
1190 POST_SYSCALL(link)(long res, const void *oldname, const void *newname) {}
1198 POST_SYSCALL(symlink)(long res, const void *old, const void *new_) {}
1206 POST_SYSCALL(unlink)(long res, const void *pathname) {}
1215 POST_SYSCALL(rename)(long res, const void *oldname, const void *newname) {}
1217 PRE_SYSCALL(chmod)(const void *filename, long mode) {
1223 POST_SYSCALL(chmod)(long res, const void *filename, long mode) {}
1225 PRE_SYSCALL(fchmod)(long fd, long mode) {}
1227 POST_SYSCALL(fchmod)(long res, long fd, long mode) {}
1229 PRE_SYSCALL(fcntl)(long fd, long cmd, long arg) {}
1231 POST_SYSCALL(fcntl)(long res, long fd, long cmd, long arg) {}
1233 PRE_SYSCALL(fcntl64)(long fd, long cmd, long arg) {}
1235 POST_SYSCALL(fcntl64)(long res, long fd, long cmd, long arg) {}
1239 POST_SYSCALL(pipe)(long res, void *fildes) {
1244 PRE_SYSCALL(pipe2)(void *fildes, long flags) {}
1246 POST_SYSCALL(pipe2)(long res, void *fildes, long flags) {
1251 PRE_SYSCALL(dup)(long fildes) {}
1253 POST_SYSCALL(dup)(long res, long fildes) {}
1255 PRE_SYSCALL(dup2)(long oldfd, long newfd) {}
1257 POST_SYSCALL(dup2)(long res, long oldfd, long newfd) {}
1259 PRE_SYSCALL(dup3)(long oldfd, long newfd, long flags) {}
1261 POST_SYSCALL(dup3)(long res, long oldfd, long newfd, long flags) {}
1263 PRE_SYSCALL(ioperm)(long from, long num, long on) {}
1265 POST_SYSCALL(ioperm)(long res, long from, long num, long on) {}
1267 PRE_SYSCALL(ioctl)(long fd, long cmd, long arg) {}
1269 POST_SYSCALL(ioctl)(long res, long fd, long cmd, long arg) {}
1271 PRE_SYSCALL(flock)(long fd, long cmd) {}
1273 POST_SYSCALL(flock)(long res, long fd, long cmd) {}
1275 PRE_SYSCALL(io_setup)(long nr_reqs, void **ctx) {
1279 POST_SYSCALL(io_setup)(long res, long nr_reqs, void **ctx) {
1289 PRE_SYSCALL(io_destroy)(long ctx) {}
1291 POST_SYSCALL(io_destroy)(long res, long ctx) {}
1293 PRE_SYSCALL(io_getevents)(long ctx_id, long min_nr, long nr,
1298 POST_SYSCALL(io_getevents)(long res, long ctx_id, long min_nr, long nr,
1304 for (long i = 0; i < res; i++) {
1316 PRE_SYSCALL(io_submit)(long ctx_id, long nr, __sanitizer_iocb **iocbpp) {
1317 for (long i = 0; i < nr; ++i) {
1340 POST_SYSCALL(io_submit)(long res, long ctx_id, long nr,
1343 PRE_SYSCALL(io_cancel)(long ctx_id, __sanitizer_iocb *iocb,
1347 POST_SYSCALL(io_cancel)(long res, long ctx_id, __sanitizer_iocb *iocb,
1360 PRE_SYSCALL(sendfile)(long out_fd, long in_fd, void *offset, long count) {}
1362 POST_SYSCALL(sendfile)(long res, long out_fd, long in_fd,
1363 __sanitizer___kernel_off_t *offset, long count) {
1369 PRE_SYSCALL(sendfile64)(long out_fd, long in_fd, void *offset, long count) {}
1371 POST_SYSCALL(sendfile64)(long res, long out_fd, long in_fd,
1372 __sanitizer___kernel_loff_t *offset, long count) {
1378 PRE_SYSCALL(readlink)(const void *path, void *buf, long bufsiz) {
1383 POST_SYSCALL(readlink)(long res, const void *path, void *buf, long bufsiz) {
1390 PRE_SYSCALL(creat)(const void *pathname, long mode) {
1396 POST_SYSCALL(creat)(long res, const void *pathname, long mode) {}
1398 PRE_SYSCALL(open)(const void *filename, long flags, long mode) {
1404 POST_SYSCALL(open)(long res, const void *filename, long flags, long mode) {}
1406 PRE_SYSCALL(close)(long fd) {
1410 POST_SYSCALL(close)(long res, long fd) {}
1412 PRE_SYSCALL(access)(const void *filename, long mode) {
1418 POST_SYSCALL(access)(long res, const void *filename, long mode) {}
1422 POST_SYSCALL(vhangup)(long res) {}
1424 PRE_SYSCALL(chown)(const void *filename, long user, long group) {
1430 POST_SYSCALL(chown)(long res, const void *filename, long user, long group) {}
1432 PRE_SYSCALL(lchown)(const void *filename, long user, long group) {
1438 POST_SYSCALL(lchown)(long res, const void *filename, long user, long group) {}
1440 PRE_SYSCALL(fchown)(long fd, long user, long group) {}
1442 POST_SYSCALL(fchown)(long res, long fd, long user, long group) {}
1445 PRE_SYSCALL(chown16)(const void *filename, long user, long group) {
1451 POST_SYSCALL(chown16)(long res, const void *filename, long user, long group) {}
1453 PRE_SYSCALL(lchown16)(const void *filename, long user, long group) {
1459 POST_SYSCALL(lchown16)(long res, const void *filename, long user, long group) {}
1461 PRE_SYSCALL(fchown16)(long fd, long user, long group) {}
1463 POST_SYSCALL(fchown16)(long res, long fd, long user, long group) {}
1465 PRE_SYSCALL(setregid16)(long rgid, long egid) {}
1467 POST_SYSCALL(setregid16)(long res, long rgid, long egid) {}
1469 PRE_SYSCALL(setgid16)(long gid) {}
1471 POST_SYSCALL(setgid16)(long res, long gid) {}
1473 PRE_SYSCALL(setreuid16)(long ruid, long euid) {}
1475 POST_SYSCALL(setreuid16)(long res, long ruid, long euid) {}
1477 PRE_SYSCALL(setuid16)(long uid) {}
1479 POST_SYSCALL(setuid16)(long res, long uid) {}
1481 PRE_SYSCALL(setresuid16)(long ruid, long euid, long suid) {}
1483 POST_SYSCALL(setresuid16)(long res, long ruid, long euid, long suid) {}
1487 POST_SYSCALL(getresuid16)(long res, __sanitizer___kernel_old_uid_t *ruid,
1497 PRE_SYSCALL(setresgid16)(long rgid, long egid, long sgid) {}
1499 POST_SYSCALL(setresgid16)(long res, long rgid, long egid, long sgid) {}
1503 POST_SYSCALL(getresgid16)(long res, __sanitizer___kernel_old_gid_t *rgid,
1513 PRE_SYSCALL(setfsuid16)(long uid) {}
1515 POST_SYSCALL(setfsuid16)(long res, long uid) {}
1517 PRE_SYSCALL(setfsgid16)(long gid) {}
1519 POST_SYSCALL(setfsgid16)(long res, long gid) {}
1521 PRE_SYSCALL(getgroups16)(long gidsetsize,
1524 POST_SYSCALL(getgroups16)(long res, long gidsetsize,
1531 PRE_SYSCALL(setgroups16)(long gidsetsize,
1536 POST_SYSCALL(setgroups16)(long res, long gidsetsize,
1541 POST_SYSCALL(getuid16)(long res) {}
1545 POST_SYSCALL(geteuid16)(long res) {}
1549 POST_SYSCALL(getgid16)(long res) {}
1553 POST_SYSCALL(getegid16)(long res) {}
1558 POST_SYSCALL(utime)(long res, void *filename, void *times) {
1569 POST_SYSCALL(utimes)(long res, void *filename, void *utimes) {
1578 PRE_SYSCALL(lseek)(long fd, long offset, long origin) {}
1580 POST_SYSCALL(lseek)(long res, long fd, long offset, long origin) {}
1582 PRE_SYSCALL(llseek)(long fd, long offset_high, long offset_low, void *result,
1583 long origin) {}
1585 POST_SYSCALL(llseek)(long res, long fd, long offset_high, long offset_low,
1586 void *result, long origin) {
1588 if (result) POST_WRITE(result, sizeof(long long));
1592 PRE_SYSCALL(readv)(long fd, const __sanitizer_iovec *vec, long vlen) {}
1594 POST_SYSCALL(readv)(long res, long fd, const __sanitizer_iovec *vec,
1595 long vlen) {
1601 PRE_SYSCALL(write)(long fd, const void *buf, long count) {
1605 POST_SYSCALL(write)(long res, long fd, const void *buf, long count) {}
1607 PRE_SYSCALL(writev)(long fd, const __sanitizer_iovec *vec, long vlen) {}
1609 POST_SYSCALL(writev)(long res, long fd, const __sanitizer_iovec *vec,
1610 long vlen) {
1617 PRE_SYSCALL(pread64)(long fd, void *buf, long count, long pos) {}
1619 POST_SYSCALL(pread64)(long res, long fd, void *buf, long count, long pos) {
1625 PRE_SYSCALL(pwrite64)(long fd, const void *buf, long count, long pos) {
1629 POST_SYSCALL(pwrite64)(long res, long fd, const void *buf, long count,
1630 long pos) {}
1632 PRE_SYSCALL(pread64)(long fd, void *buf, long count, long pos0, long pos1) {}
1634 POST_SYSCALL(pread64)(long res, long fd, void *buf, long count, long pos0,
1635 long pos1) {
1641 PRE_SYSCALL(pwrite64)(long fd, const void *buf, long count, long pos0,
1642 long pos1) {
1646 POST_SYSCALL(pwrite64)(long res, long fd, const void *buf, long count,
1647 long pos0, long pos1) {}
1650 PRE_SYSCALL(preadv)(long fd, const __sanitizer_iovec *vec, long vlen,
1651 long pos_l, long pos_h) {}
1653 POST_SYSCALL(preadv)(long res, long fd, const __sanitizer_iovec *vec, long vlen,
1654 long pos_l, long pos_h) {
1660 PRE_SYSCALL(pwritev)(long fd, const __sanitizer_iovec *vec, long vlen,
1661 long pos_l, long pos_h) {}
1663 POST_SYSCALL(pwritev)(long res, long fd, const __sanitizer_iovec *vec,
1664 long vlen, long pos_l, long pos_h) {
1670 PRE_SYSCALL(getcwd)(void *buf, long size) {}
1672 POST_SYSCALL(getcwd)(long res, void *buf, long size) {
1679 PRE_SYSCALL(mkdir)(const void *pathname, long mode) {
1685 POST_SYSCALL(mkdir)(long res, const void *pathname, long mode) {}
1693 POST_SYSCALL(chdir)(long res, const void *filename) {}
1695 PRE_SYSCALL(fchdir)(long fd) {}
1697 POST_SYSCALL(fchdir)(long res, long fd) {}
1705 POST_SYSCALL(rmdir)(long res, const void *pathname) {}
1707 PRE_SYSCALL(lookup_dcookie)(u64 cookie64, void *buf, long len) {}
1709 POST_SYSCALL(lookup_dcookie)(long res, u64 cookie64, void *buf, long len) {
1716 PRE_SYSCALL(quotactl)(long cmd, const void *special, long id, void *addr) {
1721 POST_SYSCALL(quotactl)(long res, long cmd, const void *special, long id,
1724 PRE_SYSCALL(getdents)(long fd, void *dirent, long count) {}
1726 POST_SYSCALL(getdents)(long res, long fd, void *dirent, long count) {
1732 PRE_SYSCALL(getdents64)(long fd, void *dirent, long count) {}
1734 POST_SYSCALL(getdents64)(long res, long fd, void *dirent, long count) {
1740 PRE_SYSCALL(setsockopt)(long fd, long level, long optname, void *optval,
1741 long optlen) {}
1743 POST_SYSCALL(setsockopt)(long res, long fd, long level, long optname,
1744 void *optval, long optlen) {
1752 PRE_SYSCALL(getsockopt)(long fd, long level, long optname, void *optval,
1755 POST_SYSCALL(getsockopt)(long res, long fd, long level, long optname,
1765 PRE_SYSCALL(bind)(long arg0, sanitizer_kernel_sockaddr *arg1, long arg2) {}
1767 POST_SYSCALL(bind)(long res, long arg0, sanitizer_kernel_sockaddr *arg1,
1768 long arg2) {
1774 PRE_SYSCALL(connect)(long arg0, sanitizer_kernel_sockaddr *arg1, long arg2) {}
1776 POST_SYSCALL(connect)(long res, long arg0, sanitizer_kernel_sockaddr *arg1,
1777 long arg2) {
1783 PRE_SYSCALL(accept)(long arg0, sanitizer_kernel_sockaddr *arg1, void *arg2) {}
1785 POST_SYSCALL(accept)(long res, long arg0, sanitizer_kernel_sockaddr *arg1,
1793 PRE_SYSCALL(accept4)(long arg0, sanitizer_kernel_sockaddr *arg1, void *arg2,
1794 long arg3) {}
1796 POST_SYSCALL(accept4)(long res, long arg0, sanitizer_kernel_sockaddr *arg1,
1797 void *arg2, long arg3) {
1804 PRE_SYSCALL(getsockname)(long arg0, sanitizer_kernel_sockaddr *arg1,
1807 POST_SYSCALL(getsockname)(long res, long arg0, sanitizer_kernel_sockaddr *arg1,
1815 PRE_SYSCALL(getpeername)(long arg0, sanitizer_kernel_sockaddr *arg1,
1818 POST_SYSCALL(getpeername)(long res, long arg0, sanitizer_kernel_sockaddr *arg1,
1826 PRE_SYSCALL(send)(long arg0, void *arg1, long arg2, long arg3) {}
1828 POST_SYSCALL(send)(long res, long arg0, void *arg1, long arg2, long arg3) {
1834 PRE_SYSCALL(sendto)(long arg0, void *arg1, long arg2, long arg3,
1835 sanitizer_kernel_sockaddr *arg4, long arg5) {}
1837 POST_SYSCALL(sendto)(long res, long arg0, void *arg1, long arg2, long arg3,
1838 sanitizer_kernel_sockaddr *arg4, long arg5) {
1845 PRE_SYSCALL(sendmsg)(long fd, void *msg, long flags) {}
1847 POST_SYSCALL(sendmsg)(long res, long fd, void *msg, long flags) {
1851 PRE_SYSCALL(sendmmsg)(long fd, void *msg, long vlen, long flags) {}
1853 POST_SYSCALL(sendmmsg)(long res, long fd, void *msg, long vlen, long flags) {
1857 PRE_SYSCALL(recv)(long arg0, void *buf, long len, long flags) {}
1859 POST_SYSCALL(recv)(long res, void *buf, long len, long flags) {
1865 PRE_SYSCALL(recvfrom)(long arg0, void *buf, long len, long flags,
1868 POST_SYSCALL(recvfrom)(long res, long arg0, void *buf, long len, long flags,
1877 PRE_SYSCALL(socket)(long arg0, long arg1, long arg2) {}
1879 POST_SYSCALL(socket)(long res, long arg0, long arg1, long arg2) {}
1881 PRE_SYSCALL(socketpair)(long arg0, long arg1, long arg2, int *sv) {}
1883 POST_SYSCALL(socketpair)(long res, long arg0, long arg1, long arg2, int *sv) {
1888 PRE_SYSCALL(socketcall)(long call, void *args) {}
1890 POST_SYSCALL(socketcall)(long res, long call, void *args) {
1892 if (args) POST_WRITE(args, sizeof(long));
1896 PRE_SYSCALL(listen)(long arg0, long arg1) {}
1898 POST_SYSCALL(listen)(long res, long arg0, long arg1) {}
1900 PRE_SYSCALL(poll)(void *ufds, long nfds, long timeout) {}
1902 POST_SYSCALL(poll)(long res, __sanitizer_pollfd *ufds, long nfds,
1903 long timeout) {
1909 PRE_SYSCALL(select)(long n, __sanitizer___kernel_fd_set *inp,
1913 POST_SYSCALL(select)(long res, long n, __sanitizer___kernel_fd_set *inp,
1926 POST_SYSCALL(old_select)(long res, void *arg) {}
1928 PRE_SYSCALL(epoll_create)(long size) {}
1930 POST_SYSCALL(epoll_create)(long res, long size) {}
1932 PRE_SYSCALL(epoll_create1)(long flags) {}
1934 POST_SYSCALL(epoll_create1)(long res, long flags) {}
1936 PRE_SYSCALL(epoll_ctl)(long epfd, long op, long fd, void *event) {}
1938 POST_SYSCALL(epoll_ctl)(long res, long epfd, long op, long fd, void *event) {
1944 PRE_SYSCALL(epoll_wait)(long epfd, void *events, long maxevents, long timeout) {
1947 POST_SYSCALL(epoll_wait)(long res, long epfd, void *events, long maxevents,
1948 long timeout) {
1954 PRE_SYSCALL(epoll_pwait)(long epfd, void *events, long maxevents, long timeout,
1955 const kernel_sigset_t *sigmask, long sigsetsize) {
1959 POST_SYSCALL(epoll_pwait)(long res, long epfd, void *events, long maxevents,
1960 long timeout, const void *sigmask, long sigsetsize) {
1966 PRE_SYSCALL(gethostname)(void *name, long len) {}
1968 POST_SYSCALL(gethostname)(long res, void *name, long len) {
1975 PRE_SYSCALL(sethostname)(void *name, long len) {}
1977 POST_SYSCALL(sethostname)(long res, void *name, long len) {
1984 PRE_SYSCALL(setdomainname)(void *name, long len) {}
1986 POST_SYSCALL(setdomainname)(long res, void *name, long len) {
1995 POST_SYSCALL(newuname)(long res, void *name) {
2003 POST_SYSCALL(uname)(long res, void *arg0) {
2011 POST_SYSCALL(olduname)(long res, void *arg0) {
2017 PRE_SYSCALL(getrlimit)(long resource, void *rlim) {}
2019 POST_SYSCALL(getrlimit)(long res, long resource, void *rlim) {
2025 PRE_SYSCALL(old_getrlimit)(long resource, void *rlim) {}
2027 POST_SYSCALL(old_getrlimit)(long res, long resource, void *rlim) {
2033 PRE_SYSCALL(setrlimit)(long resource, void *rlim) {}
2035 POST_SYSCALL(setrlimit)(long res, long resource, void *rlim) {
2042 PRE_SYSCALL(prlimit64)(long pid, long resource, const void *new_rlim,
2047 POST_SYSCALL(prlimit64)(long res, long pid, long resource, const void *new_rlim,
2055 PRE_SYSCALL(getrusage)(long who, void *ru) {}
2057 POST_SYSCALL(getrusage)(long res, long who, void *ru) {
2063 PRE_SYSCALL(umask)(long mask) {}
2065 POST_SYSCALL(umask)(long res, long mask) {}
2067 PRE_SYSCALL(msgget)(long key, long msgflg) {}
2069 POST_SYSCALL(msgget)(long res, long key, long msgflg) {}
2071 PRE_SYSCALL(msgsnd)(long msqid, void *msgp, long msgsz, long msgflg) {
2075 POST_SYSCALL(msgsnd)(long res, long msqid, void *msgp, long msgsz,
2076 long msgflg) {}
2078 PRE_SYSCALL(msgrcv)(long msqid, void *msgp, long msgsz, long msgtyp,
2079 long msgflg) {}
2081 POST_SYSCALL(msgrcv)(long res, long msqid, void *msgp, long msgsz, long msgtyp,
2082 long msgflg) {
2089 PRE_SYSCALL(msgctl)(long msqid, long cmd, void *buf) {}
2091 POST_SYSCALL(msgctl)(long res, long msqid, long cmd, void *buf) {
2098 PRE_SYSCALL(semget)(long key, long nsems, long semflg) {}
2100 POST_SYSCALL(semget)(long res, long key, long nsems, long semflg) {}
2102 PRE_SYSCALL(semop)(long semid, void *sops, long nsops) {}
2104 POST_SYSCALL(semop)(long res, long semid, void *sops, long nsops) {}
2106 PRE_SYSCALL(semctl)(long semid, long semnum, long cmd, void *arg) {}
2108 POST_SYSCALL(semctl)(long res, long semid, long semnum, long cmd, void *arg) {}
2110 PRE_SYSCALL(semtimedop)(long semid, void *sops, long nsops,
2115 POST_SYSCALL(semtimedop)(long res, long semid, void *sops, long nsops,
2118 PRE_SYSCALL(shmat)(long shmid, void *shmaddr, long shmflg) {}
2120 POST_SYSCALL(shmat)(long res, long shmid, void *shmaddr, long shmflg) {
2128 PRE_SYSCALL(shmget)(long key, long size, long flag) {}
2130 POST_SYSCALL(shmget)(long res, long key, long size, long flag) {}
2134 POST_SYSCALL(shmdt)(long res, void *shmaddr) {
2142 PRE_SYSCALL(ipc)(long call, long first, long second, long third, void *ptr,
2143 long fifth) {}
2145 POST_SYSCALL(ipc)(long res, long call, long first, long second, long third,
2146 void *ptr, long fifth) {}
2149 PRE_SYSCALL(shmctl)(long shmid, long cmd, void *buf) {}
2151 POST_SYSCALL(shmctl)(long res, long shmid, long cmd, void *buf) {
2157 PRE_SYSCALL(mq_open)(const void *name, long oflag, long mode, void *attr) {
2162 POST_SYSCALL(mq_open)(long res, const void *name, long oflag, long mode,
2174 POST_SYSCALL(mq_unlink)(long res, const void *name) {}
2176 PRE_SYSCALL(mq_timedsend)(long mqdes, const void *msg_ptr, long msg_len,
2177 long msg_prio, const void *abs_timeout) {
2182 POST_SYSCALL(mq_timedsend)(long res, long mqdes, const void *msg_ptr,
2183 long msg_len, long msg_prio,
2186 PRE_SYSCALL(mq_timedreceive)(long mqdes, void *msg_ptr, long msg_len,
2191 POST_SYSCALL(mq_timedreceive)(long res, long mqdes, void *msg_ptr, long msg_len,
2199 PRE_SYSCALL(mq_notify)(long mqdes, const void *notification) {
2203 POST_SYSCALL(mq_notify)(long res, long mqdes, const void *notification) {}
2205 PRE_SYSCALL(mq_getsetattr)(long mqdes, const void *mqstat, void *omqstat) {
2209 POST_SYSCALL(mq_getsetattr)(long res, long mqdes, const void *mqstat,
2217 PRE_SYSCALL(pciconfig_iobase)(long which, long bus, long devfn) {}
2219 POST_SYSCALL(pciconfig_iobase)(long res, long which, long bus, long devfn) {}
2221 PRE_SYSCALL(pciconfig_read)(long bus, long dfn, long off, long len, void *buf) {
2224 POST_SYSCALL(pciconfig_read)(long res, long bus, long dfn, long off, long len,
2227 PRE_SYSCALL(pciconfig_write)(long bus, long dfn, long off, long len,
2230 POST_SYSCALL(pciconfig_write)(long res, long bus, long dfn, long off, long len,
2233 PRE_SYSCALL(swapon)(const void *specialfile, long swap_flags) {
2239 POST_SYSCALL(swapon)(long res, const void *specialfile, long swap_flags) {}
2247 POST_SYSCALL(swapoff)(long res, const void *specialfile) {}
2256 POST_SYSCALL(sysctl)(long res, __sanitizer___sysctl_args *args) {
2267 POST_SYSCALL(sysinfo)(long res, void *info) {
2273 PRE_SYSCALL(sysfs)(long option, long arg1, long arg2) {}
2275 POST_SYSCALL(sysfs)(long res, long option, long arg1, long arg2) {}
2277 PRE_SYSCALL(syslog)(long type, void *buf, long len) {}
2279 POST_SYSCALL(syslog)(long res, long type, void *buf, long len) {
2291 POST_SYSCALL(uselib)(long res, const void *library) {}
2295 POST_SYSCALL(ni_syscall)(long res) {}
2297 PRE_SYSCALL(ptrace)(long request, long pid, long addr, long data) {
2318 POST_SYSCALL(ptrace)(long res, long request, long pid, long addr, long data) {
2346 const void *_payload, long plen, long destringid) {
2354 POST_SYSCALL(add_key)(long res, const void *_type, const void *_description,
2355 const void *_payload, long plen, long destringid) {}
2358 const void *_callout_info, long destringid) {
2369 POST_SYSCALL(request_key)(long res, const void *_type, const void *_description,
2370 const void *_callout_info, long destringid) {}
2372 PRE_SYSCALL(keyctl)(long cmd, long arg2, long arg3, long arg4, long arg5) {}
2374 POST_SYSCALL(keyctl)(long res, long cmd, long arg2, long arg3, long arg4,
2375 long arg5) {}
2377 PRE_SYSCALL(ioprio_set)(long which, long who, long ioprio) {}
2379 POST_SYSCALL(ioprio_set)(long res, long which, long who, long ioprio) {}
2381 PRE_SYSCALL(ioprio_get)(long which, long who) {}
2383 POST_SYSCALL(ioprio_get)(long res, long which, long who) {}
2385 PRE_SYSCALL(set_mempolicy)(long mode, void *nmask, long maxnode) {}
2387 POST_SYSCALL(set_mempolicy)(long res, long mode, void *nmask, long maxnode) {
2389 if (nmask) POST_WRITE(nmask, sizeof(long));
2393 PRE_SYSCALL(migrate_pages)(long pid, long maxnode, const void *from,
2395 if (from) PRE_READ(from, sizeof(long));
2396 if (to) PRE_READ(to, sizeof(long));
2399 POST_SYSCALL(migrate_pages)(long res, long pid, long maxnode, const void *from,
2402 PRE_SYSCALL(move_pages)(long pid, long nr_pages, const void **pages,
2403 const int *nodes, int *status, long flags) {
2408 POST_SYSCALL(move_pages)(long res, long pid, long nr_pages, const void **pages,
2409 const int *nodes, int *status, long flags) {
2415 PRE_SYSCALL(mbind)(long start, long len, long mode, void *nmask, long maxnode,
2416 long flags) {}
2418 POST_SYSCALL(mbind)(long res, long start, long len, long mode, void *nmask,
2419 long maxnode, long flags) {
2421 if (nmask) POST_WRITE(nmask, sizeof(long));
2425 PRE_SYSCALL(get_mempolicy)(void *policy, void *nmask, long maxnode, long addr,
2426 long flags) {}
2428 POST_SYSCALL(get_mempolicy)(long res, void *policy, void *nmask, long maxnode,
2429 long addr, long flags) {
2432 if (nmask) POST_WRITE(nmask, sizeof(long));
2438 POST_SYSCALL(inotify_init)(long res) {}
2440 PRE_SYSCALL(inotify_init1)(long flags) {}
2442 POST_SYSCALL(inotify_init1)(long res, long flags) {}
2444 PRE_SYSCALL(inotify_add_watch)(long fd, const void *path, long mask) {
2449 POST_SYSCALL(inotify_add_watch)(long res, long fd, const void *path,
2450 long mask) {}
2452 PRE_SYSCALL(inotify_rm_watch)(long fd, long wd) {}
2454 POST_SYSCALL(inotify_rm_watch)(long res, long fd, long wd) {}
2456 PRE_SYSCALL(spu_run)(long fd, void *unpc, void *ustatus) {}
2458 POST_SYSCALL(spu_run)(long res, long fd, unsigned *unpc, unsigned *ustatus) {
2465 PRE_SYSCALL(spu_create)(const void *name, long flags, long mode, long fd) {
2470 POST_SYSCALL(spu_create)(long res, const void *name, long flags, long mode,
2471 long fd) {}
2473 PRE_SYSCALL(mknodat)(long dfd, const void *filename, long mode, long dev) {
2479 POST_SYSCALL(mknodat)(long res, long dfd, const void *filename, long mode,
2480 long dev) {}
2482 PRE_SYSCALL(mkdirat)(long dfd, const void *pathname, long mode) {
2488 POST_SYSCALL(mkdirat)(long res, long dfd, const void *pathname, long mode) {}
2490 PRE_SYSCALL(unlinkat)(long dfd, const void *pathname, long flag) {
2496 POST_SYSCALL(unlinkat)(long res, long dfd, const void *pathname, long flag) {}
2498 PRE_SYSCALL(symlinkat)(const void *oldname, long newdfd, const void *newname) {
2505 POST_SYSCALL(symlinkat)(long res, const void *oldname, long newdfd,
2508 PRE_SYSCALL(linkat)(long olddfd, const void *oldname, long newdfd,
2509 const void *newname, long flags) {
2516 POST_SYSCALL(linkat)(long res, long olddfd, const void *oldname, long newdfd,
2517 const void *newname, long flags) {}
2519 PRE_SYSCALL(renameat)(long olddfd, const void *oldname, long newdfd,
2527 POST_SYSCALL(renameat)(long res, long olddfd, const void *oldname, long newdfd,
2530 PRE_SYSCALL(futimesat)(long dfd, const void *filename, void *utimes) {
2536 POST_SYSCALL(futimesat)(long res, long dfd, const void *filename,
2543 PRE_SYSCALL(faccessat)(long dfd, const void *filename, long mode) {
2549 POST_SYSCALL(faccessat)(long res, long dfd, const void *filename, long mode) {}
2551 PRE_SYSCALL(fchmodat)(long dfd, const void *filename, long mode) {
2557 POST_SYSCALL(fchmodat)(long res, long dfd, const void *filename, long mode) {}
2559 PRE_SYSCALL(fchownat)(long dfd, const void *filename, long user, long group,
2560 long flag) {
2566 POST_SYSCALL(fchownat)(long res, long dfd, const void *filename, long user,
2567 long group, long flag) {}
2569 PRE_SYSCALL(openat)(long dfd, const void *filename, long flags, long mode) {
2575 POST_SYSCALL(openat)(long res, long dfd, const void *filename, long flags,
2576 long mode) {}
2578 PRE_SYSCALL(newfstatat)(long dfd, const void *filename, void *statbuf,
2579 long flag) {
2585 POST_SYSCALL(newfstatat)(long res, long dfd, const void *filename,
2586 void *statbuf, long flag) {
2592 PRE_SYSCALL(fstatat64)(long dfd, const void *filename, void *statbuf,
2593 long flag) {
2599 POST_SYSCALL(fstatat64)(long res, long dfd, const void *filename, void *statbuf,
2600 long flag) {
2606 PRE_SYSCALL(readlinkat)(long dfd, const void *path, void *buf, long bufsiz) {
2611 POST_SYSCALL(readlinkat)(long res, long dfd, const void *path, void *buf,
2612 long bufsiz) {
2619 PRE_SYSCALL(utimensat)(long dfd, const void *filename, void *utimes,
2620 long flags) {
2626 POST_SYSCALL(utimensat)(long res, long dfd, const void *filename, void *utimes,
2627 long flags) {
2633 PRE_SYSCALL(unshare)(long unshare_flags) {}
2635 POST_SYSCALL(unshare)(long res, long unshare_flags) {}
2637 PRE_SYSCALL(splice)(long fd_in, void *off_in, long fd_out, void *off_out,
2638 long len, long flags) {}
2640 POST_SYSCALL(splice)(long res, long fd_in, void *off_in, long fd_out,
2641 void *off_out, long len, long flags) {
2643 if (off_in) POST_WRITE(off_in, sizeof(long long));
2644 if (off_out) POST_WRITE(off_out, sizeof(long long));
2648 PRE_SYSCALL(vmsplice)(long fd, const __sanitizer_iovec *iov, long nr_segs,
2649 long flags) {}
2651 POST_SYSCALL(vmsplice)(long res, long fd, const __sanitizer_iovec *iov,
2652 long nr_segs, long flags) {
2658 PRE_SYSCALL(tee)(long fdin, long fdout, long len, long flags) {}
2660 POST_SYSCALL(tee)(long res, long fdin, long fdout, long len, long flags) {}
2662 PRE_SYSCALL(get_robust_list)(long pid, void *head_ptr, void *len_ptr) {}
2664 POST_SYSCALL(get_robust_list)(long res, long pid, void *head_ptr,
2667 PRE_SYSCALL(set_robust_list)(void *head, long len) {}
2669 POST_SYSCALL(set_robust_list)(long res, void *head, long len) {}
2673 POST_SYSCALL(getcpu)(long res, void *cpu, void *node, void *cache) {
2681 PRE_SYSCALL(signalfd)(long ufd, void *user_mask, long sizemask) {}
2683 POST_SYSCALL(signalfd)(long res, long ufd, kernel_sigset_t *user_mask,
2684 long sizemask) {
2690 PRE_SYSCALL(signalfd4)(long ufd, void *user_mask, long sizemask, long flags) {}
2692 POST_SYSCALL(signalfd4)(long res, long ufd, kernel_sigset_t *user_mask,
2693 long sizemask, long flags) {
2699 PRE_SYSCALL(timerfd_create)(long clockid, long flags) {}
2701 POST_SYSCALL(timerfd_create)(long res, long clockid, long flags) {}
2703 PRE_SYSCALL(timerfd_settime)(long ufd, long flags, const void *utmr,
2708 POST_SYSCALL(timerfd_settime)(long res, long ufd, long flags, const void *utmr,
2715 PRE_SYSCALL(timerfd_gettime)(long ufd, void *otmr) {}
2717 POST_SYSCALL(timerfd_gettime)(long res, long ufd, void *otmr) {
2723 PRE_SYSCALL(eventfd)(long count) {}
2725 POST_SYSCALL(eventfd)(long res, long count) {}
2727 PRE_SYSCALL(eventfd2)(long count, long flags) {}
2729 POST_SYSCALL(eventfd2)(long res, long count, long flags) {}
2731 PRE_SYSCALL(old_readdir)(long arg0, void *arg1, long arg2) {}
2733 POST_SYSCALL(old_readdir)(long res, long arg0, void *arg1, long arg2) {
2737 PRE_SYSCALL(pselect6)(long arg0, __sanitizer___kernel_fd_set *arg1,
2742 POST_SYSCALL(pselect6)(long res, long arg0, __sanitizer___kernel_fd_set *arg1,
2754 PRE_SYSCALL(ppoll)(__sanitizer_pollfd *arg0, long arg1, void *arg2,
2755 const kernel_sigset_t *arg3, long arg4) {
2759 POST_SYSCALL(ppoll)(long res, __sanitizer_pollfd *arg0, long arg1, void *arg2,
2760 const void *arg3, long arg4) {
2767 PRE_SYSCALL(syncfs)(long fd) {}
2769 POST_SYSCALL(syncfs)(long res, long fd) {}
2771 PRE_SYSCALL(perf_event_open)(__sanitizer_perf_event_attr *attr_uptr, long pid,
2772 long cpu, long group_fd, long flags) {
2776 POST_SYSCALL(perf_event_open)(long res, __sanitizer_perf_event_attr *attr_uptr,
2777 long pid, long cpu, long group_fd, long flags) {}
2779 PRE_SYSCALL(mmap_pgoff)(long addr, long len, long prot, long flags, long fd,
2780 long pgoff) {}
2782 POST_SYSCALL(mmap_pgoff)(long res, long addr, long len, long prot, long flags,
2783 long fd, long pgoff) {}
2787 POST_SYSCALL(old_mmap)(long res, void *arg) {}
2789 PRE_SYSCALL(name_to_handle_at)(long dfd, const void *name, void *handle,
2790 void *mnt_id, long flag) {}
2792 POST_SYSCALL(name_to_handle_at)(long res, long dfd, const void *name,
2793 void *handle, void *mnt_id, long flag) {}
2795 PRE_SYSCALL(open_by_handle_at)(long mountdirfd, void *handle, long flags) {}
2797 POST_SYSCALL(open_by_handle_at)(long res, long mountdirfd, void *handle,
2798 long flags) {}
2800 PRE_SYSCALL(setns)(long fd, long nstype) {}
2802 POST_SYSCALL(setns)(long res, long fd, long nstype) {}
2804 PRE_SYSCALL(process_vm_readv)(long pid, const __sanitizer_iovec *lvec,
2805 long liovcnt, const void *rvec, long riovcnt,
2806 long flags) {}
2808 POST_SYSCALL(process_vm_readv)(long res, long pid,
2809 const __sanitizer_iovec *lvec, long liovcnt,
2810 const void *rvec, long riovcnt, long flags) {
2816 PRE_SYSCALL(process_vm_writev)(long pid, const __sanitizer_iovec *lvec,
2817 long liovcnt, const void *rvec, long riovcnt,
2818 long flags) {}
2820 POST_SYSCALL(process_vm_writev)(long res, long pid,
2821 const __sanitizer_iovec *lvec, long liovcnt,
2822 const void *rvec, long riovcnt, long flags) {
2832 POST_SYSCALL(fork)(long res) {
2840 POST_SYSCALL(vfork)(long res) {
2844 PRE_SYSCALL(sigaction)(long signum, const __sanitizer_kernel_sigaction_t *act,
2853 POST_SYSCALL(sigaction)(long res, long signum,
2859 PRE_SYSCALL(rt_sigaction)(long signum,
2869 POST_SYSCALL(rt_sigaction)(long res, long signum,