11.37Snjoly/* $NetBSD: linux_syscall.h,v 1.101 2025/11/10 15:41:58 christos Exp $ */ 21.1Smanu 31.1Smanu/* 41.1Smanu * System call numbers. 51.1Smanu * 61.1Smanu * DO NOT EDIT-- this file is automatically generated. 71.101Schristos * created from NetBSD: syscalls.master,v 1.90 2025/11/10 15:41:38 christos Exp 81.1Smanu */ 91.1Smanu 101.33Schristos#ifndef _LINUX_SYS_SYSCALL_H_ 111.33Schristos#define _LINUX_SYS_SYSCALL_H_ 121.33Schristos 131.37Snjoly#define LINUX_SYS_MAXSYSARGS 8 141.37Snjoly 151.1Smanu/* syscall: "syscall" ret: "int" args: */ 161.1Smanu#define LINUX_SYS_syscall 0 171.1Smanu 181.1Smanu/* syscall: "exit" ret: "int" args: "int" */ 191.1Smanu#define LINUX_SYS_exit 1 201.1Smanu 211.1Smanu/* syscall: "fork" ret: "int" args: */ 221.1Smanu#define LINUX_SYS_fork 2 231.1Smanu 241.65Snjoly/* syscall: "read" ret: "ssize_t" args: "int" "void *" "size_t" */ 251.1Smanu#define LINUX_SYS_read 3 261.1Smanu 271.65Snjoly/* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */ 281.1Smanu#define LINUX_SYS_write 4 291.1Smanu 301.63Snjoly/* syscall: "open" ret: "int" args: "const char *" "int" "linux_umode_t" */ 311.1Smanu#define LINUX_SYS_open 5 321.1Smanu 331.1Smanu/* syscall: "close" ret: "int" args: "int" */ 341.1Smanu#define LINUX_SYS_close 6 351.1Smanu 361.1Smanu/* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */ 371.1Smanu#define LINUX_SYS_waitpid 7 381.1Smanu 391.63Snjoly/* syscall: "creat" ret: "int" args: "const char *" "linux_umode_t" */ 401.1Smanu#define LINUX_SYS_creat 8 411.1Smanu 421.1Smanu/* syscall: "link" ret: "int" args: "const char *" "const char *" */ 431.1Smanu#define LINUX_SYS_link 9 441.1Smanu 451.1Smanu/* syscall: "unlink" ret: "int" args: "const char *" */ 461.1Smanu#define LINUX_SYS_unlink 10 471.1Smanu 481.1Smanu/* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */ 491.1Smanu#define LINUX_SYS_execve 11 501.1Smanu 511.1Smanu/* syscall: "chdir" ret: "int" args: "const char *" */ 521.1Smanu#define LINUX_SYS_chdir 12 531.1Smanu 541.1Smanu/* syscall: "time" ret: "int" args: "linux_time_t *" */ 551.1Smanu#define LINUX_SYS_time 13 561.1Smanu 571.67Snjoly/* syscall: "mknod" ret: "int" args: "const char *" "linux_umode_t" "unsigned" */ 581.1Smanu#define LINUX_SYS_mknod 14 591.1Smanu 601.1Smanu/* syscall: "chmod" ret: "int" args: "const char *" "int" */ 611.1Smanu#define LINUX_SYS_chmod 15 621.1Smanu 631.74Snjoly/* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */ 641.37Snjoly#define LINUX_SYS___posix_lchown 16 651.1Smanu 661.1Smanu /* 17 is obsolete break */ 671.1Smanu /* 18 is obsolete ostat */ 681.1Smanu/* syscall: "lseek" ret: "long" args: "int" "long" "int" */ 691.1Smanu#define LINUX_SYS_lseek 19 701.1Smanu 711.1Smanu/* syscall: "getpid" ret: "pid_t" args: */ 721.1Smanu#define LINUX_SYS_getpid 20 731.1Smanu 741.1Smanu /* 22 is obsolete umount */ 751.1Smanu/* syscall: "setuid" ret: "int" args: "uid_t" */ 761.1Smanu#define LINUX_SYS_setuid 23 771.1Smanu 781.1Smanu/* syscall: "getuid" ret: "uid_t" args: */ 791.1Smanu#define LINUX_SYS_getuid 24 801.1Smanu 811.1Smanu/* syscall: "stime" ret: "int" args: "linux_time_t *" */ 821.1Smanu#define LINUX_SYS_stime 25 831.1Smanu 841.60Spooka/* syscall: "ptrace" ret: "int" args: "int" "int" "long" "long" */ 851.1Smanu#define LINUX_SYS_ptrace 26 861.1Smanu 871.1Smanu/* syscall: "alarm" ret: "int" args: "unsigned int" */ 881.1Smanu#define LINUX_SYS_alarm 27 891.1Smanu 901.1Smanu /* 28 is obsolete ofstat */ 911.1Smanu/* syscall: "pause" ret: "int" args: */ 921.1Smanu#define LINUX_SYS_pause 29 931.1Smanu 941.1Smanu/* syscall: "utime" ret: "int" args: "const char *" "struct linux_utimbuf *" */ 951.1Smanu#define LINUX_SYS_utime 30 961.1Smanu 971.1Smanu /* 31 is obsolete stty */ 981.1Smanu /* 32 is obsolete gtty */ 991.1Smanu/* syscall: "access" ret: "int" args: "const char *" "int" */ 1001.1Smanu#define LINUX_SYS_access 33 1011.1Smanu 1021.1Smanu/* syscall: "nice" ret: "int" args: "int" */ 1031.1Smanu#define LINUX_SYS_nice 34 1041.1Smanu 1051.1Smanu /* 35 is obsolete ftime */ 1061.1Smanu/* syscall: "sync" ret: "int" args: */ 1071.1Smanu#define LINUX_SYS_sync 36 1081.1Smanu 1091.1Smanu/* syscall: "kill" ret: "int" args: "int" "int" */ 1101.1Smanu#define LINUX_SYS_kill 37 1111.1Smanu 1121.37Snjoly/* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */ 1131.37Snjoly#define LINUX_SYS___posix_rename 38 1141.1Smanu 1151.63Snjoly/* syscall: "mkdir" ret: "int" args: "const char *" "linux_umode_t" */ 1161.1Smanu#define LINUX_SYS_mkdir 39 1171.1Smanu 1181.1Smanu/* syscall: "rmdir" ret: "int" args: "const char *" */ 1191.1Smanu#define LINUX_SYS_rmdir 40 1201.1Smanu 1211.62Snjoly/* syscall: "dup" ret: "int" args: "int" */ 1221.1Smanu#define LINUX_SYS_dup 41 1231.1Smanu 1241.1Smanu/* syscall: "pipe" ret: "int" args: "int *" */ 1251.1Smanu#define LINUX_SYS_pipe 42 1261.1Smanu 1271.1Smanu/* syscall: "times" ret: "int" args: "struct times *" */ 1281.1Smanu#define LINUX_SYS_times 43 1291.1Smanu 1301.1Smanu /* 44 is obsolete prof */ 1311.1Smanu/* syscall: "brk" ret: "int" args: "char *" */ 1321.1Smanu#define LINUX_SYS_brk 45 1331.1Smanu 1341.1Smanu/* syscall: "setgid" ret: "int" args: "gid_t" */ 1351.1Smanu#define LINUX_SYS_setgid 46 1361.1Smanu 1371.1Smanu/* syscall: "getgid" ret: "gid_t" args: */ 1381.1Smanu#define LINUX_SYS_getgid 47 1391.1Smanu 1401.1Smanu/* syscall: "signal" ret: "int" args: "int" "linux_handler_t" */ 1411.1Smanu#define LINUX_SYS_signal 48 1421.1Smanu 1431.1Smanu/* syscall: "geteuid" ret: "uid_t" args: */ 1441.1Smanu#define LINUX_SYS_geteuid 49 1451.1Smanu 1461.1Smanu/* syscall: "getegid" ret: "gid_t" args: */ 1471.1Smanu#define LINUX_SYS_getegid 50 1481.1Smanu 1491.1Smanu/* syscall: "acct" ret: "int" args: "char *" */ 1501.1Smanu#define LINUX_SYS_acct 51 1511.1Smanu 1521.1Smanu /* 53 is obsolete lock */ 1531.36Schristos/* syscall: "ioctl" ret: "int" args: "int" "u_long" "void *" */ 1541.1Smanu#define LINUX_SYS_ioctl 54 1551.1Smanu 1561.1Smanu/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */ 1571.1Smanu#define LINUX_SYS_fcntl 55 1581.1Smanu 1591.1Smanu /* 56 is obsolete mpx */ 1601.1Smanu/* syscall: "setpgid" ret: "int" args: "int" "int" */ 1611.1Smanu#define LINUX_SYS_setpgid 57 1621.1Smanu 1631.1Smanu /* 58 is obsolete ulimit */ 1641.1Smanu/* syscall: "olduname" ret: "int" args: "struct linux_old_utsname *" */ 1651.1Smanu#define LINUX_SYS_olduname 59 1661.1Smanu 1671.1Smanu/* syscall: "umask" ret: "int" args: "int" */ 1681.1Smanu#define LINUX_SYS_umask 60 1691.1Smanu 1701.1Smanu/* syscall: "chroot" ret: "int" args: "char *" */ 1711.1Smanu#define LINUX_SYS_chroot 61 1721.1Smanu 1731.62Snjoly/* syscall: "dup2" ret: "int" args: "int" "int" */ 1741.1Smanu#define LINUX_SYS_dup2 63 1751.1Smanu 1761.1Smanu/* syscall: "getppid" ret: "pid_t" args: */ 1771.1Smanu#define LINUX_SYS_getppid 64 1781.1Smanu 1791.1Smanu/* syscall: "getpgrp" ret: "int" args: */ 1801.1Smanu#define LINUX_SYS_getpgrp 65 1811.1Smanu 1821.1Smanu/* syscall: "setsid" ret: "int" args: */ 1831.1Smanu#define LINUX_SYS_setsid 66 1841.1Smanu 1851.1Smanu/* syscall: "sigaction" ret: "int" args: "int" "const struct linux_old_sigaction *" "struct linux_old_sigaction *" */ 1861.1Smanu#define LINUX_SYS_sigaction 67 1871.1Smanu 1881.1Smanu/* syscall: "siggetmask" ret: "int" args: */ 1891.1Smanu#define LINUX_SYS_siggetmask 68 1901.1Smanu 1911.1Smanu/* syscall: "sigsetmask" ret: "int" args: "linux_old_sigset_t" */ 1921.1Smanu#define LINUX_SYS_sigsetmask 69 1931.1Smanu 1941.1Smanu/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */ 1951.1Smanu#define LINUX_SYS_setreuid 70 1961.1Smanu 1971.1Smanu/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */ 1981.1Smanu#define LINUX_SYS_setregid 71 1991.1Smanu 2001.36Schristos/* syscall: "sigsuspend" ret: "int" args: "void *" "int" "int" */ 2011.1Smanu#define LINUX_SYS_sigsuspend 72 2021.1Smanu 2031.1Smanu/* syscall: "sigpending" ret: "int" args: "linux_old_sigset_t *" */ 2041.1Smanu#define LINUX_SYS_sigpending 73 2051.1Smanu 2061.1Smanu/* syscall: "sethostname" ret: "int" args: "char *" "u_int" */ 2071.1Smanu#define LINUX_SYS_sethostname 74 2081.1Smanu 2091.1Smanu/* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */ 2101.1Smanu#define LINUX_SYS_setrlimit 75 2111.1Smanu 2121.1Smanu/* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */ 2131.1Smanu#define LINUX_SYS_getrlimit 76 2141.1Smanu 2151.46Snjoly/* syscall: "getrusage" ret: "int" args: "int" "struct rusage50 *" */ 2161.1Smanu#define LINUX_SYS_getrusage 77 2171.1Smanu 2181.46Snjoly/* syscall: "gettimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */ 2191.1Smanu#define LINUX_SYS_gettimeofday 78 2201.1Smanu 2211.46Snjoly/* syscall: "settimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */ 2221.1Smanu#define LINUX_SYS_settimeofday 79 2231.1Smanu 2241.69Snjoly/* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */ 2251.1Smanu#define LINUX_SYS_getgroups 80 2261.1Smanu 2271.69Snjoly/* syscall: "setgroups" ret: "int" args: "int" "gid_t *" */ 2281.1Smanu#define LINUX_SYS_setgroups 81 2291.1Smanu 2301.46Snjoly/* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */ 2311.1Smanu#define LINUX_SYS_select 82 2321.1Smanu 2331.1Smanu/* syscall: "symlink" ret: "int" args: "const char *" "const char *" */ 2341.1Smanu#define LINUX_SYS_symlink 83 2351.1Smanu 2361.1Smanu/* syscall: "oolstat" ret: "int" args: "const char *" "struct stat43 *" */ 2371.1Smanu#define LINUX_SYS_oolstat 84 2381.1Smanu 2391.76Snjoly/* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "int" */ 2401.1Smanu#define LINUX_SYS_readlink 85 2411.1Smanu 2421.31Schristos#ifdef EXEC_AOUT 2431.1Smanu/* syscall: "uselib" ret: "int" args: "const char *" */ 2441.1Smanu#define LINUX_SYS_uselib 86 2451.1Smanu 2461.31Schristos#else 2471.31Schristos#endif 2481.1Smanu/* syscall: "swapon" ret: "int" args: "char *" */ 2491.1Smanu#define LINUX_SYS_swapon 87 2501.1Smanu 2511.1Smanu/* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */ 2521.1Smanu#define LINUX_SYS_reboot 88 2531.1Smanu 2541.36Schristos/* syscall: "readdir" ret: "int" args: "int" "void *" "unsigned int" */ 2551.1Smanu#define LINUX_SYS_readdir 89 2561.1Smanu 2571.10Smanu/* syscall: "mmap" ret: "int" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */ 2581.10Smanu#define LINUX_SYS_mmap 90 2591.1Smanu 2601.70Snjoly/* syscall: "munmap" ret: "int" args: "void *" "size_t" */ 2611.1Smanu#define LINUX_SYS_munmap 91 2621.1Smanu 2631.1Smanu/* syscall: "truncate" ret: "int" args: "const char *" "long" */ 2641.1Smanu#define LINUX_SYS_truncate 92 2651.1Smanu 2661.1Smanu/* syscall: "ftruncate" ret: "int" args: "int" "long" */ 2671.1Smanu#define LINUX_SYS_ftruncate 93 2681.1Smanu 2691.63Snjoly/* syscall: "fchmod" ret: "int" args: "int" "linux_umode_t" */ 2701.1Smanu#define LINUX_SYS_fchmod 94 2711.1Smanu 2721.75Snjoly/* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */ 2731.1Smanu#define LINUX_SYS___posix_fchown 95 2741.1Smanu 2751.1Smanu/* syscall: "getpriority" ret: "int" args: "int" "int" */ 2761.1Smanu#define LINUX_SYS_getpriority 96 2771.1Smanu 2781.1Smanu/* syscall: "setpriority" ret: "int" args: "int" "int" "int" */ 2791.1Smanu#define LINUX_SYS_setpriority 97 2801.1Smanu 2811.36Schristos/* syscall: "profil" ret: "int" args: "void *" "u_int" "u_int" "u_int" */ 2821.1Smanu#define LINUX_SYS_profil 98 2831.1Smanu 2841.1Smanu/* syscall: "statfs" ret: "int" args: "const char *" "struct linux_statfs *" */ 2851.1Smanu#define LINUX_SYS_statfs 99 2861.1Smanu 2871.1Smanu/* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */ 2881.1Smanu#define LINUX_SYS_fstatfs 100 2891.1Smanu 2901.1Smanu/* syscall: "socketcall" ret: "int" args: "int" "void *" */ 2911.1Smanu#define LINUX_SYS_socketcall 102 2921.1Smanu 2931.56Schristos/* syscall: "setitimer" ret: "int" args: "int" "struct itimerval50 *" "struct itimerval50 *" */ 2941.1Smanu#define LINUX_SYS_setitimer 104 2951.1Smanu 2961.56Schristos/* syscall: "getitimer" ret: "int" args: "int" "struct itimerval50 *" */ 2971.1Smanu#define LINUX_SYS_getitimer 105 2981.1Smanu 2991.1Smanu/* syscall: "stat" ret: "int" args: "const char *" "struct linux_stat *" */ 3001.1Smanu#define LINUX_SYS_stat 106 3011.1Smanu 3021.1Smanu/* syscall: "lstat" ret: "int" args: "const char *" "struct linux_stat *" */ 3031.1Smanu#define LINUX_SYS_lstat 107 3041.1Smanu 3051.1Smanu/* syscall: "fstat" ret: "int" args: "int" "struct linux_stat *" */ 3061.1Smanu#define LINUX_SYS_fstat 108 3071.1Smanu 3081.1Smanu/* syscall: "uname" ret: "int" args: "struct linux_utsname *" */ 3091.1Smanu#define LINUX_SYS_uname 109 3101.1Smanu 3111.47Snjoly/* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage50 *" */ 3121.1Smanu#define LINUX_SYS_wait4 114 3131.1Smanu 3141.1Smanu/* syscall: "swapoff" ret: "int" args: "const char *" */ 3151.1Smanu#define LINUX_SYS_swapoff 115 3161.1Smanu 3171.1Smanu/* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */ 3181.1Smanu#define LINUX_SYS_sysinfo 116 3191.1Smanu 3201.36Schristos/* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "void *" */ 3211.1Smanu#define LINUX_SYS_ipc 117 3221.1Smanu 3231.1Smanu/* syscall: "fsync" ret: "int" args: "int" */ 3241.1Smanu#define LINUX_SYS_fsync 118 3251.1Smanu 3261.1Smanu/* syscall: "sigreturn" ret: "int" args: "struct linux_sigcontext *" */ 3271.1Smanu#define LINUX_SYS_sigreturn 119 3281.1Smanu 3291.51Schs/* syscall: "clone" ret: "int" args: "int" "void *" "void *" "void *" "void *" */ 3301.1Smanu#define LINUX_SYS_clone 120 3311.1Smanu 3321.1Smanu/* syscall: "setdomainname" ret: "int" args: "char *" "int" */ 3331.1Smanu#define LINUX_SYS_setdomainname 121 3341.1Smanu 3351.1Smanu/* syscall: "new_uname" ret: "int" args: "struct linux_utsname *" */ 3361.1Smanu#define LINUX_SYS_new_uname 122 3371.1Smanu 3381.14Schristos/* syscall: "mprotect" ret: "int" args: "const void *" "unsigned long" "int" */ 3391.1Smanu#define LINUX_SYS_mprotect 125 3401.1Smanu 3411.1Smanu/* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */ 3421.1Smanu#define LINUX_SYS_sigprocmask 126 3431.1Smanu 3441.40Snjoly/* syscall: "getpgid" ret: "pid_t" args: "pid_t" */ 3451.1Smanu#define LINUX_SYS_getpgid 132 3461.1Smanu 3471.1Smanu/* syscall: "fchdir" ret: "int" args: "int" */ 3481.1Smanu#define LINUX_SYS_fchdir 133 3491.1Smanu 3501.49Snjoly/* syscall: "personality" ret: "int" args: "unsigned long" */ 3511.1Smanu#define LINUX_SYS_personality 136 3521.1Smanu 3531.1Smanu/* syscall: "setfsuid" ret: "int" args: "uid_t" */ 3541.1Smanu#define LINUX_SYS_setfsuid 138 3551.1Smanu 3561.39Snjoly/* syscall: "setfsgid" ret: "int" args: "gid_t" */ 3571.39Snjoly#define LINUX_SYS_setfsgid 139 3581.1Smanu 3591.36Schristos/* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "void *" "int" */ 3601.1Smanu#define LINUX_SYS_llseek 140 3611.1Smanu 3621.1Smanu/* syscall: "getdents" ret: "int" args: "int" "struct linux_dirent *" "unsigned int" */ 3631.1Smanu#define LINUX_SYS_getdents 141 3641.1Smanu 3651.46Snjoly/* syscall: "new_select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */ 3661.1Smanu#define LINUX_SYS_new_select 142 3671.1Smanu 3681.1Smanu/* syscall: "flock" ret: "int" args: "int" "int" */ 3691.1Smanu#define LINUX_SYS_flock 143 3701.1Smanu 3711.41Snjoly/* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */ 3721.41Snjoly#define LINUX_SYS___msync13 144 3731.1Smanu 3741.65Snjoly/* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */ 3751.1Smanu#define LINUX_SYS_readv 145 3761.1Smanu 3771.65Snjoly/* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */ 3781.1Smanu#define LINUX_SYS_writev 146 3791.1Smanu 3801.1Smanu/* syscall: "getsid" ret: "pid_t" args: "pid_t" */ 3811.1Smanu#define LINUX_SYS_getsid 147 3821.1Smanu 3831.1Smanu/* syscall: "fdatasync" ret: "int" args: "int" */ 3841.1Smanu#define LINUX_SYS_fdatasync 148 3851.1Smanu 3861.1Smanu/* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */ 3871.1Smanu#define LINUX_SYS___sysctl 149 3881.1Smanu 3891.36Schristos/* syscall: "mlock" ret: "int" args: "void *" "size_t" */ 3901.1Smanu#define LINUX_SYS_mlock 150 3911.1Smanu 3921.36Schristos/* syscall: "munlock" ret: "int" args: "void *" "size_t" */ 3931.1Smanu#define LINUX_SYS_munlock 151 3941.1Smanu 3951.1Smanu/* syscall: "mlockall" ret: "int" args: "int" */ 3961.1Smanu#define LINUX_SYS_mlockall 152 3971.1Smanu 3981.1Smanu/* syscall: "munlockall" ret: "int" args: */ 3991.1Smanu#define LINUX_SYS_munlockall 153 4001.1Smanu 4011.1Smanu/* syscall: "sched_setparam" ret: "int" args: "pid_t" "const struct linux_sched_param *" */ 4021.1Smanu#define LINUX_SYS_sched_setparam 154 4031.1Smanu 4041.1Smanu/* syscall: "sched_getparam" ret: "int" args: "pid_t" "struct linux_sched_param *" */ 4051.1Smanu#define LINUX_SYS_sched_getparam 155 4061.1Smanu 4071.1Smanu/* syscall: "sched_setscheduler" ret: "int" args: "pid_t" "int" "const struct linux_sched_param *" */ 4081.1Smanu#define LINUX_SYS_sched_setscheduler 156 4091.1Smanu 4101.1Smanu/* syscall: "sched_getscheduler" ret: "int" args: "pid_t" */ 4111.1Smanu#define LINUX_SYS_sched_getscheduler 157 4121.1Smanu 4131.1Smanu/* syscall: "sched_yield" ret: "int" args: */ 4141.1Smanu#define LINUX_SYS_sched_yield 158 4151.1Smanu 4161.1Smanu/* syscall: "sched_get_priority_max" ret: "int" args: "int" */ 4171.1Smanu#define LINUX_SYS_sched_get_priority_max 159 4181.1Smanu 4191.1Smanu/* syscall: "sched_get_priority_min" ret: "int" args: "int" */ 4201.1Smanu#define LINUX_SYS_sched_get_priority_min 160 4211.1Smanu 4221.43Snjoly/* syscall: "nanosleep" ret: "int" args: "const struct linux_timespec *" "struct linux_timespec *" */ 4231.1Smanu#define LINUX_SYS_nanosleep 162 4241.1Smanu 4251.1Smanu/* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */ 4261.1Smanu#define LINUX_SYS_mremap 163 4271.1Smanu 4281.1Smanu/* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */ 4291.1Smanu#define LINUX_SYS_setresuid 164 4301.1Smanu 4311.1Smanu/* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */ 4321.1Smanu#define LINUX_SYS_getresuid 165 4331.1Smanu 4341.1Smanu/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */ 4351.1Smanu#define LINUX_SYS_poll 167 4361.1Smanu 4371.1Smanu/* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */ 4381.1Smanu#define LINUX_SYS_setresgid 169 4391.1Smanu 4401.1Smanu/* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */ 4411.1Smanu#define LINUX_SYS_getresgid 170 4421.1Smanu 4431.100Schristos/* syscall: "__prctl" ret: "int" args: "int" "..." */ 4441.100Schristos#define LINUX_SYS___prctl 171 4451.100Schristos 4461.1Smanu/* syscall: "rt_sigreturn" ret: "int" args: "struct linux_rt_sigframe *" */ 4471.1Smanu#define LINUX_SYS_rt_sigreturn 172 4481.1Smanu 4491.1Smanu/* syscall: "rt_sigaction" ret: "int" args: "int" "const struct linux_sigaction *" "struct linux_sigaction *" "size_t" */ 4501.1Smanu#define LINUX_SYS_rt_sigaction 173 4511.1Smanu 4521.1Smanu/* syscall: "rt_sigprocmask" ret: "int" args: "int" "const linux_sigset_t *" "linux_sigset_t *" "size_t" */ 4531.1Smanu#define LINUX_SYS_rt_sigprocmask 174 4541.1Smanu 4551.1Smanu/* syscall: "rt_sigpending" ret: "int" args: "linux_sigset_t *" "size_t" */ 4561.1Smanu#define LINUX_SYS_rt_sigpending 175 4571.1Smanu 4581.56Schristos/* syscall: "rt_sigtimedwait" ret: "int" args: "const linux_sigset_t *" "linux_siginfo_t *" "const struct linux_timespec *" */ 4591.56Schristos#define LINUX_SYS_rt_sigtimedwait 176 4601.56Schristos 4611.48Snjoly/* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "linux_siginfo_t *" */ 4621.1Smanu#define LINUX_SYS_rt_queueinfo 177 4631.1Smanu 4641.1Smanu/* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */ 4651.1Smanu#define LINUX_SYS_rt_sigsuspend 178 4661.1Smanu 4671.66Snjoly/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "off_t" */ 4681.1Smanu#define LINUX_SYS_pread 179 4691.1Smanu 4701.66Snjoly/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "off_t" */ 4711.1Smanu#define LINUX_SYS_pwrite 180 4721.1Smanu 4731.74Snjoly/* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */ 4741.37Snjoly#define LINUX_SYS___posix_chown 181 4751.1Smanu 4761.1Smanu/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */ 4771.1Smanu#define LINUX_SYS___getcwd 182 4781.1Smanu 4791.1Smanu/* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */ 4801.1Smanu#define LINUX_SYS_sigaltstack 185 4811.1Smanu 4821.1Smanu/* syscall: "__vfork14" ret: "int" args: */ 4831.1Smanu#define LINUX_SYS___vfork14 189 4841.13Snathanw 4851.13Snathanw/* syscall: "ugetrlimit" ret: "int" args: "int" "struct rlimit *" */ 4861.13Snathanw#define LINUX_SYS_ugetrlimit 190 4871.21Schristos 4881.94Schristos/* syscall: "readahead" ret: "ssize_t" args: "int" "off_t" "size_t" */ 4891.94Schristos#define LINUX_SYS_readahead 191 4901.94Schristos 4911.38Sdsl#define linux_sys_mmap2_args linux_sys_mmap_args 4921.21Schristos/* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */ 4931.21Schristos#define LINUX_SYS_mmap2 192 4941.17Sjdolecek 4951.17Sjdolecek/* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */ 4961.17Sjdolecek#define LINUX_SYS_truncate64 193 4971.17Sjdolecek 4981.22Sjdolecek/* syscall: "ftruncate64" ret: "int" args: "unsigned int" "off_t" */ 4991.22Sjdolecek#define LINUX_SYS_ftruncate64 194 5001.15Schristos 5011.16Sjdolecek/* syscall: "stat64" ret: "int" args: "const char *" "struct linux_stat64 *" */ 5021.16Sjdolecek#define LINUX_SYS_stat64 195 5031.16Sjdolecek 5041.16Sjdolecek/* syscall: "lstat64" ret: "int" args: "const char *" "struct linux_stat64 *" */ 5051.16Sjdolecek#define LINUX_SYS_lstat64 196 5061.16Sjdolecek 5071.16Sjdolecek/* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */ 5081.16Sjdolecek#define LINUX_SYS_fstat64 197 5091.16Sjdolecek 5101.15Schristos/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */ 5111.15Schristos#define LINUX_SYS_getdents64 202 5121.16Sjdolecek 5131.16Sjdolecek/* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */ 5141.16Sjdolecek#define LINUX_SYS_fcntl64 204 5151.12Schristos 5161.23Sjdolecek/* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */ 5171.23Sjdolecek#define LINUX_SYS_mincore 205 5181.23Sjdolecek 5191.23Sjdolecek/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */ 5201.23Sjdolecek#define LINUX_SYS_madvise 206 5211.23Sjdolecek 5221.51Schs/* syscall: "gettid" ret: "pid_t" args: */ 5231.51Schs#define LINUX_SYS_gettid 207 5241.51Schs 5251.51Schs/* syscall: "tkill" ret: "int" args: "int" "int" */ 5261.51Schs#define LINUX_SYS_tkill 208 5271.51Schs 5281.29Sfvdl/* syscall: "setxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */ 5291.29Sfvdl#define LINUX_SYS_setxattr 209 5301.29Sfvdl 5311.29Sfvdl/* syscall: "lsetxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */ 5321.29Sfvdl#define LINUX_SYS_lsetxattr 210 5331.29Sfvdl 5341.29Sfvdl/* syscall: "fsetxattr" ret: "int" args: "int" "char *" "void *" "size_t" "int" */ 5351.29Sfvdl#define LINUX_SYS_fsetxattr 211 5361.29Sfvdl 5371.29Sfvdl/* syscall: "getxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */ 5381.29Sfvdl#define LINUX_SYS_getxattr 212 5391.29Sfvdl 5401.29Sfvdl/* syscall: "lgetxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */ 5411.29Sfvdl#define LINUX_SYS_lgetxattr 213 5421.29Sfvdl 5431.29Sfvdl/* syscall: "fgetxattr" ret: "ssize_t" args: "int" "char *" "void *" "size_t" */ 5441.29Sfvdl#define LINUX_SYS_fgetxattr 214 5451.29Sfvdl 5461.29Sfvdl/* syscall: "listxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */ 5471.29Sfvdl#define LINUX_SYS_listxattr 215 5481.29Sfvdl 5491.29Sfvdl/* syscall: "llistxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */ 5501.29Sfvdl#define LINUX_SYS_llistxattr 216 5511.29Sfvdl 5521.29Sfvdl/* syscall: "flistxattr" ret: "ssize_t" args: "int" "char *" "size_t" */ 5531.29Sfvdl#define LINUX_SYS_flistxattr 217 5541.29Sfvdl 5551.29Sfvdl/* syscall: "removexattr" ret: "int" args: "char *" "char *" */ 5561.29Sfvdl#define LINUX_SYS_removexattr 218 5571.29Sfvdl 5581.29Sfvdl/* syscall: "lremovexattr" ret: "int" args: "char *" "char *" */ 5591.29Sfvdl#define LINUX_SYS_lremovexattr 219 5601.29Sfvdl 5611.29Sfvdl/* syscall: "fremovexattr" ret: "int" args: "int" "char *" */ 5621.29Sfvdl#define LINUX_SYS_fremovexattr 220 5631.29Sfvdl 5641.51Schs/* syscall: "futex" ret: "int" args: "int *" "int" "int" "const struct linux_timespec *" "int *" "int" */ 5651.51Schs#define LINUX_SYS_futex 221 5661.51Schs 5671.51Schs/* syscall: "sched_setaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */ 5681.51Schs#define LINUX_SYS_sched_setaffinity 222 5691.51Schs 5701.51Schs/* syscall: "sched_getaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */ 5711.51Schs#define LINUX_SYS_sched_getaffinity 223 5721.51Schs 5731.51Schs/* syscall: "set_tid_address" ret: "int" args: "int *" */ 5741.51Schs#define LINUX_SYS_set_tid_address 232 5751.51Schs 5761.68Snjoly/* syscall: "fadvise64" ret: "int" args: "int" "off_t" "size_t" "int" */ 5771.53Salnsn#define LINUX_SYS_fadvise64 233 5781.53Salnsn 5791.25Sjdolecek/* syscall: "exit_group" ret: "int" args: "int" */ 5801.25Sjdolecek#define LINUX_SYS_exit_group 234 5811.25Sjdolecek 5821.93Schristos/* syscall: "epoll_create" ret: "int" args: "int" */ 5831.93Schristos#define LINUX_SYS_epoll_create 236 5841.93Schristos 5851.93Schristos/* syscall: "epoll_ctl" ret: "int" args: "int" "int" "int" "struct linux_epoll_event *" */ 5861.93Schristos#define LINUX_SYS_epoll_ctl 237 5871.93Schristos 5881.93Schristos/* syscall: "epoll_wait" ret: "int" args: "int" "struct linux_epoll_event *" "int" "int" */ 5891.93Schristos#define LINUX_SYS_epoll_wait 238 5901.93Schristos 5911.87Sthorpej/* syscall: "timer_create" ret: "int" args: "clockid_t" "struct linux_sigevent *" "timer_t *" */ 5921.87Sthorpej#define LINUX_SYS_timer_create 240 5931.87Sthorpej 5941.87Sthorpej/* syscall: "timer_settime" ret: "int" args: "timer_t" "int" "const struct linux_itimerspec *" "struct linux_itimerspec *" */ 5951.87Sthorpej#define LINUX_SYS_timer_settime 241 5961.87Sthorpej 5971.87Sthorpej/* syscall: "timer_gettime" ret: "int" args: "timer_t" "struct linux_itimerspec *" */ 5981.87Sthorpej#define LINUX_SYS_timer_gettime 242 5991.87Sthorpej 6001.87Sthorpej/* syscall: "timer_getoverrun" ret: "int" args: "timer_t" */ 6011.87Sthorpej#define LINUX_SYS_timer_getoverrun 243 6021.87Sthorpej 6031.87Sthorpej/* syscall: "timer_delete" ret: "int" args: "timer_t" */ 6041.87Sthorpej#define LINUX_SYS_timer_delete 244 6051.87Sthorpej 6061.30Sfvdl/* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */ 6071.30Sfvdl#define LINUX_SYS_clock_settime 245 6081.30Sfvdl 6091.30Sfvdl/* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct linux_timespec *" */ 6101.30Sfvdl#define LINUX_SYS_clock_gettime 246 6111.30Sfvdl 6121.30Sfvdl/* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct linux_timespec *" */ 6131.30Sfvdl#define LINUX_SYS_clock_getres 247 6141.30Sfvdl 6151.30Sfvdl/* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "struct linux_timespec *" "struct linux_timespec *" */ 6161.30Sfvdl#define LINUX_SYS_clock_nanosleep 248 6171.30Sfvdl 6181.51Schs/* syscall: "tgkill" ret: "int" args: "int" "int" "int" */ 6191.51Schs#define LINUX_SYS_tgkill 250 6201.51Schs 6211.70Snjoly/* syscall: "utimes" ret: "int" args: "const char *" "const struct timeval50 *" */ 6221.58Spooka#define LINUX_SYS_utimes 251 6231.58Spooka 6241.26Sjdolecek/* syscall: "statfs64" ret: "int" args: "const char *" "size_t" "struct linux_statfs64 *" */ 6251.26Sjdolecek#define LINUX_SYS_statfs64 252 6261.26Sjdolecek 6271.26Sjdolecek/* syscall: "fstatfs64" ret: "int" args: "int" "size_t" "struct linux_statfs64 *" */ 6281.26Sjdolecek#define LINUX_SYS_fstatfs64 253 6291.26Sjdolecek 6301.68Snjoly/* syscall: "fadvise64_64" ret: "int" args: "int" "off_t" "off_t" "int" */ 6311.53Salnsn#define LINUX_SYS_fadvise64_64 254 6321.53Salnsn 6331.98Schristos/* syscall: "mq_open" ret: "linux_mqd_t" args: "const char *" "int" "linux_umode_t" "struct linux_mq_attr *" */ 6341.98Schristos#define LINUX_SYS_mq_open 262 6351.98Schristos 6361.98Schristos/* syscall: "mq_unlink" ret: "int" args: "const char *" */ 6371.98Schristos#define LINUX_SYS_mq_unlink 263 6381.98Schristos 6391.98Schristos/* syscall: "mq_timedsend" ret: "int" args: "linux_mqd_t" "const char *" "size_t" "unsigned int" "const struct linux_timespec *" */ 6401.98Schristos#define LINUX_SYS_mq_timedsend 264 6411.98Schristos 6421.98Schristos/* syscall: "mq_timedreceive" ret: "ssize_t" args: "linux_mqd_t" "char *" "size_t" "unsigned int *" "const struct linux_timespec *" */ 6431.98Schristos#define LINUX_SYS_mq_timedreceive 265 6441.98Schristos 6451.98Schristos/* syscall: "mq_notify" ret: "int" args: "linux_mqd_t" "const struct linux_sigevent *" */ 6461.98Schristos#define LINUX_SYS_mq_notify 266 6471.98Schristos 6481.98Schristos/* syscall: "mq_getsetattr" ret: "int" args: "linux_mqd_t" "const struct linux_mq_attr *" "struct linux_mq_attr *" */ 6491.98Schristos#define LINUX_SYS_mq_getsetattr 267 6501.98Schristos 6511.95Schristos/* syscall: "waitid" ret: "int" args: "int" "id_t" "linux_siginfo_t *" "int" "struct rusage50 *" */ 6521.95Schristos#define LINUX_SYS_waitid 272 6531.95Schristos 6541.96Schristos/* syscall: "inotify_init" ret: "int" args: */ 6551.96Schristos#define LINUX_SYS_inotify_init 275 6561.96Schristos 6571.96Schristos/* syscall: "inotify_add_watch" ret: "int" args: "int" "const char *" "uint32_t" */ 6581.96Schristos#define LINUX_SYS_inotify_add_watch 276 6591.96Schristos 6601.96Schristos/* syscall: "inotify_rm_watch" ret: "int" args: "int" "int" */ 6611.96Schristos#define LINUX_SYS_inotify_rm_watch 277 6621.96Schristos 6631.77Smanu/* syscall: "pselect6" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct linux_timespec *" "linux_sized_sigset_t *" */ 6641.77Smanu#define LINUX_SYS_pselect6 280 6651.77Smanu 6661.71Snjoly/* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "struct linux_timespec *" "linux_sigset_t *" */ 6671.57Spooka#define LINUX_SYS_ppoll 281 6681.57Spooka 6691.64Snjoly/* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */ 6701.64Snjoly#define LINUX_SYS_openat 286 6711.64Snjoly 6721.64Snjoly/* syscall: "mkdirat" ret: "int" args: "int" "const char *" "linux_umode_t" */ 6731.64Snjoly#define LINUX_SYS_mkdirat 287 6741.64Snjoly 6751.64Snjoly/* syscall: "mknodat" ret: "int" args: "int" "const char *" "linux_umode_t" "unsigned" */ 6761.64Snjoly#define LINUX_SYS_mknodat 288 6771.64Snjoly 6781.64Snjoly/* syscall: "fchownat" ret: "int" args: "int" "const char *" "uid_t" "gid_t" "int" */ 6791.64Snjoly#define LINUX_SYS_fchownat 289 6801.64Snjoly 6811.64Snjoly/* syscall: "fstatat64" ret: "int" args: "int" "const char *" "struct linux_stat64 *" "int" */ 6821.64Snjoly#define LINUX_SYS_fstatat64 291 6831.64Snjoly 6841.64Snjoly/* syscall: "unlinkat" ret: "int" args: "int" "const char *" "int" */ 6851.64Snjoly#define LINUX_SYS_unlinkat 292 6861.64Snjoly 6871.64Snjoly/* syscall: "renameat" ret: "int" args: "int" "const char *" "int" "const char *" */ 6881.64Snjoly#define LINUX_SYS_renameat 293 6891.64Snjoly 6901.64Snjoly/* syscall: "linkat" ret: "int" args: "int" "const char *" "int" "const char *" "int" */ 6911.64Snjoly#define LINUX_SYS_linkat 294 6921.64Snjoly 6931.64Snjoly/* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */ 6941.64Snjoly#define LINUX_SYS_symlinkat 295 6951.64Snjoly 6961.76Snjoly/* syscall: "readlinkat" ret: "ssize_t" args: "int" "const char *" "char *" "size_t" */ 6971.64Snjoly#define LINUX_SYS_readlinkat 296 6981.64Snjoly 6991.64Snjoly/* syscall: "fchmodat" ret: "int" args: "int" "const char *" "linux_umode_t" */ 7001.64Snjoly#define LINUX_SYS_fchmodat 297 7011.64Snjoly 7021.64Snjoly/* syscall: "faccessat" ret: "int" args: "int" "const char *" "int" */ 7031.64Snjoly#define LINUX_SYS_faccessat 298 7041.64Snjoly 7051.86Sthorpej/* syscall: "__futex_set_robust_list" ret: "int" args: "void *" "size_t" */ 7061.86Sthorpej#define LINUX_SYS___futex_set_robust_list 299 7071.51Schs 7081.86Sthorpej/* syscall: "__futex_get_robust_list" ret: "int" args: "lwpid_t" "void **" "size_t *" */ 7091.86Sthorpej#define LINUX_SYS___futex_get_robust_list 300 7101.51Schs 7111.97Schristos/* syscall: "getcpu" ret: "int" args: "unsigned int *" "unsigned int *" "struct linux_getcpu_cache *" */ 7121.97Schristos#define LINUX_SYS_getcpu 302 7131.97Schristos 7141.93Schristos/* syscall: "epoll_pwait" ret: "int" args: "int" "struct linux_epoll_event *" "int" "int" "const linux_sigset_t *" */ 7151.93Schristos#define LINUX_SYS_epoll_pwait 303 7161.93Schristos 7171.61Snjoly/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */ 7181.61Snjoly#define LINUX_SYS_utimensat 304 7191.61Snjoly 7201.88Sthorpej/* syscall: "timerfd_create" ret: "int" args: "clockid_t" "int" */ 7211.88Sthorpej#define LINUX_SYS_timerfd_create 306 7221.88Sthorpej 7231.89Sthorpej/* syscall: "eventfd" ret: "int" args: "unsigned int" */ 7241.89Sthorpej#define LINUX_SYS_eventfd 307 7251.89Sthorpej 7261.99Schristos/* syscall: "sync_file_range" ret: "int" args: "int" "off_t" "off_t" "unsigned int" */ 7271.99Schristos#define LINUX_SYS_sync_file_range 308 7281.99Schristos 7291.85Sjdolecek/* syscall: "fallocate" ret: "int" args: "int" "int" "off_t" "off_t" */ 7301.85Sjdolecek#define LINUX_SYS_fallocate 309 7311.85Sjdolecek 7321.88Sthorpej/* syscall: "timerfd_settime" ret: "int" args: "int" "int" "const struct linux_itimerspec *" "struct linux_itimerspec *" */ 7331.88Sthorpej#define LINUX_SYS_timerfd_settime 311 7341.88Sthorpej 7351.88Sthorpej/* syscall: "timerfd_gettime" ret: "int" args: "int" "struct linux_itimerspec *" */ 7361.88Sthorpej#define LINUX_SYS_timerfd_gettime 312 7371.88Sthorpej 7381.89Sthorpej/* syscall: "eventfd2" ret: "int" args: "unsigned int" "int" */ 7391.89Sthorpej#define LINUX_SYS_eventfd2 314 7401.89Sthorpej 7411.93Schristos/* syscall: "epoll_create1" ret: "int" args: "int" */ 7421.93Schristos#define LINUX_SYS_epoll_create1 315 7431.93Schristos 7441.52She/* syscall: "dup3" ret: "int" args: "int" "int" "int" */ 7451.52She#define LINUX_SYS_dup3 316 7461.52She 7471.52She/* syscall: "pipe2" ret: "int" args: "int *" "int" */ 7481.52She#define LINUX_SYS_pipe2 317 7491.52She 7501.96Schristos/* syscall: "inotify_init1" ret: "int" args: "int" */ 7511.96Schristos#define LINUX_SYS_inotify_init1 318 7521.96Schristos 7531.90Sthorpej/* syscall: "preadv" ret: "int" args: "int" "const struct iovec *" "int" "unsigned long" "unsigned long" */ 7541.90Sthorpej#define LINUX_SYS_preadv 320 7551.90Sthorpej 7561.90Sthorpej/* syscall: "pwritev" ret: "int" args: "int" "const struct iovcnt *" "int" "unsigned long" "unsigned long" */ 7571.90Sthorpej#define LINUX_SYS_pwritev 321 7581.90Sthorpej 7591.92Sryo/* syscall: "prlimit64" ret: "int" args: "pid_t" "int" "struct rlimit *" "struct rlimit *" */ 7601.92Sryo#define LINUX_SYS_prlimit64 325 7611.92Sryo 7621.82Schristos/* syscall: "recvmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" "struct timespec *" */ 7631.82Schristos#define LINUX_SYS_recvmmsg 343 7641.82Schristos 7651.81Smartin/* syscall: "accept4" ret: "int" args: "int" "struct osockaddr *" "int *" "int" */ 7661.81Smartin#define LINUX_SYS_accept4 344 7671.81Smartin 7681.99Schristos/* syscall: "syncfs" ret: "int" args: "int" */ 7691.99Schristos#define LINUX_SYS_syncfs 348 7701.99Schristos 7711.82Schristos/* syscall: "sendmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" */ 7721.82Schristos#define LINUX_SYS_sendmmsg 349 7731.82Schristos 7741.99Schristos/* syscall: "renameat2" ret: "int" args: "int" "const char *" "int" "const char *" "unsigned int" */ 7751.99Schristos#define LINUX_SYS_renameat2 357 7761.99Schristos 7771.91Sryo/* syscall: "getrandom" ret: "ssize_t" args: "void *" "size_t" "unsigned int" */ 7781.91Sryo#define LINUX_SYS_getrandom 359 7791.91Sryo 7801.99Schristos/* syscall: "copy_file_range" ret: "ssize_t" args: "int" "off_t *" "int" "off_t *" "size_t" "unsigned int" */ 7811.99Schristos#define LINUX_SYS_copy_file_range 379 7821.99Schristos 7831.94Schristos/* syscall: "statx" ret: "int" args: "int" "const char *" "int" "unsigned int" "struct linux_statx *" */ 7841.94Schristos#define LINUX_SYS_statx 383 7851.94Schristos 7861.99Schristos/* syscall: "clone3" ret: "int" args: "struct linux_user_clone3_args *" "size_t" */ 7871.99Schristos#define LINUX_SYS_clone3 435 7881.99Schristos 7891.94Schristos/* syscall: "close_range" ret: "int" args: "unsigned int" "unsigned int" "unsigned int" */ 7901.94Schristos#define LINUX_SYS_close_range 436 7911.94Schristos 7921.97Schristos/* syscall: "faccessat2" ret: "int" args: "int" "const char *" "int" "int" */ 7931.97Schristos#define LINUX_SYS_faccessat2 439 7941.97Schristos 7951.93Schristos/* syscall: "epoll_pwait2" ret: "int" args: "int" "struct linux_epoll_event *" "int" "const struct linux_timespec *" "const linux_sigset_t *" */ 7961.93Schristos#define LINUX_SYS_epoll_pwait2 441 7971.93Schristos 7981.93Schristos#define LINUX_SYS_MAXSYSCALL 442 7991.24Sjdolecek#define LINUX_SYS_NSYSENT 512 8001.33Schristos#endif /* _LINUX_SYS_SYSCALL_H_ */ 801