Home | History | Annotate | Line # | Download | only in amd64
syscalls.master revision 1.12
      1  1.12  christos 	$NetBSD: syscalls.master,v 1.12 2007/03/04 06:01:25 christos Exp $
      2   1.1      manu 
      3   1.1      manu ; NetBSD i386 COMPAT_LINUX32 system call name/number "master" file.
      4   1.1      manu ; (See syscalls.conf to see what it is processed into.)
      5   1.1      manu ;
      6   1.1      manu ; Fields: number type [type-dependent ...]
      7   1.1      manu ;	number	system call number, must be in order
      8   1.1      manu ;	type	one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
      9   1.1      manu ;		the compatibility options defined in syscalls.conf.
     10   1.1      manu ;
     11   1.1      manu ; types:
     12   1.1      manu ;	STD	always included
     13   1.1      manu ;	OBSOL	obsolete, not included in system
     14   1.1      manu ;	UNIMPL	unimplemented, not included in system
     15   1.1      manu ;	NODEF	included, but don't define the syscall number
     16   1.1      manu ;
     17   1.1      manu ;	INDIR	included, but don't define the syscall args structure
     18   1.1      manu ;		and allow it to be "really" varargs.
     19   1.1      manu ;
     20   1.1      manu ; The compat options are defined in the syscalls.conf file, and the
     21   1.1      manu ; compat option name is prefixed to the syscall name.  Other than
     22   1.1      manu ; that, they're like NODEF (for 'compat' options), or STD (for
     23   1.1      manu ; 'libcompat' options).
     24   1.1      manu ;
     25   1.1      manu ; The type-dependent arguments are as follows:
     26   1.1      manu ; For STD, NODEF, NOARGS, and compat syscalls:
     27   1.1      manu ;	{ pseudo-proto } [alias]
     28   1.1      manu ; For other syscalls:
     29   1.1      manu ;	[comment]
     30   1.1      manu ;
     31   1.1      manu ; #ifdef's, etc. may be included, and are copied to the output files.
     32   1.1      manu ; #include's are copied to the syscall names and switch definition files only.
     33   1.1      manu 
     34   1.1      manu #if defined(_KERNEL_OPT)
     35   1.1      manu #include "opt_compat_43.h"
     36   1.1      manu #endif
     37   1.1      manu 
     38   1.1      manu #include <sys/param.h>
     39   1.1      manu #include <sys/poll.h>
     40   1.1      manu #include <sys/systm.h>
     41   1.1      manu #include <sys/signal.h>
     42   1.1      manu #include <sys/mount.h>
     43   1.1      manu #include <sys/syscallargs.h>
     44   1.1      manu 
     45   1.1      manu #include <machine/netbsd32_machdep.h>
     46   1.1      manu 
     47   1.1      manu #include <compat/netbsd32/netbsd32.h>
     48   1.1      manu #include <compat/netbsd32/netbsd32_syscallargs.h>
     49   1.1      manu 
     50   1.1      manu #include <compat/linux32/common/linux32_types.h>
     51   1.1      manu #include <compat/linux32/common/linux32_signal.h>
     52   1.1      manu #include <compat/linux32/arch/amd64/linux32_missing.h>
     53   1.1      manu #include <compat/linux32/linux32_syscallargs.h>
     54   1.1      manu 
     55   1.1      manu #include <compat/linux/common/linux_types.h>
     56   1.1      manu #include <compat/linux/common/linux_mmap.h>
     57   1.1      manu #include <compat/linux/common/linux_signal.h>
     58   1.1      manu #include <compat/linux/common/linux_siginfo.h>
     59   1.1      manu #include <compat/linux/common/linux_machdep.h>
     60   1.1      manu 
     61   1.1      manu #include <compat/linux/linux_syscallargs.h>
     62   1.1      manu 
     63   1.1      manu %%
     64   1.1      manu 
     65   1.1      manu 0	NOARGS	{ int linux_sys_nosys(void); } syscall
     66   1.1      manu 1	NOARGS	{ int sys_exit(int rval); }
     67   1.1      manu 2	NOARGS	{ int sys_fork(void); }
     68   1.1      manu 3	NOARGS	{ netbsd32_ssize_t netbsd32_read(int fd, \
     69   1.1      manu 		    netbsd32_voidp buf, netbsd32_size_t nbyte); }
     70   1.1      manu 4	NOARGS	{ netbsd32_ssize_t netbsd32_write(int fd, \
     71   1.1      manu 		    const netbsd32_voidp buf, netbsd32_size_t nbyte); }
     72   1.1      manu 5	STD	{ int linux32_sys_open(const netbsd32_charp path, int flags, \
     73   1.1      manu 		    int mode); }
     74   1.1      manu 6	NOARGS	{ int sys_close(int fd); }
     75   1.1      manu 7	STD	{ int linux32_sys_waitpid(int pid, netbsd32_intp status, \
     76   1.1      manu 		    int options);}
     77   1.1      manu 8	STD	{ int linux32_sys_creat(const netbsd32_charp path, int mode); }
     78   1.1      manu 9	STD	{ int linux32_sys_link(const netbsd32_charp path, \
     79   1.1      manu 		    const netbsd32_charp link); }
     80   1.1      manu 10	STD	{ int linux32_sys_unlink(const netbsd32_charp path); }
     81   1.9     njoly 11	NOARGS	{ int netbsd32_execve(const netbsd32_charp path, \
     82   1.1      manu 		    netbsd32_charpp argp, netbsd32_charpp envp); }
     83   1.1      manu 12	STD	{ int linux32_sys_chdir(const netbsd32_charp path); }
     84   1.1      manu 13	STD	{ int linux32_sys_time(linux32_timep_t t); }
     85   1.1      manu 14	STD	{ int linux32_sys_mknod(const netbsd32_charp path, \
     86   1.1      manu 		    int mode, int dev); }
     87   1.1      manu 15	STD	{ int linux32_sys_chmod(const netbsd32_charp path, int mode); }
     88   1.1      manu 16	STD	{ int linux32_sys_lchown16(const netbsd32_charp path, \
     89   1.1      manu 		    int uid, int gid); }
     90   1.1      manu 17	STD	{ int linux32_sys_break(netbsd32_charp nsize); }
     91   1.1      manu 18	OBSOL	ostat
     92   1.1      manu 19	NOARGS	{ netbsd32_long compat_43_netbsd32_olseek(int fd, \
     93   1.1      manu 		    netbsd32_long offset, int chence); }
     94   1.3      manu 20	STD	{ pid_t linux_sys_getpid(void); }
     95   1.1      manu 21	UNIMPL	mount
     96   1.1      manu 22	UNIMPL	umount
     97   1.1      manu 23	NOARGS	linux_setuid16 { int sys_setuid(uid_t uid); }
     98   1.1      manu 24	NOARGS	linux_getuid16 { uid_t sys_getuid(void); }
     99   1.1      manu 25	STD	{ int linux32_sys_stime(linux32_timep_t t); }
    100   1.1      manu 26	UNIMPL	ptrace
    101   1.1      manu 27	NOARGS	{ int linux_sys_alarm(unsigned int secs); }
    102   1.1      manu 28	OBSOL	ofstat
    103   1.1      manu 29	NOARGS	{ int linux_sys_pause(void); }
    104   1.1      manu 30	STD	{ int linux32_sys_utime(const netbsd32_charp path, \
    105   1.1      manu 		    linux32_utimbufp_t times); }
    106   1.1      manu 31	OBSOL	stty
    107   1.1      manu 32	OBSOL	gtty
    108   1.1      manu 33	STD	{ int linux32_sys_access(const netbsd32_charp path, \
    109   1.1      manu 		    int flags); }
    110   1.1      manu 34	NOARGS	{ int linux_sys_nice(int incr); }
    111   1.1      manu 35	OBSOL	ftime
    112   1.1      manu 36	NOARGS	{ int sys_sync(void); }
    113   1.1      manu 37	STD	{ int linux32_sys_kill(int pid, int signum); }
    114   1.1      manu 38	STD	{ int linux32_sys_rename(const netbsd32_charp from, \
    115   1.1      manu 		    const netbsd32_charp to); }
    116   1.1      manu 39	STD	{ int linux32_sys_mkdir(const netbsd32_charp path, int mode); }
    117   1.1      manu 40	STD	{ int linux32_sys_rmdir(const netbsd32_charp path); }
    118   1.2      manu 41	NOARGS	{ int netbsd32_dup(u_int fd); }
    119   1.1      manu 42	STD	{ int linux32_sys_pipe(netbsd32_intp fd); }
    120   1.1      manu 43	STD	{ int linux32_sys_times(linux32_tmsp_t tms); }
    121   1.1      manu 44	OBSOL	prof
    122   1.1      manu 45	STD	{ int linux32_sys_brk(netbsd32_charp nsize); }
    123   1.1      manu 46	NOARGS	linux_setgid16 { int sys_setgid(gid_t gid); }
    124   1.1      manu 47	NOARGS	linux_getgid16 { gid_t sys_getgid(void); }
    125   1.1      manu 48	STD	{ int linux32_sys_signal(int signum, \
    126   1.1      manu 		    linux32_handler_t handler); }
    127   1.1      manu 49	NOARGS	linux_geteuid16 { uid_t sys_geteuid(void); }
    128   1.1      manu 50	NOARGS	linux_getegid16 { gid_t sys_getegid(void); }
    129   1.9     njoly 51	NOARGS	{ int netbsd32_acct(netbsd32_charp path); }
    130   1.1      manu 52	OBSOL	phys
    131   1.1      manu 53	OBSOL	lock
    132   1.1      manu 54	STD	{ int linux32_sys_ioctl(int fd, netbsd32_u_long com, \
    133   1.1      manu 		    netbsd32_charp data); }
    134   1.1      manu 55	STD	{ int linux32_sys_fcntl(int fd, \
    135   1.1      manu 		    int cmd, netbsd32_voidp arg); }
    136   1.1      manu 56	OBSOL	mpx
    137   1.1      manu 57	NOARGS	{ int sys_setpgid(int pid, int pgid); }
    138   1.1      manu 58	OBSOL	ulimit
    139   1.1      manu 59	STD	{ int linux32_sys_oldolduname( \
    140   1.1      manu 		    linux32_oldold_utsnamep_t up); }
    141   1.1      manu 60	NOARGS	{ int sys_umask(int newmask); }
    142   1.9     njoly 61	NOARGS	{ int netbsd32_chroot(netbsd32_charp path); }
    143   1.1      manu 62	UNIMPL	ustat
    144   1.2      manu 63	NOARGS	{ int netbsd32_dup2(u_int from, u_int to); }
    145   1.3      manu 64	STD	{ pid_t linux_sys_getppid(void); }
    146   1.1      manu 65	NOARGS	{ int sys_getpgrp(void); }
    147   1.1      manu 66	NOARGS	{ int sys_setsid(void); }
    148   1.1      manu 67	UNIMPL	sigaction
    149   1.1      manu 68	UNIMPL	siggetmask
    150   1.1      manu 69	UNIMPL	sigsetmask
    151   1.1      manu 70	STD	{ int linux_sys_setreuid16(int ruid, int euid); }
    152   1.1      manu 71	STD	{ int linux_sys_setregid16(int rgid, int egid); }
    153   1.1      manu 72	UNIMPL	sigsuspend
    154   1.1      manu 73	UNIMPL	sigpending
    155   1.1      manu 74	NOARGS	{ int compat_43_netbsd32_osethostname(netbsd32_charp hostname, \
    156   1.1      manu 		    u_int len); }
    157   1.1      manu 75	STD	{ int linux32_sys_setrlimit(u_int which, \
    158   1.1      manu 		    netbsd32_orlimitp_t rlp); }
    159   1.1      manu 76	STD	{ int linux32_sys_getrlimit(u_int which, \
    160   1.1      manu 		    netbsd32_orlimitp_t rlp); }
    161   1.9     njoly 77	NOARGS	{ int netbsd32_getrusage(int who, \
    162   1.1      manu 		    netbsd32_rusagep_t rusage); }
    163   1.1      manu 78	STD	{ int linux32_sys_gettimeofday(netbsd32_timevalp_t tp, \
    164   1.1      manu 		    netbsd32_timezonep_t tzp); }
    165   1.1      manu 79	STD	{ int linux32_sys_settimeofday(netbsd32_timevalp_t tp, \
    166   1.1      manu 		    netbsd32_timezonep_t tzp); }
    167   1.1      manu 80	STD	{ int linux32_sys_getgroups16(int gidsetsize, \
    168   1.1      manu 		    linux32_gidp_t gidset); }
    169   1.1      manu 81	STD	{ int linux32_sys_setgroups16(int gidsetsize, \
    170   1.1      manu 		    linux32_gidp_t gidset); }
    171   1.1      manu 82	STD	{ int linux32_sys_oldselect(linux32_oldselectp_t lsp); }
    172   1.1      manu 83	STD	{ int linux32_sys_symlink(netbsd32_charp path, \
    173   1.1      manu 		    const netbsd32_charp link); }
    174   1.9     njoly 84	NOARGS	{ int compat_43_netbsd32_lstat43(const netbsd32_charp \
    175   1.1      manu 		    path, netbsd32_stat43p_t ub); }
    176   1.1      manu 85	STD	{ int linux32_sys_readlink(const netbsd32_charp name, \
    177   1.1      manu 		    netbsd32_charp buf, int count); }
    178   1.1      manu 86	UNIMPL	uselib
    179   1.1      manu 87	STD	{ int linux32_sys_swapon(netbsd32_charp name); }
    180   1.1      manu 88	STD	{ int linux32_sys_reboot(int magic1, int magic2, int cmd, \
    181   1.1      manu 		    netbsd32_voidp arg); }
    182   1.1      manu 89	UNIMPL	readdir
    183   1.1      manu 90	STD	{ int linux32_sys_old_mmap(linux32_oldmmapp lmp); }
    184  1.12  christos 91	NOARGS	{ int netbsd32_munmap(netbsd32_void *addr, int len); }
    185   1.1      manu 92	STD	{ int linux32_sys_truncate(const netbsd32_charp path, \
    186   1.1      manu 		    netbsd32_long length); }
    187   1.1      manu 93	NOARGS	{ int compat_43_sys_ftruncate(int fd, long length); }
    188   1.1      manu 94	NOARGS	{ int sys_fchmod(int fd, int mode); }
    189   1.1      manu 95	STD	{ int linux32_sys_fchown16(int fd, int uid, int gid); }
    190   1.3      manu 96	STD	{ int linux32_sys_getpriority(int which, int who); }
    191   1.3      manu 97	STD	{ int linux32_sys_setpriority(int which, int who, int prio); }
    192   1.1      manu 98	UNIMPL	profil
    193   1.1      manu 99	UNIMPL	statfs
    194   1.1      manu 100	UNIMPL	fstatfs
    195   1.1      manu 101	UNIMPL	ioperm
    196   1.1      manu 102	STD	{ int linux32_sys_socketcall(int what, netbsd32_voidp args); }
    197   1.1      manu 103	UNIMPL	syslog
    198   1.9     njoly 104	NOARGS	{ int netbsd32_setitimer(u_int which, \
    199   1.1      manu 		    netbsd32_itimervalp_t itv, netbsd32_itimervalp_t oitv); }
    200   1.9     njoly 105	NOARGS	{ int netbsd32_getitimer(u_int which, \
    201   1.1      manu 		    netbsd32_itimervalp_t itv); }
    202   1.1      manu 106	UNIMPL	stat
    203   1.1      manu 107	UNIMPL	lstat
    204   1.1      manu 108	UNIMPL	fstat
    205   1.1      manu 109	UNIMPL	olduname
    206   1.1      manu 110	UNIMPL	iopl
    207   1.1      manu 111	UNIMPL	vhangup
    208   1.1      manu 112	UNIMPL	idle
    209   1.1      manu 113	UNIMPL	vm86old
    210   1.1      manu 114	STD	{ int linux32_sys_wait4(int pid, netbsd32_intp status, \
    211   1.1      manu 		    int options, netbsd32_rusagep_t rusage); }
    212   1.1      manu 115	STD	{ int linux32_sys_swapoff(const netbsd32_charp path); }
    213   1.7      manu 116	STD	{ int linux32_sys_sysinfo(linux32_sysinfop_t arg); }
    214   1.1      manu 117	UNIMPL	ipc
    215   1.1      manu 118	NOARGS	{ int sys_fsync(int fd); }
    216   1.1      manu 119	STD	{ int linux32_sys_sigreturn(linux32_sigcontextp_t scp); }
    217   1.1      manu 120	STD	{ int linux32_sys_clone(int flags, netbsd32_voidp stack); }
    218   1.1      manu 121	UNIMPL	setdomainname
    219   1.1      manu 122	STD	{ int linux32_sys_uname(linux32_utsnamep up); }
    220   1.1      manu 123	UNIMPL	modify_ldt
    221   1.1      manu 124	UNIMPL	adjtimex
    222   1.1      manu 125	STD	{ int linux32_sys_mprotect(netbsd32_voidp addr, \
    223   1.1      manu 		    netbsd32_size_t len, int prot); } 
    224   1.1      manu 126	UNIMPL	sigprocmask
    225   1.1      manu 127	UNIMPL	create_module
    226   1.1      manu 128	UNIMPL	init_module
    227   1.1      manu 129	UNIMPL	delete_module
    228   1.1      manu 130	UNIMPL	get_kernel_syms
    229   1.1      manu 131	UNIMPL	quotactl
    230   1.1      manu 132	UNIMPL	getpgid
    231   1.1      manu 133	NOARGS	{ int sys_fchdir(int fd); }
    232   1.1      manu 134	UNIMPL	bdflush
    233   1.1      manu 135	UNIMPL	sysfs
    234   1.1      manu 136	UNIMPL	personality
    235   1.1      manu 137	UNIMPL	afs_syscall
    236  1.11     njoly 138	NOARGS	setfsuid16 { int linux_sys_setfsuid(uid_t uid); }
    237  1.11     njoly 139	NOARGS	getfsuid16 { int linux_sys_getfsuid(void); }
    238   1.1      manu 140	STD	{ int linux32_sys_llseek(int fd, u_int32_t ohigh, \
    239  1.12  christos 		    u_int32_t olow, netbsd32_void *res, int whence); }
    240   1.1      manu 141	STD	{ int linux32_sys_getdents(int fd, \
    241   1.1      manu 		    linux32_direntp_t dent, unsigned int count); }
    242   1.1      manu 142	STD	{ int linux32_sys_select(int nfds, \
    243   1.1      manu 		    netbsd32_fd_setp_t readfds, \
    244   1.1      manu 		    netbsd32_fd_setp_t writefds, \
    245   1.1      manu 		    netbsd32_fd_setp_t exceptfds, \
    246   1.1      manu 		    netbsd32_timevalp_t timeout); }
    247   1.1      manu 143	NOARGS	{ int sys_flock(int fd, int how); } 
    248   1.1      manu 144	UNIMPL	msync
    249   1.9     njoly 145	NOARGS	{ int netbsd32_readv(int fd, \
    250   1.1      manu 		    const netbsd32_iovecp_t iovp, u_int iovcnt); }
    251   1.9     njoly 146	NOARGS	{ netbsd32_ssize_t netbsd32_writev(int fd, \
    252   1.1      manu 		    const netbsd32_iovecp_t iovp, int iovcnt); }
    253   1.1      manu 147	NOARGS	{ pid_t sys_getsid(pid_t pid); }
    254   1.6      manu 148	NOARGS	{ int linux_sys_fdatasync(int fd); }
    255   1.1      manu 149	STD	{ int linux32_sys___sysctl(linux32___sysctlp_t lsp); }
    256   1.1      manu 150	UNIMPL	mlock
    257   1.1      manu 151	UNIMPL	munlock
    258   1.1      manu 152	NOARGS	{ int sys_mlockall(int flags); }
    259   1.1      manu 153	NOARGS	{ int sys_munlockall(void); }
    260   1.1      manu 154	UNIMPL	sched_setparam
    261   1.7      manu 155	STD	{ int linux32_sys_sched_getparam(pid_t pid, \
    262   1.7      manu 		    linux32_sched_paramp_t sp); }
    263   1.1      manu 156	STD	{ int linux32_sys_sched_setscheduler(pid_t pid, \
    264   1.1      manu 		    int policy, const linux32_sched_paramp_t sp); }
    265   1.7      manu 157	NOARGS	{ int linux_sys_sched_getscheduler(pid_t pid); }
    266  1.11     njoly 158	NOARGS	{ int linux_sys_sched_yield(void); }
    267   1.1      manu 159	UNIMPL	sched_get_priority_max
    268   1.1      manu 160	UNIMPL	sched_get_priority_min
    269   1.1      manu 161	UNIMPL	sched_rr_get_interval
    270   1.9     njoly 162	NOARGS	{ int netbsd32_nanosleep(const \
    271   1.1      manu 		    netbsd32_timespecp_t rqtp \
    272   1.1      manu 		    netbsd32_timespecp_t rmtp); }
    273   1.7      manu 163	STD	{ int linux32_sys_mremap(netbsd32_voidp old_address, \
    274   1.7      manu 		    netbsd32_size_t old_size , netbsd32_size_t new_size, \
    275   1.7      manu 		    netbsd32_u_long flags); }
    276   1.1      manu 164	NOARGS	{ int linux_sys_setresuid16(uid_t ruid, uid_t euid, \
    277   1.1      manu 		    uid_t suid); }
    278   1.4      manu 165	UNIMPL	getresuid16
    279   1.1      manu 166	UNIMPL	vm86
    280   1.1      manu 167	UNIMPL	query_module
    281   1.9     njoly 168	NOARGS	{ int netbsd32_poll(netbsd32_pollfdp_t fds, u_int nfds, \
    282   1.1      manu 		   int timeout); }
    283   1.1      manu 169	UNIMPL	nfsservctl
    284   1.1      manu 170	NOARGS	{ int linux_sys_setresgid16(gid_t rgid, gid_t egid, \
    285   1.1      manu 		    gid_t sgid); }
    286   1.1      manu 171	UNIMPL	int
    287   1.1      manu 172	UNIMPL	prctl
    288   1.1      manu 173	STD	{ int linux32_sys_rt_sigreturn(linux32_ucontextp_t ucp); }
    289   1.1      manu 174	STD	{ int linux32_sys_rt_sigaction(int signum, \
    290   1.1      manu 		    const linux32_sigactionp_t nsa, \
    291   1.1      manu 		    linux32_sigactionp_t osa, \
    292   1.1      manu 		    netbsd32_size_t sigsetsize); }
    293   1.1      manu 175	STD	{ int linux32_sys_rt_sigprocmask(int how, \
    294   1.1      manu 		     const linux32_sigsetp_t set, \
    295   1.1      manu 		     linux32_sigsetp_t oset, \
    296   1.1      manu 		     netbsd32_size_t sigsetsize); }
    297   1.1      manu 176	UNIMPL	rt_sigpending
    298   1.1      manu 177	UNIMPL	rt_sigtimedwait
    299   1.1      manu 178	UNIMPL	rt_queueinfo
    300   1.1      manu 179	STD	{ int linux32_sys_rt_sigsuspend(linux32_sigsetp_t unewset, \
    301   1.1      manu 		    netbsd32_size_t sigsetsize); }
    302   1.1      manu 180	UNIMPL	pread
    303   1.1      manu 181	UNIMPL	pwrite
    304   1.1      manu 182	UNIMPL	chown16
    305   1.2      manu 183	NOARGS	{ int netbsd32___getcwd(netbsd32_charp bufp, \
    306   1.2      manu 		    netbsd32_size_t length); } 
    307   1.1      manu 184	UNIMPL	capget
    308   1.1      manu 185	UNIMPL	capset
    309   1.1      manu 186	UNIMPL	sigaltstack
    310   1.1      manu 187	UNIMPL	sendfile
    311   1.1      manu 188	UNIMPL	getpmsg
    312   1.1      manu 189	UNIMPL	putpmsg
    313   1.1      manu 190	NOARGS	{ int sys___vfork14(void); }
    314   1.1      manu 191	STD	{ int linux32_sys_ugetrlimit(int which, \
    315   1.1      manu 		    netbsd32_orlimitp_t rlp); }
    316   1.7      manu 192	STD	{ linux32_off_t linux32_sys_mmap2(netbsd32_u_long addr, \
    317   1.7      manu 		    netbsd32_size_t len, int prot, int flags, int fd, \
    318   1.7      manu 		    linux32_off_t offset); }
    319   1.1      manu 193	UNIMPL	truncate64
    320   1.1      manu 194	UNIMPL	ftruncate64
    321   1.1      manu 195	STD	{ int linux32_sys_stat64(const netbsd32_charp path, \
    322   1.1      manu 		    linux32_stat64p sp); }
    323   1.1      manu 196	STD	{ int linux32_sys_lstat64(const netbsd32_charp path, \
    324   1.1      manu 		    linux32_stat64p sp); }
    325   1.1      manu 197	STD	{ int linux32_sys_fstat64(int fd, \
    326   1.1      manu 		    linux32_stat64p sp); }
    327   1.1      manu 198	UNIMPL	lchown
    328   1.1      manu 199	NOARGS	{ uid_t sys_getuid(void); }
    329   1.1      manu 200	NOARGS	{ gid_t sys_getgid(void); }
    330   1.1      manu 201	NOARGS	{ uid_t sys_geteuid(void); }
    331   1.1      manu 202	NOARGS	{ gid_t sys_getegid(void); }
    332   1.1      manu 203	NOARGS	{ int sys_setreuid(uid_t ruid, uid_t euid); }
    333   1.1      manu 204	NOARGS	{ int sys_setregid(gid_t rgid, gid_t egid); }
    334   1.2      manu 205	NOARGS	{ int netbsd32_getgroups(int gidsetsize, \
    335   1.2      manu 		    netbsd32_gid_tp gidset); }
    336   1.2      manu 206	NOARGS	{ int netbsd32_setgroups(int gidsetsize, \
    337   1.2      manu 		    netbsd32_gid_tp gidset); }
    338   1.1      manu 207	NOARGS	{ int sys___posix_fchown(int fd, uid_t uid, gid_t gid); }
    339   1.5      manu 208	STD	{ int linux32_sys_setresuid(uid_t ruid, uid_t euid, \
    340   1.1      manu 		    uid_t suid); }
    341   1.1      manu 209	UNIMPL	getresuid
    342   1.5      manu 210	STD	{ int linux32_sys_setresgid(gid_t rgid, gid_t egid, \
    343   1.1      manu 		    gid_t sgid); }
    344   1.1      manu 211	UNIMPL	getresgid
    345   1.1      manu 212	UNIMPL	chown
    346   1.1      manu 213 	NOARGS	{ int sys_setuid(uid_t uid); }
    347   1.1      manu 214	NOARGS	{ int sys_setgid(gid_t gid); }
    348  1.11     njoly 215	NOARGS	{ int linux_sys_setfsuid(uid_t uid); }
    349  1.11     njoly 216	NOARGS	{ int linux_sys_getfsuid(void); }
    350   1.1      manu 217	UNIMPL	pivot_root
    351   1.1      manu 218	UNIMPL	mincore
    352   1.7      manu 219	NOARGS	{ int netbsd32_madvise(netbsd32_voidp addr, \
    353   1.7      manu 		    netbsd32_size_t len, int behav); }
    354   1.1      manu 220	STD	{ int linux32_sys_getdents64(int fd, \
    355   1.1      manu 		    linux32_dirent64p_t dent, unsigned int count); }
    356   1.1      manu 221	STD	{ int linux32_sys_fcntl64(int fd, \
    357   1.1      manu 		    int cmd, netbsd32_voidp arg); }
    358   1.1      manu 222	UNIMPL	/*	unused	*/
    359   1.1      manu 223	UNIMPL	/*	unused	*/
    360   1.3      manu 224	STD	{ pid_t linux_sys_gettid(void); }
    361   1.1      manu 225	UNIMPL	readahead
    362   1.1      manu 226	UNIMPL	setxattr
    363   1.1      manu 227	UNIMPL	lsetxattr
    364   1.1      manu 228	UNIMPL	fsetxattr
    365   1.1      manu 229	UNIMPL	getxattr
    366   1.1      manu 230	UNIMPL	lgetxattr
    367   1.1      manu 231	UNIMPL	fgetxattr
    368   1.1      manu 232	UNIMPL	listxattr
    369   1.1      manu 233	UNIMPL	llistxattr
    370   1.1      manu 234	UNIMPL	flistxattr
    371   1.1      manu 235	UNIMPL	removexattr
    372   1.1      manu 236	UNIMPL	lremovexattr
    373   1.1      manu 237	UNIMPL	fremovexattr
    374   1.1      manu 238	UNIMPL	tkill
    375   1.1      manu 239	UNIMPL	sendfile64
    376   1.1      manu 240	UNIMPL	futex
    377   1.1      manu 241	UNIMPL	sched_setaffinity
    378   1.1      manu 242	UNIMPL	sched_getaffinity
    379   1.1      manu 243	UNIMPL	set_thread_area
    380   1.1      manu 244	UNIMPL	get_thread_area
    381   1.1      manu 245	UNIMPL	io_setup
    382   1.1      manu 246	UNIMPL	io_destroy
    383   1.1      manu 247	UNIMPL	io_getevents
    384   1.1      manu 248	UNIMPL	io_submit
    385   1.1      manu 249	UNIMPL	io_cancel
    386   1.1      manu 250	UNIMPL	fadvise64
    387   1.1      manu 251	UNIMPL	/*	unused	*/
    388   1.1      manu 252	NOARGS	{ int linux_sys_exit_group(int error_code); }
    389   1.1      manu 253	UNIMPL	lookup_dcookie
    390   1.1      manu 254	UNIMPL	epoll_create
    391   1.1      manu 255	UNIMPL	epoll_ctl
    392   1.1      manu 256	UNIMPL	epoll_wait
    393   1.1      manu 257	UNIMPL	remap_file_pages
    394   1.1      manu 258	UNIMPL	set_tid_address
    395   1.1      manu 259	UNIMPL	timer_create
    396   1.1      manu 260	UNIMPL	timer_settime
    397   1.1      manu 261	UNIMPL	timer_gettime
    398   1.1      manu 262	UNIMPL	timer_getoverrun
    399   1.1      manu 263	UNIMPL	timer_delete
    400   1.1      manu 264	UNIMPL	clock_settime
    401   1.1      manu 265	UNIMPL	clock_gettime
    402   1.1      manu 266	UNIMPL	clock_getres
    403   1.1      manu 267	UNIMPL	clock_nanosleep
    404   1.1      manu 268	UNIMPL	statfs64
    405   1.1      manu 269	UNIMPL	fstatfs64
    406   1.1      manu 270	UNIMPL	tgkill
    407   1.1      manu 271	UNIMPL	utimes
    408   1.1      manu 272	UNIMPL	fadvise64_64
    409   1.1      manu 273	UNIMPL	vserver
    410   1.1      manu 274	UNIMPL	mbind
    411   1.1      manu 275	UNIMPL	get_mempolicy
    412   1.1      manu 276	UNIMPL	set_mempolicy
    413   1.1      manu 277	UNIMPL	mq_open
    414   1.1      manu 278	UNIMPL	mq_unlink
    415   1.1      manu 279	UNIMPL	mq_timedsend
    416   1.1      manu 280	UNIMPL	mq_timedreceive
    417   1.1      manu 281	UNIMPL	mq_notify
    418   1.1      manu 282	UNIMPL	mq_getsetattr
    419   1.1      manu 283	UNIMPL	kexec_load
    420