Home | History | Annotate | Line # | Download | only in m68k
syscalls.master revision 1.61.2.4
      1  1.61.2.4      yamt 	$NetBSD: syscalls.master,v 1.61.2.4 2010/08/11 22:53:06 yamt Exp $
      2       1.1     itohy 
      3       1.1     itohy ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
      4       1.1     itohy 
      5       1.1     itohy ; NetBSD m68k COMPAT_LINUX system call name/number "master" file.
      6       1.1     itohy ; (See syscalls.conf to see what it is processed into.)
      7       1.1     itohy ;
      8       1.1     itohy ; Fields: number type [type-dependent ...]
      9       1.1     itohy ;	number	system call number, must be in order
     10       1.1     itohy ;	type	one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
     11       1.1     itohy ;		the compatibility options defined in syscalls.conf.
     12       1.1     itohy ;
     13       1.1     itohy ; types:
     14       1.1     itohy ;	STD	always included
     15       1.1     itohy ;	OBSOL	obsolete, not included in system
     16       1.1     itohy ;	UNIMPL	unimplemented, not included in system
     17       1.1     itohy ;	NODEF	included, but don't define the syscall number
     18       1.1     itohy ;	NOARGS	included, but don't define the syscall args structure
     19       1.1     itohy ;	INDIR	included, but don't define the syscall args structure
     20       1.1     itohy ;		and allow it to be "really" varargs.
     21       1.1     itohy ;
     22       1.1     itohy ; The compat options are defined in the syscalls.conf file, and the
     23       1.1     itohy ; compat option name is prefixed to the syscall name.  Other than
     24       1.1     itohy ; that, they're like NODEF (for 'compat' options), or STD (for
     25       1.1     itohy ; 'libcompat' options).
     26       1.1     itohy ;
     27       1.1     itohy ; The type-dependent arguments are as follows:
     28       1.1     itohy ; For STD, NODEF, NOARGS, and compat syscalls:
     29       1.1     itohy ;	{ pseudo-proto } [alias]
     30       1.1     itohy ; For other syscalls:
     31       1.1     itohy ;	[comment]
     32       1.1     itohy ;
     33       1.1     itohy ; #ifdef's, etc. may be included, and are copied to the output files.
     34       1.1     itohy ; #include's are copied to the syscall names and switch definition files only.
     35       1.1     itohy 
     36      1.34       mrg #if defined(_KERNEL_OPT)
     37       1.1     itohy #include "opt_compat_netbsd.h"
     38       1.1     itohy #include "opt_compat_43.h"
     39      1.19   mycroft #endif
     40       1.1     itohy 
     41       1.1     itohy #include <sys/param.h>
     42       1.5      tron #include <sys/poll.h>
     43       1.1     itohy #include <sys/systm.h>
     44       1.1     itohy #include <sys/signal.h>
     45       1.1     itohy #include <sys/mount.h>
     46  1.61.2.1      yamt #include <sys/sched.h>
     47       1.1     itohy #include <sys/syscallargs.h>
     48       1.1     itohy 
     49       1.1     itohy #include <compat/linux/common/linux_types.h>
     50       1.1     itohy #include <compat/linux/common/linux_signal.h>
     51       1.1     itohy #include <compat/linux/common/linux_siginfo.h>
     52       1.1     itohy #include <compat/linux/common/linux_machdep.h>
     53      1.42   thorpej #include <compat/linux/common/linux_mmap.h>
     54       1.1     itohy 
     55       1.1     itohy #include <compat/linux/linux_syscallargs.h>
     56       1.1     itohy 
     57      1.20   mycroft %%
     58       1.1     itohy 
     59  1.61.2.1      yamt 0	NOARGS		{ int|linux_sys||nosys(void); } syscall
     60  1.61.2.4      yamt 1	STD		{ int|linux_sys||exit(int rval); }
     61  1.61.2.1      yamt 2	NOARGS		{ int|sys||fork(void); }
     62  1.61.2.1      yamt 3	NOARGS		{ int|sys||read(int fd, char *buf, u_int nbyte); }
     63  1.61.2.1      yamt 4	NOARGS		{ int|sys||write(int fd, char *buf, u_int nbyte); }
     64  1.61.2.1      yamt 5	STD		{ int|linux_sys||open(const char *path, int flags, \
     65       1.2     itohy 			    int mode); }
     66  1.61.2.1      yamt 6	NOARGS		{ int|sys||close(int fd); }
     67  1.61.2.1      yamt 7	STD		{ int|linux_sys||waitpid(int pid, int *status, \
     68       1.1     itohy 			    int options);}
     69  1.61.2.1      yamt 8	STD		{ int|linux_sys||creat(const char *path, int mode); }
     70  1.61.2.1      yamt 9	NOARGS		{ int|sys||link(const char *path, const char *link); }
     71  1.61.2.1      yamt 10	STD		{ int|linux_sys||unlink(const char *path); }
     72  1.61.2.1      yamt 11	NOARGS		{ int|sys||execve(const char *path, char **argp, \
     73       1.1     itohy 			    char **envp); }
     74  1.61.2.1      yamt 12	NOARGS		{ int|sys||chdir(const char *path); }
     75  1.61.2.1      yamt 13	STD		{ int|linux_sys||time(linux_time_t *t); }
     76  1.61.2.1      yamt 14	STD		{ int|linux_sys||mknod(const char *path, int mode, \
     77       1.2     itohy 			    int dev); }
     78  1.61.2.1      yamt 15	NOARGS		{ int|sys||chmod(const char *path, int mode); }
     79       1.1     itohy ;16 lchown on i386; chown on m68k.
     80  1.61.2.1      yamt 16	STD		{ int|linux_sys||chown16(const char *path, \
     81      1.59     njoly 			    linux_uid16_t uid, linux_gid16_t gid); }
     82       1.1     itohy 17	OBSOL		break
     83       1.1     itohy 18	OBSOL		ostat
     84       1.1     itohy #if !defined(_KERNEL) || defined(COMPAT_43)
     85  1.61.2.1      yamt 19	NOARGS		{ long|compat_43_sys||lseek(int fd, long offset, \
     86       1.1     itohy 			    int whence); }
     87       1.1     itohy #else
     88       1.1     itohy 19	UNIMPL		compat_43_sys_lseek
     89       1.1     itohy #endif
     90  1.61.2.1      yamt 20	NOARGS 		{ pid_t|sys||getpid(void); }
     91       1.1     itohy 21	UNIMPL		mount
     92       1.1     itohy 22	OBSOL		umount
     93  1.61.2.1      yamt 23	NOARGS		linux_setuid16 { int|sys||setuid(uid_t uid); }
     94  1.61.2.1      yamt 24	NOARGS		linux_getuid16 { uid_t|sys||getuid(void); }
     95  1.61.2.1      yamt 25	STD		{ int|linux_sys||stime(linux_time_t *t); }
     96  1.61.2.1      yamt 26	STD		{ int|linux_sys||ptrace(int request, int pid, \
     97      1.12      tron 			  int addr, int data); }
     98  1.61.2.1      yamt 27	STD		{ int|linux_sys||alarm(unsigned int secs); }
     99       1.1     itohy 28	OBSOL		ofstat
    100  1.61.2.1      yamt 29	STD		{ int|linux_sys||pause(void); }
    101  1.61.2.1      yamt 30	STD		{ int|linux_sys||utime(const char *path, \
    102       1.1     itohy 			    struct linux_utimbuf *times); }
    103       1.1     itohy 31	OBSOL		stty
    104       1.1     itohy 32	OBSOL		gtty
    105  1.61.2.1      yamt 33	NOARGS		{ int|sys||access(const char *path, int flags); }
    106  1.61.2.1      yamt 34	STD		{ int|linux_sys||nice(int incr); }
    107       1.1     itohy 35	OBSOL		ftime
    108  1.61.2.1      yamt 36	NOARGS		{ int|sys||sync(void); }
    109  1.61.2.1      yamt 37	STD		{ int|linux_sys||kill(int pid, int signum); }
    110  1.61.2.1      yamt 38	NOARGS		{ int|sys||__posix_rename(const char *from, \
    111       1.2     itohy 			    const char *to); }
    112  1.61.2.1      yamt 39	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
    113  1.61.2.1      yamt 40	NOARGS		{ int|sys||rmdir(const char *path); }
    114  1.61.2.1      yamt 41	NOARGS		{ int|sys||dup(u_int fd); }
    115  1.61.2.1      yamt 42	STD		{ int|linux_sys||pipe(int *pfds); }
    116  1.61.2.1      yamt 43	STD		{ int|linux_sys||times(struct times *tms); }
    117       1.1     itohy 44	OBSOL		prof
    118  1.61.2.1      yamt 45	STD		{ int|linux_sys||brk(char *nsize); }
    119  1.61.2.1      yamt 46	NOARGS		linux_setgid16 { int|sys||setgid(gid_t gid); }
    120  1.61.2.1      yamt 47	NOARGS		linux_getgid16 { gid_t|sys||getgid(void); }
    121  1.61.2.1      yamt 48	STD		{ int|linux_sys||signal(int signum, \
    122       1.1     itohy 			    linux_handler_t handler); }
    123  1.61.2.1      yamt 49	NOARGS		linux_geteuid16 { uid_t|sys||geteuid(void); }
    124  1.61.2.1      yamt 50	NOARGS		linux_getegid16 { gid_t|sys||getegid(void); }
    125  1.61.2.1      yamt 51	NOARGS		{ int|sys||acct(char *path); }
    126       1.1     itohy 52	UNIMPL		umount
    127       1.1     itohy 53	OBSOL		lock
    128  1.61.2.1      yamt 54	STD		{ int|linux_sys||ioctl(int fd, u_long com, \
    129      1.54  christos 			    void *data); }
    130  1.61.2.1      yamt 55	STD		{ int|linux_sys||fcntl(int fd, int cmd, void *arg); }
    131       1.1     itohy 56	OBSOL		mpx
    132  1.61.2.1      yamt 57	NOARGS		{ int|sys||setpgid(int pid, int pgid); }
    133       1.1     itohy 58	OBSOL		ulimit
    134       1.1     itohy 59	UNIMPL		oldolduname
    135  1.61.2.1      yamt 60	NOARGS		{ int|sys||umask(int newmask); }
    136  1.61.2.1      yamt 61	NOARGS		{ int|sys||chroot(char *path); }
    137       1.1     itohy 62	UNIMPL		ustat
    138  1.61.2.1      yamt 63	NOARGS		{ int|sys||dup2(u_int from, u_int to); }
    139  1.61.2.1      yamt 64	NOARGS		{ pid_t|sys||getppid(void); }
    140  1.61.2.1      yamt 65	NOARGS		{ int|sys||getpgrp(void); }
    141  1.61.2.1      yamt 66	NOARGS		{ int|sys||setsid(void); }
    142  1.61.2.1      yamt 67	STD		{ int|linux_sys||sigaction(int signum, \
    143       1.1     itohy 			    const struct linux_old_sigaction *nsa, \
    144       1.1     itohy 			    struct linux_old_sigaction *osa); }
    145  1.61.2.1      yamt 68	STD		{ int|linux_sys||siggetmask(void); }
    146  1.61.2.1      yamt 69	STD		{ int|linux_sys||sigsetmask(linux_old_sigset_t mask); }
    147  1.61.2.1      yamt 70	STD		{ int|linux_sys||setreuid16(linux_uid16_t ruid, \
    148      1.59     njoly 			    linux_uid16_t euid); }
    149  1.61.2.1      yamt 71	STD		{ int|linux_sys||setregid16(linux_gid16_t rgid, \
    150      1.59     njoly 			    linux_gid16_t egid); }
    151  1.61.2.1      yamt 72	STD		{ int|linux_sys||sigsuspend(void *restart, \
    152       1.1     itohy 			    int oldmask, int mask); }
    153  1.61.2.1      yamt 73	STD		{ int|linux_sys||sigpending(linux_old_sigset_t *set); }
    154       1.1     itohy #if !defined(_KERNEL) || defined(COMPAT_43)
    155  1.61.2.1      yamt 74	NOARGS		{ int|compat_43_sys||sethostname(char *hostname, \
    156       1.1     itohy 			    u_int len);}
    157       1.1     itohy #else
    158       1.1     itohy 74	UNIMPL		compat_43_sys_sethostname
    159       1.1     itohy #endif
    160  1.61.2.1      yamt 75	STD		{ int|linux_sys||setrlimit(u_int which, \
    161      1.36  christos 			    struct orlimit *rlp); }
    162  1.61.2.1      yamt 76	STD		{ int|linux_sys||getrlimit(u_int which, \
    163      1.36  christos 			    struct orlimit *rlp); }
    164  1.61.2.1      yamt 77	NOARGS		{ int|compat_50_sys||getrusage(int who, \
    165  1.61.2.1      yamt 			    struct rusage50 *rusage); }
    166  1.61.2.1      yamt 78	STD		{ int|linux_sys||gettimeofday(struct timeval50 *tp, \
    167       1.1     itohy 			    struct timezone *tzp); }
    168  1.61.2.1      yamt 79	STD		{ int|linux_sys||settimeofday(struct timeval50 *tp, \
    169       1.1     itohy 			    struct timezone *tzp); }
    170  1.61.2.1      yamt 80	STD		{ int|linux_sys||getgroups16(int gidsetsize, \
    171      1.59     njoly 			    linux_gid16_t *gidset); }
    172  1.61.2.1      yamt 81	STD		{ int|linux_sys||setgroups16(int gidsetsize, \
    173      1.59     njoly 			    linux_gid16_t *gidset); }
    174  1.61.2.1      yamt 82	STD		{ int|linux_sys||oldselect(struct linux_oldselect *lsp); }
    175  1.61.2.1      yamt 83	NOARGS		{ int|sys||symlink(const char *path, const char *to); }
    176       1.1     itohy #if !defined(_KERNEL) || defined(COMPAT_43)
    177  1.61.2.1      yamt 84	NOARGS		{ int|compat_43_sys||lstat(const char *path, \
    178       1.1     itohy 			    struct stat43 *up); } oolstat
    179       1.1     itohy #else
    180       1.1     itohy 84	UNIMPL		compat_43_sys_lstat
    181       1.1     itohy #endif
    182  1.61.2.1      yamt 85	NOARGS		{ int|sys||readlink(const char *name, char *buf, \
    183       1.1     itohy 			    int count); }
    184      1.47     joerg #ifdef EXEC_AOUT
    185  1.61.2.1      yamt 86	STD		{ int|linux_sys||uselib(const char *path); }
    186      1.47     joerg #else
    187      1.47     joerg 86	UNIMPL		sys_uselib
    188      1.47     joerg #endif
    189  1.61.2.1      yamt 87	STD		{ int|linux_sys||swapon(char *name); }
    190  1.61.2.1      yamt 88	STD		{ int|linux_sys||reboot(int magic1, int magic2, \
    191      1.14       erh 			    int cmd, void *arg); }
    192  1.61.2.1      yamt 89	STD		{ int|linux_sys||readdir(int fd, void *dent, \
    193       1.1     itohy 			    unsigned int count); }
    194  1.61.2.1      yamt 90	STD		{ int|linux_sys||old_mmap(struct linux_oldmmap *lmp); }
    195  1.61.2.1      yamt 91	NOARGS		{ int|sys||munmap(void *addr, int len); }
    196  1.61.2.1      yamt 92	NOARGS		{ int|compat_43_sys||truncate(const char *path, \
    197       1.2     itohy 			    long length); }
    198       1.1     itohy #if !defined(_KERNEL) || defined(COMPAT_43)
    199  1.61.2.1      yamt 93	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long length); }
    200       1.1     itohy #else
    201       1.1     itohy 93	UNIMPL		compat_43_sys_ftruncate
    202       1.1     itohy #endif
    203  1.61.2.1      yamt 94	NOARGS		{ int|sys||fchmod(int fd, int mode); }
    204  1.61.2.1      yamt 95	STD		{ int|linux_sys||fchown16(int fd, linux_uid16_t uid, \
    205      1.59     njoly 			    linux_gid16_t gid); }
    206  1.61.2.1      yamt 96	STD		{ int|linux_sys||getpriority(int which, int who); }
    207  1.61.2.1      yamt 97	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
    208  1.61.2.1      yamt 98	NOARGS		{ int|sys||profil(void *samples, u_int size, \
    209       1.1     itohy 			    u_int offset, u_int scale); }
    210  1.61.2.1      yamt 99	STD		{ int|linux_sys||statfs(const char *path, \
    211       1.1     itohy 			    struct linux_statfs *sp); }
    212  1.61.2.1      yamt 100	STD		{ int|linux_sys||fstatfs(int fd, \
    213       1.1     itohy 			    struct linux_statfs *sp); }
    214       1.1     itohy 101	UNIMPL		ioperm
    215  1.61.2.1      yamt 102	STD		{ int|linux_sys||socketcall(int what, void *args); }
    216       1.1     itohy 103	UNIMPL		syslog
    217  1.61.2.1      yamt 104	NOARGS		{ int|compat_50_sys||setitimer(u_int which, \
    218  1.61.2.1      yamt 			    struct itimerval50 *itv, \
    219  1.61.2.1      yamt 			    struct itimerval50 *oitv); }
    220  1.61.2.1      yamt 105	NOARGS		{ int|compat_50_sys||getitimer(u_int which, \
    221  1.61.2.1      yamt 			    struct itimerval50 *itv); }
    222  1.61.2.1      yamt 106	STD		{ int|linux_sys||stat(const char *path, \
    223       1.1     itohy 			    struct linux_stat *sp); }
    224  1.61.2.1      yamt 107	STD		{ int|linux_sys||lstat(const char *path, \
    225       1.1     itohy 			    struct linux_stat *sp); }
    226  1.61.2.1      yamt 108	STD		{ int|linux_sys||fstat(int fd, struct linux_stat *sp); }
    227       1.1     itohy 109	UNIMPL		olduname
    228       1.1     itohy 110	UNIMPL		iopl
    229       1.1     itohy 111	UNIMPL		vhangup
    230       1.1     itohy 112	UNIMPL		idle
    231       1.1     itohy 113	UNIMPL		vm86old
    232  1.61.2.1      yamt 114	STD		{ int|linux_sys||wait4(int pid, int *status, \
    233  1.61.2.1      yamt 			    int options, struct rusage50 *rusage); }
    234  1.61.2.1      yamt 115	STD		{ int|linux_sys||swapoff(const char *path); }
    235  1.61.2.1      yamt 116	STD		{ int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
    236  1.61.2.1      yamt 117	STD		{ int|linux_sys||ipc(int what, int a1, int a2, int a3, \
    237      1.54  christos 			    void *ptr); }
    238  1.61.2.1      yamt 118	NOARGS		{ int|sys||fsync(int fd); }
    239  1.61.2.1      yamt 119	STD		{ int|linux_sys||sigreturn(void); }
    240  1.61.2.4      yamt 120	STD		{ int|linux_sys||clone(int flags, void *stack, \
    241  1.61.2.4      yamt 			    void *parent_tidptr, void *tls, void *child_tidptr); }
    242  1.61.2.1      yamt 121	STD		{ int|linux_sys||setdomainname(char *domainname, \
    243       1.1     itohy 			    int len); }
    244  1.61.2.1      yamt 122	STD		{ int|linux_sys||uname(struct linux_utsname *up); }
    245  1.61.2.1      yamt 123	STD		{ int|linux_sys||cacheflush(unsigned long addr, \
    246       1.1     itohy 			    int scope, int cache, unsigned long len); }
    247       1.1     itohy 124	UNIMPL		adjtimex
    248  1.61.2.1      yamt 125	STD		{ int|linux_sys||mprotect(const void *start, \
    249      1.37  christos 			    unsigned long len, int prot); }
    250  1.61.2.1      yamt 126	STD		{ int|linux_sys||sigprocmask(int how, \
    251       1.1     itohy 			    const linux_old_sigset_t *set, \
    252       1.1     itohy 			    linux_old_sigset_t *oset); }
    253       1.1     itohy 127	UNIMPL		create_module
    254       1.1     itohy 128	UNIMPL		init_module
    255       1.1     itohy 129	UNIMPL		delete_module
    256       1.1     itohy 130	UNIMPL		get_kernel_syms
    257       1.1     itohy 131	UNIMPL		quotactl
    258  1.61.2.1      yamt 132	NOARGS		{ pid_t|sys||getpgid(pid_t pid); }
    259  1.61.2.1      yamt 133	NOARGS		{ int|sys||fchdir(int fd); }
    260       1.1     itohy 134	UNIMPL		bdflush
    261       1.1     itohy 135	UNIMPL		sysfs
    262  1.61.2.3      yamt 136	STD		{ int|linux_sys||personality(unsigned long per); }
    263       1.1     itohy 137	UNIMPL		afs_syscall
    264  1.61.2.1      yamt 138	NOARGS		linux_setfsuid16 { int|linux_sys||setfsuid(uid_t uid); }
    265  1.61.2.1      yamt 139	NOARGS		linux_setfsgid16 { int|linux_sys||setfsgid(gid_t gid); }
    266  1.61.2.1      yamt 140	STD		{ int|linux_sys||llseek(int fd, u_int32_t ohigh, \
    267      1.54  christos 			    u_int32_t olow, void *res, int whence); }
    268  1.61.2.1      yamt 141	STD		{ int|linux_sys||getdents(int fd, \
    269       1.1     itohy 			    struct linux_dirent *dent, unsigned int count); }
    270  1.61.2.1      yamt 142	STD		{ int|linux_sys||select(int nfds, fd_set *readfds, \
    271       1.1     itohy 			    fd_set *writefds, fd_set *exceptfds, \
    272  1.61.2.1      yamt 			    struct timeval50 *timeout); }
    273  1.61.2.1      yamt 143	NOARGS		{ int|sys||flock(int fd, int how); }
    274  1.61.2.1      yamt 144	NOARGS		{ int|sys|13|msync(void *addr, size_t len, int flags); }
    275  1.61.2.1      yamt 145	NOARGS		{ int|sys||readv(int fd, struct iovec *iovp, \
    276       1.1     itohy 				u_int iovcnt); }
    277  1.61.2.1      yamt 146	NOARGS		{ int|sys||writev(int fd, struct iovec *iovp, \
    278       1.1     itohy 				u_int iovcnt); }
    279  1.61.2.1      yamt 147	NOARGS		{ pid_t|sys||getsid(pid_t pid); }
    280  1.61.2.1      yamt 148	STD		{ int|linux_sys||fdatasync(int fd); }
    281  1.61.2.1      yamt 149	STD		{ int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
    282  1.61.2.1      yamt 150	NOARGS		{ int|sys||mlock(void *addr, size_t len); }
    283  1.61.2.1      yamt 151	NOARGS		{ int|sys||munlock(void *addr, size_t len); }
    284  1.61.2.1      yamt 152	NOARGS		{ int|sys||mlockall(int flags); }
    285  1.61.2.1      yamt 153	NOARGS		{ int|sys||munlockall(void); }
    286  1.61.2.1      yamt 154	STD		{ int|linux_sys||sched_setparam(pid_t pid, \
    287       1.9      tron 			    const struct linux_sched_param *sp); }
    288  1.61.2.1      yamt 155	STD		{ int|linux_sys||sched_getparam(pid_t pid, \
    289       1.9      tron 			    struct linux_sched_param *sp); }
    290  1.61.2.1      yamt 156	STD		{ int|linux_sys||sched_setscheduler(pid_t pid, \
    291       1.9      tron 			    int policy, const struct linux_sched_param *sp); }
    292  1.61.2.1      yamt 157	STD		{ int|linux_sys||sched_getscheduler(pid_t pid); }
    293  1.61.2.1      yamt 158	STD		{ int|linux_sys||sched_yield(void); }
    294  1.61.2.1      yamt 159	STD		{ int|linux_sys||sched_get_priority_max(int policy); }
    295  1.61.2.1      yamt 160	STD		{ int|linux_sys||sched_get_priority_min(int policy); }
    296       1.1     itohy 161	UNIMPL		sched_rr_get_interval
    297  1.61.2.1      yamt 162	STD		{ int|linux_sys||nanosleep( \
    298  1.61.2.1      yamt 			    const struct linux_timespec *rqtp, \
    299  1.61.2.1      yamt 			    struct linux_timespec *rmtp); }
    300  1.61.2.1      yamt 163	STD		{ void *|linux_sys||mremap(void *old_address, \
    301       1.1     itohy 			    size_t old_size, size_t new_size, u_long flags); }
    302  1.61.2.1      yamt 164	STD		{ int|linux_sys||setresuid16(linux_uid16_t ruid, \
    303      1.59     njoly 			    linux_uid16_t euid, linux_uid16_t suid); }
    304  1.61.2.1      yamt 165	STD		{ int|linux_sys||getresuid16(linux_uid16_t *ruid, \
    305      1.59     njoly 			    linux_uid16_t *euid, linux_uid16_t *suid); }
    306       1.1     itohy 166	UNIMPL		vm86
    307       1.1     itohy 167	UNIMPL		query_module
    308  1.61.2.1      yamt 168	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
    309       1.5      tron 			    int timeout); }
    310       1.1     itohy 169	UNIMPL		nfsservctl
    311  1.61.2.1      yamt 170	STD		{ int|linux_sys||setresgid16(linux_gid16_t rgid, \
    312      1.59     njoly 			    linux_gid16_t egid, linux_gid16_t sgid); }
    313  1.61.2.1      yamt 171	STD		{ int|linux_sys||getresgid16(linux_gid16_t *rgid, \
    314      1.59     njoly 			    linux_gid16_t *egid, linux_gid16_t *sgid); }
    315       1.1     itohy 172	UNIMPL		prctl
    316  1.61.2.1      yamt 173	STD		{ int|linux_sys||rt_sigreturn(void); }
    317  1.61.2.1      yamt 174	STD		{ int|linux_sys||rt_sigaction(int signum, \
    318       1.1     itohy 			    const struct linux_sigaction *nsa, \
    319       1.1     itohy 			    struct linux_sigaction *osa, \
    320       1.1     itohy 			    size_t sigsetsize); }
    321  1.61.2.1      yamt 175	STD		{ int|linux_sys||rt_sigprocmask(int how, \
    322       1.1     itohy 			    const linux_sigset_t *set, \
    323       1.1     itohy 			    linux_sigset_t *oset, \
    324       1.1     itohy 			    size_t sigsetsize); }
    325  1.61.2.1      yamt 176	STD		{ int|linux_sys||rt_sigpending( \
    326       1.1     itohy 			    linux_sigset_t *set, \
    327       1.1     itohy 			    size_t sigsetsize); }
    328       1.1     itohy 177	UNIMPL		rt_sigtimedwait
    329  1.61.2.1      yamt 178	STD		{ int|linux_sys||rt_queueinfo(int pid, int signum, \
    330  1.61.2.2      yamt 			    linux_siginfo_t *uinfo); }
    331  1.61.2.1      yamt 179	STD		{ int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
    332       1.1     itohy 			    size_t sigsetsize); }
    333  1.61.2.1      yamt 180	STD		{ int|linux_sys||pread(int fd, char *buf, \
    334      1.11      tron 			    size_t nbyte, linux_off_t offset); }
    335  1.61.2.1      yamt 181	STD		{ int|linux_sys||pwrite(int fd, char *buf, \
    336      1.11      tron 			    size_t nbyte, linux_off_t offset); }
    337       1.1     itohy ;182 chown on i386; lchown on m68k.
    338  1.61.2.1      yamt 182	STD		{ int|linux_sys||lchown16(const char *path, \
    339      1.59     njoly 			    linux_uid16_t uid, linux_gid16_t gid); }
    340  1.61.2.1      yamt 183	NOARGS		{ int|sys||__getcwd(char *bufp, size_t length); }
    341       1.1     itohy 184	UNIMPL		capget
    342       1.1     itohy 185	UNIMPL		capset
    343  1.61.2.1      yamt 186	STD		{ int|linux_sys||sigaltstack( \
    344      1.15     itohy 			    const struct linux_sigaltstack *ss, \
    345      1.15     itohy 			    struct linux_sigaltstack *oss); }
    346       1.7   thorpej 187	UNIMPL		sendfile
    347       1.7   thorpej 188	UNIMPL		getpmsg
    348       1.7   thorpej 189	UNIMPL		putpmsg
    349  1.61.2.1      yamt 190	NOARGS		{ int|sys|14|vfork(void); }
    350  1.61.2.1      yamt 191	STD		{ int|linux_sys||ugetrlimit(int which, \
    351      1.36  christos 			    struct orlimit *rlp); }
    352      1.56       dsl #define linux_sys_mmap2_args linux_sys_mmap_args
    353  1.61.2.1      yamt 192	NOARGS		{ linux_off_t|linux_sys||mmap2(unsigned long addr, \
    354      1.41  christos 			    size_t len, int prot, int flags, int fd, \
    355      1.41  christos 			    linux_off_t offset); }
    356  1.61.2.1      yamt 193	STD		{ int|linux_sys||truncate64(const char *path, \
    357      1.35  christos 			    off_t length); }
    358  1.61.2.1      yamt 194	STD		{ int|linux_sys||ftruncate64(unsigned int fd, \
    359      1.43  jdolecek 			    off_t length); }
    360  1.61.2.1      yamt 195	STD		{ int|linux_sys||stat64(const char *path, \
    361      1.35  christos 			    struct linux_stat64 *sp); }
    362  1.61.2.1      yamt 196	STD		{ int|linux_sys||lstat64(const char *path, \
    363      1.35  christos 			    struct linux_stat64 *sp); }
    364  1.61.2.1      yamt 197	STD		{ int|linux_sys||fstat64(int fd, \
    365      1.35  christos 			    struct linux_stat64 *sp); }
    366  1.61.2.1      yamt 198	NOARGS		 { int|sys||__posix_chown(const char *path, uid_t uid, \
    367      1.35  christos 			    gid_t gid); }
    368  1.61.2.1      yamt 199	NOARGS		{ uid_t|sys||getuid(void); }
    369  1.61.2.1      yamt 200	NOARGS		{ gid_t|sys||getgid(void); }
    370  1.61.2.1      yamt 201	NOARGS		{ uid_t|sys||geteuid(void); }
    371  1.61.2.1      yamt 202	NOARGS		{ gid_t|sys||getegid(void); }
    372  1.61.2.1      yamt 203	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
    373  1.61.2.1      yamt 204	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
    374  1.61.2.1      yamt 205	NOARGS		{ int|sys||getgroups(u_int gidsetsize, gid_t *gidset); }
    375  1.61.2.1      yamt 206	NOARGS		{ int|sys||setgroups(u_int gidsetsize, gid_t *gidset); }
    376  1.61.2.1      yamt 207	NOARGS		{ int|sys||__posix_fchown(int fd, uid_t uid, \
    377      1.35  christos 			    gid_t gid); }
    378  1.61.2.1      yamt 208	STD		{ int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
    379      1.27      fvdl 			    uid_t suid); }
    380  1.61.2.1      yamt 209	STD		{ int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
    381      1.27      fvdl 			    uid_t *suid); }
    382  1.61.2.1      yamt 210	STD		{ int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
    383      1.27      fvdl 			    gid_t sgid); }
    384  1.61.2.1      yamt 211	STD		{ int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
    385      1.27      fvdl 			    gid_t *sgid); }
    386  1.61.2.1      yamt 212	NOARGS		{ int|sys||__posix_lchown(const char *path, uid_t uid, \
    387      1.35  christos 			    gid_t gid); }
    388  1.61.2.1      yamt 213	NOARGS		{ int|sys||setuid(uid_t uid); }
    389  1.61.2.1      yamt 214	NOARGS		{ int|sys||setgid(gid_t gid); }
    390  1.61.2.1      yamt 215	STD		{ int|linux_sys||setfsuid(uid_t uid); }
    391  1.61.2.1      yamt 216	STD		{ int|linux_sys||setfsgid(gid_t gid); }
    392      1.39  jdolecek 217	UNIMPL		/* unused */
    393      1.39  jdolecek 218	UNIMPL		/* unused */
    394      1.39  jdolecek 219	UNIMPL		/* unused */
    395  1.61.2.1      yamt 220	STD		{ int|linux_sys||getdents64(int fd, \
    396      1.38  christos 			    struct linux_dirent64 *dent, unsigned int count); }
    397  1.61.2.4      yamt 221	NOARGS		{ pid_t|linux_sys||gettid(void); }
    398  1.61.2.4      yamt 222	STD		{ int|linux_sys||tkill(int tid, int sig); }
    399  1.61.2.1      yamt 223	STD		{ int|linux_sys||setxattr(char *path, char *name, \
    400      1.45      fvdl 			    void *value, size_t size, int flags); }
    401  1.61.2.1      yamt 224	STD		{ int|linux_sys||lsetxattr(char *path, char *name, \
    402      1.45      fvdl 			    void *value, size_t size, int flags); }
    403  1.61.2.1      yamt 225	STD		{ int|linux_sys||fsetxattr(int fd, char *name, \
    404      1.45      fvdl 			    void *value, size_t size, int flags); }
    405  1.61.2.1      yamt 226	STD		{ ssize_t|linux_sys||getxattr(char *path, char *name, \
    406      1.45      fvdl 			    void *value, size_t size); }
    407  1.61.2.1      yamt 227	STD		{ ssize_t|linux_sys||lgetxattr(char *path, char *name, \
    408      1.45      fvdl 			    void *value, size_t size); }
    409  1.61.2.1      yamt 228	STD		{ ssize_t|linux_sys||fgetxattr(int fd, char *name, \
    410      1.45      fvdl 			    void *value, size_t size); }
    411  1.61.2.1      yamt 229	STD		{ ssize_t|linux_sys||listxattr(char *path, char *list, \
    412      1.45      fvdl 			    size_t size); }
    413  1.61.2.1      yamt 230	STD		{ ssize_t|linux_sys||llistxattr(char *path, char *list, \
    414      1.45      fvdl 			    size_t size); }
    415  1.61.2.1      yamt 231	STD		{ ssize_t|linux_sys||flistxattr(int fd, char *list, \
    416      1.45      fvdl 			    size_t size); }
    417  1.61.2.1      yamt 232	STD		{ int|linux_sys||removexattr(char *path, char *name); }
    418  1.61.2.1      yamt 233	STD		{ int|linux_sys||lremovexattr(char *path, char *name); }
    419  1.61.2.1      yamt 234	STD		{ int|linux_sys||fremovexattr(int fd, char *name); }
    420  1.61.2.4      yamt 235	STD		{ int|linux_sys||futex(int *uaddr, int op, int val, \
    421  1.61.2.4      yamt 			    const struct linux_timespec *timeout, int *uaddr2, \
    422  1.61.2.4      yamt 			    int val3); }
    423      1.46       jmc 236	UNIMPL		sendfile64
    424      1.46       jmc 237	UNIMPL		mincore
    425      1.46       jmc 238	UNIMPL		madvise
    426      1.46       jmc 239	UNIMPL		fcntl64
    427      1.46       jmc 240	UNIMPL		readahead
    428      1.46       jmc 241	UNIMPL		io_setup
    429      1.46       jmc 242	UNIMPL		io_destroy
    430      1.46       jmc 243	UNIMPL		io_getevents
    431      1.46       jmc 244	UNIMPL		io_submit
    432      1.46       jmc 245	UNIMPL		io_cancel
    433      1.46       jmc 246	UNIMPL		fadvise64
    434      1.46       jmc 247	UNIMPL		exit_group
    435      1.46       jmc 248	UNIMPL		lookup_dcookie
    436      1.46       jmc 249	UNIMPL		epoll_create
    437      1.46       jmc 250	UNIMPL		epoll_ctl
    438      1.46       jmc 251	UNIMPL		epoll_wait
    439      1.46       jmc 252	UNIMPL		remap_file_pages
    440  1.61.2.4      yamt 253	STD		{ int|linux_sys||set_tid_address(int *tid); }
    441      1.46       jmc 254	UNIMPL		timer_create
    442      1.46       jmc 255	UNIMPL		timer_settime
    443      1.46       jmc 256	UNIMPL		timer_gettime
    444      1.46       jmc 257	UNIMPL		timer_getoverrun
    445  1.61.2.4      yamt 258	UNIMPL		timer_ delete
    446  1.61.2.1      yamt 259	STD		{ int|linux_sys||clock_settime(clockid_t which, \
    447      1.46       jmc 			    struct linux_timespec *tp); }
    448  1.61.2.1      yamt 260	STD		{ int|linux_sys||clock_gettime(clockid_t which, \
    449      1.46       jmc 			    struct linux_timespec *tp); }
    450  1.61.2.1      yamt 261	STD		{ int|linux_sys||clock_getres(clockid_t which, \
    451      1.46       jmc 			    struct linux_timespec *tp); }
    452  1.61.2.1      yamt 262	STD		{ int|linux_sys||clock_nanosleep(clockid_t which, \
    453      1.46       jmc 			    int flags, struct linux_timespec *rqtp, \
    454      1.46       jmc 			    struct linux_timespec *rmtp); }
    455  1.61.2.4      yamt 263	STD		{ int|linux_sys||statfs64(const char *path, \
    456  1.61.2.4      yamt 			    size_t sz, struct linux_statfs64 *sp); }
    457  1.61.2.4      yamt 264	STD		{ int|linux_sys||fstatfs64(int fd, \
    458  1.61.2.4      yamt 			    size_t sz, struct linux_statfs64 *sp); }
    459  1.61.2.4      yamt 265	STD		{ int|linux_sys||tgkill(int tgid, int tid, int sig); }
    460  1.61.2.4      yamt 266	UNIMPL		utimes
    461  1.61.2.4      yamt 267	UNIMPL		fadvise64_64
    462  1.61.2.4      yamt 268	UNIMPL		mbind
    463  1.61.2.4      yamt 269	UNIMPL		get_mempolicy
    464  1.61.2.4      yamt 270	UNIMPL		set_mempolicy
    465  1.61.2.4      yamt 271	UNIMPL		mq_open
    466  1.61.2.4      yamt 272	UNIMPL		mq_unlink
    467  1.61.2.4      yamt 273	UNIMPL		mq_timedsend
    468  1.61.2.4      yamt 274	UNIMPL		mq_timedreceive
    469  1.61.2.4      yamt 275	UNIMPL		mq_notify
    470  1.61.2.4      yamt 276	UNIMPL		mq_getsetattr
    471  1.61.2.4      yamt 277	UNIMPL		waitid
    472  1.61.2.4      yamt 278	UNIMPL		vserver
    473  1.61.2.4      yamt 279	UNIMPL		add_key
    474  1.61.2.4      yamt 280	UNIMPL		request_key
    475  1.61.2.4      yamt 281	UNIMPL		keyctl
    476  1.61.2.4      yamt 282	UNIMPL		ioprio_set
    477  1.61.2.4      yamt 283	UNIMPL		ioprio_get
    478  1.61.2.4      yamt 284	UNIMPL		inotify_init
    479  1.61.2.4      yamt 285	UNIMPL		inotify_add_watch
    480  1.61.2.4      yamt 286	UNIMPL		inotify_rm_watch
    481  1.61.2.4      yamt 287	UNIMPL		migrate_pages
    482  1.61.2.4      yamt 288	UNIMPL		openat
    483  1.61.2.4      yamt 289	UNIMPL		mkdirat
    484  1.61.2.4      yamt 290	UNIMPL		mknodat
    485  1.61.2.4      yamt 291	UNIMPL		fchownat
    486  1.61.2.4      yamt 292	UNIMPL		futimesat
    487  1.61.2.4      yamt 293	UNIMPL		fstatat64
    488  1.61.2.4      yamt 294	UNIMPL		unlinkat
    489  1.61.2.4      yamt 295	UNIMPL		renameat
    490  1.61.2.4      yamt 296	UNIMPL		linkat
    491  1.61.2.4      yamt 297	UNIMPL		symlinkat
    492  1.61.2.4      yamt 298	UNIMPL		readlinkat
    493  1.61.2.4      yamt 299	UNIMPL		fchmodat
    494  1.61.2.4      yamt 300	UNIMPL		faccessat
    495  1.61.2.4      yamt 301	UNIMPL		pselect6
    496  1.61.2.4      yamt 302	UNIMPL		ppoll
    497  1.61.2.4      yamt 303	UNIMPL		unshare
    498  1.61.2.4      yamt 304	STD		{ int|linux_sys||set_robust_list( \
    499  1.61.2.4      yamt 			    struct linux_robust_list_head *head, size_t len); }
    500  1.61.2.4      yamt 305	STD		{ int|linux_sys||get_robust_list(int pid, \
    501  1.61.2.4      yamt 			    struct linux_robust_list_head **head, \
    502  1.61.2.4      yamt 			    size_t *len); }
    503  1.61.2.4      yamt 306	UNIMPL		splice
    504  1.61.2.4      yamt 307	UNIMPL		sync_file_range
    505  1.61.2.4      yamt 308	UNIMPL		tee
    506  1.61.2.4      yamt 309	UNIMPL		vmsplice
    507  1.61.2.4      yamt 310	UNIMPL		move_pages
    508  1.61.2.4      yamt 311	STD		{ int|linux_sys||sched_setaffinity(pid_t pid, \
    509  1.61.2.4      yamt 			    unsigned int len, unsigned long *mask); }
    510  1.61.2.4      yamt 312	STD		{ int|linux_sys||sched_getaffinity(pid_t pid, \
    511  1.61.2.4      yamt 			    unsigned int len, unsigned long *mask); }
    512  1.61.2.4      yamt 313	UNIMPL		kexec_load
    513  1.61.2.4      yamt 314	UNIMPL		getcpu
    514  1.61.2.4      yamt 315	UNIMPL		epoll_wait
    515  1.61.2.4      yamt 316	UNIMPL		utimensat
    516  1.61.2.4      yamt 317	UNIMPL		signalfd
    517  1.61.2.4      yamt 318	UNIMPL		timerfd_create
    518  1.61.2.4      yamt 319	UNIMPL		eventfd
    519  1.61.2.4      yamt 320	UNIMPL		fallocate
    520  1.61.2.4      yamt 321	UNIMPL		timerfd_settime
    521  1.61.2.4      yamt 322	UNIMPL		timerfd_gettime
    522  1.61.2.4      yamt 323	UNIMPL		signalfd4
    523  1.61.2.4      yamt 324	UNIMPL		eventfd2
    524  1.61.2.4      yamt 325	UNIMPL		epoll_create1
    525  1.61.2.4      yamt 326	UNIMPL		dup3
    526  1.61.2.4      yamt 327	UNIMPL		pipe2
    527  1.61.2.4      yamt 328	UNIMPL		inotify_init1
    528  1.61.2.4      yamt 329	UNIMPL		preadv
    529  1.61.2.4      yamt 330	UNIMPL		pwritev
    530  1.61.2.4      yamt 331	UNIMPL		rt_tgsigqueueinfo
    531  1.61.2.4      yamt 332	UNIMPL		perf_counter_open
    532  1.61.2.4      yamt 333	UNIMPL		set_thread_area
    533  1.61.2.4      yamt 334	UNIMPL		get_thread_area
    534  1.61.2.4      yamt 335	UNIMPL		atomic_cmpxchg_32
    535  1.61.2.4      yamt 336	UNIMPL		atomic_barrier
    536