Home | History | Annotate | Line # | Download | only in linux
linux_syscall.h revision 1.30
      1  1.26   thorpej /*	$NetBSD: linux_syscall.h,v 1.30 1998/08/05 00:44:32 perry Exp $	*/
      2  1.26   thorpej 
      3   1.1      fvdl /*
      4   1.1      fvdl  * System call numbers.
      5   1.1      fvdl  *
      6   1.1      fvdl  * DO NOT EDIT-- this file is automatically generated.
      7  1.29   mycroft  * created from	NetBSD: syscalls.master,v 1.23 1998/02/20 18:09:04 mycroft Exp
      8   1.1      fvdl  */
      9   1.1      fvdl 
     10  1.18   thorpej /* syscall: "syscall" ret: "int" args: */
     11   1.1      fvdl #define	LINUX_SYS_syscall	0
     12  1.18   thorpej 
     13  1.18   thorpej /* syscall: "exit" ret: "int" args: "int" */
     14   1.1      fvdl #define	LINUX_SYS_exit	1
     15  1.18   thorpej 
     16  1.18   thorpej /* syscall: "fork" ret: "int" args: */
     17  1.14   mycroft #define	LINUX_SYS_fork	2
     18  1.18   thorpej 
     19  1.18   thorpej /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
     20   1.1      fvdl #define	LINUX_SYS_read	3
     21  1.18   thorpej 
     22  1.18   thorpej /* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
     23   1.1      fvdl #define	LINUX_SYS_write	4
     24  1.18   thorpej 
     25  1.18   thorpej /* syscall: "open" ret: "int" args: "char *" "int" "int" */
     26  1.14   mycroft #define	LINUX_SYS_open	5
     27  1.18   thorpej 
     28  1.18   thorpej /* syscall: "close" ret: "int" args: "int" */
     29   1.1      fvdl #define	LINUX_SYS_close	6
     30  1.18   thorpej 
     31  1.18   thorpej /* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */
     32  1.14   mycroft #define	LINUX_SYS_waitpid	7
     33  1.18   thorpej 
     34  1.18   thorpej /* syscall: "creat" ret: "int" args: "char *" "int" */
     35  1.14   mycroft #define	LINUX_SYS_creat	8
     36  1.18   thorpej 
     37  1.18   thorpej /* syscall: "link" ret: "int" args: "char *" "char *" */
     38   1.1      fvdl #define	LINUX_SYS_link	9
     39  1.18   thorpej 
     40  1.18   thorpej /* syscall: "unlink" ret: "int" args: "char *" */
     41  1.14   mycroft #define	LINUX_SYS_unlink	10
     42  1.18   thorpej 
     43  1.18   thorpej /* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */
     44  1.14   mycroft #define	LINUX_SYS_execve	11
     45  1.18   thorpej 
     46  1.18   thorpej /* syscall: "chdir" ret: "int" args: "char *" */
     47  1.14   mycroft #define	LINUX_SYS_chdir	12
     48  1.18   thorpej 
     49  1.18   thorpej /* syscall: "time" ret: "int" args: "linux_time_t *" */
     50  1.14   mycroft #define	LINUX_SYS_time	13
     51  1.18   thorpej 
     52  1.18   thorpej /* syscall: "mknod" ret: "int" args: "char *" "int" "int" */
     53  1.14   mycroft #define	LINUX_SYS_mknod	14
     54  1.18   thorpej 
     55  1.18   thorpej /* syscall: "chmod" ret: "int" args: "char *" "int" */
     56  1.14   mycroft #define	LINUX_SYS_chmod	15
     57  1.18   thorpej 
     58  1.18   thorpej /* syscall: "chown" ret: "int" args: "char *" "int" "int" */
     59  1.14   mycroft #define	LINUX_SYS_chown	16
     60  1.18   thorpej 
     61  1.18   thorpej /* syscall: "break" ret: "int" args: "char *" */
     62  1.14   mycroft #define	LINUX_SYS_break	17
     63  1.18   thorpej 
     64  1.14   mycroft 				/* 18 is obsolete ostat */
     65  1.18   thorpej /* syscall: "lseek" ret: "long" args: "int" "long" "int" */
     66  1.14   mycroft #define	LINUX_SYS_lseek	19
     67  1.18   thorpej 
     68  1.18   thorpej /* syscall: "getpid" ret: "pid_t" args: */
     69   1.1      fvdl #define	LINUX_SYS_getpid	20
     70  1.18   thorpej 
     71  1.18   thorpej /* syscall: "setuid" ret: "int" args: "uid_t" */
     72   1.1      fvdl #define	LINUX_SYS_setuid	23
     73  1.18   thorpej 
     74  1.18   thorpej /* syscall: "getuid" ret: "uid_t" args: */
     75   1.1      fvdl #define	LINUX_SYS_getuid	24
     76  1.18   thorpej 
     77  1.18   thorpej /* syscall: "alarm" ret: "int" args: "unsigned int" */
     78  1.14   mycroft #define	LINUX_SYS_alarm	27
     79  1.18   thorpej 
     80  1.14   mycroft 				/* 28 is obsolete ofstat */
     81  1.18   thorpej /* syscall: "pause" ret: "int" args: */
     82  1.14   mycroft #define	LINUX_SYS_pause	29
     83  1.18   thorpej 
     84  1.18   thorpej /* syscall: "utime" ret: "int" args: "char *" "struct linux_utimbuf *" */
     85  1.14   mycroft #define	LINUX_SYS_utime	30
     86  1.18   thorpej 
     87  1.18   thorpej /* syscall: "access" ret: "int" args: "char *" "int" */
     88  1.14   mycroft #define	LINUX_SYS_access	33
     89  1.19  augustss 
     90  1.19  augustss /* syscall: "nice" ret: "int" args: "int" */
     91  1.19  augustss #define	LINUX_SYS_nice	34
     92  1.18   thorpej 
     93  1.18   thorpej /* syscall: "sync" ret: "int" args: */
     94   1.1      fvdl #define	LINUX_SYS_sync	36
     95  1.18   thorpej 
     96  1.18   thorpej /* syscall: "kill" ret: "int" args: "int" "int" */
     97  1.14   mycroft #define	LINUX_SYS_kill	37
     98  1.18   thorpej 
     99  1.18   thorpej /* syscall: "rename" ret: "int" args: "char *" "char *" */
    100  1.14   mycroft #define	LINUX_SYS_rename	38
    101  1.18   thorpej 
    102  1.18   thorpej /* syscall: "mkdir" ret: "int" args: "char *" "int" */
    103  1.14   mycroft #define	LINUX_SYS_mkdir	39
    104  1.18   thorpej 
    105  1.18   thorpej /* syscall: "rmdir" ret: "int" args: "char *" */
    106  1.14   mycroft #define	LINUX_SYS_rmdir	40
    107  1.18   thorpej 
    108  1.18   thorpej /* syscall: "dup" ret: "int" args: "u_int" */
    109   1.1      fvdl #define	LINUX_SYS_dup	41
    110  1.18   thorpej 
    111  1.18   thorpej /* syscall: "pipe" ret: "int" args: "int *" */
    112  1.14   mycroft #define	LINUX_SYS_pipe	42
    113  1.18   thorpej 
    114  1.18   thorpej /* syscall: "times" ret: "int" args: "struct times *" */
    115  1.14   mycroft #define	LINUX_SYS_times	43
    116  1.18   thorpej 
    117  1.18   thorpej /* syscall: "brk" ret: "int" args: "char *" */
    118  1.14   mycroft #define	LINUX_SYS_brk	45
    119  1.18   thorpej 
    120  1.18   thorpej /* syscall: "setgid" ret: "int" args: "gid_t" */
    121   1.1      fvdl #define	LINUX_SYS_setgid	46
    122  1.18   thorpej 
    123  1.18   thorpej /* syscall: "getgid" ret: "gid_t" args: */
    124   1.1      fvdl #define	LINUX_SYS_getgid	47
    125  1.18   thorpej 
    126  1.18   thorpej /* syscall: "signal" ret: "int" args: "int" "linux_handler_t" */
    127  1.14   mycroft #define	LINUX_SYS_signal	48
    128  1.18   thorpej 
    129  1.18   thorpej /* syscall: "geteuid" ret: "uid_t" args: */
    130   1.1      fvdl #define	LINUX_SYS_geteuid	49
    131  1.18   thorpej 
    132  1.18   thorpej /* syscall: "getegid" ret: "gid_t" args: */
    133   1.1      fvdl #define	LINUX_SYS_getegid	50
    134  1.18   thorpej 
    135  1.18   thorpej /* syscall: "acct" ret: "int" args: "char *" */
    136   1.1      fvdl #define	LINUX_SYS_acct	51
    137  1.18   thorpej 
    138  1.18   thorpej /* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
    139  1.14   mycroft #define	LINUX_SYS_ioctl	54
    140  1.18   thorpej 
    141  1.18   thorpej /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
    142  1.14   mycroft #define	LINUX_SYS_fcntl	55
    143  1.18   thorpej 
    144  1.18   thorpej /* syscall: "setpgid" ret: "int" args: "int" "int" */
    145   1.1      fvdl #define	LINUX_SYS_setpgid	57
    146  1.18   thorpej 
    147  1.18   thorpej /* syscall: "oldolduname" ret: "int" args: "struct linux_oldold_utsname *" */
    148  1.14   mycroft #define	LINUX_SYS_oldolduname	59
    149  1.18   thorpej 
    150  1.18   thorpej /* syscall: "umask" ret: "int" args: "int" */
    151   1.1      fvdl #define	LINUX_SYS_umask	60
    152  1.18   thorpej 
    153  1.18   thorpej /* syscall: "chroot" ret: "int" args: "char *" */
    154   1.1      fvdl #define	LINUX_SYS_chroot	61
    155  1.18   thorpej 
    156  1.18   thorpej /* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
    157   1.1      fvdl #define	LINUX_SYS_dup2	63
    158  1.18   thorpej 
    159  1.18   thorpej /* syscall: "getppid" ret: "pid_t" args: */
    160   1.1      fvdl #define	LINUX_SYS_getppid	64
    161  1.18   thorpej 
    162  1.18   thorpej /* syscall: "getpgrp" ret: "int" args: */
    163   1.1      fvdl #define	LINUX_SYS_getpgrp	65
    164  1.18   thorpej 
    165  1.18   thorpej /* syscall: "setsid" ret: "int" args: */
    166   1.1      fvdl #define	LINUX_SYS_setsid	66
    167  1.18   thorpej 
    168  1.18   thorpej /* syscall: "sigaction" ret: "int" args: "int" "struct linux_sigaction *" "struct linux_sigaction *" */
    169  1.14   mycroft #define	LINUX_SYS_sigaction	67
    170  1.18   thorpej 
    171  1.18   thorpej /* syscall: "siggetmask" ret: "int" args: */
    172  1.14   mycroft #define	LINUX_SYS_siggetmask	68
    173  1.18   thorpej 
    174  1.18   thorpej /* syscall: "sigsetmask" ret: "int" args: "linux_sigset_t" */
    175  1.14   mycroft #define	LINUX_SYS_sigsetmask	69
    176  1.18   thorpej 
    177  1.18   thorpej /* syscall: "setreuid" ret: "int" args: "int" "int" */
    178  1.14   mycroft #define	LINUX_SYS_setreuid	70
    179  1.18   thorpej 
    180  1.18   thorpej /* syscall: "setregid" ret: "int" args: "int" "int" */
    181  1.14   mycroft #define	LINUX_SYS_setregid	71
    182  1.18   thorpej 
    183  1.18   thorpej /* syscall: "sigsuspend" ret: "int" args: "caddr_t" "int" "int" */
    184  1.14   mycroft #define	LINUX_SYS_sigsuspend	72
    185  1.18   thorpej 
    186  1.18   thorpej /* syscall: "sigpending" ret: "int" args: "linux_sigset_t *" */
    187  1.14   mycroft #define	LINUX_SYS_sigpending	73
    188  1.18   thorpej 
    189  1.18   thorpej /* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
    190  1.14   mycroft #define	LINUX_SYS_sethostname	74
    191  1.18   thorpej 
    192  1.22   mycroft /* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */
    193  1.14   mycroft #define	LINUX_SYS_setrlimit	75
    194  1.18   thorpej 
    195  1.22   mycroft /* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */
    196  1.14   mycroft #define	LINUX_SYS_getrlimit	76
    197  1.18   thorpej 
    198  1.18   thorpej /* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
    199   1.1      fvdl #define	LINUX_SYS_getrusage	77
    200  1.18   thorpej 
    201  1.18   thorpej /* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
    202   1.1      fvdl #define	LINUX_SYS_gettimeofday	78
    203  1.18   thorpej 
    204  1.18   thorpej /* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
    205   1.1      fvdl #define	LINUX_SYS_settimeofday	79
    206  1.18   thorpej 
    207  1.18   thorpej /* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
    208   1.1      fvdl #define	LINUX_SYS_getgroups	80
    209  1.18   thorpej 
    210  1.18   thorpej /* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
    211   1.1      fvdl #define	LINUX_SYS_setgroups	81
    212  1.18   thorpej 
    213  1.18   thorpej /* syscall: "oldselect" ret: "int" args: "struct linux_select *" */
    214  1.14   mycroft #define	LINUX_SYS_oldselect	82
    215  1.18   thorpej 
    216  1.18   thorpej /* syscall: "symlink" ret: "int" args: "char *" "char *" */
    217  1.14   mycroft #define	LINUX_SYS_symlink	83
    218  1.18   thorpej 
    219  1.23  christos /* syscall: "oolstat" ret: "int" args: "char *" "struct stat43 *" */
    220  1.23  christos #define	LINUX_SYS_oolstat	84
    221  1.18   thorpej 
    222  1.18   thorpej /* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
    223  1.14   mycroft #define	LINUX_SYS_readlink	85
    224  1.18   thorpej 
    225  1.18   thorpej /* syscall: "uselib" ret: "int" args: "char *" */
    226  1.14   mycroft #define	LINUX_SYS_uselib	86
    227  1.18   thorpej 
    228  1.18   thorpej /* syscall: "swapon" ret: "int" args: "char *" */
    229   1.1      fvdl #define	LINUX_SYS_swapon	87
    230  1.18   thorpej 
    231  1.18   thorpej /* syscall: "reboot" ret: "int" args: "int" */
    232   1.1      fvdl #define	LINUX_SYS_reboot	88
    233  1.18   thorpej 
    234  1.18   thorpej /* syscall: "readdir" ret: "int" args: "int" "caddr_t" "unsigned int" */
    235  1.14   mycroft #define	LINUX_SYS_readdir	89
    236  1.18   thorpej 
    237  1.18   thorpej /* syscall: "mmap" ret: "int" args: "struct linux_mmap *" */
    238  1.14   mycroft #define	LINUX_SYS_mmap	90
    239  1.18   thorpej 
    240  1.18   thorpej /* syscall: "munmap" ret: "int" args: "caddr_t" "int" */
    241   1.1      fvdl #define	LINUX_SYS_munmap	91
    242  1.18   thorpej 
    243  1.18   thorpej /* syscall: "truncate" ret: "int" args: "char *" "long" */
    244  1.14   mycroft #define	LINUX_SYS_truncate	92
    245  1.18   thorpej 
    246  1.18   thorpej /* syscall: "ftruncate" ret: "int" args: "int" "long" */
    247  1.14   mycroft #define	LINUX_SYS_ftruncate	93
    248  1.18   thorpej 
    249  1.18   thorpej /* syscall: "fchmod" ret: "int" args: "int" "int" */
    250   1.1      fvdl #define	LINUX_SYS_fchmod	94
    251  1.18   thorpej 
    252  1.18   thorpej /* syscall: "fchown" ret: "int" args: "int" "int" "int" */
    253  1.14   mycroft #define	LINUX_SYS_fchown	95
    254  1.18   thorpej 
    255  1.18   thorpej /* syscall: "getpriority" ret: "int" args: "int" "int" */
    256   1.1      fvdl #define	LINUX_SYS_getpriority	96
    257  1.18   thorpej 
    258  1.18   thorpej /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
    259   1.1      fvdl #define	LINUX_SYS_setpriority	97
    260  1.18   thorpej 
    261  1.18   thorpej /* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */
    262   1.1      fvdl #define	LINUX_SYS_profil	98
    263  1.18   thorpej 
    264  1.18   thorpej /* syscall: "statfs" ret: "int" args: "char *" "struct linux_statfs *" */
    265  1.14   mycroft #define	LINUX_SYS_statfs	99
    266  1.18   thorpej 
    267  1.18   thorpej /* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */
    268  1.14   mycroft #define	LINUX_SYS_fstatfs	100
    269  1.18   thorpej 
    270  1.18   thorpej /* syscall: "ioperm" ret: "int" args: "unsigned int" "unsigned int" "int" */
    271  1.14   mycroft #define	LINUX_SYS_ioperm	101
    272  1.18   thorpej 
    273  1.18   thorpej /* syscall: "socketcall" ret: "int" args: "int" "void *" */
    274  1.14   mycroft #define	LINUX_SYS_socketcall	102
    275  1.18   thorpej 
    276  1.18   thorpej /* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
    277   1.1      fvdl #define	LINUX_SYS_setitimer	104
    278  1.18   thorpej 
    279  1.18   thorpej /* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
    280   1.1      fvdl #define	LINUX_SYS_getitimer	105
    281  1.18   thorpej 
    282  1.18   thorpej /* syscall: "stat" ret: "int" args: "char *" "struct linux_stat *" */
    283  1.14   mycroft #define	LINUX_SYS_stat	106
    284  1.18   thorpej 
    285  1.18   thorpej /* syscall: "lstat" ret: "int" args: "char *" "struct linux_stat *" */
    286  1.14   mycroft #define	LINUX_SYS_lstat	107
    287  1.18   thorpej 
    288  1.18   thorpej /* syscall: "fstat" ret: "int" args: "int" "struct linux_stat *" */
    289  1.14   mycroft #define	LINUX_SYS_fstat	108
    290  1.18   thorpej 
    291  1.18   thorpej /* syscall: "olduname" ret: "int" args: "struct linux_old_utsname *" */
    292  1.14   mycroft #define	LINUX_SYS_olduname	109
    293  1.18   thorpej 
    294  1.18   thorpej /* syscall: "iopl" ret: "int" args: "int" */
    295  1.14   mycroft #define	LINUX_SYS_iopl	110
    296  1.18   thorpej 
    297  1.18   thorpej /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
    298  1.14   mycroft #define	LINUX_SYS_wait4	114
    299  1.18   thorpej 
    300  1.18   thorpej /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "caddr_t" */
    301  1.14   mycroft #define	LINUX_SYS_ipc	117
    302  1.18   thorpej 
    303  1.18   thorpej /* syscall: "fsync" ret: "int" args: "int" */
    304   1.1      fvdl #define	LINUX_SYS_fsync	118
    305  1.18   thorpej 
    306  1.18   thorpej /* syscall: "sigreturn" ret: "int" args: "struct linux_sigcontext *" */
    307  1.14   mycroft #define	LINUX_SYS_sigreturn	119
    308  1.18   thorpej 
    309  1.18   thorpej /* syscall: "setdomainname" ret: "int" args: "char *" "int" */
    310  1.14   mycroft #define	LINUX_SYS_setdomainname	121
    311  1.18   thorpej 
    312  1.18   thorpej /* syscall: "uname" ret: "int" args: "struct linux_utsname *" */
    313  1.14   mycroft #define	LINUX_SYS_uname	122
    314  1.18   thorpej 
    315  1.18   thorpej /* syscall: "modify_ldt" ret: "int" args: "int" "void *" "size_t" */
    316  1.14   mycroft #define	LINUX_SYS_modify_ldt	123
    317  1.18   thorpej 
    318  1.18   thorpej /* syscall: "mprotect" ret: "int" args: "caddr_t" "int" "int" */
    319   1.1      fvdl #define	LINUX_SYS_mprotect	125
    320  1.18   thorpej 
    321  1.18   thorpej /* syscall: "sigprocmask" ret: "int" args: "int" "linux_sigset_t *" "linux_sigset_t *" */
    322  1.14   mycroft #define	LINUX_SYS_sigprocmask	126
    323  1.18   thorpej 
    324  1.18   thorpej /* syscall: "getpgid" ret: "int" args: "int" */
    325  1.14   mycroft #define	LINUX_SYS_getpgid	132
    326  1.18   thorpej 
    327  1.18   thorpej /* syscall: "fchdir" ret: "int" args: "int" */
    328   1.1      fvdl #define	LINUX_SYS_fchdir	133
    329  1.18   thorpej 
    330  1.18   thorpej /* syscall: "personality" ret: "int" args: "int" */
    331  1.14   mycroft #define	LINUX_SYS_personality	136
    332  1.18   thorpej 
    333  1.18   thorpej /* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "caddr_t" "int" */
    334  1.14   mycroft #define	LINUX_SYS_llseek	140
    335  1.18   thorpej 
    336  1.18   thorpej /* syscall: "getdents" ret: "int" args: "int" "void *" "unsigned" */
    337  1.14   mycroft #define	LINUX_SYS_getdents	141
    338  1.18   thorpej 
    339  1.18   thorpej /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
    340  1.14   mycroft #define	LINUX_SYS_select	142
    341  1.18   thorpej 
    342  1.18   thorpej /* syscall: "flock" ret: "int" args: "int" "int" */
    343  1.11      fvdl #define	LINUX_SYS_flock	143
    344  1.18   thorpej 
    345  1.18   thorpej /* syscall: "msync" ret: "int" args: "caddr_t" "int" "int" */
    346  1.16      fvdl #define	LINUX_SYS_msync	144
    347  1.18   thorpej 
    348  1.18   thorpej /* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
    349  1.16      fvdl #define	LINUX_SYS_readv	145
    350  1.18   thorpej 
    351  1.18   thorpej /* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
    352  1.16      fvdl #define	LINUX_SYS_writev	146
    353  1.18   thorpej 
    354  1.29   mycroft /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
    355  1.17      fvdl #define	LINUX_SYS_getsid	147
    356  1.18   thorpej 
    357  1.18   thorpej /* syscall: "fdatasync" ret: "int" args: "int" */
    358  1.17      fvdl #define	LINUX_SYS_fdatasync	148
    359  1.18   thorpej 
    360  1.18   thorpej /* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */
    361  1.17      fvdl #define	LINUX_SYS___sysctl	149
    362  1.18   thorpej 
    363  1.18   thorpej /* syscall: "mlock" ret: "int" args: "caddr_t" "size_t" */
    364  1.17      fvdl #define	LINUX_SYS_mlock	150
    365  1.18   thorpej 
    366  1.18   thorpej /* syscall: "munlock" ret: "int" args: "caddr_t" "size_t" */
    367  1.17      fvdl #define	LINUX_SYS_munlock	151
    368  1.21   mycroft 
    369  1.30     perry /* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
    370  1.30     perry #define	LINUX_SYS_nanosleep	162
    371  1.30     perry 
    372  1.21   mycroft /* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */
    373  1.21   mycroft #define	LINUX_SYS_mremap	163
    374  1.18   thorpej 
    375  1.17      fvdl #define	LINUX_SYS_MAXSYSCALL	164
    376