Home | History | Annotate | Line # | Download | only in aarch64
      1  1.1  ryo /* $NetBSD: linux32_syscall.h,v 1.3 2021/12/02 04:39:45 ryo Exp $ */
      2  1.1  ryo 
      3  1.1  ryo /*
      4  1.1  ryo  * System call numbers.
      5  1.1  ryo  *
      6  1.1  ryo  * DO NOT EDIT-- this file is automatically generated.
      7  1.2  ryo  * created from	NetBSD: syscalls.master,v 1.2 2021/11/27 21:15:07 ryo Exp
      8  1.1  ryo  */
      9  1.1  ryo 
     10  1.1  ryo #ifndef _LINUX32_SYS_SYSCALL_H_
     11  1.1  ryo #define	_LINUX32_SYS_SYSCALL_H_
     12  1.1  ryo 
     13  1.1  ryo #define	LINUX32_SYS_MAXSYSARGS	8
     14  1.1  ryo 
     15  1.1  ryo /* syscall: "syscall" ret: "int" args: */
     16  1.1  ryo #define	LINUX32_SYS_syscall	0
     17  1.1  ryo 
     18  1.1  ryo /* syscall: "exit" ret: "int" args: "int" */
     19  1.1  ryo #define	LINUX32_SYS_exit	1
     20  1.1  ryo 
     21  1.1  ryo /* syscall: "fork" ret: "int" args: */
     22  1.1  ryo #define	LINUX32_SYS_fork	2
     23  1.1  ryo 
     24  1.1  ryo /* syscall: "netbsd32_read" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" */
     25  1.1  ryo #define	LINUX32_SYS_netbsd32_read	3
     26  1.1  ryo 
     27  1.1  ryo /* syscall: "netbsd32_write" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" */
     28  1.1  ryo #define	LINUX32_SYS_netbsd32_write	4
     29  1.1  ryo 
     30  1.1  ryo /* syscall: "open" ret: "int" args: "netbsd32_charp" "int" "linux_umode_t" */
     31  1.1  ryo #define	LINUX32_SYS_open	5
     32  1.1  ryo 
     33  1.1  ryo /* syscall: "netbsd32_close" ret: "int" args: "int" */
     34  1.1  ryo #define	LINUX32_SYS_netbsd32_close	6
     35  1.1  ryo 
     36  1.1  ryo /* syscall: "waitpid" ret: "int" args: "int" "netbsd32_intp" "int" */
     37  1.1  ryo #define	LINUX32_SYS_waitpid	7
     38  1.1  ryo 
     39  1.1  ryo /* syscall: "creat" ret: "int" args: "netbsd32_charp" "linux_umode_t" */
     40  1.1  ryo #define	LINUX32_SYS_creat	8
     41  1.1  ryo 
     42  1.1  ryo /* syscall: "netbsd32_link" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */
     43  1.1  ryo #define	LINUX32_SYS_netbsd32_link	9
     44  1.1  ryo 
     45  1.1  ryo /* syscall: "unlink" ret: "int" args: "netbsd32_charp" */
     46  1.1  ryo #define	LINUX32_SYS_unlink	10
     47  1.1  ryo 
     48  1.1  ryo /* syscall: "netbsd32_execve" ret: "int" args: "netbsd32_charp" "netbsd32_charpp" "netbsd32_charpp" */
     49  1.1  ryo #define	LINUX32_SYS_netbsd32_execve	11
     50  1.1  ryo 
     51  1.1  ryo /* syscall: "netbsd32_chdir" ret: "int" args: "netbsd32_charp" */
     52  1.1  ryo #define	LINUX32_SYS_netbsd32_chdir	12
     53  1.1  ryo 
     54  1.1  ryo /* syscall: "time" ret: "int" args: "linux32_timep_t" */
     55  1.1  ryo #define	LINUX32_SYS_time	13
     56  1.1  ryo 
     57  1.1  ryo /* syscall: "mknod" ret: "int" args: "netbsd32_charp" "linux_umode_t" "unsigned" */
     58  1.1  ryo #define	LINUX32_SYS_mknod	14
     59  1.1  ryo 
     60  1.1  ryo /* syscall: "netbsd32_chmod" ret: "int" args: "netbsd32_charp" "linux_umode_t" */
     61  1.1  ryo #define	LINUX32_SYS_netbsd32_chmod	15
     62  1.1  ryo 
     63  1.1  ryo /* syscall: "lchown16" ret: "int" args: "netbsd32_charp" "linux32_uid16_t" "linux32_gid16_t" */
     64  1.1  ryo #define	LINUX32_SYS_lchown16	16
     65  1.1  ryo 
     66  1.1  ryo 				/* 17 is obsolete break */
     67  1.1  ryo 				/* 18 is obsolete ostat */
     68  1.1  ryo /* syscall: "compat_43_netbsd32_olseek" ret: "netbsd32_long" args: "int" "netbsd32_long" "int" */
     69  1.1  ryo #define	LINUX32_SYS_compat_43_netbsd32_olseek	19
     70  1.1  ryo 
     71  1.1  ryo /* syscall: "getpid" ret: "pid_t" args: */
     72  1.1  ryo #define	LINUX32_SYS_getpid	20
     73  1.1  ryo 
     74  1.1  ryo /* syscall: "linux_setuid16" ret: "int" args: "uid_t" */
     75  1.1  ryo #define	LINUX32_SYS_linux_setuid16	23
     76  1.1  ryo 
     77  1.1  ryo /* syscall: "linux_getuid16" ret: "uid_t" args: */
     78  1.1  ryo #define	LINUX32_SYS_linux_getuid16	24
     79  1.1  ryo 
     80  1.1  ryo /* syscall: "stime" ret: "int" args: "linux32_timep_t" */
     81  1.1  ryo #define	LINUX32_SYS_stime	25
     82  1.1  ryo 
     83  1.1  ryo /* syscall: "ptrace" ret: "int" args: "int" "int" "int" "int" */
     84  1.1  ryo #define	LINUX32_SYS_ptrace	26
     85  1.1  ryo 
     86  1.1  ryo /* syscall: "alarm" ret: "int" args: "unsigned int" */
     87  1.1  ryo #define	LINUX32_SYS_alarm	27
     88  1.1  ryo 
     89  1.1  ryo 				/* 28 is obsolete ofstat */
     90  1.1  ryo /* syscall: "pause" ret: "int" args: */
     91  1.1  ryo #define	LINUX32_SYS_pause	29
     92  1.1  ryo 
     93  1.1  ryo /* syscall: "utime" ret: "int" args: "netbsd32_charp" "linux32_utimbufp_t" */
     94  1.1  ryo #define	LINUX32_SYS_utime	30
     95  1.1  ryo 
     96  1.1  ryo 				/* 31 is obsolete stty */
     97  1.1  ryo 				/* 32 is obsolete gtty */
     98  1.1  ryo /* syscall: "netbsd32_access" ret: "int" args: "netbsd32_charp" "int" */
     99  1.1  ryo #define	LINUX32_SYS_netbsd32_access	33
    100  1.1  ryo 
    101  1.1  ryo /* syscall: "nice" ret: "int" args: "int" */
    102  1.1  ryo #define	LINUX32_SYS_nice	34
    103  1.1  ryo 
    104  1.1  ryo 				/* 35 is obsolete ftime */
    105  1.1  ryo /* syscall: "sync" ret: "int" args: */
    106  1.1  ryo #define	LINUX32_SYS_sync	36
    107  1.1  ryo 
    108  1.1  ryo /* syscall: "kill" ret: "int" args: "int" "int" */
    109  1.1  ryo #define	LINUX32_SYS_kill	37
    110  1.1  ryo 
    111  1.1  ryo /* syscall: "netbsd32___posix_rename" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */
    112  1.1  ryo #define	LINUX32_SYS_netbsd32___posix_rename	38
    113  1.1  ryo 
    114  1.1  ryo /* syscall: "netbsd32_mkdir" ret: "int" args: "netbsd32_charp" "linux_umode_t" */
    115  1.1  ryo #define	LINUX32_SYS_netbsd32_mkdir	39
    116  1.1  ryo 
    117  1.1  ryo /* syscall: "netbsd32_rmdir" ret: "int" args: "netbsd32_charp" */
    118  1.1  ryo #define	LINUX32_SYS_netbsd32_rmdir	40
    119  1.1  ryo 
    120  1.1  ryo /* syscall: "netbsd32_dup" ret: "int" args: "int" */
    121  1.1  ryo #define	LINUX32_SYS_netbsd32_dup	41
    122  1.1  ryo 
    123  1.1  ryo /* syscall: "pipe" ret: "int" args: "netbsd32_intp" */
    124  1.1  ryo #define	LINUX32_SYS_pipe	42
    125  1.1  ryo 
    126  1.1  ryo /* syscall: "times" ret: "int" args: "linux32_tmsp_t" */
    127  1.1  ryo #define	LINUX32_SYS_times	43
    128  1.1  ryo 
    129  1.1  ryo 				/* 44 is obsolete prof */
    130  1.1  ryo /* syscall: "brk" ret: "int" args: "netbsd32_charp" */
    131  1.1  ryo #define	LINUX32_SYS_brk	45
    132  1.1  ryo 
    133  1.1  ryo /* syscall: "linux_setgid16" ret: "int" args: "gid_t" */
    134  1.1  ryo #define	LINUX32_SYS_linux_setgid16	46
    135  1.1  ryo 
    136  1.1  ryo /* syscall: "linux_getgid16" ret: "gid_t" args: */
    137  1.1  ryo #define	LINUX32_SYS_linux_getgid16	47
    138  1.1  ryo 
    139  1.1  ryo /* syscall: "signal" ret: "int" args: "int" "linux32_handlerp_t" */
    140  1.1  ryo #define	LINUX32_SYS_signal	48
    141  1.1  ryo 
    142  1.1  ryo /* syscall: "linux_geteuid16" ret: "uid_t" args: */
    143  1.1  ryo #define	LINUX32_SYS_linux_geteuid16	49
    144  1.1  ryo 
    145  1.1  ryo /* syscall: "linux_getegid16" ret: "gid_t" args: */
    146  1.1  ryo #define	LINUX32_SYS_linux_getegid16	50
    147  1.1  ryo 
    148  1.1  ryo /* syscall: "netbsd32_acct" ret: "int" args: "netbsd32_charp" */
    149  1.1  ryo #define	LINUX32_SYS_netbsd32_acct	51
    150  1.1  ryo 
    151  1.1  ryo 				/* 52 is obsolete phys */
    152  1.1  ryo 				/* 53 is obsolete lock */
    153  1.1  ryo /* syscall: "ioctl" ret: "int" args: "int" "netbsd32_u_long" "netbsd32_charp" */
    154  1.1  ryo #define	LINUX32_SYS_ioctl	54
    155  1.1  ryo 
    156  1.1  ryo /* syscall: "fcntl" ret: "int" args: "int" "int" "netbsd32_voidp" */
    157  1.1  ryo #define	LINUX32_SYS_fcntl	55
    158  1.1  ryo 
    159  1.1  ryo 				/* 56 is obsolete mpx */
    160  1.1  ryo /* syscall: "netbsd32_setpgid" ret: "int" args: "int" "int" */
    161  1.1  ryo #define	LINUX32_SYS_netbsd32_setpgid	57
    162  1.1  ryo 
    163  1.1  ryo 				/* 58 is obsolete ulimit */
    164  1.1  ryo /* syscall: "oldolduname" ret: "int" args: "linux32_oldold_utsnamep_t" */
    165  1.1  ryo #define	LINUX32_SYS_oldolduname	59
    166  1.1  ryo 
    167  1.1  ryo /* syscall: "netbsd32_umask" ret: "int" args: "int" */
    168  1.1  ryo #define	LINUX32_SYS_netbsd32_umask	60
    169  1.1  ryo 
    170  1.1  ryo /* syscall: "netbsd32_chroot" ret: "int" args: "netbsd32_charp" */
    171  1.1  ryo #define	LINUX32_SYS_netbsd32_chroot	61
    172  1.1  ryo 
    173  1.1  ryo /* syscall: "netbsd32_dup2" ret: "int" args: "int" "int" */
    174  1.1  ryo #define	LINUX32_SYS_netbsd32_dup2	63
    175  1.1  ryo 
    176  1.1  ryo /* syscall: "getppid" ret: "pid_t" args: */
    177  1.1  ryo #define	LINUX32_SYS_getppid	64
    178  1.1  ryo 
    179  1.1  ryo /* syscall: "getpgrp" ret: "int" args: */
    180  1.1  ryo #define	LINUX32_SYS_getpgrp	65
    181  1.1  ryo 
    182  1.1  ryo /* syscall: "setsid" ret: "int" args: */
    183  1.1  ryo #define	LINUX32_SYS_setsid	66
    184  1.1  ryo 
    185  1.1  ryo /* syscall: "siggetmask" ret: "int" args: */
    186  1.1  ryo #define	LINUX32_SYS_siggetmask	68
    187  1.1  ryo 
    188  1.1  ryo /* syscall: "sigsetmask" ret: "int" args: "linux32_old_sigset_t" */
    189  1.1  ryo #define	LINUX32_SYS_sigsetmask	69
    190  1.1  ryo 
    191  1.1  ryo /* syscall: "setreuid16" ret: "int" args: "linux32_uid16_t" "linux32_uid16_t" */
    192  1.1  ryo #define	LINUX32_SYS_setreuid16	70
    193  1.1  ryo 
    194  1.1  ryo /* syscall: "setregid16" ret: "int" args: "linux32_gid16_t" "linux32_gid16_t" */
    195  1.1  ryo #define	LINUX32_SYS_setregid16	71
    196  1.1  ryo 
    197  1.1  ryo /* syscall: "compat_43_netbsd32_osethostname" ret: "int" args: "netbsd32_charp" "u_int" */
    198  1.1  ryo #define	LINUX32_SYS_compat_43_netbsd32_osethostname	74
    199  1.1  ryo 
    200  1.1  ryo /* syscall: "setrlimit" ret: "int" args: "u_int" "netbsd32_orlimitp_t" */
    201  1.1  ryo #define	LINUX32_SYS_setrlimit	75
    202  1.1  ryo 
    203  1.1  ryo /* syscall: "getrlimit" ret: "int" args: "u_int" "netbsd32_orlimitp_t" */
    204  1.1  ryo #define	LINUX32_SYS_getrlimit	76
    205  1.1  ryo 
    206  1.1  ryo /* syscall: "compat_50_netbsd32_getrusage" ret: "int" args: "int" "netbsd32_rusage50p_t" */
    207  1.1  ryo #define	LINUX32_SYS_compat_50_netbsd32_getrusage	77
    208  1.1  ryo 
    209  1.1  ryo /* syscall: "gettimeofday" ret: "int" args: "netbsd32_timeval50p_t" "netbsd32_timezonep_t" */
    210  1.1  ryo #define	LINUX32_SYS_gettimeofday	78
    211  1.1  ryo 
    212  1.1  ryo /* syscall: "settimeofday" ret: "int" args: "netbsd32_timeval50p_t" "netbsd32_timezonep_t" */
    213  1.1  ryo #define	LINUX32_SYS_settimeofday	79
    214  1.1  ryo 
    215  1.1  ryo /* syscall: "getgroups16" ret: "int" args: "int" "linux32_gid16p_t" */
    216  1.1  ryo #define	LINUX32_SYS_getgroups16	80
    217  1.1  ryo 
    218  1.1  ryo /* syscall: "setgroups16" ret: "int" args: "int" "linux32_gid16p_t" */
    219  1.1  ryo #define	LINUX32_SYS_setgroups16	81
    220  1.1  ryo 
    221  1.1  ryo /* syscall: "oldselect" ret: "int" args: "linux32_oldselectp_t" */
    222  1.1  ryo #define	LINUX32_SYS_oldselect	82
    223  1.1  ryo 
    224  1.1  ryo /* syscall: "netbsd32_symlink" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */
    225  1.1  ryo #define	LINUX32_SYS_netbsd32_symlink	83
    226  1.1  ryo 
    227  1.1  ryo /* syscall: "compat_43_netbsd32_lstat43" ret: "int" args: "netbsd32_charp" "netbsd32_stat43p_t" */
    228  1.1  ryo #define	LINUX32_SYS_compat_43_netbsd32_lstat43	84
    229  1.1  ryo 
    230  1.1  ryo /* syscall: "netbsd32_readlink" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */
    231  1.1  ryo #define	LINUX32_SYS_netbsd32_readlink	85
    232  1.1  ryo 
    233  1.1  ryo /* syscall: "swapon" ret: "int" args: "netbsd32_charp" */
    234  1.1  ryo #define	LINUX32_SYS_swapon	87
    235  1.1  ryo 
    236  1.1  ryo /* syscall: "reboot" ret: "int" args: "int" "int" "int" "netbsd32_voidp" */
    237  1.1  ryo #define	LINUX32_SYS_reboot	88
    238  1.1  ryo 
    239  1.1  ryo /* syscall: "readdir" ret: "int" args: "int" "netbsd32_voidp" "unsigned int" */
    240  1.1  ryo #define	LINUX32_SYS_readdir	89
    241  1.1  ryo 
    242  1.1  ryo /* syscall: "old_mmap" ret: "int" args: "linux32_oldmmapp" */
    243  1.1  ryo #define	LINUX32_SYS_old_mmap	90
    244  1.1  ryo 
    245  1.1  ryo /* syscall: "netbsd32_munmap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */
    246  1.1  ryo #define	LINUX32_SYS_netbsd32_munmap	91
    247  1.1  ryo 
    248  1.1  ryo /* syscall: "compat_43_netbsd32_otruncate" ret: "int" args: "netbsd32_charp" "netbsd32_long" */
    249  1.1  ryo #define	LINUX32_SYS_compat_43_netbsd32_otruncate	92
    250  1.1  ryo 
    251  1.1  ryo /* syscall: "compat_43_netbsd32_oftruncate" ret: "int" args: "int" "netbsd32_long" */
    252  1.1  ryo #define	LINUX32_SYS_compat_43_netbsd32_oftruncate	93
    253  1.1  ryo 
    254  1.1  ryo /* syscall: "netbsd32_fchmod" ret: "int" args: "int" "linux_umode_t" */
    255  1.1  ryo #define	LINUX32_SYS_netbsd32_fchmod	94
    256  1.1  ryo 
    257  1.1  ryo /* syscall: "fchown16" ret: "int" args: "int" "linux32_uid16_t" "linux32_gid16_t" */
    258  1.1  ryo #define	LINUX32_SYS_fchown16	95
    259  1.1  ryo 
    260  1.1  ryo /* syscall: "getpriority" ret: "int" args: "int" "int" */
    261  1.1  ryo #define	LINUX32_SYS_getpriority	96
    262  1.1  ryo 
    263  1.1  ryo /* syscall: "netbsd32_setpriority" ret: "int" args: "int" "int" "int" */
    264  1.1  ryo #define	LINUX32_SYS_netbsd32_setpriority	97
    265  1.1  ryo 
    266  1.1  ryo /* syscall: "netbsd32_profil" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_u_long" "u_int" */
    267  1.1  ryo #define	LINUX32_SYS_netbsd32_profil	98
    268  1.1  ryo 
    269  1.1  ryo /* syscall: "statfs" ret: "int" args: "netbsd32_charp" "linux32_statfsp" */
    270  1.1  ryo #define	LINUX32_SYS_statfs	99
    271  1.1  ryo 
    272  1.1  ryo /* syscall: "fstatfs" ret: "int" args: "int" "linux32_statfsp" */
    273  1.1  ryo #define	LINUX32_SYS_fstatfs	100
    274  1.1  ryo 
    275  1.1  ryo /* syscall: "socketcall" ret: "int" args: "int" "netbsd32_voidp" */
    276  1.1  ryo #define	LINUX32_SYS_socketcall	102
    277  1.1  ryo 
    278  1.1  ryo /* syscall: "compat_50_netbsd32_setitimer" ret: "int" args: "int" "netbsd32_itimerval50p_t" "netbsd32_itimerval50p_t" */
    279  1.1  ryo #define	LINUX32_SYS_compat_50_netbsd32_setitimer	104
    280  1.1  ryo 
    281  1.1  ryo /* syscall: "compat_50_netbsd32_getitimer" ret: "int" args: "int" "netbsd32_itimerval50p_t" */
    282  1.1  ryo #define	LINUX32_SYS_compat_50_netbsd32_getitimer	105
    283  1.1  ryo 
    284  1.1  ryo /* syscall: "stat" ret: "int" args: "netbsd32_charp" "linux32_statp" */
    285  1.1  ryo #define	LINUX32_SYS_stat	106
    286  1.1  ryo 
    287  1.1  ryo /* syscall: "lstat" ret: "int" args: "netbsd32_charp" "linux32_statp" */
    288  1.1  ryo #define	LINUX32_SYS_lstat	107
    289  1.1  ryo 
    290  1.1  ryo /* syscall: "fstat" ret: "int" args: "int" "linux32_statp" */
    291  1.1  ryo #define	LINUX32_SYS_fstat	108
    292  1.1  ryo 
    293  1.1  ryo /* syscall: "olduname" ret: "int" args: "linux32_oldutsnamep_t" */
    294  1.1  ryo #define	LINUX32_SYS_olduname	109
    295  1.1  ryo 
    296  1.1  ryo /* syscall: "wait4" ret: "int" args: "int" "netbsd32_intp" "int" "netbsd32_rusage50p_t" */
    297  1.1  ryo #define	LINUX32_SYS_wait4	114
    298  1.1  ryo 
    299  1.1  ryo /* syscall: "swapoff" ret: "int" args: "netbsd32_charp" */
    300  1.1  ryo #define	LINUX32_SYS_swapoff	115
    301  1.1  ryo 
    302  1.1  ryo /* syscall: "sysinfo" ret: "int" args: "linux32_sysinfop_t" */
    303  1.1  ryo #define	LINUX32_SYS_sysinfo	116
    304  1.1  ryo 
    305  1.1  ryo /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "netbsd32_voidp" */
    306  1.1  ryo #define	LINUX32_SYS_ipc	117
    307  1.1  ryo 
    308  1.1  ryo /* syscall: "netbsd32_fsync" ret: "int" args: "int" */
    309  1.1  ryo #define	LINUX32_SYS_netbsd32_fsync	118
    310  1.1  ryo 
    311  1.1  ryo /* syscall: "sigreturn" ret: "int" args: "linux32_sigcontextp_t" */
    312  1.1  ryo #define	LINUX32_SYS_sigreturn	119
    313  1.1  ryo 
    314  1.1  ryo /* syscall: "clone" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_voidp" "netbsd32_voidp" "netbsd32_voidp" */
    315  1.1  ryo #define	LINUX32_SYS_clone	120
    316  1.1  ryo 
    317  1.1  ryo /* syscall: "setdomainname" ret: "int" args: "netbsd32_charp" "int" */
    318  1.1  ryo #define	LINUX32_SYS_setdomainname	121
    319  1.1  ryo 
    320  1.1  ryo /* syscall: "uname" ret: "int" args: "linux32_utsnamep" */
    321  1.1  ryo #define	LINUX32_SYS_uname	122
    322  1.1  ryo 
    323  1.1  ryo /* syscall: "mprotect" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
    324  1.1  ryo #define	LINUX32_SYS_mprotect	125
    325  1.1  ryo 
    326  1.1  ryo /* syscall: "netbsd32_getpgid" ret: "int" args: "pid_t" */
    327  1.1  ryo #define	LINUX32_SYS_netbsd32_getpgid	132
    328  1.1  ryo 
    329  1.1  ryo /* syscall: "netbsd32_fchdir" ret: "int" args: "int" */
    330  1.1  ryo #define	LINUX32_SYS_netbsd32_fchdir	133
    331  1.1  ryo 
    332  1.1  ryo /* syscall: "personality" ret: "int" args: "netbsd32_u_long" */
    333  1.1  ryo #define	LINUX32_SYS_personality	136
    334  1.1  ryo 
    335  1.1  ryo /* syscall: "setfsuid16" ret: "int" args: "uid_t" */
    336  1.1  ryo #define	LINUX32_SYS_setfsuid16	138
    337  1.1  ryo 
    338  1.1  ryo /* syscall: "setfsgid16" ret: "int" args: "gid_t" */
    339  1.1  ryo #define	LINUX32_SYS_setfsgid16	139
    340  1.1  ryo 
    341  1.1  ryo /* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "netbsd32_voidp" "int" */
    342  1.1  ryo #define	LINUX32_SYS_llseek	140
    343  1.1  ryo 
    344  1.1  ryo /* syscall: "getdents" ret: "int" args: "int" "linux32_direntp_t" "unsigned int" */
    345  1.1  ryo #define	LINUX32_SYS_getdents	141
    346  1.1  ryo 
    347  1.1  ryo /* syscall: "select" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_timeval50p_t" */
    348  1.1  ryo #define	LINUX32_SYS_select	142
    349  1.1  ryo 
    350  1.1  ryo /* syscall: "netbsd32_flock" ret: "int" args: "int" "int" */
    351  1.1  ryo #define	LINUX32_SYS_netbsd32_flock	143
    352  1.1  ryo 
    353  1.1  ryo /* syscall: "netbsd32___msync13" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
    354  1.1  ryo #define	LINUX32_SYS_netbsd32___msync13	144
    355  1.1  ryo 
    356  1.1  ryo /* syscall: "netbsd32_readv" ret: "int" args: "int" "netbsd32_iovecp_t" "int" */
    357  1.1  ryo #define	LINUX32_SYS_netbsd32_readv	145
    358  1.1  ryo 
    359  1.1  ryo /* syscall: "netbsd32_writev" ret: "netbsd32_ssize_t" args: "int" "netbsd32_iovecp_t" "int" */
    360  1.1  ryo #define	LINUX32_SYS_netbsd32_writev	146
    361  1.1  ryo 
    362  1.1  ryo /* syscall: "netbsd32_getsid" ret: "pid_t" args: "pid_t" */
    363  1.1  ryo #define	LINUX32_SYS_netbsd32_getsid	147
    364  1.1  ryo 
    365  1.1  ryo /* syscall: "fdatasync" ret: "int" args: "int" */
    366  1.1  ryo #define	LINUX32_SYS_fdatasync	148
    367  1.1  ryo 
    368  1.1  ryo /* syscall: "__sysctl" ret: "int" args: "linux32___sysctlp_t" */
    369  1.1  ryo #define	LINUX32_SYS___sysctl	149
    370  1.1  ryo 
    371  1.1  ryo /* syscall: "netbsd32_mlock" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */
    372  1.1  ryo #define	LINUX32_SYS_netbsd32_mlock	150
    373  1.1  ryo 
    374  1.1  ryo /* syscall: "netbsd32_munlock" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */
    375  1.1  ryo #define	LINUX32_SYS_netbsd32_munlock	151
    376  1.1  ryo 
    377  1.1  ryo /* syscall: "netbsd32_mlockall" ret: "int" args: "int" */
    378  1.1  ryo #define	LINUX32_SYS_netbsd32_mlockall	152
    379  1.1  ryo 
    380  1.1  ryo /* syscall: "munlockall" ret: "int" args: */
    381  1.1  ryo #define	LINUX32_SYS_munlockall	153
    382  1.1  ryo 
    383  1.1  ryo /* syscall: "sched_setparam" ret: "int" args: "pid_t" "const linux32_sched_paramp_t" */
    384  1.1  ryo #define	LINUX32_SYS_sched_setparam	154
    385  1.1  ryo 
    386  1.1  ryo /* syscall: "sched_getparam" ret: "int" args: "pid_t" "linux32_sched_paramp_t" */
    387  1.1  ryo #define	LINUX32_SYS_sched_getparam	155
    388  1.1  ryo 
    389  1.1  ryo /* syscall: "sched_setscheduler" ret: "int" args: "pid_t" "int" "linux32_sched_paramp_t" */
    390  1.1  ryo #define	LINUX32_SYS_sched_setscheduler	156
    391  1.1  ryo 
    392  1.1  ryo /* syscall: "sched_getscheduler" ret: "int" args: "pid_t" */
    393  1.1  ryo #define	LINUX32_SYS_sched_getscheduler	157
    394  1.1  ryo 
    395  1.1  ryo /* syscall: "sched_yield" ret: "int" args: */
    396  1.1  ryo #define	LINUX32_SYS_sched_yield	158
    397  1.1  ryo 
    398  1.1  ryo /* syscall: "sched_get_priority_max" ret: "int" args: "int" */
    399  1.1  ryo #define	LINUX32_SYS_sched_get_priority_max	159
    400  1.1  ryo 
    401  1.1  ryo /* syscall: "sched_get_priority_min" ret: "int" args: "int" */
    402  1.1  ryo #define	LINUX32_SYS_sched_get_priority_min	160
    403  1.1  ryo 
    404  1.1  ryo /* syscall: "nanosleep" ret: "int" args: "linux32_timespecp_t" "linux32_timespecp_t" */
    405  1.1  ryo #define	LINUX32_SYS_nanosleep	162
    406  1.1  ryo 
    407  1.1  ryo /* syscall: "mremap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_size_t" "netbsd32_u_long" */
    408  1.1  ryo #define	LINUX32_SYS_mremap	163
    409  1.1  ryo 
    410  1.1  ryo /* syscall: "setresuid16" ret: "int" args: "linux32_uid16_t" "linux32_uid16_t" "linux32_uid16_t" */
    411  1.1  ryo #define	LINUX32_SYS_setresuid16	164
    412  1.1  ryo 
    413  1.1  ryo /* syscall: "getresuid16" ret: "int" args: "linux32_uid16p_t" "linux32_uid16p_t" "linux32_uid16p_t" */
    414  1.1  ryo #define	LINUX32_SYS_getresuid16	165
    415  1.1  ryo 
    416  1.1  ryo /* syscall: "netbsd32_poll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "int" */
    417  1.1  ryo #define	LINUX32_SYS_netbsd32_poll	168
    418  1.1  ryo 
    419  1.1  ryo /* syscall: "setresgid16" ret: "int" args: "linux32_gid16_t" "linux32_gid16_t" "linux32_gid16_t" */
    420  1.1  ryo #define	LINUX32_SYS_setresgid16	170
    421  1.1  ryo 
    422  1.1  ryo /* syscall: "getresgid16" ret: "int" args: "linux32_gid16p_t" "linux32_gid16p_t" "linux32_gid16p_t" */
    423  1.1  ryo #define	LINUX32_SYS_getresgid16	171
    424  1.1  ryo 
    425  1.1  ryo /* syscall: "rt_sigreturn" ret: "int" args: "linux32_ucontextp_t" */
    426  1.1  ryo #define	LINUX32_SYS_rt_sigreturn	173
    427  1.1  ryo 
    428  1.1  ryo /* syscall: "rt_sigaction" ret: "int" args: "int" "linux32_sigactionp_t" "linux32_sigactionp_t" "netbsd32_size_t" */
    429  1.1  ryo #define	LINUX32_SYS_rt_sigaction	174
    430  1.1  ryo 
    431  1.1  ryo /* syscall: "rt_sigprocmask" ret: "int" args: "int" "linux32_sigsetp_t" "linux32_sigsetp_t" "netbsd32_size_t" */
    432  1.1  ryo #define	LINUX32_SYS_rt_sigprocmask	175
    433  1.1  ryo 
    434  1.1  ryo /* syscall: "rt_sigpending" ret: "int" args: "linux32_sigsetp_t" "netbsd32_size_t" */
    435  1.1  ryo #define	LINUX32_SYS_rt_sigpending	176
    436  1.1  ryo 
    437  1.1  ryo /* syscall: "rt_sigtimedwait" ret: "int" args: "const linux32_sigsetp_t" "linux32_siginfop_t" "const linux32_timespecp_t" */
    438  1.1  ryo #define	LINUX32_SYS_rt_sigtimedwait	177
    439  1.1  ryo 
    440  1.1  ryo /* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "linux32_siginfop_t" */
    441  1.1  ryo #define	LINUX32_SYS_rt_queueinfo	178
    442  1.1  ryo 
    443  1.1  ryo /* syscall: "rt_sigsuspend" ret: "int" args: "linux32_sigsetp_t" "netbsd32_size_t" */
    444  1.1  ryo #define	LINUX32_SYS_rt_sigsuspend	179
    445  1.1  ryo 
    446  1.1  ryo /* syscall: "pread" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "netbsd32_off_t" */
    447  1.1  ryo #define	LINUX32_SYS_pread	180
    448  1.1  ryo 
    449  1.1  ryo /* syscall: "pwrite" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "netbsd32_off_t" */
    450  1.1  ryo #define	LINUX32_SYS_pwrite	181
    451  1.1  ryo 
    452  1.1  ryo /* syscall: "chown16" ret: "int" args: "netbsd32_charp" "linux32_uid16_t" "linux32_gid16_t" */
    453  1.1  ryo #define	LINUX32_SYS_chown16	182
    454  1.1  ryo 
    455  1.1  ryo /* syscall: "netbsd32___getcwd" ret: "int" args: "netbsd32_charp" "netbsd32_size_t" */
    456  1.1  ryo #define	LINUX32_SYS_netbsd32___getcwd	183
    457  1.1  ryo 
    458  1.1  ryo /* syscall: "__vfork14" ret: "int" args: */
    459  1.1  ryo #define	LINUX32_SYS___vfork14	190
    460  1.1  ryo 
    461  1.1  ryo /* syscall: "ugetrlimit" ret: "int" args: "int" "netbsd32_orlimitp_t" */
    462  1.1  ryo #define	LINUX32_SYS_ugetrlimit	191
    463  1.1  ryo 
    464  1.1  ryo /* syscall: "mmap2" ret: "linux32_off_t" args: "netbsd32_u_long" "netbsd32_size_t" "int" "int" "int" "linux32_off_t" */
    465  1.1  ryo #define	LINUX32_SYS_mmap2	192
    466  1.1  ryo 
    467  1.1  ryo /* syscall: "truncate64" ret: "int" args: "netbsd32_charp" "uint32_t" "uint32_t" */
    468  1.1  ryo #define	LINUX32_SYS_truncate64	193
    469  1.1  ryo 
    470  1.1  ryo /* syscall: "ftruncate64" ret: "int" args: "unsigned int" "uint32_t" "uint32_t" */
    471  1.1  ryo #define	LINUX32_SYS_ftruncate64	194
    472  1.1  ryo 
    473  1.1  ryo /* syscall: "stat64" ret: "int" args: "netbsd32_charp" "linux32_stat64p" */
    474  1.1  ryo #define	LINUX32_SYS_stat64	195
    475  1.1  ryo 
    476  1.1  ryo /* syscall: "lstat64" ret: "int" args: "netbsd32_charp" "linux32_stat64p" */
    477  1.1  ryo #define	LINUX32_SYS_lstat64	196
    478  1.1  ryo 
    479  1.1  ryo /* syscall: "fstat64" ret: "int" args: "int" "linux32_stat64p" */
    480  1.1  ryo #define	LINUX32_SYS_fstat64	197
    481  1.1  ryo 
    482  1.1  ryo /* syscall: "netbsd32___posix_lchown" ret: "int" args: "netbsd32_charp" "uid_t" "gid_t" */
    483  1.1  ryo #define	LINUX32_SYS_netbsd32___posix_lchown	198
    484  1.1  ryo 
    485  1.1  ryo /* syscall: "getuid" ret: "uid_t" args: */
    486  1.1  ryo #define	LINUX32_SYS_getuid	199
    487  1.1  ryo 
    488  1.1  ryo /* syscall: "getgid" ret: "gid_t" args: */
    489  1.1  ryo #define	LINUX32_SYS_getgid	200
    490  1.1  ryo 
    491  1.1  ryo /* syscall: "geteuid" ret: "uid_t" args: */
    492  1.1  ryo #define	LINUX32_SYS_geteuid	201
    493  1.1  ryo 
    494  1.1  ryo /* syscall: "getegid" ret: "gid_t" args: */
    495  1.1  ryo #define	LINUX32_SYS_getegid	202
    496  1.1  ryo 
    497  1.1  ryo /* syscall: "netbsd32_setreuid" ret: "int" args: "uid_t" "uid_t" */
    498  1.1  ryo #define	LINUX32_SYS_netbsd32_setreuid	203
    499  1.1  ryo 
    500  1.1  ryo /* syscall: "netbsd32_setregid" ret: "int" args: "gid_t" "gid_t" */
    501  1.1  ryo #define	LINUX32_SYS_netbsd32_setregid	204
    502  1.1  ryo 
    503  1.1  ryo /* syscall: "netbsd32_getgroups" ret: "int" args: "int" "netbsd32_gid_tp" */
    504  1.1  ryo #define	LINUX32_SYS_netbsd32_getgroups	205
    505  1.1  ryo 
    506  1.1  ryo /* syscall: "netbsd32_setgroups" ret: "int" args: "int" "netbsd32_gid_tp" */
    507  1.1  ryo #define	LINUX32_SYS_netbsd32_setgroups	206
    508  1.1  ryo 
    509  1.1  ryo /* syscall: "netbsd32___posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
    510  1.1  ryo #define	LINUX32_SYS_netbsd32___posix_fchown	207
    511  1.1  ryo 
    512  1.1  ryo /* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
    513  1.1  ryo #define	LINUX32_SYS_setresuid	208
    514  1.1  ryo 
    515  1.1  ryo /* syscall: "getresuid" ret: "int" args: "linux32_uidp_t" "linux32_uidp_t" "linux32_uidp_t" */
    516  1.1  ryo #define	LINUX32_SYS_getresuid	209
    517  1.1  ryo 
    518  1.1  ryo /* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
    519  1.1  ryo #define	LINUX32_SYS_setresgid	210
    520  1.1  ryo 
    521  1.1  ryo /* syscall: "getresgid" ret: "int" args: "linux32_gidp_t" "linux32_gidp_t" "linux32_gidp_t" */
    522  1.1  ryo #define	LINUX32_SYS_getresgid	211
    523  1.1  ryo 
    524  1.1  ryo /* syscall: "netbsd32___posix_chown" ret: "int" args: "netbsd32_charp" "uid_t" "gid_t" */
    525  1.1  ryo #define	LINUX32_SYS_netbsd32___posix_chown	212
    526  1.1  ryo 
    527  1.1  ryo /* syscall: "netbsd32_setuid" ret: "int" args: "uid_t" */
    528  1.1  ryo #define	LINUX32_SYS_netbsd32_setuid	213
    529  1.1  ryo 
    530  1.1  ryo /* syscall: "netbsd32_setgid" ret: "int" args: "gid_t" */
    531  1.1  ryo #define	LINUX32_SYS_netbsd32_setgid	214
    532  1.1  ryo 
    533  1.1  ryo /* syscall: "setfsuid" ret: "int" args: "uid_t" */
    534  1.1  ryo #define	LINUX32_SYS_setfsuid	215
    535  1.1  ryo 
    536  1.1  ryo /* syscall: "setfsgid" ret: "int" args: "gid_t" */
    537  1.1  ryo #define	LINUX32_SYS_setfsgid	216
    538  1.1  ryo 
    539  1.1  ryo /* syscall: "getdents64" ret: "int" args: "int" "linux32_dirent64p_t" "unsigned int" */
    540  1.1  ryo #define	LINUX32_SYS_getdents64	217
    541  1.1  ryo 
    542  1.1  ryo /* syscall: "netbsd32_mincore" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_charp" */
    543  1.1  ryo #define	LINUX32_SYS_netbsd32_mincore	219
    544  1.1  ryo 
    545  1.1  ryo /* syscall: "netbsd32_madvise" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
    546  1.1  ryo #define	LINUX32_SYS_netbsd32_madvise	220
    547  1.1  ryo 
    548  1.1  ryo #define linux32_sys_fcntl64 linux32_sys_fcntl
    549  1.1  ryo #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
    550  1.1  ryo /* syscall: "fcntl64" ret: "int" args: "int" "int" "netbsd32_voidp" */
    551  1.1  ryo #define	LINUX32_SYS_fcntl64	221
    552  1.1  ryo 
    553  1.1  ryo /* syscall: "gettid" ret: "pid_t" args: */
    554  1.1  ryo #define	LINUX32_SYS_gettid	224
    555  1.1  ryo 
    556  1.1  ryo /* syscall: "netbsd32_setxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */
    557  1.1  ryo #define	LINUX32_SYS_netbsd32_setxattr	226
    558  1.1  ryo 
    559  1.1  ryo /* syscall: "netbsd32_lsetxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */
    560  1.1  ryo #define	LINUX32_SYS_netbsd32_lsetxattr	227
    561  1.1  ryo 
    562  1.1  ryo /* syscall: "netbsd32_fsetxattr" ret: "int" args: "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */
    563  1.1  ryo #define	LINUX32_SYS_netbsd32_fsetxattr	228
    564  1.1  ryo 
    565  1.1  ryo /* syscall: "netbsd32_getxattr" ret: "ssize_t" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
    566  1.1  ryo #define	LINUX32_SYS_netbsd32_getxattr	229
    567  1.1  ryo 
    568  1.1  ryo /* syscall: "netbsd32_lgetxattr" ret: "ssize_t" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
    569  1.1  ryo #define	LINUX32_SYS_netbsd32_lgetxattr	230
    570  1.1  ryo 
    571  1.1  ryo /* syscall: "netbsd32_fgetxattr" ret: "ssize_t" args: "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
    572  1.1  ryo #define	LINUX32_SYS_netbsd32_fgetxattr	231
    573  1.1  ryo 
    574  1.1  ryo /* syscall: "netbsd32_listxattr" ret: "ssize_t" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */
    575  1.1  ryo #define	LINUX32_SYS_netbsd32_listxattr	232
    576  1.1  ryo 
    577  1.1  ryo /* syscall: "netbsd32_llistxattr" ret: "ssize_t" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */
    578  1.1  ryo #define	LINUX32_SYS_netbsd32_llistxattr	233
    579  1.1  ryo 
    580  1.1  ryo /* syscall: "netbsd32_flistxattr" ret: "ssize_t" args: "int" "netbsd32_charp" "netbsd32_size_t" */
    581  1.1  ryo #define	LINUX32_SYS_netbsd32_flistxattr	234
    582  1.1  ryo 
    583  1.1  ryo /* syscall: "netbsd32_removexattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */
    584  1.1  ryo #define	LINUX32_SYS_netbsd32_removexattr	235
    585  1.1  ryo 
    586  1.1  ryo /* syscall: "netbsd32_lremovexattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */
    587  1.1  ryo #define	LINUX32_SYS_netbsd32_lremovexattr	236
    588  1.1  ryo 
    589  1.1  ryo /* syscall: "netbsd32_fremovexattr" ret: "int" args: "int" "netbsd32_charp" */
    590  1.1  ryo #define	LINUX32_SYS_netbsd32_fremovexattr	237
    591  1.1  ryo 
    592  1.1  ryo /* syscall: "tkill" ret: "int" args: "int" "int" */
    593  1.1  ryo #define	LINUX32_SYS_tkill	238
    594  1.1  ryo 
    595  1.1  ryo /* syscall: "futex" ret: "int" args: "linux32_intp_t" "int" "int" "linux32_timespecp_t" "linux32_intp_t" "int" */
    596  1.1  ryo #define	LINUX32_SYS_futex	240
    597  1.1  ryo 
    598  1.1  ryo /* syscall: "sched_setaffinity" ret: "int" args: "pid_t" "unsigned int" "linux32_ulongp_t" */
    599  1.1  ryo #define	LINUX32_SYS_sched_setaffinity	241
    600  1.1  ryo 
    601  1.1  ryo /* syscall: "sched_getaffinity" ret: "int" args: "pid_t" "unsigned int" "linux32_ulongp_t" */
    602  1.1  ryo #define	LINUX32_SYS_sched_getaffinity	242
    603  1.1  ryo 
    604  1.1  ryo /* syscall: "exit_group" ret: "int" args: "int" */
    605  1.1  ryo #define	LINUX32_SYS_exit_group	248
    606  1.1  ryo 
    607  1.1  ryo /* syscall: "set_tid_address" ret: "int" args: "linux32_intp_t" */
    608  1.1  ryo #define	LINUX32_SYS_set_tid_address	256
    609  1.1  ryo 
    610  1.1  ryo /* syscall: "timer_create" ret: "int" args: "clockid_t" "struct linux32_sigevent *" "timer_t *" */
    611  1.1  ryo #define	LINUX32_SYS_timer_create	257
    612  1.1  ryo 
    613  1.1  ryo /* syscall: "timer_settime" ret: "int" args: "timer_t" "int" "const struct linux32_itimerspec *" "struct linux32_itimerspec *" */
    614  1.1  ryo #define	LINUX32_SYS_timer_settime	258
    615  1.1  ryo 
    616  1.1  ryo /* syscall: "timer_gettime" ret: "int" args: "timer_t" "struct linux32_itimerspec *" */
    617  1.1  ryo #define	LINUX32_SYS_timer_gettime	259
    618  1.1  ryo 
    619  1.1  ryo /* syscall: "timer_getoverrun" ret: "int" args: "timer_t" */
    620  1.1  ryo #define	LINUX32_SYS_timer_getoverrun	260
    621  1.1  ryo 
    622  1.1  ryo /* syscall: "timer_delete" ret: "int" args: "timer_t" */
    623  1.1  ryo #define	LINUX32_SYS_timer_delete	261
    624  1.1  ryo 
    625  1.1  ryo /* syscall: "clock_settime" ret: "int" args: "clockid_t" "linux32_timespecp_t" */
    626  1.1  ryo #define	LINUX32_SYS_clock_settime	262
    627  1.1  ryo 
    628  1.1  ryo /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "linux32_timespecp_t" */
    629  1.1  ryo #define	LINUX32_SYS_clock_gettime	263
    630  1.1  ryo 
    631  1.1  ryo /* syscall: "clock_getres" ret: "int" args: "clockid_t" "linux32_timespecp_t" */
    632  1.1  ryo #define	LINUX32_SYS_clock_getres	264
    633  1.1  ryo 
    634  1.1  ryo /* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "linux32_timespecp_t" "linux32_timespecp_t" */
    635  1.1  ryo #define	LINUX32_SYS_clock_nanosleep	265
    636  1.1  ryo 
    637  1.1  ryo /* syscall: "statfs64" ret: "int" args: "netbsd32_charp" "netbsd32_size_t" "linux32_statfs64p" */
    638  1.1  ryo #define	LINUX32_SYS_statfs64	266
    639  1.1  ryo 
    640  1.1  ryo /* syscall: "fstatfs64" ret: "int" args: "int" "netbsd32_size_t" "linux32_statfs64p" */
    641  1.1  ryo #define	LINUX32_SYS_fstatfs64	267
    642  1.1  ryo 
    643  1.1  ryo /* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
    644  1.1  ryo #define	LINUX32_SYS_tgkill	268
    645  1.1  ryo 
    646  1.1  ryo /* syscall: "compat_50_netbsd32_utimes" ret: "int" args: "netbsd32_charp" "netbsd32_timeval50p_t" */
    647  1.1  ryo #define	LINUX32_SYS_compat_50_netbsd32_utimes	269
    648  1.1  ryo 
    649  1.1  ryo /* syscall: "fadvise64_64" ret: "int" args: "int" "uint32_t" "uint32_t" "uint32_t" "uint32_t" "int" */
    650  1.1  ryo #define	LINUX32_SYS_fadvise64_64	270
    651  1.1  ryo 
    652  1.1  ryo /* syscall: "socket" ret: "int" args: "int" "int" "int" */
    653  1.1  ryo #define	LINUX32_SYS_socket	281
    654  1.1  ryo 
    655  1.1  ryo /* syscall: "bind" ret: "int" args: "int" "netbsd32_osockaddrp_t" "int" */
    656  1.1  ryo #define	LINUX32_SYS_bind	282
    657  1.1  ryo 
    658  1.1  ryo /* syscall: "connect" ret: "int" args: "int" "netbsd32_osockaddrp_t" "int" */
    659  1.1  ryo #define	LINUX32_SYS_connect	283
    660  1.1  ryo 
    661  1.1  ryo /* syscall: "accept" ret: "int" args: "int" "netbsd32_osockaddrp_t" "netbsd32_intp" */
    662  1.1  ryo #define	LINUX32_SYS_accept	285
    663  1.1  ryo 
    664  1.1  ryo /* syscall: "getsockname" ret: "int" args: "int" "netbsd32_charp" "netbsd32_intp" */
    665  1.1  ryo #define	LINUX32_SYS_getsockname	286
    666  1.1  ryo 
    667  1.1  ryo /* syscall: "getpeername" ret: "int" args: "int" "netbsd32_sockaddrp_t" "netbsd32_intp" */
    668  1.1  ryo #define	LINUX32_SYS_getpeername	287
    669  1.1  ryo 
    670  1.1  ryo /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "netbsd32_intp" */
    671  1.1  ryo #define	LINUX32_SYS_socketpair	288
    672  1.1  ryo 
    673  1.1  ryo /* syscall: "send" ret: "int" args: "int" "netbsd32_voidp" "int" "int" */
    674  1.1  ryo #define	LINUX32_SYS_send	289
    675  1.1  ryo 
    676  1.1  ryo /* syscall: "sendto" ret: "int" args: "int" "netbsd32_voidp" "int" "int" "netbsd32_osockaddrp_t" "int" */
    677  1.1  ryo #define	LINUX32_SYS_sendto	290
    678  1.1  ryo 
    679  1.1  ryo /* syscall: "recv" ret: "int" args: "int" "netbsd32_voidp" "int" "int" */
    680  1.1  ryo #define	LINUX32_SYS_recv	291
    681  1.1  ryo 
    682  1.1  ryo /* syscall: "recvfrom" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "netbsd32_osockaddrp_t" "netbsd32_intp" */
    683  1.1  ryo #define	LINUX32_SYS_recvfrom	292
    684  1.1  ryo 
    685  1.1  ryo /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "netbsd32_voidp" "int" */
    686  1.1  ryo #define	LINUX32_SYS_setsockopt	294
    687  1.1  ryo 
    688  1.1  ryo /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "netbsd32_voidp" "netbsd32_intp" */
    689  1.1  ryo #define	LINUX32_SYS_getsockopt	295
    690  1.1  ryo 
    691  1.1  ryo /* syscall: "openat" ret: "int" args: "int" "netbsd32_charp" "int" "..." */
    692  1.1  ryo #define	LINUX32_SYS_openat	322
    693  1.1  ryo 
    694  1.1  ryo /* syscall: "netbsd32_mkdirat" ret: "int" args: "int" "netbsd32_charp" "linux_umode_t" */
    695  1.1  ryo #define	LINUX32_SYS_netbsd32_mkdirat	323
    696  1.1  ryo 
    697  1.1  ryo /* syscall: "mknodat" ret: "int" args: "int" "netbsd32_charp" "linux_umode_t" "unsigned" */
    698  1.1  ryo #define	LINUX32_SYS_mknodat	324
    699  1.1  ryo 
    700  1.1  ryo /* syscall: "fchownat" ret: "int" args: "int" "netbsd32_charp" "uid_t" "gid_t" "int" */
    701  1.1  ryo #define	LINUX32_SYS_fchownat	325
    702  1.1  ryo 
    703  1.1  ryo /* syscall: "fstatat64" ret: "int" args: "int" "netbsd32_charp" "linux32_stat64p" "int" */
    704  1.1  ryo #define	LINUX32_SYS_fstatat64	327
    705  1.1  ryo 
    706  1.1  ryo /* syscall: "unlinkat" ret: "int" args: "int" "netbsd32_charp" "int" */
    707  1.1  ryo #define	LINUX32_SYS_unlinkat	328
    708  1.1  ryo 
    709  1.1  ryo /* syscall: "netbsd32_renameat" ret: "int" args: "int" "netbsd32_charp" "int" "netbsd32_charp" */
    710  1.1  ryo #define	LINUX32_SYS_netbsd32_renameat	329
    711  1.1  ryo 
    712  1.1  ryo /* syscall: "linkat" ret: "int" args: "int" "netbsd32_charp" "int" "netbsd32_charp" "int" */
    713  1.1  ryo #define	LINUX32_SYS_linkat	330
    714  1.1  ryo 
    715  1.1  ryo /* syscall: "netbsd32_symlinkat" ret: "int" args: "netbsd32_charp" "int" "netbsd32_charp" */
    716  1.1  ryo #define	LINUX32_SYS_netbsd32_symlinkat	331
    717  1.1  ryo 
    718  1.1  ryo /* syscall: "netbsd32_readlinkat" ret: "int" args: "int" "netbsd32_charp" "netbsd32_charp" "linux32_size_t" */
    719  1.1  ryo #define	LINUX32_SYS_netbsd32_readlinkat	332
    720  1.1  ryo 
    721  1.1  ryo /* syscall: "fchmodat" ret: "int" args: "int" "netbsd32_charp" "linux_umode_t" */
    722  1.1  ryo #define	LINUX32_SYS_fchmodat	333
    723  1.1  ryo 
    724  1.1  ryo /* syscall: "faccessat" ret: "int" args: "int" "netbsd32_charp" "int" */
    725  1.1  ryo #define	LINUX32_SYS_faccessat	334
    726  1.1  ryo 
    727  1.2  ryo /* syscall: "pselect6" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "linux32_timespecp_t" "linux32_sized_sigsetp_t" */
    728  1.2  ryo #define	LINUX32_SYS_pselect6	335
    729  1.2  ryo 
    730  1.1  ryo /* syscall: "ppoll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "linux32_timespecp_t" "linux32_sigsetp_t" */
    731  1.1  ryo #define	LINUX32_SYS_ppoll	336
    732  1.1  ryo 
    733  1.1  ryo /* syscall: "netbsd32___futex_set_robust_list" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */
    734  1.1  ryo #define	LINUX32_SYS_netbsd32___futex_set_robust_list	338
    735  1.1  ryo 
    736  1.1  ryo /* syscall: "netbsd32___futex_get_robust_list" ret: "int" args: "lwpid_t" "netbsd32_voidp" "netbsd32_size_tp" */
    737  1.1  ryo #define	LINUX32_SYS_netbsd32___futex_get_robust_list	339
    738  1.1  ryo 
    739  1.1  ryo /* syscall: "utimensat" ret: "int" args: "int" "netbsd32_charp" "linux32_timespecp_t" "int" */
    740  1.1  ryo #define	LINUX32_SYS_utimensat	348
    741  1.1  ryo 
    742  1.1  ryo /* syscall: "timerfd_create" ret: "int" args: "clockid_t" "int" */
    743  1.1  ryo #define	LINUX32_SYS_timerfd_create	350
    744  1.1  ryo 
    745  1.1  ryo /* syscall: "eventfd" ret: "int" args: "unsigned int" */
    746  1.1  ryo #define	LINUX32_SYS_eventfd	351
    747  1.1  ryo 
    748  1.1  ryo /* syscall: "fallocate" ret: "int" args: "int" "int" "off_t" "off_t" */
    749  1.1  ryo #define	LINUX32_SYS_fallocate	352
    750  1.1  ryo 
    751  1.1  ryo /* syscall: "timerfd_settime" ret: "int" args: "int" "int" "const struct linux32_itimerspec *" "struct linux32_itimerspec *" */
    752  1.1  ryo #define	LINUX32_SYS_timerfd_settime	353
    753  1.1  ryo 
    754  1.1  ryo /* syscall: "timerfd_gettime" ret: "int" args: "int" "struct linux32_itimerspec *" */
    755  1.1  ryo #define	LINUX32_SYS_timerfd_gettime	354
    756  1.1  ryo 
    757  1.1  ryo /* syscall: "eventfd2" ret: "int" args: "unsigned int" "int" */
    758  1.1  ryo #define	LINUX32_SYS_eventfd2	356
    759  1.1  ryo 
    760  1.1  ryo /* syscall: "dup3" ret: "int" args: "int" "int" "int" */
    761  1.1  ryo #define	LINUX32_SYS_dup3	358
    762  1.1  ryo 
    763  1.1  ryo /* syscall: "pipe2" ret: "int" args: "netbsd32_intp" "int" */
    764  1.1  ryo #define	LINUX32_SYS_pipe2	359
    765  1.1  ryo 
    766  1.1  ryo /* syscall: "preadv" ret: "int" args: "int" "const netbsd32_iovecp_t" "int" "netbsd32_u_long" "netbsd32_u_long" */
    767  1.1  ryo #define	LINUX32_SYS_preadv	361
    768  1.1  ryo 
    769  1.1  ryo /* syscall: "pwritev" ret: "int" args: "int" "const netbsd32_iovecp_t" "int" "netbsd32_u_long" "netbsd32_u_long" */
    770  1.1  ryo #define	LINUX32_SYS_pwritev	362
    771  1.1  ryo 
    772  1.3  ryo /* syscall: "prlimit64" ret: "int" args: "pid_t" "int" "netbsd32_rlimitp_t" "netbsd32_rlimitp_t" */
    773  1.3  ryo #define	LINUX32_SYS_prlimit64	369
    774  1.3  ryo 
    775  1.1  ryo /* syscall: "netbsd32_getrandom" ret: "netbsd32_ssize_t" args: "netbsd32_voidp" "netbsd32_size_t" "unsigned int" */
    776  1.1  ryo #define	LINUX32_SYS_netbsd32_getrandom	384
    777  1.1  ryo 
    778  1.1  ryo /* syscall: "statx" ret: "int" args: "int" "netbsd32_charp" "int" "unsigned int" "linux32_statxp" */
    779  1.1  ryo #define	LINUX32_SYS_statx	397
    780  1.1  ryo 
    781  1.1  ryo /* syscall: "set_tls" ret: "int" args: "netbsd32_voidp" */
    782  1.1  ryo #define	LINUX32_SYS_set_tls	485
    783  1.1  ryo 
    784  1.1  ryo /* syscall: "get_tls" ret: "linux32_off_t" args: */
    785  1.1  ryo #define	LINUX32_SYS_get_tls	486
    786  1.1  ryo 
    787  1.1  ryo #define	LINUX32_SYS_MAXSYSCALL	487
    788  1.1  ryo #define	LINUX32_SYS_NSYSENT	512
    789  1.1  ryo #endif /* _LINUX32_SYS_SYSCALL_H_ */
    790