11.28Snjoly/* $NetBSD: linux_syscall.h,v 1.95 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.95Schristos * created from	NetBSD: syscalls.master,v 1.85 2025/11/10 15:41:38 christos Exp
81.1Smanu */
91.1Smanu
101.26Schristos#ifndef _LINUX_SYS_SYSCALL_H_
111.26Schristos#define	_LINUX_SYS_SYSCALL_H_
121.26Schristos
131.28Snjoly#define	LINUX_SYS_MAXSYSARGS	8
141.28Snjoly
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.55Snjoly/* syscall: "read" ret: "ssize_t" args: "int" "void *" "size_t" */
251.1Smanu#define	LINUX_SYS_read	3
261.1Smanu
271.55Snjoly/* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */
281.1Smanu#define	LINUX_SYS_write	4
291.1Smanu
301.54Snjoly/* 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.54Snjoly/* 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.57Snjoly/* 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.65Snjoly/* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
641.28Snjoly#define	LINUX_SYS___posix_lchown	16
651.1Smanu
661.1Smanu				/* 18 is obsolete ostat */
671.1Smanu/* syscall: "lseek" ret: "long" args: "int" "long" "int" */
681.1Smanu#define	LINUX_SYS_lseek	19
691.1Smanu
701.1Smanu/* syscall: "getpid" ret: "pid_t" args: */
711.1Smanu#define	LINUX_SYS_getpid	20
721.1Smanu
731.1Smanu				/* 22 is obsolete umount */
741.1Smanu/* syscall: "setuid" ret: "int" args: "uid_t" */
751.1Smanu#define	LINUX_SYS_setuid	23
761.1Smanu
771.1Smanu/* syscall: "getuid" ret: "uid_t" args: */
781.1Smanu#define	LINUX_SYS_getuid	24
791.1Smanu
801.1Smanu/* syscall: "stime" ret: "int" args: "linux_time_t *" */
811.1Smanu#define	LINUX_SYS_stime	25
821.1Smanu
831.44Smatt/* syscall: "ptrace" ret: "int" args: "long" "long" "long" "long" */
841.1Smanu#define	LINUX_SYS_ptrace	26
851.1Smanu
861.1Smanu/* syscall: "alarm" ret: "int" args: "unsigned int" */
871.1Smanu#define	LINUX_SYS_alarm	27
881.1Smanu
891.1Smanu				/* 28 is obsolete ofstat */
901.1Smanu/* syscall: "pause" ret: "int" args: */
911.1Smanu#define	LINUX_SYS_pause	29
921.1Smanu
931.1Smanu/* syscall: "utime" ret: "int" args: "const char *" "struct linux_utimbuf *" */
941.1Smanu#define	LINUX_SYS_utime	30
951.1Smanu
961.1Smanu/* syscall: "access" ret: "int" args: "const char *" "int" */
971.1Smanu#define	LINUX_SYS_access	33
981.1Smanu
991.1Smanu/* syscall: "nice" ret: "int" args: "int" */
1001.1Smanu#define	LINUX_SYS_nice	34
1011.1Smanu
1021.1Smanu/* syscall: "sync" ret: "int" args: */
1031.1Smanu#define	LINUX_SYS_sync	36
1041.1Smanu
1051.1Smanu/* syscall: "kill" ret: "int" args: "int" "int" */
1061.1Smanu#define	LINUX_SYS_kill	37
1071.1Smanu
1081.28Snjoly/* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
1091.28Snjoly#define	LINUX_SYS___posix_rename	38
1101.1Smanu
1111.54Snjoly/* syscall: "mkdir" ret: "int" args: "const char *" "linux_umode_t" */
1121.1Smanu#define	LINUX_SYS_mkdir	39
1131.1Smanu
1141.1Smanu/* syscall: "rmdir" ret: "int" args: "const char *" */
1151.1Smanu#define	LINUX_SYS_rmdir	40
1161.1Smanu
1171.52Snjoly/* syscall: "dup" ret: "int" args: "int" */
1181.1Smanu#define	LINUX_SYS_dup	41
1191.1Smanu
1201.1Smanu/* syscall: "pipe" ret: "int" args: "int *" */
1211.1Smanu#define	LINUX_SYS_pipe	42
1221.1Smanu
1231.1Smanu/* syscall: "times" ret: "int" args: "struct times *" */
1241.1Smanu#define	LINUX_SYS_times	43
1251.1Smanu
1261.1Smanu/* syscall: "brk" ret: "int" args: "char *" */
1271.1Smanu#define	LINUX_SYS_brk	45
1281.1Smanu
1291.1Smanu/* syscall: "setgid" ret: "int" args: "gid_t" */
1301.1Smanu#define	LINUX_SYS_setgid	46
1311.1Smanu
1321.1Smanu/* syscall: "getgid" ret: "gid_t" args: */
1331.1Smanu#define	LINUX_SYS_getgid	47
1341.1Smanu
1351.1Smanu/* syscall: "signal" ret: "int" args: "int" "linux___sighandler_t" */
1361.1Smanu#define	LINUX_SYS_signal	48
1371.1Smanu
1381.1Smanu/* syscall: "geteuid" ret: "uid_t" args: */
1391.1Smanu#define	LINUX_SYS_geteuid	49
1401.1Smanu
1411.1Smanu/* syscall: "getegid" ret: "gid_t" args: */
1421.1Smanu#define	LINUX_SYS_getegid	50
1431.1Smanu
1441.1Smanu/* syscall: "acct" ret: "int" args: "char *" */
1451.1Smanu#define	LINUX_SYS_acct	51
1461.1Smanu
1471.27Schristos/* syscall: "ioctl" ret: "int" args: "int" "u_long" "void *" */
1481.1Smanu#define	LINUX_SYS_ioctl	54
1491.1Smanu
1501.1Smanu/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
1511.1Smanu#define	LINUX_SYS_fcntl	55
1521.1Smanu
1531.1Smanu				/* 56 is obsolete mpx */
1541.1Smanu/* syscall: "setpgid" ret: "int" args: "int" "int" */
1551.1Smanu#define	LINUX_SYS_setpgid	57
1561.1Smanu
1571.1Smanu/* syscall: "olduname" ret: "int" args: "struct linux_old_utsname *" */
1581.1Smanu#define	LINUX_SYS_olduname	59
1591.1Smanu
1601.1Smanu/* syscall: "umask" ret: "int" args: "int" */
1611.1Smanu#define	LINUX_SYS_umask	60
1621.1Smanu
1631.1Smanu/* syscall: "chroot" ret: "int" args: "char *" */
1641.1Smanu#define	LINUX_SYS_chroot	61
1651.1Smanu
1661.52Snjoly/* syscall: "dup2" ret: "int" args: "int" "int" */
1671.1Smanu#define	LINUX_SYS_dup2	63
1681.1Smanu
1691.1Smanu/* syscall: "getppid" ret: "pid_t" args: */
1701.1Smanu#define	LINUX_SYS_getppid	64
1711.1Smanu
1721.1Smanu/* syscall: "getpgrp" ret: "int" args: */
1731.1Smanu#define	LINUX_SYS_getpgrp	65
1741.1Smanu
1751.1Smanu/* syscall: "setsid" ret: "int" args: */
1761.1Smanu#define	LINUX_SYS_setsid	66
1771.1Smanu
1781.1Smanu/* syscall: "sigaction" ret: "int" args: "int" "const struct linux_old_sigaction *" "struct linux_old_sigaction *" */
1791.1Smanu#define	LINUX_SYS_sigaction	67
1801.1Smanu
1811.1Smanu/* syscall: "siggetmask" ret: "int" args: */
1821.1Smanu#define	LINUX_SYS_siggetmask	68
1831.1Smanu
1841.1Smanu/* syscall: "sigsetmask" ret: "int" args: "linux_old_sigset_t" */
1851.1Smanu#define	LINUX_SYS_sigsetmask	69
1861.1Smanu
1871.1Smanu/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
1881.1Smanu#define	LINUX_SYS_setreuid	70
1891.1Smanu
1901.1Smanu/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
1911.1Smanu#define	LINUX_SYS_setregid	71
1921.1Smanu
1931.27Schristos/* syscall: "sigsuspend" ret: "int" args: "void *" "int" "int" */
1941.1Smanu#define	LINUX_SYS_sigsuspend	72
1951.1Smanu
1961.1Smanu/* syscall: "sigpending" ret: "int" args: "linux_old_sigset_t *" */
1971.1Smanu#define	LINUX_SYS_sigpending	73
1981.1Smanu
1991.1Smanu/* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
2001.1Smanu#define	LINUX_SYS_sethostname	74
2011.1Smanu
2021.1Smanu/* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */
2031.1Smanu#define	LINUX_SYS_setrlimit	75
2041.1Smanu
2051.1Smanu/* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */
2061.1Smanu#define	LINUX_SYS_getrlimit	76
2071.1Smanu
2081.37Snjoly/* syscall: "getrusage" ret: "int" args: "int" "struct rusage50 *" */
2091.1Smanu#define	LINUX_SYS_getrusage	77
2101.1Smanu
2111.37Snjoly/* syscall: "gettimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
2121.1Smanu#define	LINUX_SYS_gettimeofday	78
2131.1Smanu
2141.37Snjoly/* syscall: "settimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
2151.1Smanu#define	LINUX_SYS_settimeofday	79
2161.1Smanu
2171.59Snjoly/* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */
2181.1Smanu#define	LINUX_SYS_getgroups	80
2191.1Smanu
2201.59Snjoly/* syscall: "setgroups" ret: "int" args: "int" "gid_t *" */
2211.1Smanu#define	LINUX_SYS_setgroups	81
2221.1Smanu
2231.1Smanu/* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
2241.1Smanu#define	LINUX_SYS_symlink	83
2251.1Smanu
2261.1Smanu/* syscall: "oolstat" ret: "int" args: "const char *" "struct stat43 *" */
2271.1Smanu#define	LINUX_SYS_oolstat	84
2281.1Smanu
2291.67Snjoly/* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "int" */
2301.1Smanu#define	LINUX_SYS_readlink	85
2311.1Smanu
2321.1Smanu/* syscall: "swapon" ret: "int" args: "char *" */
2331.1Smanu#define	LINUX_SYS_swapon	87
2341.1Smanu
2351.1Smanu/* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */
2361.1Smanu#define	LINUX_SYS_reboot	88
2371.1Smanu
2381.27Schristos/* syscall: "readdir" ret: "int" args: "int" "void *" "unsigned int" */
2391.1Smanu#define	LINUX_SYS_readdir	89
2401.1Smanu
2411.1Smanu/* syscall: "mmap" ret: "int" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
2421.1Smanu#define	LINUX_SYS_mmap	90
2431.1Smanu
2441.61Snjoly/* syscall: "munmap" ret: "int" args: "void *" "size_t" */
2451.1Smanu#define	LINUX_SYS_munmap	91
2461.1Smanu
2471.1Smanu/* syscall: "truncate" ret: "int" args: "const char *" "long" */
2481.1Smanu#define	LINUX_SYS_truncate	92
2491.1Smanu
2501.1Smanu/* syscall: "ftruncate" ret: "int" args: "int" "long" */
2511.1Smanu#define	LINUX_SYS_ftruncate	93
2521.1Smanu
2531.54Snjoly/* syscall: "fchmod" ret: "int" args: "int" "linux_umode_t" */
2541.1Smanu#define	LINUX_SYS_fchmod	94
2551.1Smanu
2561.66Snjoly/* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
2571.1Smanu#define	LINUX_SYS___posix_fchown	95
2581.1Smanu
2591.1Smanu/* syscall: "getpriority" ret: "int" args: "int" "int" */
2601.1Smanu#define	LINUX_SYS_getpriority	96
2611.1Smanu
2621.1Smanu/* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
2631.1Smanu#define	LINUX_SYS_setpriority	97
2641.1Smanu
2651.1Smanu/* syscall: "statfs" ret: "int" args: "const char *" "struct linux_statfs *" */
2661.1Smanu#define	LINUX_SYS_statfs	99
2671.1Smanu
2681.1Smanu/* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */
2691.1Smanu#define	LINUX_SYS_fstatfs	100
2701.1Smanu
2711.1Smanu/* syscall: "ioperm" ret: "int" args: "unsigned int" "unsigned int" "int" */
2721.1Smanu#define	LINUX_SYS_ioperm	101
2731.1Smanu
2741.1Smanu/* syscall: "socketcall" ret: "int" args: "int" "void *" */
2751.1Smanu#define	LINUX_SYS_socketcall	102
2761.1Smanu
2771.48Schristos/* syscall: "setitimer" ret: "int" args: "int" "struct itimerval50 *" "struct itimerval50 *" */
2781.1Smanu#define	LINUX_SYS_setitimer	104
2791.1Smanu
2801.48Schristos/* syscall: "getitimer" ret: "int" args: "int" "struct itimerval50 *" */
2811.1Smanu#define	LINUX_SYS_getitimer	105
2821.1Smanu
2831.1Smanu/* syscall: "stat" ret: "int" args: "const char *" "struct linux_stat *" */
2841.1Smanu#define	LINUX_SYS_stat	106
2851.1Smanu
2861.1Smanu/* syscall: "lstat" ret: "int" args: "const char *" "struct linux_stat *" */
2871.1Smanu#define	LINUX_SYS_lstat	107
2881.1Smanu
2891.1Smanu/* syscall: "fstat" ret: "int" args: "int" "struct linux_stat *" */
2901.1Smanu#define	LINUX_SYS_fstat	108
2911.1Smanu
2921.1Smanu/* syscall: "uname" ret: "int" args: "struct linux_utsname *" */
2931.1Smanu#define	LINUX_SYS_uname	109
2941.1Smanu
2951.38Snjoly/* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage50 *" */
2961.1Smanu#define	LINUX_SYS_wait4	114
2971.1Smanu
2981.1Smanu/* syscall: "swapoff" ret: "int" args: "const char *" */
2991.1Smanu#define	LINUX_SYS_swapoff	115
3001.1Smanu
3011.1Smanu/* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */
3021.1Smanu#define	LINUX_SYS_sysinfo	116
3031.1Smanu
3041.44Smatt/* syscall: "ipc" ret: "int" args: "int" "long" "long" "long" "void *" */
3051.1Smanu#define	LINUX_SYS_ipc	117
3061.1Smanu
3071.1Smanu/* syscall: "fsync" ret: "int" args: "int" */
3081.1Smanu#define	LINUX_SYS_fsync	118
3091.1Smanu
3101.6Smanu/* syscall: "sigreturn" ret: "int" args: "struct linux_sigframe *" */
3111.1Smanu#define	LINUX_SYS_sigreturn	119
3121.1Smanu
3131.43Schs/* syscall: "clone" ret: "int" args: "int" "void *" "void *" "void *" "void *" */
3141.1Smanu#define	LINUX_SYS_clone	120
3151.1Smanu
3161.1Smanu/* syscall: "setdomainname" ret: "int" args: "char *" "int" */
3171.1Smanu#define	LINUX_SYS_setdomainname	121
3181.1Smanu
3191.1Smanu/* syscall: "new_uname" ret: "int" args: "struct linux_utsname *" */
3201.1Smanu#define	LINUX_SYS_new_uname	122
3211.1Smanu
3221.10Schristos/* syscall: "mprotect" ret: "int" args: "const void *" "unsigned long" "int" */
3231.1Smanu#define	LINUX_SYS_mprotect	125
3241.1Smanu
3251.1Smanu/* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */
3261.1Smanu#define	LINUX_SYS_sigprocmask	126
3271.1Smanu
3281.31Snjoly/* syscall: "getpgid" ret: "pid_t" args: "pid_t" */
3291.1Smanu#define	LINUX_SYS_getpgid	132
3301.1Smanu
3311.1Smanu/* syscall: "fchdir" ret: "int" args: "int" */
3321.1Smanu#define	LINUX_SYS_fchdir	133
3331.1Smanu
3341.41Snjoly/* syscall: "personality" ret: "int" args: "unsigned long" */
3351.1Smanu#define	LINUX_SYS_personality	136
3361.1Smanu
3371.1Smanu/* syscall: "setfsuid" ret: "int" args: "uid_t" */
3381.1Smanu#define	LINUX_SYS_setfsuid	138
3391.1Smanu
3401.30Snjoly/* syscall: "setfsgid" ret: "int" args: "gid_t" */
3411.30Snjoly#define	LINUX_SYS_setfsgid	139
3421.1Smanu
3431.27Schristos/* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "void *" "int" */
3441.1Smanu#define	LINUX_SYS_llseek	140
3451.1Smanu
3461.1Smanu/* syscall: "getdents" ret: "int" args: "int" "struct linux_dirent *" "unsigned int" */
3471.1Smanu#define	LINUX_SYS_getdents	141
3481.1Smanu
3491.37Snjoly/* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */
3501.1Smanu#define	LINUX_SYS_select	142
3511.1Smanu
3521.1Smanu/* syscall: "flock" ret: "int" args: "int" "int" */
3531.1Smanu#define	LINUX_SYS_flock	143
3541.1Smanu
3551.32Snjoly/* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */
3561.32Snjoly#define	LINUX_SYS___msync13	144
3571.1Smanu
3581.55Snjoly/* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
3591.1Smanu#define	LINUX_SYS_readv	145
3601.1Smanu
3611.55Snjoly/* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
3621.1Smanu#define	LINUX_SYS_writev	146
3631.1Smanu
3641.1Smanu/* syscall: "cacheflush" ret: "int" args: "void *" "int" "int" */
3651.1Smanu#define	LINUX_SYS_cacheflush	147
3661.1Smanu
3671.44Smatt/* syscall: "sysmips" ret: "int" args: "long" "long" "long" "long" */
3681.2Smanu#define	LINUX_SYS_sysmips	149
3691.2Smanu
3701.1Smanu/* syscall: "getsid" ret: "pid_t" args: "pid_t" */
3711.1Smanu#define	LINUX_SYS_getsid	151
3721.1Smanu
3731.1Smanu/* syscall: "fdatasync" ret: "int" args: "int" */
3741.1Smanu#define	LINUX_SYS_fdatasync	152
3751.1Smanu
3761.1Smanu/* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */
3771.1Smanu#define	LINUX_SYS___sysctl	153
3781.1Smanu
3791.27Schristos/* syscall: "mlock" ret: "int" args: "void *" "size_t" */
3801.1Smanu#define	LINUX_SYS_mlock	154
3811.1Smanu
3821.27Schristos/* syscall: "munlock" ret: "int" args: "void *" "size_t" */
3831.1Smanu#define	LINUX_SYS_munlock	155
3841.1Smanu
3851.1Smanu/* syscall: "mlockall" ret: "int" args: "int" */
3861.1Smanu#define	LINUX_SYS_mlockall	156
3871.1Smanu
3881.1Smanu/* syscall: "munlockall" ret: "int" args: */
3891.1Smanu#define	LINUX_SYS_munlockall	157
3901.1Smanu
3911.1Smanu/* syscall: "sched_setparam" ret: "int" args: "pid_t" "const struct linux_sched_param *" */
3921.1Smanu#define	LINUX_SYS_sched_setparam	158
3931.1Smanu
3941.1Smanu/* syscall: "sched_getparam" ret: "int" args: "pid_t" "struct linux_sched_param *" */
3951.1Smanu#define	LINUX_SYS_sched_getparam	159
3961.1Smanu
3971.1Smanu/* syscall: "sched_setscheduler" ret: "int" args: "pid_t" "int" "const struct linux_sched_param *" */
3981.1Smanu#define	LINUX_SYS_sched_setscheduler	160
3991.1Smanu
4001.1Smanu/* syscall: "sched_getscheduler" ret: "int" args: "pid_t" */
4011.1Smanu#define	LINUX_SYS_sched_getscheduler	161
4021.1Smanu
4031.1Smanu/* syscall: "sched_yield" ret: "int" args: */
4041.1Smanu#define	LINUX_SYS_sched_yield	162
4051.1Smanu
4061.1Smanu/* syscall: "sched_get_priority_max" ret: "int" args: "int" */
4071.1Smanu#define	LINUX_SYS_sched_get_priority_max	163
4081.1Smanu
4091.1Smanu/* syscall: "sched_get_priority_min" ret: "int" args: "int" */
4101.1Smanu#define	LINUX_SYS_sched_get_priority_min	164
4111.1Smanu
4121.34Snjoly/* syscall: "nanosleep" ret: "int" args: "const struct linux_timespec *" "struct linux_timespec *" */
4131.1Smanu#define	LINUX_SYS_nanosleep	166
4141.1Smanu
4151.1Smanu/* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */
4161.1Smanu#define	LINUX_SYS_mremap	167
4171.3Smanu
4181.3Smanu/* syscall: "accept" ret: "int" args: "int" "struct osockaddr *" "int *" */
4191.3Smanu#define	LINUX_SYS_accept	168
4201.3Smanu
4211.3Smanu/* syscall: "bind" ret: "int" args: "int" "const struct osockaddr *" "int" */
4221.3Smanu#define	LINUX_SYS_bind	169
4231.3Smanu
4241.74Schristos/* syscall: "connect" ret: "int" args: "int" "const struct osockaddr *" "int" */
4251.3Smanu#define	LINUX_SYS_connect	170
4261.3Smanu
4271.27Schristos/* syscall: "getpeername" ret: "int" args: "int" "void *" "int *" */
4281.3Smanu#define	LINUX_SYS_getpeername	171
4291.3Smanu
4301.27Schristos/* syscall: "getsockname" ret: "int" args: "int" "void *" "int *" */
4311.3Smanu#define	LINUX_SYS_getsockname	172
4321.3Smanu
4331.3Smanu/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "int *" */
4341.3Smanu#define	LINUX_SYS_getsockopt	173
4351.3Smanu
4361.3Smanu/* syscall: "listen" ret: "int" args: "int" "int" */
4371.3Smanu#define	LINUX_SYS_listen	174
4381.3Smanu
4391.3Smanu/* syscall: "recv" ret: "int" args: "int" "void *" "int" "int" */
4401.3Smanu#define	LINUX_SYS_recv	175
4411.3Smanu
4421.3Smanu/* syscall: "recvfrom" ret: "int" args: "int" "void *" "int" "int" "struct osockaddr *" "int *" */
4431.3Smanu#define	LINUX_SYS_recvfrom	176
4441.3Smanu
4451.40Snjoly/* syscall: "recvmsg" ret: "int" args: "int" "struct linux_msghdr *" "u_int" */
4461.3Smanu#define	LINUX_SYS_recvmsg	177
4471.3Smanu
4481.27Schristos/* syscall: "send" ret: "int" args: "int" "void *" "int" "int" */
4491.3Smanu#define	LINUX_SYS_send	178
4501.3Smanu
4511.40Snjoly/* syscall: "sendmsg" ret: "int" args: "int" "struct linux_msghdr *" "u_int" */
4521.3Smanu#define	LINUX_SYS_sendmsg	179
4531.3Smanu
4541.3Smanu/* syscall: "sendto" ret: "int" args: "int" "void *" "int" "int" "struct osockaddr *" "int" */
4551.3Smanu#define	LINUX_SYS_sendto	180
4561.3Smanu
4571.3Smanu/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "void *" "int" */
4581.3Smanu#define	LINUX_SYS_setsockopt	181
4591.3Smanu
4601.3Smanu/* syscall: "socket" ret: "int" args: "int" "int" "int" */
4611.3Smanu#define	LINUX_SYS_socket	183
4621.3Smanu
4631.3Smanu/* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
4641.3Smanu#define	LINUX_SYS_socketpair	184
4651.1Smanu
4661.1Smanu/* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
4671.1Smanu#define	LINUX_SYS_setresuid	185
4681.1Smanu
4691.1Smanu/* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
4701.1Smanu#define	LINUX_SYS_getresuid	186
4711.1Smanu
4721.1Smanu/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
4731.1Smanu#define	LINUX_SYS_poll	188
4741.1Smanu
4751.1Smanu/* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
4761.1Smanu#define	LINUX_SYS_setresgid	190
4771.1Smanu
4781.1Smanu/* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
4791.1Smanu#define	LINUX_SYS_getresgid	191
4801.1Smanu
4811.94Schristos/* syscall: "__prctl" ret: "int" args: "int" "..." */
4821.94Schristos#define	LINUX_SYS___prctl	192
4831.94Schristos
4841.43Schs/* syscall: "rt_sigreturn" ret: "int" args: "struct linux_pt_regs *" */
4851.1Smanu#define	LINUX_SYS_rt_sigreturn	193
4861.1Smanu
4871.1Smanu/* syscall: "rt_sigaction" ret: "int" args: "int" "const struct linux_sigaction *" "struct linux_sigaction *" "size_t" */
4881.1Smanu#define	LINUX_SYS_rt_sigaction	194
4891.1Smanu
4901.1Smanu/* syscall: "rt_sigprocmask" ret: "int" args: "int" "const linux_sigset_t *" "linux_sigset_t *" "size_t" */
4911.1Smanu#define	LINUX_SYS_rt_sigprocmask	195
4921.1Smanu
4931.1Smanu/* syscall: "rt_sigpending" ret: "int" args: "linux_sigset_t *" "size_t" */
4941.1Smanu#define	LINUX_SYS_rt_sigpending	196
4951.1Smanu
4961.48Schristos/* syscall: "rt_sigtimedwait" ret: "int" args: "const linux_sigset_t *" "linux_siginfo_t *" "const struct linux_timespec *" */
4971.48Schristos#define	LINUX_SYS_rt_sigtimedwait	197
4981.48Schristos
4991.39Snjoly/* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "linux_siginfo_t *" */
5001.1Smanu#define	LINUX_SYS_rt_queueinfo	198
5011.1Smanu
5021.1Smanu/* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */
5031.1Smanu#define	LINUX_SYS_rt_sigsuspend	199
5041.1Smanu
5051.56Snjoly/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "off_t" */
5061.1Smanu#define	LINUX_SYS_pread	200
5071.1Smanu
5081.56Snjoly/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "off_t" */
5091.1Smanu#define	LINUX_SYS_pwrite	201
5101.1Smanu
5111.65Snjoly/* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
5121.28Snjoly#define	LINUX_SYS___posix_chown	202
5131.1Smanu
5141.1Smanu/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
5151.1Smanu#define	LINUX_SYS___getcwd	203
5161.1Smanu
5171.1Smanu/* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */
5181.1Smanu#define	LINUX_SYS_sigaltstack	206
5191.15Schristos
5201.15Schristos/* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
5211.15Schristos#define	LINUX_SYS_mmap2	210
5221.8Schristos
5231.8Schristos/* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
5241.8Schristos#define	LINUX_SYS_truncate64	211
5251.16Sjdolecek
5261.16Sjdolecek/* syscall: "ftruncate64" ret: "int" args: "unsigned int" "off_t" */
5271.16Sjdolecek#define	LINUX_SYS_ftruncate64	212
5281.8Schristos
5291.8Schristos/* syscall: "stat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
5301.8Schristos#define	LINUX_SYS_stat64	213
5311.8Schristos
5321.8Schristos/* syscall: "lstat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
5331.8Schristos#define	LINUX_SYS_lstat64	214
5341.8Schristos
5351.8Schristos/* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
5361.8Schristos#define	LINUX_SYS_fstat64	215
5371.11Schristos
5381.17Sjdolecek/* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
5391.17Sjdolecek#define	LINUX_SYS_mincore	217
5401.17Sjdolecek
5411.17Sjdolecek/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
5421.17Sjdolecek#define	LINUX_SYS_madvise	218
5431.17Sjdolecek
5441.11Schristos/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
5451.11Schristos#define	LINUX_SYS_getdents64	219
5461.8Schristos
5471.10Schristos/* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
5481.8Schristos#define	LINUX_SYS_fcntl64	220
5491.8Schristos
5501.43Schs/* syscall: "gettid" ret: "pid_t" args: */
5511.43Schs#define	LINUX_SYS_gettid	222
5521.43Schs
5531.88Schristos/* syscall: "readahead" ret: "ssize_t" args: "int" "off_t" "size_t" */
5541.88Schristos#define	LINUX_SYS_readahead	223
5551.88Schristos
5561.23Sfvdl/* syscall: "setxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
5571.23Sfvdl#define	LINUX_SYS_setxattr	224
5581.23Sfvdl
5591.23Sfvdl/* syscall: "lsetxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
5601.23Sfvdl#define	LINUX_SYS_lsetxattr	225
5611.23Sfvdl
5621.23Sfvdl/* syscall: "fsetxattr" ret: "int" args: "int" "char *" "void *" "size_t" "int" */
5631.23Sfvdl#define	LINUX_SYS_fsetxattr	226
5641.23Sfvdl
5651.23Sfvdl/* syscall: "getxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
5661.23Sfvdl#define	LINUX_SYS_getxattr	227
5671.23Sfvdl
5681.23Sfvdl/* syscall: "lgetxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
5691.23Sfvdl#define	LINUX_SYS_lgetxattr	228
5701.23Sfvdl
5711.23Sfvdl/* syscall: "fgetxattr" ret: "ssize_t" args: "int" "char *" "void *" "size_t" */
5721.23Sfvdl#define	LINUX_SYS_fgetxattr	229
5731.23Sfvdl
5741.23Sfvdl/* syscall: "listxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
5751.23Sfvdl#define	LINUX_SYS_listxattr	230
5761.23Sfvdl
5771.23Sfvdl/* syscall: "llistxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
5781.23Sfvdl#define	LINUX_SYS_llistxattr	231
5791.23Sfvdl
5801.23Sfvdl/* syscall: "flistxattr" ret: "ssize_t" args: "int" "char *" "size_t" */
5811.23Sfvdl#define	LINUX_SYS_flistxattr	232
5821.23Sfvdl
5831.23Sfvdl/* syscall: "removexattr" ret: "int" args: "char *" "char *" */
5841.23Sfvdl#define	LINUX_SYS_removexattr	233
5851.23Sfvdl
5861.23Sfvdl/* syscall: "lremovexattr" ret: "int" args: "char *" "char *" */
5871.23Sfvdl#define	LINUX_SYS_lremovexattr	234
5881.23Sfvdl
5891.23Sfvdl/* syscall: "fremovexattr" ret: "int" args: "int" "char *" */
5901.23Sfvdl#define	LINUX_SYS_fremovexattr	235
5911.23Sfvdl
5921.43Schs/* syscall: "tkill" ret: "int" args: "int" "int" */
5931.43Schs#define	LINUX_SYS_tkill	236
5941.43Schs
5951.43Schs/* syscall: "futex" ret: "int" args: "int *" "int" "int" "const struct linux_timespec *" "int *" "int" */
5961.43Schs#define	LINUX_SYS_futex	238
5971.43Schs
5981.43Schs/* syscall: "sched_setaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */
5991.43Schs#define	LINUX_SYS_sched_setaffinity	239
6001.43Schs
6011.43Schs/* syscall: "sched_getaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */
6021.43Schs#define	LINUX_SYS_sched_getaffinity	240
6031.43Schs
6041.19Sjdolecek/* syscall: "exit_group" ret: "int" args: "int" */
6051.19Sjdolecek#define	LINUX_SYS_exit_group	246
6061.19Sjdolecek
6071.87Schristos/* syscall: "epoll_create" ret: "int" args: "int" */
6081.87Schristos#define	LINUX_SYS_epoll_create	248
6091.87Schristos
6101.87Schristos/* syscall: "epoll_ctl" ret: "int" args: "int" "int" "int" "struct linux_epoll_event *" */
6111.87Schristos#define	LINUX_SYS_epoll_ctl	249
6121.87Schristos
6131.87Schristos/* syscall: "epoll_wait" ret: "int" args: "int" "struct linux_epoll_event *" "int" "int" */
6141.87Schristos#define	LINUX_SYS_epoll_wait	250
6151.87Schristos
6161.43Schs/* syscall: "set_tid_address" ret: "int" args: "int *" */
6171.43Schs#define	LINUX_SYS_set_tid_address	252
6181.43Schs
6191.58Snjoly/* syscall: "fadvise64" ret: "int" args: "int" "off_t" "size_t" "int" */
6201.46Salnsn#define	LINUX_SYS_fadvise64	254
6211.46Salnsn
6221.20Sjdolecek/* syscall: "statfs64" ret: "int" args: "const char *" "size_t" "struct linux_statfs64 *" */
6231.20Sjdolecek#define	LINUX_SYS_statfs64	255
6241.20Sjdolecek
6251.20Sjdolecek/* syscall: "fstatfs64" ret: "int" args: "int" "size_t" "struct linux_statfs64 *" */
6261.20Sjdolecek#define	LINUX_SYS_fstatfs64	256
6271.20Sjdolecek
6281.81Sthorpej/* syscall: "timer_create" ret: "int" args: "clockid_t" "struct linux_sigevent *" "timer_t *" */
6291.81Sthorpej#define	LINUX_SYS_timer_create	257
6301.81Sthorpej
6311.81Sthorpej/* syscall: "timer_settime" ret: "int" args: "timer_t" "int" "const struct linux_itimerspec *" "struct linux_itimerspec *" */
6321.81Sthorpej#define	LINUX_SYS_timer_settime	258
6331.81Sthorpej
6341.81Sthorpej/* syscall: "timer_gettime" ret: "int" args: "timer_t" "struct linux_itimerspec *" */
6351.81Sthorpej#define	LINUX_SYS_timer_gettime	259
6361.81Sthorpej
6371.81Sthorpej/* syscall: "timer_getoverrun" ret: "int" args: "timer_t" */
6381.81Sthorpej#define	LINUX_SYS_timer_getoverrun	260
6391.81Sthorpej
6401.81Sthorpej/* syscall: "timer_delete" ret: "int" args: "timer_t" */
6411.81Sthorpej#define	LINUX_SYS_timer_delete	261
6421.81Sthorpej
6431.24Sfvdl/* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
6441.24Sfvdl#define	LINUX_SYS_clock_settime	262
6451.24Sfvdl
6461.24Sfvdl/* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
6471.24Sfvdl#define	LINUX_SYS_clock_gettime	263
6481.24Sfvdl
6491.24Sfvdl/* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct linux_timespec *" */
6501.24Sfvdl#define	LINUX_SYS_clock_getres	264
6511.24Sfvdl
6521.24Sfvdl/* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "struct linux_timespec *" "struct linux_timespec *" */
6531.24Sfvdl#define	LINUX_SYS_clock_nanosleep	265
6541.24Sfvdl
6551.43Schs/* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
6561.43Schs#define	LINUX_SYS_tgkill	266
6571.43Schs
6581.60Snjoly/* syscall: "utimes" ret: "int" args: "const char *" "const struct timeval50 *" */
6591.50Spooka#define	LINUX_SYS_utimes	267
6601.50Spooka
6611.92Schristos/* syscall: "mq_open" ret: "linux_mqd_t" args: "const char *" "int" "linux_umode_t" "struct linux_mq_attr *" */
6621.92Schristos#define	LINUX_SYS_mq_open	271
6631.92Schristos
6641.92Schristos/* syscall: "mq_unlink" ret: "int" args: "const char *" */
6651.92Schristos#define	LINUX_SYS_mq_unlink	272
6661.92Schristos
6671.92Schristos/* syscall: "mq_timedsend" ret: "int" args: "linux_mqd_t" "const char *" "size_t" "unsigned int" "const struct linux_timespec *" */
6681.92Schristos#define	LINUX_SYS_mq_timedsend	273
6691.92Schristos
6701.92Schristos/* syscall: "mq_timedreceive" ret: "ssize_t" args: "linux_mqd_t" "char *" "size_t" "unsigned int *" "const struct linux_timespec *" */
6711.92Schristos#define	LINUX_SYS_mq_timedreceive	274
6721.92Schristos
6731.92Schristos/* syscall: "mq_notify" ret: "int" args: "linux_mqd_t" "const struct linux_sigevent *" */
6741.92Schristos#define	LINUX_SYS_mq_notify	275
6751.92Schristos
6761.92Schristos/* syscall: "mq_getsetattr" ret: "int" args: "linux_mqd_t" "const struct linux_mq_attr *" "struct linux_mq_attr *" */
6771.92Schristos#define	LINUX_SYS_mq_getsetattr	276
6781.92Schristos
6791.89Schristos/* syscall: "waitid" ret: "int" args: "int" "id_t" "linux_siginfo_t *" "int" "struct rusage50 *" */
6801.89Schristos#define	LINUX_SYS_waitid	278
6811.89Schristos
6821.43Schs/* syscall: "set_thread_area" ret: "int" args: "void *" */
6831.43Schs#define	LINUX_SYS_set_thread_area	283
6841.43Schs
6851.90Schristos/* syscall: "inotify_init" ret: "int" args: */
6861.90Schristos#define	LINUX_SYS_inotify_init	284
6871.90Schristos
6881.90Schristos/* syscall: "inotify_add_watch" ret: "int" args: "int" "const char *" "uint32_t" */
6891.90Schristos#define	LINUX_SYS_inotify_add_watch	285
6901.90Schristos
6911.90Schristos/* syscall: "inotify_rm_watch" ret: "int" args: "int" "int" */
6921.90Schristos#define	LINUX_SYS_inotify_rm_watch	286
6931.90Schristos
6941.53Schs/* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */
6951.53Schs#define	LINUX_SYS_openat	288
6961.53Schs
6971.53Schs/* syscall: "mkdirat" ret: "int" args: "int" "const char *" "linux_umode_t" */
6981.53Schs#define	LINUX_SYS_mkdirat	289
6991.53Schs
7001.53Schs/* syscall: "mknodat" ret: "int" args: "int" "const char *" "linux_umode_t" "unsigned" */
7011.53Schs#define	LINUX_SYS_mknodat	290
7021.53Schs
7031.53Schs/* syscall: "fchownat" ret: "int" args: "int" "const char *" "uid_t" "gid_t" "int" */
7041.53Schs#define	LINUX_SYS_fchownat	291
7051.53Schs
7061.53Schs/* syscall: "fstatat64" ret: "int" args: "int" "const char *" "struct linux_stat64 *" "int" */
7071.53Schs#define	LINUX_SYS_fstatat64	293
7081.53Schs
7091.53Schs/* syscall: "unlinkat" ret: "int" args: "int" "const char *" "int" */
7101.53Schs#define	LINUX_SYS_unlinkat	294
7111.53Schs
7121.53Schs/* syscall: "renameat" ret: "int" args: "int" "const char *" "int" "const char *" */
7131.53Schs#define	LINUX_SYS_renameat	295
7141.53Schs
7151.53Schs/* syscall: "linkat" ret: "int" args: "int" "const char *" "int" "const char *" "int" */
7161.53Schs#define	LINUX_SYS_linkat	296
7171.53Schs
7181.53Schs/* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
7191.53Schs#define	LINUX_SYS_symlinkat	297
7201.53Schs
7211.67Snjoly/* syscall: "readlinkat" ret: "ssize_t" args: "int" "const char *" "char *" "size_t" */
7221.53Schs#define	LINUX_SYS_readlinkat	298
7231.53Schs
7241.53Schs/* syscall: "fchmodat" ret: "int" args: "int" "const char *" "linux_umode_t" */
7251.53Schs#define	LINUX_SYS_fchmodat	299
7261.53Schs
7271.53Schs/* syscall: "faccessat" ret: "int" args: "int" "const char *" "int" */
7281.53Schs#define	LINUX_SYS_faccessat	300
7291.53Schs
7301.68Smanu/* syscall: "pselect6" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct linux_timespec *" "linux_sized_sigset_t *" */
7311.68Smanu#define	LINUX_SYS_pselect6	301
7321.68Smanu
7331.62Snjoly/* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "struct linux_timespec *" "linux_sigset_t *" */
7341.49Spooka#define	LINUX_SYS_ppoll	302
7351.49Spooka
7361.93Schristos/* syscall: "sync_file_range" ret: "int" args: "int" "off_t" "off_t" "unsigned int" */
7371.93Schristos#define	LINUX_SYS_sync_file_range	305
7381.93Schristos
7391.80Sthorpej/* syscall: "__futex_set_robust_list" ret: "int" args: "void *" "size_t" */
7401.80Sthorpej#define	LINUX_SYS___futex_set_robust_list	309
7411.43Schs
7421.80Sthorpej/* syscall: "__futex_get_robust_list" ret: "int" args: "lwpid_t" "void **" "size_t *" */
7431.80Sthorpej#define	LINUX_SYS___futex_get_robust_list	310
7441.43Schs
7451.91Schristos/* syscall: "getcpu" ret: "int" args: "unsigned int *" "unsigned int *" "struct linux_getcpu_cache *" */
7461.91Schristos#define	LINUX_SYS_getcpu	312
7471.91Schristos
7481.87Schristos/* syscall: "epoll_pwait" ret: "int" args: "int" "struct linux_epoll_event *" "int" "int" "const linux_sigset_t *" */
7491.87Schristos#define	LINUX_SYS_epoll_pwait	313
7501.87Schristos
7511.51Snjoly/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
7521.51Snjoly#define	LINUX_SYS_utimensat	316
7531.51Snjoly
7541.83Sthorpej/* syscall: "eventfd" ret: "int" args: "unsigned int" */
7551.83Sthorpej#define	LINUX_SYS_eventfd	319
7561.83Sthorpej
7571.79Sjdolecek/* syscall: "fallocate" ret: "int" args: "int" "int" "off_t" "off_t" */
7581.79Sjdolecek#define	LINUX_SYS_fallocate	320
7591.79Sjdolecek
7601.82Sthorpej/* syscall: "timerfd_create" ret: "int" args: "clockid_t" "int" */
7611.82Sthorpej#define	LINUX_SYS_timerfd_create	321
7621.82Sthorpej
7631.82Sthorpej/* syscall: "timerfd_gettime" ret: "int" args: "int" "struct linux_itimerspec *" */
7641.82Sthorpej#define	LINUX_SYS_timerfd_gettime	322
7651.82Sthorpej
7661.82Sthorpej/* syscall: "timerfd_settime" ret: "int" args: "int" "int" "const struct linux_itimerspec *" "struct linux_itimerspec *" */
7671.82Sthorpej#define	LINUX_SYS_timerfd_settime	323
7681.82Sthorpej
7691.83Sthorpej/* syscall: "eventfd2" ret: "int" args: "unsigned int" "int" */
7701.83Sthorpej#define	LINUX_SYS_eventfd2	325
7711.83Sthorpej
7721.87Schristos/* syscall: "epoll_create1" ret: "int" args: "int" */
7731.87Schristos#define	LINUX_SYS_epoll_create1	326
7741.87Schristos
7751.45She/* syscall: "dup3" ret: "int" args: "int" "int" "int" */
7761.45She#define	LINUX_SYS_dup3	327
7771.45She
7781.45She/* syscall: "pipe2" ret: "int" args: "int *" "int" */
7791.45She#define	LINUX_SYS_pipe2	328
7801.45She
7811.90Schristos/* syscall: "inotify_init1" ret: "int" args: "int" */
7821.90Schristos#define	LINUX_SYS_inotify_init1	329
7831.90Schristos
7841.84Sthorpej/* syscall: "preadv" ret: "int" args: "int" "const struct iovec *" "int" "unsigned long" "unsigned long" */
7851.84Sthorpej#define	LINUX_SYS_preadv	330
7861.84Sthorpej
7871.84Sthorpej/* syscall: "pwritev" ret: "int" args: "int" "const struct iovcnt *" "int" "unsigned long" "unsigned long" */
7881.84Sthorpej#define	LINUX_SYS_pwritev	331
7891.84Sthorpej
7901.72Schristos/* syscall: "accept4" ret: "int" args: "int" "struct osockaddr *" "int *" "int" */
7911.72Schristos#define	LINUX_SYS_accept4	334
7921.72Schristos
7931.73Schristos/* syscall: "recvmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" "struct timespec *" */
7941.73Schristos#define	LINUX_SYS_recvmmsg	335
7951.73Schristos
7961.86Sryo/* syscall: "prlimit64" ret: "int" args: "pid_t" "int" "struct rlimit *" "struct rlimit *" */
7971.86Sryo#define	LINUX_SYS_prlimit64	339
7981.86Sryo
7991.93Schristos/* syscall: "syncfs" ret: "int" args: "int" */
8001.93Schristos#define	LINUX_SYS_syncfs	343
8011.93Schristos
8021.73Schristos/* syscall: "sendmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" */
8031.73Schristos#define	LINUX_SYS_sendmmsg	344
8041.73Schristos
8051.93Schristos/* syscall: "renameat2" ret: "int" args: "int" "const char *" "int" "const char *" "unsigned int" */
8061.93Schristos#define	LINUX_SYS_renameat2	352
8071.93Schristos
8081.85Sryo/* syscall: "getrandom" ret: "ssize_t" args: "void *" "size_t" "unsigned int" */
8091.88Schristos#define	LINUX_SYS_getrandom	353
8101.88Schristos
8111.88Schristos/* syscall: "memfd_create" ret: "int" args: "const char *" "unsigned int" */
8121.88Schristos#define	LINUX_SYS_memfd_create	354
8131.88Schristos
8141.93Schristos/* syscall: "copy_file_range" ret: "ssize_t" args: "int" "off_t *" "int" "off_t *" "size_t" "unsigned int" */
8151.93Schristos#define	LINUX_SYS_copy_file_range	360
8161.93Schristos
8171.88Schristos/* syscall: "statx" ret: "int" args: "int" "const char *" "int" "unsigned int" "struct linux_statx *" */
8181.88Schristos#define	LINUX_SYS_statx	366
8191.88Schristos
8201.93Schristos/* syscall: "clone3" ret: "int" args: "struct linux_user_clone3_args *" "size_t" */
8211.93Schristos#define	LINUX_SYS_clone3	435
8221.93Schristos
8231.88Schristos/* syscall: "close_range" ret: "int" args: "unsigned int" "unsigned int" "unsigned int" */
8241.88Schristos#define	LINUX_SYS_close_range	436
8251.85Sryo
8261.87Schristos/* syscall: "epoll_pwait2" ret: "int" args: "int" "struct linux_epoll_event *" "int" "const struct linux_timespec *" "const linux_sigset_t *" */
8271.87Schristos#define	LINUX_SYS_epoll_pwait2	441
8281.87Schristos
8291.87Schristos#define	LINUX_SYS_MAXSYSCALL	442
8301.18Sjdolecek#define	LINUX_SYS_NSYSENT	512
8311.26Schristos#endif /* _LINUX_SYS_SYSCALL_H_ */
832