Home | History | Annotate | Line # | Download | only in m68k
linux_syscall.h revision 1.104
      1   1.60     njoly /* $NetBSD: linux_syscall.h,v 1.104 2017/02/03 16:44:21 christos Exp $ */
      2    1.1     itohy 
      3    1.1     itohy /*
      4    1.1     itohy  * System call numbers.
      5    1.1     itohy  *
      6    1.1     itohy  * DO NOT EDIT-- this file is automatically generated.
      7  1.104  christos  * created from	NetBSD: syscalls.master,v 1.93 2017/02/03 16:44:12 christos Exp
      8    1.1     itohy  */
      9    1.1     itohy 
     10   1.57      matt #ifndef _LINUX_SYS_SYSCALL_H_
     11   1.57      matt #define	_LINUX_SYS_SYSCALL_H_
     12   1.57      matt 
     13   1.60     njoly #define	LINUX_SYS_MAXSYSARGS	8
     14   1.60     njoly 
     15    1.1     itohy /* syscall: "syscall" ret: "int" args: */
     16    1.1     itohy #define	LINUX_SYS_syscall	0
     17    1.1     itohy 
     18    1.1     itohy /* syscall: "exit" ret: "int" args: "int" */
     19    1.1     itohy #define	LINUX_SYS_exit	1
     20    1.1     itohy 
     21    1.1     itohy /* syscall: "fork" ret: "int" args: */
     22    1.1     itohy #define	LINUX_SYS_fork	2
     23    1.1     itohy 
     24   1.88     njoly /* syscall: "read" ret: "ssize_t" args: "int" "void *" "size_t" */
     25    1.1     itohy #define	LINUX_SYS_read	3
     26    1.1     itohy 
     27   1.88     njoly /* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */
     28    1.1     itohy #define	LINUX_SYS_write	4
     29    1.1     itohy 
     30   1.85     njoly /* syscall: "open" ret: "int" args: "const char *" "int" "linux_umode_t" */
     31    1.1     itohy #define	LINUX_SYS_open	5
     32    1.1     itohy 
     33    1.1     itohy /* syscall: "close" ret: "int" args: "int" */
     34    1.1     itohy #define	LINUX_SYS_close	6
     35    1.1     itohy 
     36    1.1     itohy /* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */
     37    1.1     itohy #define	LINUX_SYS_waitpid	7
     38    1.1     itohy 
     39   1.85     njoly /* syscall: "creat" ret: "int" args: "const char *" "linux_umode_t" */
     40    1.1     itohy #define	LINUX_SYS_creat	8
     41    1.1     itohy 
     42    1.2     itohy /* syscall: "link" ret: "int" args: "const char *" "const char *" */
     43    1.1     itohy #define	LINUX_SYS_link	9
     44    1.1     itohy 
     45    1.2     itohy /* syscall: "unlink" ret: "int" args: "const char *" */
     46    1.1     itohy #define	LINUX_SYS_unlink	10
     47    1.1     itohy 
     48    1.2     itohy /* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
     49    1.1     itohy #define	LINUX_SYS_execve	11
     50    1.1     itohy 
     51    1.2     itohy /* syscall: "chdir" ret: "int" args: "const char *" */
     52    1.1     itohy #define	LINUX_SYS_chdir	12
     53    1.1     itohy 
     54    1.1     itohy /* syscall: "time" ret: "int" args: "linux_time_t *" */
     55    1.1     itohy #define	LINUX_SYS_time	13
     56    1.1     itohy 
     57   1.90     njoly /* syscall: "mknod" ret: "int" args: "const char *" "linux_umode_t" "unsigned" */
     58    1.1     itohy #define	LINUX_SYS_mknod	14
     59    1.1     itohy 
     60    1.2     itohy /* syscall: "chmod" ret: "int" args: "const char *" "int" */
     61    1.1     itohy #define	LINUX_SYS_chmod	15
     62    1.1     itohy 
     63   1.64     njoly /* syscall: "chown16" ret: "int" args: "const char *" "linux_uid16_t" "linux_gid16_t" */
     64   1.26      fvdl #define	LINUX_SYS_chown16	16
     65    1.1     itohy 
     66    1.1     itohy 				/* 17 is obsolete break */
     67    1.1     itohy 				/* 18 is obsolete ostat */
     68   1.49  jdolecek #if !defined(_KERNEL) || defined(COMPAT_43)
     69    1.1     itohy /* syscall: "lseek" ret: "long" args: "int" "long" "int" */
     70    1.1     itohy #define	LINUX_SYS_lseek	19
     71    1.1     itohy 
     72   1.49  jdolecek #else
     73   1.49  jdolecek #endif
     74    1.1     itohy /* syscall: "getpid" ret: "pid_t" args: */
     75    1.1     itohy #define	LINUX_SYS_getpid	20
     76    1.1     itohy 
     77    1.1     itohy 				/* 22 is obsolete umount */
     78   1.28      fvdl /* syscall: "linux_setuid16" ret: "int" args: "uid_t" */
     79   1.28      fvdl #define	LINUX_SYS_linux_setuid16	23
     80    1.1     itohy 
     81   1.28      fvdl /* syscall: "linux_getuid16" ret: "uid_t" args: */
     82   1.28      fvdl #define	LINUX_SYS_linux_getuid16	24
     83    1.8      tron 
     84    1.8      tron /* syscall: "stime" ret: "int" args: "linux_time_t *" */
     85    1.8      tron #define	LINUX_SYS_stime	25
     86   1.12      tron 
     87   1.12      tron /* syscall: "ptrace" ret: "int" args: "int" "int" "int" "int" */
     88   1.12      tron #define	LINUX_SYS_ptrace	26
     89    1.1     itohy 
     90    1.1     itohy /* syscall: "alarm" ret: "int" args: "unsigned int" */
     91    1.1     itohy #define	LINUX_SYS_alarm	27
     92    1.1     itohy 
     93    1.1     itohy 				/* 28 is obsolete ofstat */
     94    1.1     itohy /* syscall: "pause" ret: "int" args: */
     95    1.1     itohy #define	LINUX_SYS_pause	29
     96    1.1     itohy 
     97    1.2     itohy /* syscall: "utime" ret: "int" args: "const char *" "struct linux_utimbuf *" */
     98    1.1     itohy #define	LINUX_SYS_utime	30
     99    1.1     itohy 
    100    1.1     itohy 				/* 31 is obsolete stty */
    101    1.1     itohy 				/* 32 is obsolete gtty */
    102    1.2     itohy /* syscall: "access" ret: "int" args: "const char *" "int" */
    103    1.1     itohy #define	LINUX_SYS_access	33
    104    1.1     itohy 
    105    1.1     itohy /* syscall: "nice" ret: "int" args: "int" */
    106    1.1     itohy #define	LINUX_SYS_nice	34
    107    1.1     itohy 
    108    1.1     itohy 				/* 35 is obsolete ftime */
    109    1.1     itohy /* syscall: "sync" ret: "int" args: */
    110    1.1     itohy #define	LINUX_SYS_sync	36
    111    1.1     itohy 
    112    1.1     itohy /* syscall: "kill" ret: "int" args: "int" "int" */
    113    1.1     itohy #define	LINUX_SYS_kill	37
    114    1.1     itohy 
    115   1.60     njoly /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
    116   1.60     njoly #define	LINUX_SYS___posix_rename	38
    117    1.1     itohy 
    118   1.85     njoly /* syscall: "mkdir" ret: "int" args: "const char *" "linux_umode_t" */
    119    1.1     itohy #define	LINUX_SYS_mkdir	39
    120    1.1     itohy 
    121    1.2     itohy /* syscall: "rmdir" ret: "int" args: "const char *" */
    122    1.1     itohy #define	LINUX_SYS_rmdir	40
    123    1.1     itohy 
    124   1.83     njoly /* syscall: "dup" ret: "int" args: "int" */
    125    1.1     itohy #define	LINUX_SYS_dup	41
    126    1.1     itohy 
    127    1.1     itohy /* syscall: "pipe" ret: "int" args: "int *" */
    128    1.1     itohy #define	LINUX_SYS_pipe	42
    129    1.1     itohy 
    130    1.1     itohy /* syscall: "times" ret: "int" args: "struct times *" */
    131    1.1     itohy #define	LINUX_SYS_times	43
    132    1.1     itohy 
    133    1.1     itohy 				/* 44 is obsolete prof */
    134    1.1     itohy /* syscall: "brk" ret: "int" args: "char *" */
    135    1.1     itohy #define	LINUX_SYS_brk	45
    136    1.1     itohy 
    137   1.28      fvdl /* syscall: "linux_setgid16" ret: "int" args: "gid_t" */
    138   1.28      fvdl #define	LINUX_SYS_linux_setgid16	46
    139    1.1     itohy 
    140   1.28      fvdl /* syscall: "linux_getgid16" ret: "gid_t" args: */
    141   1.28      fvdl #define	LINUX_SYS_linux_getgid16	47
    142    1.1     itohy 
    143    1.1     itohy /* syscall: "signal" ret: "int" args: "int" "linux_handler_t" */
    144    1.1     itohy #define	LINUX_SYS_signal	48
    145    1.1     itohy 
    146   1.28      fvdl /* syscall: "linux_geteuid16" ret: "uid_t" args: */
    147   1.28      fvdl #define	LINUX_SYS_linux_geteuid16	49
    148    1.1     itohy 
    149   1.28      fvdl /* syscall: "linux_getegid16" ret: "gid_t" args: */
    150   1.28      fvdl #define	LINUX_SYS_linux_getegid16	50
    151    1.1     itohy 
    152    1.1     itohy /* syscall: "acct" ret: "int" args: "char *" */
    153    1.1     itohy #define	LINUX_SYS_acct	51
    154    1.1     itohy 
    155    1.1     itohy 				/* 53 is obsolete lock */
    156   1.59  christos /* syscall: "ioctl" ret: "int" args: "int" "u_long" "void *" */
    157    1.1     itohy #define	LINUX_SYS_ioctl	54
    158    1.1     itohy 
    159    1.1     itohy /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
    160    1.1     itohy #define	LINUX_SYS_fcntl	55
    161    1.1     itohy 
    162    1.1     itohy 				/* 56 is obsolete mpx */
    163    1.1     itohy /* syscall: "setpgid" ret: "int" args: "int" "int" */
    164    1.1     itohy #define	LINUX_SYS_setpgid	57
    165    1.1     itohy 
    166    1.1     itohy 				/* 58 is obsolete ulimit */
    167    1.1     itohy /* syscall: "umask" ret: "int" args: "int" */
    168    1.1     itohy #define	LINUX_SYS_umask	60
    169    1.1     itohy 
    170    1.1     itohy /* syscall: "chroot" ret: "int" args: "char *" */
    171    1.1     itohy #define	LINUX_SYS_chroot	61
    172    1.1     itohy 
    173   1.83     njoly /* syscall: "dup2" ret: "int" args: "int" "int" */
    174    1.1     itohy #define	LINUX_SYS_dup2	63
    175    1.1     itohy 
    176    1.1     itohy /* syscall: "getppid" ret: "pid_t" args: */
    177    1.1     itohy #define	LINUX_SYS_getppid	64
    178    1.1     itohy 
    179    1.1     itohy /* syscall: "getpgrp" ret: "int" args: */
    180    1.1     itohy #define	LINUX_SYS_getpgrp	65
    181    1.1     itohy 
    182    1.1     itohy /* syscall: "setsid" ret: "int" args: */
    183    1.1     itohy #define	LINUX_SYS_setsid	66
    184    1.1     itohy 
    185    1.1     itohy /* syscall: "sigaction" ret: "int" args: "int" "const struct linux_old_sigaction *" "struct linux_old_sigaction *" */
    186    1.1     itohy #define	LINUX_SYS_sigaction	67
    187    1.1     itohy 
    188    1.1     itohy /* syscall: "siggetmask" ret: "int" args: */
    189    1.1     itohy #define	LINUX_SYS_siggetmask	68
    190    1.1     itohy 
    191    1.1     itohy /* syscall: "sigsetmask" ret: "int" args: "linux_old_sigset_t" */
    192    1.1     itohy #define	LINUX_SYS_sigsetmask	69
    193    1.1     itohy 
    194   1.64     njoly /* syscall: "setreuid16" ret: "int" args: "linux_uid16_t" "linux_uid16_t" */
    195   1.26      fvdl #define	LINUX_SYS_setreuid16	70
    196    1.1     itohy 
    197   1.64     njoly /* syscall: "setregid16" ret: "int" args: "linux_gid16_t" "linux_gid16_t" */
    198   1.26      fvdl #define	LINUX_SYS_setregid16	71
    199    1.1     itohy 
    200   1.59  christos /* syscall: "sigsuspend" ret: "int" args: "void *" "int" "int" */
    201    1.1     itohy #define	LINUX_SYS_sigsuspend	72
    202    1.1     itohy 
    203    1.1     itohy /* syscall: "sigpending" ret: "int" args: "linux_old_sigset_t *" */
    204    1.1     itohy #define	LINUX_SYS_sigpending	73
    205    1.1     itohy 
    206   1.49  jdolecek #if !defined(_KERNEL) || defined(COMPAT_43)
    207    1.1     itohy /* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
    208    1.1     itohy #define	LINUX_SYS_sethostname	74
    209    1.1     itohy 
    210   1.49  jdolecek #else
    211   1.49  jdolecek #endif
    212    1.1     itohy /* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */
    213    1.1     itohy #define	LINUX_SYS_setrlimit	75
    214    1.1     itohy 
    215    1.1     itohy /* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */
    216    1.1     itohy #define	LINUX_SYS_getrlimit	76
    217    1.1     itohy 
    218   1.69   tsutsui /* syscall: "getrusage" ret: "int" args: "int" "struct rusage50 *" */
    219    1.1     itohy #define	LINUX_SYS_getrusage	77
    220    1.1     itohy 
    221   1.69   tsutsui /* syscall: "gettimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
    222    1.1     itohy #define	LINUX_SYS_gettimeofday	78
    223    1.1     itohy 
    224   1.69   tsutsui /* syscall: "settimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
    225    1.1     itohy #define	LINUX_SYS_settimeofday	79
    226    1.1     itohy 
    227   1.64     njoly /* syscall: "getgroups16" ret: "int" args: "int" "linux_gid16_t *" */
    228   1.28      fvdl #define	LINUX_SYS_getgroups16	80
    229    1.1     itohy 
    230   1.64     njoly /* syscall: "setgroups16" ret: "int" args: "int" "linux_gid16_t *" */
    231   1.28      fvdl #define	LINUX_SYS_setgroups16	81
    232    1.1     itohy 
    233    1.1     itohy /* syscall: "oldselect" ret: "int" args: "struct linux_oldselect *" */
    234    1.1     itohy #define	LINUX_SYS_oldselect	82
    235    1.1     itohy 
    236    1.2     itohy /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
    237    1.1     itohy #define	LINUX_SYS_symlink	83
    238    1.1     itohy 
    239   1.49  jdolecek #if !defined(_KERNEL) || defined(COMPAT_43)
    240    1.2     itohy /* syscall: "oolstat" ret: "int" args: "const char *" "struct stat43 *" */
    241    1.1     itohy #define	LINUX_SYS_oolstat	84
    242    1.1     itohy 
    243   1.49  jdolecek #else
    244   1.49  jdolecek #endif
    245   1.98     njoly /* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "int" */
    246    1.1     itohy #define	LINUX_SYS_readlink	85
    247    1.1     itohy 
    248   1.53     joerg #ifdef EXEC_AOUT
    249    1.2     itohy /* syscall: "uselib" ret: "int" args: "const char *" */
    250    1.1     itohy #define	LINUX_SYS_uselib	86
    251    1.1     itohy 
    252   1.53     joerg #else
    253   1.53     joerg #endif
    254    1.1     itohy /* syscall: "swapon" ret: "int" args: "char *" */
    255    1.1     itohy #define	LINUX_SYS_swapon	87
    256    1.1     itohy 
    257   1.14       erh /* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */
    258    1.1     itohy #define	LINUX_SYS_reboot	88
    259    1.1     itohy 
    260   1.59  christos /* syscall: "readdir" ret: "int" args: "int" "void *" "unsigned int" */
    261    1.1     itohy #define	LINUX_SYS_readdir	89
    262    1.1     itohy 
    263    1.1     itohy /* syscall: "old_mmap" ret: "int" args: "struct linux_oldmmap *" */
    264    1.1     itohy #define	LINUX_SYS_old_mmap	90
    265    1.1     itohy 
    266   1.94     njoly /* syscall: "munmap" ret: "int" args: "void *" "size_t" */
    267    1.1     itohy #define	LINUX_SYS_munmap	91
    268    1.1     itohy 
    269    1.2     itohy /* syscall: "truncate" ret: "int" args: "const char *" "long" */
    270    1.1     itohy #define	LINUX_SYS_truncate	92
    271    1.1     itohy 
    272   1.49  jdolecek #if !defined(_KERNEL) || defined(COMPAT_43)
    273    1.1     itohy /* syscall: "ftruncate" ret: "int" args: "int" "long" */
    274    1.1     itohy #define	LINUX_SYS_ftruncate	93
    275    1.1     itohy 
    276   1.49  jdolecek #else
    277   1.49  jdolecek #endif
    278   1.85     njoly /* syscall: "fchmod" ret: "int" args: "int" "linux_umode_t" */
    279    1.1     itohy #define	LINUX_SYS_fchmod	94
    280    1.1     itohy 
    281   1.64     njoly /* syscall: "fchown16" ret: "int" args: "int" "linux_uid16_t" "linux_gid16_t" */
    282   1.26      fvdl #define	LINUX_SYS_fchown16	95
    283    1.1     itohy 
    284    1.1     itohy /* syscall: "getpriority" ret: "int" args: "int" "int" */
    285    1.1     itohy #define	LINUX_SYS_getpriority	96
    286    1.1     itohy 
    287    1.1     itohy /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
    288    1.1     itohy #define	LINUX_SYS_setpriority	97
    289    1.1     itohy 
    290   1.59  christos /* syscall: "profil" ret: "int" args: "void *" "u_int" "u_int" "u_int" */
    291    1.1     itohy #define	LINUX_SYS_profil	98
    292    1.1     itohy 
    293    1.2     itohy /* syscall: "statfs" ret: "int" args: "const char *" "struct linux_statfs *" */
    294    1.1     itohy #define	LINUX_SYS_statfs	99
    295    1.1     itohy 
    296    1.1     itohy /* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */
    297    1.1     itohy #define	LINUX_SYS_fstatfs	100
    298    1.1     itohy 
    299    1.1     itohy /* syscall: "socketcall" ret: "int" args: "int" "void *" */
    300    1.1     itohy #define	LINUX_SYS_socketcall	102
    301    1.1     itohy 
    302   1.79  christos /* syscall: "setitimer" ret: "int" args: "int" "struct itimerval50 *" "struct itimerval50 *" */
    303    1.1     itohy #define	LINUX_SYS_setitimer	104
    304    1.1     itohy 
    305   1.79  christos /* syscall: "getitimer" ret: "int" args: "int" "struct itimerval50 *" */
    306    1.1     itohy #define	LINUX_SYS_getitimer	105
    307    1.1     itohy 
    308    1.2     itohy /* syscall: "stat" ret: "int" args: "const char *" "struct linux_stat *" */
    309    1.1     itohy #define	LINUX_SYS_stat	106
    310    1.1     itohy 
    311    1.2     itohy /* syscall: "lstat" ret: "int" args: "const char *" "struct linux_stat *" */
    312    1.1     itohy #define	LINUX_SYS_lstat	107
    313    1.1     itohy 
    314    1.1     itohy /* syscall: "fstat" ret: "int" args: "int" "struct linux_stat *" */
    315    1.1     itohy #define	LINUX_SYS_fstat	108
    316    1.1     itohy 
    317   1.71     njoly /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage50 *" */
    318    1.1     itohy #define	LINUX_SYS_wait4	114
    319   1.20  jdolecek 
    320   1.20  jdolecek /* syscall: "swapoff" ret: "int" args: "const char *" */
    321   1.20  jdolecek #define	LINUX_SYS_swapoff	115
    322   1.25  jdolecek 
    323   1.25  jdolecek /* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */
    324   1.25  jdolecek #define	LINUX_SYS_sysinfo	116
    325    1.1     itohy 
    326   1.59  christos /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "void *" */
    327    1.1     itohy #define	LINUX_SYS_ipc	117
    328    1.1     itohy 
    329    1.1     itohy /* syscall: "fsync" ret: "int" args: "int" */
    330    1.1     itohy #define	LINUX_SYS_fsync	118
    331    1.1     itohy 
    332    1.1     itohy /* syscall: "sigreturn" ret: "int" args: */
    333    1.1     itohy #define	LINUX_SYS_sigreturn	119
    334    1.6   thorpej 
    335   1.75       chs /* syscall: "clone" ret: "int" args: "int" "void *" "void *" "void *" "void *" */
    336    1.6   thorpej #define	LINUX_SYS_clone	120
    337    1.1     itohy 
    338    1.1     itohy /* syscall: "setdomainname" ret: "int" args: "char *" "int" */
    339    1.1     itohy #define	LINUX_SYS_setdomainname	121
    340    1.1     itohy 
    341    1.1     itohy /* syscall: "uname" ret: "int" args: "struct linux_utsname *" */
    342    1.1     itohy #define	LINUX_SYS_uname	122
    343    1.1     itohy 
    344    1.1     itohy /* syscall: "cacheflush" ret: "int" args: "unsigned long" "int" "int" "unsigned long" */
    345    1.1     itohy #define	LINUX_SYS_cacheflush	123
    346    1.1     itohy 
    347   1.40  christos /* syscall: "mprotect" ret: "int" args: "const void *" "unsigned long" "int" */
    348    1.1     itohy #define	LINUX_SYS_mprotect	125
    349    1.1     itohy 
    350    1.1     itohy /* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */
    351    1.1     itohy #define	LINUX_SYS_sigprocmask	126
    352    1.1     itohy 
    353   1.63     njoly /* syscall: "getpgid" ret: "pid_t" args: "pid_t" */
    354    1.1     itohy #define	LINUX_SYS_getpgid	132
    355    1.1     itohy 
    356    1.1     itohy /* syscall: "fchdir" ret: "int" args: "int" */
    357    1.1     itohy #define	LINUX_SYS_fchdir	133
    358    1.1     itohy 
    359   1.73     njoly /* syscall: "personality" ret: "int" args: "unsigned long" */
    360    1.1     itohy #define	LINUX_SYS_personality	136
    361    1.1     itohy 
    362   1.28      fvdl /* syscall: "linux_setfsuid16" ret: "int" args: "uid_t" */
    363   1.28      fvdl #define	LINUX_SYS_linux_setfsuid16	138
    364   1.13       abs 
    365   1.62     njoly /* syscall: "linux_setfsgid16" ret: "int" args: "gid_t" */
    366   1.62     njoly #define	LINUX_SYS_linux_setfsgid16	139
    367   1.13       abs 
    368   1.59  christos /* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "void *" "int" */
    369    1.1     itohy #define	LINUX_SYS_llseek	140
    370    1.1     itohy 
    371    1.1     itohy /* syscall: "getdents" ret: "int" args: "int" "struct linux_dirent *" "unsigned int" */
    372    1.1     itohy #define	LINUX_SYS_getdents	141
    373    1.1     itohy 
    374   1.69   tsutsui /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */
    375    1.1     itohy #define	LINUX_SYS_select	142
    376    1.1     itohy 
    377    1.1     itohy /* syscall: "flock" ret: "int" args: "int" "int" */
    378    1.1     itohy #define	LINUX_SYS_flock	143
    379    1.1     itohy 
    380   1.65     njoly /* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */
    381   1.65     njoly #define	LINUX_SYS___msync13	144
    382    1.1     itohy 
    383   1.88     njoly /* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
    384    1.1     itohy #define	LINUX_SYS_readv	145
    385    1.1     itohy 
    386   1.88     njoly /* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
    387    1.1     itohy #define	LINUX_SYS_writev	146
    388    1.1     itohy 
    389    1.1     itohy /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
    390    1.1     itohy #define	LINUX_SYS_getsid	147
    391    1.1     itohy 
    392    1.1     itohy /* syscall: "fdatasync" ret: "int" args: "int" */
    393    1.1     itohy #define	LINUX_SYS_fdatasync	148
    394    1.1     itohy 
    395    1.1     itohy /* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */
    396    1.1     itohy #define	LINUX_SYS___sysctl	149
    397    1.1     itohy 
    398   1.59  christos /* syscall: "mlock" ret: "int" args: "void *" "size_t" */
    399    1.1     itohy #define	LINUX_SYS_mlock	150
    400    1.1     itohy 
    401   1.59  christos /* syscall: "munlock" ret: "int" args: "void *" "size_t" */
    402    1.1     itohy #define	LINUX_SYS_munlock	151
    403   1.18  jdolecek 
    404   1.18  jdolecek /* syscall: "mlockall" ret: "int" args: "int" */
    405   1.18  jdolecek #define	LINUX_SYS_mlockall	152
    406   1.18  jdolecek 
    407   1.18  jdolecek /* syscall: "munlockall" ret: "int" args: */
    408   1.18  jdolecek #define	LINUX_SYS_munlockall	153
    409    1.9      tron 
    410    1.9      tron /* syscall: "sched_setparam" ret: "int" args: "pid_t" "const struct linux_sched_param *" */
    411    1.9      tron #define	LINUX_SYS_sched_setparam	154
    412    1.9      tron 
    413    1.9      tron /* syscall: "sched_getparam" ret: "int" args: "pid_t" "struct linux_sched_param *" */
    414    1.9      tron #define	LINUX_SYS_sched_getparam	155
    415    1.9      tron 
    416    1.9      tron /* syscall: "sched_setscheduler" ret: "int" args: "pid_t" "int" "const struct linux_sched_param *" */
    417    1.9      tron #define	LINUX_SYS_sched_setscheduler	156
    418    1.9      tron 
    419    1.9      tron /* syscall: "sched_getscheduler" ret: "int" args: "pid_t" */
    420    1.9      tron #define	LINUX_SYS_sched_getscheduler	157
    421    1.9      tron 
    422    1.9      tron /* syscall: "sched_yield" ret: "int" args: */
    423    1.9      tron #define	LINUX_SYS_sched_yield	158
    424    1.9      tron 
    425    1.9      tron /* syscall: "sched_get_priority_max" ret: "int" args: "int" */
    426    1.9      tron #define	LINUX_SYS_sched_get_priority_max	159
    427    1.9      tron 
    428    1.9      tron /* syscall: "sched_get_priority_min" ret: "int" args: "int" */
    429    1.9      tron #define	LINUX_SYS_sched_get_priority_min	160
    430    1.1     itohy 
    431   1.68     njoly /* syscall: "nanosleep" ret: "int" args: "const struct linux_timespec *" "struct linux_timespec *" */
    432    1.1     itohy #define	LINUX_SYS_nanosleep	162
    433    1.1     itohy 
    434    1.1     itohy /* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */
    435    1.1     itohy #define	LINUX_SYS_mremap	163
    436    1.5      tron 
    437   1.64     njoly /* syscall: "setresuid16" ret: "int" args: "linux_uid16_t" "linux_uid16_t" "linux_uid16_t" */
    438   1.28      fvdl #define	LINUX_SYS_setresuid16	164
    439    1.7   thorpej 
    440   1.64     njoly /* syscall: "getresuid16" ret: "int" args: "linux_uid16_t *" "linux_uid16_t *" "linux_uid16_t *" */
    441   1.64     njoly #define	LINUX_SYS_getresuid16	165
    442    1.7   thorpej 
    443    1.5      tron /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
    444    1.5      tron #define	LINUX_SYS_poll	168
    445    1.1     itohy 
    446   1.64     njoly /* syscall: "setresgid16" ret: "int" args: "linux_gid16_t" "linux_gid16_t" "linux_gid16_t" */
    447   1.28      fvdl #define	LINUX_SYS_setresgid16	170
    448    1.7   thorpej 
    449   1.64     njoly /* syscall: "getresgid16" ret: "int" args: "linux_gid16_t *" "linux_gid16_t *" "linux_gid16_t *" */
    450   1.64     njoly #define	LINUX_SYS_getresgid16	171
    451    1.7   thorpej 
    452    1.1     itohy /* syscall: "rt_sigreturn" ret: "int" args: */
    453    1.1     itohy #define	LINUX_SYS_rt_sigreturn	173
    454    1.1     itohy 
    455    1.1     itohy /* syscall: "rt_sigaction" ret: "int" args: "int" "const struct linux_sigaction *" "struct linux_sigaction *" "size_t" */
    456    1.1     itohy #define	LINUX_SYS_rt_sigaction	174
    457    1.1     itohy 
    458    1.1     itohy /* syscall: "rt_sigprocmask" ret: "int" args: "int" "const linux_sigset_t *" "linux_sigset_t *" "size_t" */
    459    1.1     itohy #define	LINUX_SYS_rt_sigprocmask	175
    460    1.1     itohy 
    461    1.1     itohy /* syscall: "rt_sigpending" ret: "int" args: "linux_sigset_t *" "size_t" */
    462    1.1     itohy #define	LINUX_SYS_rt_sigpending	176
    463    1.1     itohy 
    464   1.79  christos /* syscall: "rt_sigtimedwait" ret: "int" args: "const linux_sigset_t *" "linux_siginfo_t *" "const struct linux_timespec *" */
    465   1.79  christos #define	LINUX_SYS_rt_sigtimedwait	177
    466   1.79  christos 
    467   1.72     njoly /* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "linux_siginfo_t *" */
    468    1.1     itohy #define	LINUX_SYS_rt_queueinfo	178
    469    1.1     itohy 
    470    1.1     itohy /* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */
    471    1.1     itohy #define	LINUX_SYS_rt_sigsuspend	179
    472    1.3   thorpej 
    473   1.89     njoly /* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "off_t" */
    474    1.3   thorpej #define	LINUX_SYS_pread	180
    475    1.3   thorpej 
    476   1.89     njoly /* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "off_t" */
    477    1.3   thorpej #define	LINUX_SYS_pwrite	181
    478    1.1     itohy 
    479   1.64     njoly /* syscall: "lchown16" ret: "int" args: "const char *" "linux_uid16_t" "linux_gid16_t" */
    480   1.27     itohy #define	LINUX_SYS_lchown16	182
    481    1.4      tron 
    482    1.4      tron /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
    483    1.4      tron #define	LINUX_SYS___getcwd	183
    484   1.17     itohy 
    485   1.17     itohy /* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */
    486   1.17     itohy #define	LINUX_SYS_sigaltstack	186
    487    1.1     itohy 
    488    1.7   thorpej /* syscall: "__vfork14" ret: "int" args: */
    489    1.7   thorpej #define	LINUX_SYS___vfork14	190
    490   1.39  christos 
    491   1.39  christos /* syscall: "ugetrlimit" ret: "int" args: "int" "struct orlimit *" */
    492   1.39  christos #define	LINUX_SYS_ugetrlimit	191
    493   1.46  christos 
    494   1.61       dsl #define linux_sys_mmap2_args linux_sys_mmap_args
    495   1.46  christos /* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
    496   1.46  christos #define	LINUX_SYS_mmap2	192
    497   1.38  christos 
    498   1.23  jdolecek /* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
    499   1.23  jdolecek #define	LINUX_SYS_truncate64	193
    500   1.23  jdolecek 
    501   1.48  jdolecek /* syscall: "ftruncate64" ret: "int" args: "unsigned int" "off_t" */
    502   1.23  jdolecek #define	LINUX_SYS_ftruncate64	194
    503   1.23  jdolecek 
    504   1.23  jdolecek /* syscall: "stat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
    505   1.23  jdolecek #define	LINUX_SYS_stat64	195
    506   1.23  jdolecek 
    507   1.23  jdolecek /* syscall: "lstat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
    508   1.23  jdolecek #define	LINUX_SYS_lstat64	196
    509   1.23  jdolecek 
    510   1.23  jdolecek /* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
    511   1.23  jdolecek #define	LINUX_SYS_fstat64	197
    512   1.26      fvdl 
    513   1.60     njoly /* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
    514   1.60     njoly #define	LINUX_SYS___posix_chown	198
    515   1.26      fvdl 
    516   1.26      fvdl /* syscall: "getuid" ret: "uid_t" args: */
    517   1.26      fvdl #define	LINUX_SYS_getuid	199
    518   1.26      fvdl 
    519   1.26      fvdl /* syscall: "getgid" ret: "gid_t" args: */
    520   1.26      fvdl #define	LINUX_SYS_getgid	200
    521   1.26      fvdl 
    522   1.26      fvdl /* syscall: "geteuid" ret: "uid_t" args: */
    523   1.26      fvdl #define	LINUX_SYS_geteuid	201
    524   1.26      fvdl 
    525   1.26      fvdl /* syscall: "getegid" ret: "gid_t" args: */
    526   1.26      fvdl #define	LINUX_SYS_getegid	202
    527   1.26      fvdl 
    528   1.26      fvdl /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
    529   1.26      fvdl #define	LINUX_SYS_setreuid	203
    530   1.26      fvdl 
    531   1.26      fvdl /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
    532   1.26      fvdl #define	LINUX_SYS_setregid	204
    533   1.26      fvdl 
    534   1.92     njoly /* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */
    535   1.28      fvdl #define	LINUX_SYS_getgroups	205
    536   1.28      fvdl 
    537   1.92     njoly /* syscall: "setgroups" ret: "int" args: "int" "gid_t *" */
    538   1.28      fvdl #define	LINUX_SYS_setgroups	206
    539   1.28      fvdl 
    540   1.26      fvdl /* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
    541   1.26      fvdl #define	LINUX_SYS___posix_fchown	207
    542   1.26      fvdl 
    543   1.28      fvdl /* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
    544   1.28      fvdl #define	LINUX_SYS_setresuid	208
    545   1.28      fvdl 
    546   1.28      fvdl /* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
    547   1.28      fvdl #define	LINUX_SYS_getresuid	209
    548   1.28      fvdl 
    549   1.28      fvdl /* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
    550   1.28      fvdl #define	LINUX_SYS_setresgid	210
    551   1.28      fvdl 
    552   1.28      fvdl /* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
    553   1.28      fvdl #define	LINUX_SYS_getresgid	211
    554   1.28      fvdl 
    555   1.60     njoly /* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
    556   1.60     njoly #define	LINUX_SYS___posix_lchown	212
    557   1.26      fvdl 
    558   1.26      fvdl /* syscall: "setuid" ret: "int" args: "uid_t" */
    559   1.26      fvdl #define	LINUX_SYS_setuid	213
    560   1.26      fvdl 
    561   1.26      fvdl /* syscall: "setgid" ret: "int" args: "gid_t" */
    562   1.26      fvdl #define	LINUX_SYS_setgid	214
    563   1.28      fvdl 
    564   1.28      fvdl /* syscall: "setfsuid" ret: "int" args: "uid_t" */
    565   1.28      fvdl #define	LINUX_SYS_setfsuid	215
    566   1.28      fvdl 
    567   1.62     njoly /* syscall: "setfsgid" ret: "int" args: "gid_t" */
    568   1.62     njoly #define	LINUX_SYS_setfsgid	216
    569   1.41  christos 
    570   1.41  christos /* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
    571   1.41  christos #define	LINUX_SYS_getdents64	220
    572    1.7   thorpej 
    573   1.75       chs /* syscall: "gettid" ret: "pid_t" args: */
    574   1.75       chs #define	LINUX_SYS_gettid	221
    575   1.75       chs 
    576   1.75       chs /* syscall: "tkill" ret: "int" args: "int" "int" */
    577   1.75       chs #define	LINUX_SYS_tkill	222
    578   1.75       chs 
    579   1.51      fvdl /* syscall: "setxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
    580   1.51      fvdl #define	LINUX_SYS_setxattr	223
    581   1.51      fvdl 
    582   1.51      fvdl /* syscall: "lsetxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
    583   1.51      fvdl #define	LINUX_SYS_lsetxattr	224
    584   1.51      fvdl 
    585   1.51      fvdl /* syscall: "fsetxattr" ret: "int" args: "int" "char *" "void *" "size_t" "int" */
    586   1.51      fvdl #define	LINUX_SYS_fsetxattr	225
    587   1.51      fvdl 
    588   1.51      fvdl /* syscall: "getxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
    589   1.51      fvdl #define	LINUX_SYS_getxattr	226
    590   1.51      fvdl 
    591   1.51      fvdl /* syscall: "lgetxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
    592   1.51      fvdl #define	LINUX_SYS_lgetxattr	227
    593   1.51      fvdl 
    594   1.51      fvdl /* syscall: "fgetxattr" ret: "ssize_t" args: "int" "char *" "void *" "size_t" */
    595   1.51      fvdl #define	LINUX_SYS_fgetxattr	228
    596   1.51      fvdl 
    597   1.51      fvdl /* syscall: "listxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
    598   1.51      fvdl #define	LINUX_SYS_listxattr	229
    599   1.51      fvdl 
    600   1.51      fvdl /* syscall: "llistxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
    601   1.51      fvdl #define	LINUX_SYS_llistxattr	230
    602   1.51      fvdl 
    603   1.51      fvdl /* syscall: "flistxattr" ret: "ssize_t" args: "int" "char *" "size_t" */
    604   1.51      fvdl #define	LINUX_SYS_flistxattr	231
    605   1.51      fvdl 
    606   1.51      fvdl /* syscall: "removexattr" ret: "int" args: "char *" "char *" */
    607   1.51      fvdl #define	LINUX_SYS_removexattr	232
    608   1.51      fvdl 
    609   1.51      fvdl /* syscall: "lremovexattr" ret: "int" args: "char *" "char *" */
    610   1.51      fvdl #define	LINUX_SYS_lremovexattr	233
    611   1.51      fvdl 
    612   1.51      fvdl /* syscall: "fremovexattr" ret: "int" args: "int" "char *" */
    613   1.51      fvdl #define	LINUX_SYS_fremovexattr	234
    614   1.51      fvdl 
    615   1.75       chs /* syscall: "futex" ret: "int" args: "int *" "int" "int" "const struct linux_timespec *" "int *" "int" */
    616   1.75       chs #define	LINUX_SYS_futex	235
    617   1.75       chs 
    618   1.87     njoly /* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
    619   1.87     njoly #define	LINUX_SYS_mincore	237
    620   1.87     njoly 
    621   1.87     njoly /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
    622   1.87     njoly #define	LINUX_SYS_madvise	238
    623   1.87     njoly 
    624   1.86     njoly /* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
    625   1.86     njoly #define	LINUX_SYS_fcntl64	239
    626   1.86     njoly 
    627   1.91     njoly /* syscall: "fadvise64" ret: "int" args: "int" "off_t" "size_t" "int" */
    628   1.77     alnsn #define	LINUX_SYS_fadvise64	246
    629   1.77     alnsn 
    630   1.75       chs /* syscall: "set_tid_address" ret: "int" args: "int *" */
    631   1.75       chs #define	LINUX_SYS_set_tid_address	253
    632   1.75       chs 
    633   1.52       jmc /* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
    634   1.52       jmc #define	LINUX_SYS_clock_settime	259
    635   1.52       jmc 
    636   1.52       jmc /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
    637   1.52       jmc #define	LINUX_SYS_clock_gettime	260
    638   1.52       jmc 
    639   1.52       jmc /* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct linux_timespec *" */
    640   1.52       jmc #define	LINUX_SYS_clock_getres	261
    641   1.52       jmc 
    642   1.52       jmc /* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "struct linux_timespec *" "struct linux_timespec *" */
    643   1.52       jmc #define	LINUX_SYS_clock_nanosleep	262
    644   1.52       jmc 
    645   1.75       chs /* syscall: "statfs64" ret: "int" args: "const char *" "size_t" "struct linux_statfs64 *" */
    646   1.75       chs #define	LINUX_SYS_statfs64	263
    647   1.75       chs 
    648   1.75       chs /* syscall: "fstatfs64" ret: "int" args: "int" "size_t" "struct linux_statfs64 *" */
    649   1.75       chs #define	LINUX_SYS_fstatfs64	264
    650   1.75       chs 
    651   1.75       chs /* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
    652   1.75       chs #define	LINUX_SYS_tgkill	265
    653   1.75       chs 
    654   1.93     njoly /* syscall: "utimes" ret: "int" args: "const char *" "const struct timeval50 *" */
    655   1.81     pooka #define	LINUX_SYS_utimes	266
    656   1.81     pooka 
    657   1.91     njoly /* syscall: "fadvise64_64" ret: "int" args: "int" "off_t" "off_t" "int" */
    658   1.77     alnsn #define	LINUX_SYS_fadvise64_64	267
    659   1.77     alnsn 
    660   1.84       chs /* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */
    661   1.84       chs #define	LINUX_SYS_openat	288
    662   1.84       chs 
    663   1.84       chs /* syscall: "mkdirat" ret: "int" args: "int" "const char *" "linux_umode_t" */
    664   1.84       chs #define	LINUX_SYS_mkdirat	289
    665   1.84       chs 
    666   1.84       chs /* syscall: "mknodat" ret: "int" args: "int" "const char *" "linux_umode_t" "unsigned" */
    667   1.84       chs #define	LINUX_SYS_mknodat	290
    668   1.84       chs 
    669   1.84       chs /* syscall: "fchownat" ret: "int" args: "int" "const char *" "uid_t" "gid_t" "int" */
    670   1.84       chs #define	LINUX_SYS_fchownat	291
    671   1.84       chs 
    672   1.84       chs /* syscall: "fstatat64" ret: "int" args: "int" "const char *" "struct linux_stat64 *" "int" */
    673   1.84       chs #define	LINUX_SYS_fstatat64	293
    674   1.84       chs 
    675   1.84       chs /* syscall: "unlinkat" ret: "int" args: "int" "const char *" "int" */
    676   1.84       chs #define	LINUX_SYS_unlinkat	294
    677   1.84       chs 
    678   1.84       chs /* syscall: "renameat" ret: "int" args: "int" "const char *" "int" "const char *" */
    679   1.84       chs #define	LINUX_SYS_renameat	295
    680   1.84       chs 
    681   1.84       chs /* syscall: "linkat" ret: "int" args: "int" "const char *" "int" "const char *" "int" */
    682   1.84       chs #define	LINUX_SYS_linkat	296
    683   1.84       chs 
    684   1.84       chs /* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
    685   1.84       chs #define	LINUX_SYS_symlinkat	297
    686   1.84       chs 
    687   1.98     njoly /* syscall: "readlinkat" ret: "ssize_t" args: "int" "const char *" "char *" "size_t" */
    688   1.84       chs #define	LINUX_SYS_readlinkat	298
    689   1.84       chs 
    690   1.84       chs /* syscall: "fchmodat" ret: "int" args: "int" "const char *" "linux_umode_t" */
    691   1.84       chs #define	LINUX_SYS_fchmodat	299
    692   1.84       chs 
    693   1.84       chs /* syscall: "faccessat" ret: "int" args: "int" "const char *" "int" */
    694   1.84       chs #define	LINUX_SYS_faccessat	300
    695   1.84       chs 
    696   1.99      manu /* syscall: "pselect6" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct linux_timespec *" "linux_sized_sigset_t *" */
    697   1.99      manu #define	LINUX_SYS_pselect6	301
    698   1.99      manu 
    699   1.95     njoly /* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "struct linux_timespec *" "linux_sigset_t *" */
    700   1.80     pooka #define	LINUX_SYS_ppoll	302
    701   1.80     pooka 
    702   1.75       chs /* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
    703   1.75       chs #define	LINUX_SYS_set_robust_list	304
    704   1.75       chs 
    705   1.75       chs /* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
    706   1.75       chs #define	LINUX_SYS_get_robust_list	305
    707   1.75       chs 
    708   1.75       chs /* syscall: "sched_setaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */
    709   1.75       chs #define	LINUX_SYS_sched_setaffinity	311
    710   1.75       chs 
    711   1.75       chs /* syscall: "sched_getaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */
    712   1.75       chs #define	LINUX_SYS_sched_getaffinity	312
    713   1.75       chs 
    714   1.82     njoly /* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
    715   1.82     njoly #define	LINUX_SYS_utimensat	316
    716   1.82     njoly 
    717   1.76        he /* syscall: "dup3" ret: "int" args: "int" "int" "int" */
    718   1.76        he #define	LINUX_SYS_dup3	326
    719   1.76        he 
    720   1.76        he /* syscall: "pipe2" ret: "int" args: "int *" "int" */
    721   1.76        he #define	LINUX_SYS_pipe2	327
    722   1.76        he 
    723  1.103    martin /* syscall: "accept4" ret: "int" args: "int" "struct osockaddr *" "int *" "int" */
    724  1.103    martin #define	LINUX_SYS_accept4	361
    725  1.103    martin 
    726  1.104  christos /* syscall: "recvmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" "struct timespec *" */
    727  1.104  christos #define	LINUX_SYS_recvmmsg	371
    728  1.104  christos 
    729  1.104  christos /* syscall: "sendmmsg" ret: "int" args: "int" "struct linux_mmsghdr *" "unsigned int" "unsigned int" */
    730  1.104  christos #define	LINUX_SYS_sendmmsg	372
    731  1.104  christos 
    732  1.104  christos #define	LINUX_SYS_MAXSYSCALL	379
    733   1.49  jdolecek #define	LINUX_SYS_NSYSENT	512
    734   1.57      matt #endif /* _LINUX_SYS_SYSCALL_H_ */
    735