Home | History | Annotate | Line # | Download | only in m68k
linux_syscall.h revision 1.9
      1  1.1    itohy /*	$NetBSD: linux_syscall.h,v 1.9 1999/10/04 16:57:13 tron 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.9     tron  * created from	NetBSD: syscalls.master,v 1.9 1999/10/04 16:55:55 tron Exp
      8  1.1    itohy  */
      9  1.1    itohy 
     10  1.1    itohy /* syscall: "syscall" ret: "int" args: */
     11  1.1    itohy #define	LINUX_SYS_syscall	0
     12  1.1    itohy 
     13  1.1    itohy /* syscall: "exit" ret: "int" args: "int" */
     14  1.1    itohy #define	LINUX_SYS_exit	1
     15  1.1    itohy 
     16  1.1    itohy /* syscall: "fork" ret: "int" args: */
     17  1.1    itohy #define	LINUX_SYS_fork	2
     18  1.1    itohy 
     19  1.1    itohy /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
     20  1.1    itohy #define	LINUX_SYS_read	3
     21  1.1    itohy 
     22  1.1    itohy /* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
     23  1.1    itohy #define	LINUX_SYS_write	4
     24  1.1    itohy 
     25  1.2    itohy /* syscall: "open" ret: "int" args: "const char *" "int" "int" */
     26  1.1    itohy #define	LINUX_SYS_open	5
     27  1.1    itohy 
     28  1.1    itohy /* syscall: "close" ret: "int" args: "int" */
     29  1.1    itohy #define	LINUX_SYS_close	6
     30  1.1    itohy 
     31  1.1    itohy /* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */
     32  1.1    itohy #define	LINUX_SYS_waitpid	7
     33  1.1    itohy 
     34  1.2    itohy /* syscall: "creat" ret: "int" args: "const char *" "int" */
     35  1.1    itohy #define	LINUX_SYS_creat	8
     36  1.1    itohy 
     37  1.2    itohy /* syscall: "link" ret: "int" args: "const char *" "const char *" */
     38  1.1    itohy #define	LINUX_SYS_link	9
     39  1.1    itohy 
     40  1.2    itohy /* syscall: "unlink" ret: "int" args: "const char *" */
     41  1.1    itohy #define	LINUX_SYS_unlink	10
     42  1.1    itohy 
     43  1.2    itohy /* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
     44  1.1    itohy #define	LINUX_SYS_execve	11
     45  1.1    itohy 
     46  1.2    itohy /* syscall: "chdir" ret: "int" args: "const char *" */
     47  1.1    itohy #define	LINUX_SYS_chdir	12
     48  1.1    itohy 
     49  1.1    itohy /* syscall: "time" ret: "int" args: "linux_time_t *" */
     50  1.1    itohy #define	LINUX_SYS_time	13
     51  1.1    itohy 
     52  1.2    itohy /* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
     53  1.1    itohy #define	LINUX_SYS_mknod	14
     54  1.1    itohy 
     55  1.2    itohy /* syscall: "chmod" ret: "int" args: "const char *" "int" */
     56  1.1    itohy #define	LINUX_SYS_chmod	15
     57  1.1    itohy 
     58  1.2    itohy /* syscall: "chown" ret: "int" args: "const char *" "int" "int" */
     59  1.1    itohy #define	LINUX_SYS_chown	16
     60  1.1    itohy 
     61  1.1    itohy 				/* 17 is obsolete break */
     62  1.1    itohy 				/* 18 is obsolete ostat */
     63  1.1    itohy /* syscall: "lseek" ret: "long" args: "int" "long" "int" */
     64  1.1    itohy #define	LINUX_SYS_lseek	19
     65  1.1    itohy 
     66  1.1    itohy /* syscall: "getpid" ret: "pid_t" args: */
     67  1.1    itohy #define	LINUX_SYS_getpid	20
     68  1.1    itohy 
     69  1.1    itohy 				/* 22 is obsolete umount */
     70  1.1    itohy /* syscall: "setuid" ret: "int" args: "uid_t" */
     71  1.1    itohy #define	LINUX_SYS_setuid	23
     72  1.1    itohy 
     73  1.1    itohy /* syscall: "getuid" ret: "uid_t" args: */
     74  1.1    itohy #define	LINUX_SYS_getuid	24
     75  1.8     tron 
     76  1.8     tron /* syscall: "stime" ret: "int" args: "linux_time_t *" */
     77  1.8     tron #define	LINUX_SYS_stime	25
     78  1.1    itohy 
     79  1.1    itohy /* syscall: "alarm" ret: "int" args: "unsigned int" */
     80  1.1    itohy #define	LINUX_SYS_alarm	27
     81  1.1    itohy 
     82  1.1    itohy 				/* 28 is obsolete ofstat */
     83  1.1    itohy /* syscall: "pause" ret: "int" args: */
     84  1.1    itohy #define	LINUX_SYS_pause	29
     85  1.1    itohy 
     86  1.2    itohy /* syscall: "utime" ret: "int" args: "const char *" "struct linux_utimbuf *" */
     87  1.1    itohy #define	LINUX_SYS_utime	30
     88  1.1    itohy 
     89  1.1    itohy 				/* 31 is obsolete stty */
     90  1.1    itohy 				/* 32 is obsolete gtty */
     91  1.2    itohy /* syscall: "access" ret: "int" args: "const char *" "int" */
     92  1.1    itohy #define	LINUX_SYS_access	33
     93  1.1    itohy 
     94  1.1    itohy /* syscall: "nice" ret: "int" args: "int" */
     95  1.1    itohy #define	LINUX_SYS_nice	34
     96  1.1    itohy 
     97  1.1    itohy 				/* 35 is obsolete ftime */
     98  1.1    itohy /* syscall: "sync" ret: "int" args: */
     99  1.1    itohy #define	LINUX_SYS_sync	36
    100  1.1    itohy 
    101  1.1    itohy /* syscall: "kill" ret: "int" args: "int" "int" */
    102  1.1    itohy #define	LINUX_SYS_kill	37
    103  1.1    itohy 
    104  1.2    itohy /* syscall: "rename" ret: "int" args: "const char *" "const char *" */
    105  1.1    itohy #define	LINUX_SYS_rename	38
    106  1.1    itohy 
    107  1.2    itohy /* syscall: "mkdir" ret: "int" args: "const char *" "int" */
    108  1.1    itohy #define	LINUX_SYS_mkdir	39
    109  1.1    itohy 
    110  1.2    itohy /* syscall: "rmdir" ret: "int" args: "const char *" */
    111  1.1    itohy #define	LINUX_SYS_rmdir	40
    112  1.1    itohy 
    113  1.1    itohy /* syscall: "dup" ret: "int" args: "u_int" */
    114  1.1    itohy #define	LINUX_SYS_dup	41
    115  1.1    itohy 
    116  1.1    itohy /* syscall: "pipe" ret: "int" args: "int *" */
    117  1.1    itohy #define	LINUX_SYS_pipe	42
    118  1.1    itohy 
    119  1.1    itohy /* syscall: "times" ret: "int" args: "struct times *" */
    120  1.1    itohy #define	LINUX_SYS_times	43
    121  1.1    itohy 
    122  1.1    itohy 				/* 44 is obsolete prof */
    123  1.1    itohy /* syscall: "brk" ret: "int" args: "char *" */
    124  1.1    itohy #define	LINUX_SYS_brk	45
    125  1.1    itohy 
    126  1.1    itohy /* syscall: "setgid" ret: "int" args: "gid_t" */
    127  1.1    itohy #define	LINUX_SYS_setgid	46
    128  1.1    itohy 
    129  1.1    itohy /* syscall: "getgid" ret: "gid_t" args: */
    130  1.1    itohy #define	LINUX_SYS_getgid	47
    131  1.1    itohy 
    132  1.1    itohy /* syscall: "signal" ret: "int" args: "int" "linux_handler_t" */
    133  1.1    itohy #define	LINUX_SYS_signal	48
    134  1.1    itohy 
    135  1.1    itohy /* syscall: "geteuid" ret: "uid_t" args: */
    136  1.1    itohy #define	LINUX_SYS_geteuid	49
    137  1.1    itohy 
    138  1.1    itohy /* syscall: "getegid" ret: "gid_t" args: */
    139  1.1    itohy #define	LINUX_SYS_getegid	50
    140  1.1    itohy 
    141  1.1    itohy /* syscall: "acct" ret: "int" args: "char *" */
    142  1.1    itohy #define	LINUX_SYS_acct	51
    143  1.1    itohy 
    144  1.1    itohy 				/* 53 is obsolete lock */
    145  1.1    itohy /* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
    146  1.1    itohy #define	LINUX_SYS_ioctl	54
    147  1.1    itohy 
    148  1.1    itohy /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
    149  1.1    itohy #define	LINUX_SYS_fcntl	55
    150  1.1    itohy 
    151  1.1    itohy 				/* 56 is obsolete mpx */
    152  1.1    itohy /* syscall: "setpgid" ret: "int" args: "int" "int" */
    153  1.1    itohy #define	LINUX_SYS_setpgid	57
    154  1.1    itohy 
    155  1.1    itohy 				/* 58 is obsolete ulimit */
    156  1.1    itohy /* syscall: "umask" ret: "int" args: "int" */
    157  1.1    itohy #define	LINUX_SYS_umask	60
    158  1.1    itohy 
    159  1.1    itohy /* syscall: "chroot" ret: "int" args: "char *" */
    160  1.1    itohy #define	LINUX_SYS_chroot	61
    161  1.1    itohy 
    162  1.1    itohy /* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
    163  1.1    itohy #define	LINUX_SYS_dup2	63
    164  1.1    itohy 
    165  1.1    itohy /* syscall: "getppid" ret: "pid_t" args: */
    166  1.1    itohy #define	LINUX_SYS_getppid	64
    167  1.1    itohy 
    168  1.1    itohy /* syscall: "getpgrp" ret: "int" args: */
    169  1.1    itohy #define	LINUX_SYS_getpgrp	65
    170  1.1    itohy 
    171  1.1    itohy /* syscall: "setsid" ret: "int" args: */
    172  1.1    itohy #define	LINUX_SYS_setsid	66
    173  1.1    itohy 
    174  1.1    itohy /* syscall: "sigaction" ret: "int" args: "int" "const struct linux_old_sigaction *" "struct linux_old_sigaction *" */
    175  1.1    itohy #define	LINUX_SYS_sigaction	67
    176  1.1    itohy 
    177  1.1    itohy /* syscall: "siggetmask" ret: "int" args: */
    178  1.1    itohy #define	LINUX_SYS_siggetmask	68
    179  1.1    itohy 
    180  1.1    itohy /* syscall: "sigsetmask" ret: "int" args: "linux_old_sigset_t" */
    181  1.1    itohy #define	LINUX_SYS_sigsetmask	69
    182  1.1    itohy 
    183  1.1    itohy /* syscall: "setreuid" ret: "int" args: "int" "int" */
    184  1.1    itohy #define	LINUX_SYS_setreuid	70
    185  1.1    itohy 
    186  1.1    itohy /* syscall: "setregid" ret: "int" args: "int" "int" */
    187  1.1    itohy #define	LINUX_SYS_setregid	71
    188  1.1    itohy 
    189  1.1    itohy /* syscall: "sigsuspend" ret: "int" args: "caddr_t" "int" "int" */
    190  1.1    itohy #define	LINUX_SYS_sigsuspend	72
    191  1.1    itohy 
    192  1.1    itohy /* syscall: "sigpending" ret: "int" args: "linux_old_sigset_t *" */
    193  1.1    itohy #define	LINUX_SYS_sigpending	73
    194  1.1    itohy 
    195  1.1    itohy /* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
    196  1.1    itohy #define	LINUX_SYS_sethostname	74
    197  1.1    itohy 
    198  1.1    itohy /* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */
    199  1.1    itohy #define	LINUX_SYS_setrlimit	75
    200  1.1    itohy 
    201  1.1    itohy /* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */
    202  1.1    itohy #define	LINUX_SYS_getrlimit	76
    203  1.1    itohy 
    204  1.1    itohy /* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
    205  1.1    itohy #define	LINUX_SYS_getrusage	77
    206  1.1    itohy 
    207  1.1    itohy /* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
    208  1.1    itohy #define	LINUX_SYS_gettimeofday	78
    209  1.1    itohy 
    210  1.1    itohy /* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
    211  1.1    itohy #define	LINUX_SYS_settimeofday	79
    212  1.1    itohy 
    213  1.1    itohy /* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
    214  1.1    itohy #define	LINUX_SYS_getgroups	80
    215  1.1    itohy 
    216  1.1    itohy /* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
    217  1.1    itohy #define	LINUX_SYS_setgroups	81
    218  1.1    itohy 
    219  1.1    itohy /* syscall: "oldselect" ret: "int" args: "struct linux_oldselect *" */
    220  1.1    itohy #define	LINUX_SYS_oldselect	82
    221  1.1    itohy 
    222  1.2    itohy /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
    223  1.1    itohy #define	LINUX_SYS_symlink	83
    224  1.1    itohy 
    225  1.2    itohy /* syscall: "oolstat" ret: "int" args: "const char *" "struct stat43 *" */
    226  1.1    itohy #define	LINUX_SYS_oolstat	84
    227  1.1    itohy 
    228  1.2    itohy /* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
    229  1.1    itohy #define	LINUX_SYS_readlink	85
    230  1.1    itohy 
    231  1.2    itohy /* syscall: "uselib" ret: "int" args: "const char *" */
    232  1.1    itohy #define	LINUX_SYS_uselib	86
    233  1.1    itohy 
    234  1.1    itohy /* syscall: "swapon" ret: "int" args: "char *" */
    235  1.1    itohy #define	LINUX_SYS_swapon	87
    236  1.1    itohy 
    237  1.1    itohy /* syscall: "reboot" ret: "int" args: "int" */
    238  1.1    itohy #define	LINUX_SYS_reboot	88
    239  1.1    itohy 
    240  1.1    itohy /* syscall: "readdir" ret: "int" args: "int" "caddr_t" "unsigned int" */
    241  1.1    itohy #define	LINUX_SYS_readdir	89
    242  1.1    itohy 
    243  1.1    itohy /* syscall: "old_mmap" ret: "int" args: "struct linux_oldmmap *" */
    244  1.1    itohy #define	LINUX_SYS_old_mmap	90
    245  1.1    itohy 
    246  1.1    itohy /* syscall: "munmap" ret: "int" args: "caddr_t" "int" */
    247  1.1    itohy #define	LINUX_SYS_munmap	91
    248  1.1    itohy 
    249  1.2    itohy /* syscall: "truncate" ret: "int" args: "const char *" "long" */
    250  1.1    itohy #define	LINUX_SYS_truncate	92
    251  1.1    itohy 
    252  1.1    itohy /* syscall: "ftruncate" ret: "int" args: "int" "long" */
    253  1.1    itohy #define	LINUX_SYS_ftruncate	93
    254  1.1    itohy 
    255  1.1    itohy /* syscall: "fchmod" ret: "int" args: "int" "int" */
    256  1.1    itohy #define	LINUX_SYS_fchmod	94
    257  1.1    itohy 
    258  1.1    itohy /* syscall: "fchown" ret: "int" args: "int" "int" "int" */
    259  1.1    itohy #define	LINUX_SYS_fchown	95
    260  1.1    itohy 
    261  1.1    itohy /* syscall: "getpriority" ret: "int" args: "int" "int" */
    262  1.1    itohy #define	LINUX_SYS_getpriority	96
    263  1.1    itohy 
    264  1.1    itohy /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
    265  1.1    itohy #define	LINUX_SYS_setpriority	97
    266  1.1    itohy 
    267  1.1    itohy /* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */
    268  1.1    itohy #define	LINUX_SYS_profil	98
    269  1.1    itohy 
    270  1.2    itohy /* syscall: "statfs" ret: "int" args: "const char *" "struct linux_statfs *" */
    271  1.1    itohy #define	LINUX_SYS_statfs	99
    272  1.1    itohy 
    273  1.1    itohy /* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */
    274  1.1    itohy #define	LINUX_SYS_fstatfs	100
    275  1.1    itohy 
    276  1.1    itohy /* syscall: "socketcall" ret: "int" args: "int" "void *" */
    277  1.1    itohy #define	LINUX_SYS_socketcall	102
    278  1.1    itohy 
    279  1.1    itohy /* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
    280  1.1    itohy #define	LINUX_SYS_setitimer	104
    281  1.1    itohy 
    282  1.1    itohy /* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
    283  1.1    itohy #define	LINUX_SYS_getitimer	105
    284  1.1    itohy 
    285  1.2    itohy /* syscall: "stat" ret: "int" args: "const char *" "struct linux_stat *" */
    286  1.1    itohy #define	LINUX_SYS_stat	106
    287  1.1    itohy 
    288  1.2    itohy /* syscall: "lstat" ret: "int" args: "const char *" "struct linux_stat *" */
    289  1.1    itohy #define	LINUX_SYS_lstat	107
    290  1.1    itohy 
    291  1.1    itohy /* syscall: "fstat" ret: "int" args: "int" "struct linux_stat *" */
    292  1.1    itohy #define	LINUX_SYS_fstat	108
    293  1.1    itohy 
    294  1.1    itohy /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
    295  1.1    itohy #define	LINUX_SYS_wait4	114
    296  1.1    itohy 
    297  1.1    itohy /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "caddr_t" */
    298  1.1    itohy #define	LINUX_SYS_ipc	117
    299  1.1    itohy 
    300  1.1    itohy /* syscall: "fsync" ret: "int" args: "int" */
    301  1.1    itohy #define	LINUX_SYS_fsync	118
    302  1.1    itohy 
    303  1.1    itohy /* syscall: "sigreturn" ret: "int" args: */
    304  1.1    itohy #define	LINUX_SYS_sigreturn	119
    305  1.6  thorpej 
    306  1.6  thorpej /* syscall: "clone" ret: "int" args: "int" "void *" */
    307  1.6  thorpej #define	LINUX_SYS_clone	120
    308  1.1    itohy 
    309  1.1    itohy /* syscall: "setdomainname" ret: "int" args: "char *" "int" */
    310  1.1    itohy #define	LINUX_SYS_setdomainname	121
    311  1.1    itohy 
    312  1.1    itohy /* syscall: "uname" ret: "int" args: "struct linux_utsname *" */
    313  1.1    itohy #define	LINUX_SYS_uname	122
    314  1.1    itohy 
    315  1.1    itohy /* syscall: "cacheflush" ret: "int" args: "unsigned long" "int" "int" "unsigned long" */
    316  1.1    itohy #define	LINUX_SYS_cacheflush	123
    317  1.1    itohy 
    318  1.1    itohy /* syscall: "mprotect" ret: "int" args: "caddr_t" "int" "int" */
    319  1.1    itohy #define	LINUX_SYS_mprotect	125
    320  1.1    itohy 
    321  1.1    itohy /* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */
    322  1.1    itohy #define	LINUX_SYS_sigprocmask	126
    323  1.1    itohy 
    324  1.1    itohy /* syscall: "getpgid" ret: "int" args: "int" */
    325  1.1    itohy #define	LINUX_SYS_getpgid	132
    326  1.1    itohy 
    327  1.1    itohy /* syscall: "fchdir" ret: "int" args: "int" */
    328  1.1    itohy #define	LINUX_SYS_fchdir	133
    329  1.1    itohy 
    330  1.1    itohy /* syscall: "personality" ret: "int" args: "int" */
    331  1.1    itohy #define	LINUX_SYS_personality	136
    332  1.1    itohy 
    333  1.1    itohy /* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "caddr_t" "int" */
    334  1.1    itohy #define	LINUX_SYS_llseek	140
    335  1.1    itohy 
    336  1.1    itohy /* syscall: "getdents" ret: "int" args: "int" "struct linux_dirent *" "unsigned int" */
    337  1.1    itohy #define	LINUX_SYS_getdents	141
    338  1.1    itohy 
    339  1.1    itohy /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
    340  1.1    itohy #define	LINUX_SYS_select	142
    341  1.1    itohy 
    342  1.1    itohy /* syscall: "flock" ret: "int" args: "int" "int" */
    343  1.1    itohy #define	LINUX_SYS_flock	143
    344  1.1    itohy 
    345  1.1    itohy /* syscall: "msync" ret: "int" args: "caddr_t" "int" "int" */
    346  1.1    itohy #define	LINUX_SYS_msync	144
    347  1.1    itohy 
    348  1.1    itohy /* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
    349  1.1    itohy #define	LINUX_SYS_readv	145
    350  1.1    itohy 
    351  1.1    itohy /* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
    352  1.1    itohy #define	LINUX_SYS_writev	146
    353  1.1    itohy 
    354  1.1    itohy /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
    355  1.1    itohy #define	LINUX_SYS_getsid	147
    356  1.1    itohy 
    357  1.1    itohy /* syscall: "fdatasync" ret: "int" args: "int" */
    358  1.1    itohy #define	LINUX_SYS_fdatasync	148
    359  1.1    itohy 
    360  1.1    itohy /* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */
    361  1.1    itohy #define	LINUX_SYS___sysctl	149
    362  1.1    itohy 
    363  1.1    itohy /* syscall: "mlock" ret: "int" args: "caddr_t" "size_t" */
    364  1.1    itohy #define	LINUX_SYS_mlock	150
    365  1.1    itohy 
    366  1.1    itohy /* syscall: "munlock" ret: "int" args: "caddr_t" "size_t" */
    367  1.1    itohy #define	LINUX_SYS_munlock	151
    368  1.9     tron 
    369  1.9     tron /* syscall: "sched_setparam" ret: "int" args: "pid_t" "const struct linux_sched_param *" */
    370  1.9     tron #define	LINUX_SYS_sched_setparam	154
    371  1.9     tron 
    372  1.9     tron /* syscall: "sched_getparam" ret: "int" args: "pid_t" "struct linux_sched_param *" */
    373  1.9     tron #define	LINUX_SYS_sched_getparam	155
    374  1.9     tron 
    375  1.9     tron /* syscall: "sched_setscheduler" ret: "int" args: "pid_t" "int" "const struct linux_sched_param *" */
    376  1.9     tron #define	LINUX_SYS_sched_setscheduler	156
    377  1.9     tron 
    378  1.9     tron /* syscall: "sched_getscheduler" ret: "int" args: "pid_t" */
    379  1.9     tron #define	LINUX_SYS_sched_getscheduler	157
    380  1.9     tron 
    381  1.9     tron /* syscall: "sched_yield" ret: "int" args: */
    382  1.9     tron #define	LINUX_SYS_sched_yield	158
    383  1.9     tron 
    384  1.9     tron /* syscall: "sched_get_priority_max" ret: "int" args: "int" */
    385  1.9     tron #define	LINUX_SYS_sched_get_priority_max	159
    386  1.9     tron 
    387  1.9     tron /* syscall: "sched_get_priority_min" ret: "int" args: "int" */
    388  1.9     tron #define	LINUX_SYS_sched_get_priority_min	160
    389  1.1    itohy 
    390  1.1    itohy /* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
    391  1.1    itohy #define	LINUX_SYS_nanosleep	162
    392  1.1    itohy 
    393  1.1    itohy /* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */
    394  1.1    itohy #define	LINUX_SYS_mremap	163
    395  1.5     tron 
    396  1.7  thorpej /* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
    397  1.7  thorpej #define	LINUX_SYS_setresuid	164
    398  1.7  thorpej 
    399  1.7  thorpej /* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
    400  1.7  thorpej #define	LINUX_SYS_getresuid	165
    401  1.7  thorpej 
    402  1.5     tron /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
    403  1.5     tron #define	LINUX_SYS_poll	168
    404  1.1    itohy 
    405  1.7  thorpej /* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
    406  1.7  thorpej #define	LINUX_SYS_setresgid	170
    407  1.7  thorpej 
    408  1.7  thorpej /* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
    409  1.7  thorpej #define	LINUX_SYS_getresgid	171
    410  1.7  thorpej 
    411  1.1    itohy /* syscall: "rt_sigreturn" ret: "int" args: */
    412  1.1    itohy #define	LINUX_SYS_rt_sigreturn	173
    413  1.1    itohy 
    414  1.1    itohy /* syscall: "rt_sigaction" ret: "int" args: "int" "const struct linux_sigaction *" "struct linux_sigaction *" "size_t" */
    415  1.1    itohy #define	LINUX_SYS_rt_sigaction	174
    416  1.1    itohy 
    417  1.1    itohy /* syscall: "rt_sigprocmask" ret: "int" args: "int" "const linux_sigset_t *" "linux_sigset_t *" "size_t" */
    418  1.1    itohy #define	LINUX_SYS_rt_sigprocmask	175
    419  1.1    itohy 
    420  1.1    itohy /* syscall: "rt_sigpending" ret: "int" args: "linux_sigset_t *" "size_t" */
    421  1.1    itohy #define	LINUX_SYS_rt_sigpending	176
    422  1.1    itohy 
    423  1.1    itohy /* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "void *" */
    424  1.1    itohy #define	LINUX_SYS_rt_queueinfo	178
    425  1.1    itohy 
    426  1.1    itohy /* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */
    427  1.1    itohy #define	LINUX_SYS_rt_sigsuspend	179
    428  1.3  thorpej 
    429  1.3  thorpej /* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "off_t" */
    430  1.3  thorpej #define	LINUX_SYS_pread	180
    431  1.3  thorpej 
    432  1.3  thorpej /* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "off_t" */
    433  1.3  thorpej #define	LINUX_SYS_pwrite	181
    434  1.1    itohy 
    435  1.2    itohy /* syscall: "lchown" ret: "int" args: "const char *" "int" "int" */
    436  1.1    itohy #define	LINUX_SYS_lchown	182
    437  1.4     tron 
    438  1.4     tron /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
    439  1.4     tron #define	LINUX_SYS___getcwd	183
    440  1.1    itohy 
    441  1.7  thorpej /* syscall: "__vfork14" ret: "int" args: */
    442  1.7  thorpej #define	LINUX_SYS___vfork14	190
    443  1.7  thorpej 
    444  1.7  thorpej #define	LINUX_SYS_MAXSYSCALL	191
    445