syscalls.master revision 159581
1 $FreeBSD: head/sys/i386/linux/syscalls.master 159581 2006-06-13 18:43:55Z netchild $
2
3;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
4; System call name/number master file (or rather, slave, from LINUX).
5; Processed to create linux_sysent.c, linux_proto.h and linux_syscall.h.
6
7; Columns: number audit type nargs name alt{name,tag,rtyp}/comments
8;	number	system call number, must be in order
9;	audit	the audit event associated with the system call
10;		A value of AUE_NULL means no auditing, but it also means that
11;		there is no audit event for the call at this time. For the
12;		case where the event exists, but we don't want auditing, the
13;		event should be #defined to AUE_NULL in audit_kevents.h.
14;	type	one of STD, OBSOL, UNIMPL
15;	name	psuedo-prototype of syscall routine
16;		If one of the following alts is different, then all appear:
17;	audit   the audit event associated with the system call
18;		A value of AUE_NULL means no auditing, but it also means that
19;		there is no audit event for the call at this time. For the
20;		case where the event exists, but we don't want auditing, the
21;		event should be #defined to AUE_NULL in audit_kevents.h.
22;	altname	name of system call if different
23;	alttag	name of args struct tag if different from [o]`name'"_args"
24;	altrtyp	return type if not int (bogus - syscalls always return int)
25;		for UNIMPL/OBSOL, name continues with comments
26
27; types:
28;	AUE_NULL	STD	always included
29;	OBSOL	obsolete, not included in system, only specifies name
30;	AUE_NULL	UNIMPL	not implemented, placeholder only
31
32#include <sys/param.h>
33#include <sys/sysent.h>
34#include <sys/sysproto.h>
35#include <compat/linux/linux_sysproto.h>
36#include <i386/linux/linux.h>
37#include <i386/linux/linux_proto.h>
38
39; Isn't pretty, but there seems to be no other way to trap nosys
40#define	nosys	linux_nosys
41
42; #ifdef's, etc. may be included, and are copied to the output files.
43
440	AUE_NULL	UNIMPL	setup
451	AUE_EXIT	MNOPROTO { void sys_exit(int rval); } exit \
46				    sys_exit_args void
472	AUE_FORK	MSTD	{ int linux_fork(void); }
483	AUE_NULL	MNOPROTO { int read(int fd, char *buf, \
49				    u_int nbyte); }
504	AUE_NULL	MNOPROTO { int write(int fd, char *buf, \
51				    u_int nbyte); }
525	AUE_OPEN_RWTC	MSTD	{ int linux_open(char *path, l_int flags, \
53				    l_int mode); }
546	AUE_CLOSE	MNOPROTO { int close(int fd); }
557	AUE_WAIT4	MSTD	{ int linux_waitpid(l_pid_t pid, \
56				    l_int *status, l_int options); }
578	AUE_O_CREAT	MSTD	{ int linux_creat(char *path, \
58				    l_int mode); }
599	AUE_LINK	MSTD	{ int linux_link(char *path, char *to); }
6010	AUE_UNLINK	MSTD	{ int linux_unlink(char *path); }
6111	AUE_EXECVE	MSTD	{ int linux_execve(char *path, char **argp, \
62				    char **envp); }
6312	AUE_CHDIR	MSTD	{ int linux_chdir(char *path); }
6413	AUE_NULL	MSTD	{ int linux_time(l_time_t *tm); }
6514	AUE_MKNOD	MSTD	{ int linux_mknod(char *path, l_int mode, \
66				    l_dev_t dev); }
6715	AUE_CHMOD	MSTD	{ int linux_chmod(char *path, \
68				    l_mode_t mode); }
6916	AUE_LCHOWN	MSTD	{ int linux_lchown16(char *path, \
70				    l_uid16_t uid, l_gid16_t gid); }
7117	AUE_NULL	UNIMPL	break
7218	AUE_STAT	MSTD	{ int linux_stat(char *path, \
73				    struct linux_stat *up); }
7419	AUE_LSEEK	MSTD	{ int linux_lseek(l_uint fdes, l_off_t off, \
75				    l_int whence); }
7620	AUE_GETPID	MSTD	{ int linux_getpid(void); }
7721	AUE_MOUNT	STD	{ int linux_mount(char *specialfile, \
78				    char *dir, char *filesystemtype, \
79				    l_ulong rwflag, void *data); }
8022	AUE_UMOUNT	STD	{ int linux_oldumount(char *path); }
8123	AUE_SETUID	MSTD	{ int linux_setuid16(l_uid16_t uid); }
8224	AUE_GETUID	MSTD	{ int linux_getuid16(void); }
8325	AUE_SETTIMEOFDAY	MSTD	{ int linux_stime(void); }
8426	AUE_PTRACE	MSTD	{ int linux_ptrace(l_long req, l_long pid, \
85				    l_long addr, l_long data); }
8627	AUE_NULL	MSTD	{ int linux_alarm(l_uint secs); }
8728	AUE_FSTAT	MSTD	{ int linux_fstat(l_uint fd, \
88				    struct linux_stat *up); }
8929	AUE_NULL	MSTD	{ int linux_pause(void); }
9030	AUE_UTIME	MSTD	{ int linux_utime(char *fname, \
91				    struct l_utimbuf *times); }
9231	AUE_NULL	UNIMPL	stty
9332	AUE_NULL	UNIMPL	gtty
9433	AUE_ACCESS	MSTD	{ int linux_access(char *path, l_int flags); }
9534	AUE_NICE	MSTD	{ int linux_nice(l_int inc); }
9635	AUE_NULL	UNIMPL	ftime
9736	AUE_SYNC	MNOPROTO	{ int sync(void); }
9837	AUE_KILL	MSTD	{ int linux_kill(l_int pid, l_int signum); }
9938	AUE_RENAME	MSTD	{ int linux_rename(char *from, char *to); }
10039	AUE_MKDIR	MSTD	{ int linux_mkdir(char *path, l_int mode); }
10140	AUE_RMDIR	MSTD	{ int linux_rmdir(char *path); }
10241	AUE_DUP		MNOPROTO { int dup(u_int fd); }
10342	AUE_PIPE	MSTD	{ int linux_pipe(l_ulong *pipefds); }
10443	AUE_NULL	MSTD	{ int linux_times(struct l_times_argv *buf); }
10544	AUE_NULL	UNIMPL	prof
10645	AUE_NULL	STD	{ int linux_brk(l_ulong dsend); }
10746	AUE_SETGID	MSTD	{ int linux_setgid16(l_gid16_t gid); }
10847	AUE_GETGID	MSTD	{ int linux_getgid16(void); }
10948	AUE_NULL	MSTD	{ int linux_signal(l_int sig, \
110				    l_handler_t handler); }
11149	AUE_GETEUID	MSTD	{ int linux_geteuid16(void); }
11250	AUE_GETEGID	MSTD	{ int linux_getegid16(void); }
11351	AUE_ACCT	MNOPROTO { int acct(char *path); }
11452	AUE_UMOUNT	STD	{ int linux_umount(char *path, l_int flags); }
11553	AUE_NULL	UNIMPL	lock
11654	AUE_IOCTL	STD	{ int linux_ioctl(l_uint fd, l_uint cmd, \
117				    l_ulong arg); }
11855	AUE_FCNTL	MSTD	{ int linux_fcntl(l_uint fd, l_uint cmd, \
119				    l_ulong arg); }
12056	AUE_NULL	UNIMPL	mpx
12157	AUE_SETPGRP	MNOPROTO { int setpgid(int pid, int pgid); }
12258	AUE_NULL	UNIMPL	ulimit
12359	AUE_NULL	MSTD	{ int linux_olduname(void); }
12460	AUE_UMASK	MNOPROTO { int umask(int newmask); }
12561	AUE_CHROOT	MNOPROTO	{ int chroot(char *path); }
12662	AUE_NULL	MSTD	{ int linux_ustat(l_dev_t dev, \
127				    struct l_ustat *ubuf); }
12863	AUE_DUP2	MNOPROTO { int dup2(u_int from, u_int to); }
12964	AUE_GETPPID	MNOPROTO { int getppid(void); }
13065	AUE_GETPGRP	MNOPROTO { int getpgrp(void); }
13166	AUE_SETSID	MNOPROTO { int setsid(void); }
13267	AUE_NULL	MSTD	{ int linux_sigaction(l_int sig, \
133				    l_osigaction_t *nsa, \
134				    l_osigaction_t *osa); }
13568	AUE_NULL	MSTD	{ int linux_sgetmask(void); }
13669	AUE_NULL	MSTD	{ int linux_ssetmask(l_osigset_t mask); }
13770	AUE_SETREUID	MSTD	{ int linux_setreuid16(l_uid16_t ruid, \
138				    l_uid16_t euid); }
13971	AUE_SETREGID	MSTD	{ int linux_setregid16(l_gid16_t rgid, \
140				    l_gid16_t egid); }
14172	AUE_NULL	MSTD	{ int linux_sigsuspend(l_int hist0, \
142				    l_int hist1, l_osigset_t mask); }
14373	AUE_NULL	MSTD	{ int linux_sigpending(l_osigset_t *mask); }
14474	AUE_SYSCTL	MSTD	{ int linux_sethostname(char *hostname, \
145				    u_int len); }
14675	AUE_SETRLIMIT	MSTD	{ int linux_setrlimit(l_uint resource, \
147				    struct l_rlimit *rlim); }
14876	AUE_GETRLIMIT	MSTD	{ int linux_old_getrlimit(l_uint resource, \
149				    struct l_rlimit *rlim); }
15077	AUE_GETRUSAGE	MNOPROTO	{ int getrusage(int who, \
151				    struct rusage *rusage); }
15278	AUE_NULL	MNOPROTO { int gettimeofday( \
153				    struct timeval *tp, \
154				    struct timezone *tzp); }
15579	AUE_SETTIMEOFDAY	MNOPROTO { int settimeofday( \
156				    struct timeval *tp, \
157				    struct timezone *tzp); }
15880	AUE_GETGROUPS	MSTD	{ int linux_getgroups16(l_uint gidsetsize, \
159				    l_gid16_t *gidset); }
16081	AUE_SETGROUPS	MSTD	{ int linux_setgroups16(l_uint gidsetsize, \
161				    l_gid16_t *gidset); }
16282	AUE_SELECT	MSTD	{ int linux_old_select( \
163				    struct l_old_select_argv *ptr); }
16483	AUE_SYMLINK	MSTD	{ int linux_symlink(char *path, char *to); }
16584	AUE_LSTAT	MSTD	{ int linux_lstat(char *path, struct ostat *up); }
16685	AUE_READLINK	MSTD	{ int linux_readlink(char *name, char *buf, \
167				    l_int count); }
16886	AUE_USELIB	STD	{ int linux_uselib(char *library); }
16987	AUE_SWAPON	MNOPROTO	{ int swapon(char *name); }
17088	AUE_REBOOT	MSTD	{ int linux_reboot(l_int magic1, \
171				    l_int magic2, l_uint cmd, void *arg); }
17289	AUE_O_GETDENTS	STD	{ int linux_readdir(l_uint fd, \
173				    struct l_dirent *dent, l_uint count); }
17490	AUE_MMAP	MSTD	{ int linux_mmap(struct l_mmap_argv *ptr); }
17591	AUE_MUNMAP	MNOPROTO	{ int munmap(caddr_t addr, int len); }
17692	AUE_TRUNCATE	MSTD	{ int linux_truncate(char *path, \
177				    l_ulong length); }
17893	AUE_FTRUNCATE	MSTD	{ int linux_ftruncate(int fd, long length); }
17994	AUE_FCHMOD	MNOPROTO	{ int fchmod(int fd, int mode); }
18095	AUE_FCHOWN	MNOPROTO	{ int fchown(int fd, int uid, int gid); }
18196	AUE_GETPRIORITY	MSTD	{ int linux_getpriority(int which, int who); }
18297	AUE_SETPRIORITY	MNOPROTO { int setpriority(int which, int who, \
183				    int prio); }
18498	AUE_AUE_PROFILE	UNIMPL	profil
18599	AUE_STATFS	MSTD	{ int linux_statfs(char *path, \
186				    struct l_statfs_buf *buf); }
187100	AUE_FSTATFS	MSTD	{ int linux_fstatfs(l_uint fd, \
188				    struct l_statfs_buf *buf); }
189101	AUE_NULL	MSTD	{ int linux_ioperm(l_ulong start, \
190				    l_ulong length, l_int enable); }
191102	AUE_NULL	MSTD	{ int linux_socketcall(l_int what, \
192				    l_ulong args); }
193103	AUE_NULL	MSTD	{ int linux_syslog(l_int type, char *buf, \
194				    l_int len); }
195104	AUE_SETITIMER	MSTD	{ int linux_setitimer(l_int which, \
196				    struct l_itimerval *itv, \
197				    struct l_itimerval *oitv); }
198105	AUE_GETITIMER	MSTD	{ int linux_getitimer(l_int which, \
199				    struct l_itimerval *itv); }
200106	AUE_STAT	MSTD	{ int linux_newstat(char *path, \
201				    struct l_newstat *buf); }
202107	AUE_LSTAT	MSTD	{ int linux_newlstat(char *path, \
203				    struct l_newstat *buf); }
204108	AUE_FSTAT	MSTD	{ int linux_newfstat(l_uint fd, \
205				    struct l_newstat *buf); }
206109	AUE_NULL	MSTD	{ int linux_uname(void); }
207110	AUE_NULL	MSTD	{ int linux_iopl(l_ulong level); }
208111	AUE_NULL	MSTD	{ int linux_vhangup(void); }
209112	AUE_NULL	UNIMPL	idle
210113	AUE_NULL	MSTD	{ int linux_vm86old(void); }
211114	AUE_WAIT4	MSTD	{ int linux_wait4(l_pid_t pid, \
212				    l_uint *status, l_int options, \
213				    struct l_rusage *rusage); }
214115	AUE_SWAPOFF	MSTD	{ int linux_swapoff(void); }
215116	AUE_NULL	MSTD	{ int linux_sysinfo(struct l_sysinfo *info); }
216117	AUE_NULL	STD	{ int linux_ipc(l_uint what, l_int arg1, \
217				    l_int arg2, l_int arg3, void *ptr, \
218				    l_long arg5); }
219118	AUE_FSYNC	MNOPROTO	{ int fsync(int fd); }
220119	AUE_SIGRETURN	MSTD	{ int linux_sigreturn( \
221				    struct l_sigframe *sfp); }
222120	AUE_RFORK	MSTD	{ int linux_clone(l_int flags, void *stack); }
223121	AUE_SYSCTL	MNOPROTO { int setdomainname(char *name, \
224				    int len); }
225122	AUE_NULL	MSTD	{ int linux_newuname( \
226				    struct l_new_utsname *buf); }
227123	AUE_NULL	MSTD	{ int linux_modify_ldt(l_int func, \
228				    void *ptr, l_ulong bytecount); }
229124	AUE_ADJTIME	MSTD	{ int linux_adjtimex(void); }
230125	AUE_MPROTECT	MNOPROTO	{ int mprotect(caddr_t addr, int len, \
231				    int prot); }
232126	AUE_SIGPROCMASK	MSTD	{ int linux_sigprocmask(l_int how, \
233				    l_osigset_t *mask, l_osigset_t *omask); }
234127	AUE_NULL	MSTD	{ int linux_create_module(void); }
235128	AUE_NULL	MSTD	{ int linux_init_module(void); }
236129	AUE_NULL	MSTD	{ int linux_delete_module(void); }
237130	AUE_NULL	MSTD	{ int linux_get_kernel_syms(void); }
238131	AUE_QUOTACTL	MSTD	{ int linux_quotactl(void); }
239132	AUE_GETPGID	MNOPROTO	{ int getpgid(int pid); }
240133	AUE_FCHDIR	MNOPROTO	{ int fchdir(int fd); }
241134	AUE_BDFLUSH	MSTD	{ int linux_bdflush(void); }
242135	AUE_NULL	MSTD	{ int linux_sysfs(l_int option, \
243				    l_ulong arg1, l_ulong arg2); }
244136	AUE_PERSONALITY	MSTD	{ int linux_personality(l_ulong per); }
245137	AUE_NULL	UNIMPL	afs_syscall
246138	AUE_SETFSUID	MSTD	{ int linux_setfsuid16(l_uid16_t uid); }
247139	AUE_SETFSGID	MSTD	{ int linux_setfsgid16(l_gid16_t gid); }
248140	AUE_LSEEK	MSTD	{ int linux_llseek(l_int fd, l_ulong ohigh, \
249				    l_ulong olow, l_loff_t *res, \
250				    l_uint whence); }
251141	AUE_O_GETDENTS	STD	{ int linux_getdents(l_uint fd, void *dent, \
252				    l_uint count); }
253142	AUE_SELECT	MSTD	{ int linux_select(l_int nfds, \
254				    l_fd_set *readfds, l_fd_set *writefds, \
255				    l_fd_set *exceptfds, \
256				    struct l_timeval *timeout); }
257143	AUE_FLOCK	MNOPROTO	{ int flock(int fd, int how); }
258144	AUE_MSYNC	MSTD	{ int linux_msync(l_ulong addr, \
259				    l_size_t len, l_int fl); }
260145	AUE_READV	MNOPROTO	{ int readv(int fd, struct iovec *iovp, \
261				    u_int iovcnt); }
262146	AUE_WRITEV	MNOPROTO	{ int writev(int fd, struct iovec *iovp, \
263				    u_int iovcnt); }
264147	AUE_GETSID	MSTD	{ int linux_getsid(l_pid_t pid); }
265148	AUE_NULL	MSTD	{ int linux_fdatasync(l_uint fd); }
266149	AUE_SYSCTL	MSTD	{ int linux_sysctl( \
267				    struct l___sysctl_args *args); }
268150	AUE_MLOCK	MNOPROTO { int mlock(const void *addr, size_t len); }
269151	AUE_MUNLOCK	MNOPROTO { int munlock(const void *addr, size_t len); }
270152	AUE_MLOCKALL	MNOPROTO { int mlockall(int how); }
271153	AUE_MUNLOCKALL	MNOPROTO { int munlockall(void); }
272154	AUE_SCHED_SETPARAM	MNOPROTO { int sched_setparam(pid_t pid, \
273				    const struct sched_param *param); }
274155	AUE_SCHED_GETPARAM	MNOPROTO { int sched_getparam(pid_t pid, \
275				    struct sched_param *param); }
276156	AUE_SCHED_SETSCHEDULER	MSTD	{ int linux_sched_setscheduler(l_pid_t pid, \
277				    l_int policy, \
278				    struct l_sched_param *param); }
279157	AUE_SCHED_GETSCHEDULER	MSTD	{ int linux_sched_getscheduler(l_pid_t pid); }
280158	AUE_NULL	MNOPROTO	{ int sched_yield(void); }
281159	AUE_SCHED_GET_PRIORITY_MAX	MSTD	{ int linux_sched_get_priority_max( \
282				    l_int policy); }
283160	AUE_SCHED_GET_PRIORITY_MIN	MSTD	{ int linux_sched_get_priority_min( \
284				    l_int policy); }
285161	AUE_SCHED_RR_GET_INTERVAL	MNOPROTO { int sched_rr_get_interval(l_pid_t pid, \
286				    struct l_timespec *interval); }
287162	AUE_NULL	MNOPROTO { int nanosleep( \
288				    const struct timespec *rqtp, \
289				    struct timespec *rmtp); }
290163	AUE_NULL	MSTD	{ int linux_mremap(l_ulong addr, \
291				    l_ulong old_len, l_ulong new_len, \
292				    l_ulong flags, l_ulong new_addr); }
293164	AUE_SETRESUID	MSTD	{ int linux_setresuid16(l_uid16_t ruid, \
294				    l_uid16_t euid, l_uid16_t suid); }
295165	AUE_GETRESUID	MSTD	{ int linux_getresuid16(l_uid16_t *ruid, \
296				    l_uid16_t *euid, l_uid16_t *suid); }
297166	AUE_NULL	MSTD	{ int linux_vm86(void); }
298167	AUE_NULL	MSTD	{ int linux_query_module(void); }
299168	AUE_POLL	MNOPROTO	{ int poll(struct pollfd*, \
300				    unsigned int nfds, long timeout); }
301169	AUE_NULL	MSTD	{ int linux_nfsservctl(void); }
302170	AUE_SETRESGID	MSTD	{ int linux_setresgid16(l_gid16_t rgid, \
303				    l_gid16_t egid, l_gid16_t sgid); }
304171	AUE_GETRESGID	MSTD	{ int linux_getresgid16(l_gid16_t *rgid, \
305				    l_gid16_t *egid, l_gid16_t *sgid); }
306172	AUE_PRCTL	MSTD	{ int linux_prctl(void); }
307173	AUE_NULL	MSTD	{ int linux_rt_sigreturn( \
308				    struct l_ucontext *ucp); }
309174	AUE_NULL	MSTD	{ int linux_rt_sigaction(l_int sig, \
310				    l_sigaction_t *act, l_sigaction_t *oact, \
311				    l_size_t sigsetsize); }
312175	AUE_NULL	MSTD	{ int linux_rt_sigprocmask(l_int how, \
313				    l_sigset_t *mask, l_sigset_t *omask, \
314				    l_size_t sigsetsize); }
315176	AUE_NULL	MSTD	{ int linux_rt_sigpending(l_sigset_t *set, \
316				    l_size_t sigsetsize); }
317177	AUE_NULL	MSTD	{ int linux_rt_sigtimedwait(void); }
318178	AUE_NULL	MSTD	{ int linux_rt_sigqueueinfo(void); }
319179	AUE_NULL	MSTD	{ int linux_rt_sigsuspend( \
320				    l_sigset_t *newset, \
321				    l_size_t sigsetsize); }
322180	AUE_PREAD	MSTD	{ int linux_pread(l_uint fd, char *buf, \
323				    l_size_t nbyte, l_loff_t offset); }
324181	AUE_PWRITE	MSTD	{ int linux_pwrite(l_uint fd, char *buf, \
325				    l_size_t nbyte, l_loff_t offset); }
326182	AUE_CHOWN	MSTD	{ int linux_chown16(char *path, \
327				    l_uid16_t uid, l_gid16_t gid); }
328183	AUE_GETCWD	MSTD	{ int linux_getcwd(char *buf, \
329				    l_ulong bufsize); }
330184	AUE_CAPGET	MSTD	{ int linux_capget(void); }
331185	AUE_CAPSET	MSTD	{ int linux_capset(void); }
332186	AUE_NULL	MSTD	{ int linux_sigaltstack(l_stack_t *uss, \
333				    l_stack_t *uoss); }
334187	AUE_SENDFILE	MSTD	{ int linux_sendfile(void); }
335188	AUE_GETPMSG	UNIMPL	getpmsg
336189	AUE_PUTPMSG	UNIMPL	putpmsg
337190	AUE_VFORK	MSTD	{ int linux_vfork(void); }
338191	AUE_GETRLIMIT	MSTD	{ int linux_getrlimit(l_uint resource, \
339				    struct l_rlimit *rlim); }
340192	AUE_MMAP	MSTD	{ int linux_mmap2(l_ulong addr, l_ulong len, \
341				    l_ulong prot, l_ulong flags, l_ulong fd, \
342				    l_ulong pgoff); }
343193	AUE_TRUNCATE	MSTD	{ int linux_truncate64(char *path, \
344				    l_loff_t length); }
345194	AUE_FTRUNCATE	MSTD	{ int linux_ftruncate64(l_uint fd, \
346				    l_loff_t length); }
347195	AUE_STAT	MSTD	{ int linux_stat64(char *filename, \
348				    struct l_stat64 *statbuf, l_long flags); }
349196	AUE_LSTAT	MSTD	{ int linux_lstat64(char *filename, \
350				    struct l_stat64 *statbuf, l_long flags); }
351197	AUE_FSTAT	MSTD	{ int linux_fstat64(l_ulong fd, \
352				    struct l_stat64 *statbuf, l_long flags); }
353198	AUE_LCHOWN	MSTD	{ int linux_lchown(char *path, l_uid_t uid, \
354				    l_gid_t gid); }
355199	AUE_GETUID	MSTD	{ int linux_getuid(void); }
356200	AUE_GETGID	MSTD	{ int linux_getgid(void); }
357201	AUE_GETEUID	MNOPROTO { int geteuid(void); }
358202	AUE_GETEGID	MNOPROTO { int getegid(void); }
359203	AUE_SETREUID	MNOPROTO { int setreuid(uid_t ruid, uid_t euid); }
360204	AUE_SETREGID	MNOPROTO { int setregid(gid_t rgid, gid_t egid); }
361205	AUE_GETGROUPS	MSTD	{ int linux_getgroups(l_int gidsetsize, \
362				    l_gid_t *grouplist); }
363206	AUE_SETGROUPS	MSTD	{ int linux_setgroups(l_int gidsetsize, \
364				    l_gid_t *grouplist); }
365207	AUE_FCHOWN	NODEF	fchown fchown fchown_args int
366208	AUE_SETRESUID	MNOPROTO { int setresuid(uid_t ruid, uid_t euid, \
367				    uid_t suid); }
368209	AUE_GETRESUID	MNOPROTO { int getresuid(uid_t *ruid, uid_t *euid, \
369				    uid_t *suid); }
370210	AUE_SETRESGID	MNOPROTO { int setresgid(gid_t rgid, gid_t egid, \
371				    gid_t sgid); }
372211	AUE_GETRESGID	MNOPROTO { int getresgid(gid_t *rgid, gid_t *egid, \
373				    gid_t *sgid); }
374212	AUE_CHOWN	MSTD	{ int linux_chown(char *path, l_uid_t uid, \
375				    l_gid_t gid); }
376213	AUE_SETUID	MNOPROTO { int setuid(uid_t uid); }
377214	AUE_SETGID	MNOPROTO { int setgid(gid_t gid); }
378215	AUE_SETFSUID	MSTD	{ int linux_setfsuid(l_uid_t uid); }
379216	AUE_SETFSGID	MSTD	{ int linux_setfsgid(l_gid_t gid); }
380217	AUE_PIVOT_ROOT	MSTD	{ int linux_pivot_root(char *new_root, \
381				    char *put_old); }
382218	AUE_MINCORE	MSTD	{ int linux_mincore(l_ulong start, \
383				    l_size_t len, u_char *vec); }
384219	AUE_MADVISE	MNOPROTO { int madvise(void *addr, size_t len, \
385				    int behav); }
386220	AUE_O_GETDENTS	STD	{ int linux_getdents64(l_uint fd, \
387				    void *dirent, l_uint count); }
388221	AUE_FCNTL	MSTD	{ int linux_fcntl64(l_uint fd, l_uint cmd, \
389				    l_ulong arg); }
390222	AUE_NULL	UNIMPL
391223	AUE_NULL	UNIMPL
392224	AUE_NULL	MSTD	{ long linux_gettid(void); }
393225	AUE_NULL	UNIMPL	linux_readahead
394226	AUE_NULL	MSTD	{ int linux_setxattr(void); }
395227	AUE_NULL	MSTD	{ int linux_lsetxattr(void); }
396228	AUE_NULL	MSTD	{ int linux_fsetxattr(void); }
397229	AUE_NULL	MSTD	{ int linux_getxattr(void); }
398230	AUE_NULL	MSTD	{ int linux_lgetxattr(void); }
399231	AUE_NULL	MSTD	{ int linux_fgetxattr(void); }
400232	AUE_NULL	MSTD	{ int linux_listxattr(void); }
401233	AUE_NULL	MSTD	{ int linux_llistxattr(void); }
402234	AUE_NULL	MSTD	{ int linux_flistxattr(void); }
403235	AUE_NULL	MSTD	{ int linux_removexattr(void); }
404236	AUE_NULL	MSTD	{ int linux_lremovexattr(void); }
405237	AUE_NULL	MSTD	{ int linux_fremovexattr(void); }
406238	AUE_NULL	MSTD	{ int linux_tkill(int tid, int sig); }
407239	AUE_SENDFILE	UNIMPL	linux_sendfile64
408240	AUE_NULL	UNIMPL	linux_futex
409241	AUE_NULL	UNIMPL	linux_sched_setaffinity
410242	AUE_NULL	UNIMPL	linux_sched_getaffinity
411243	AUE_NULL	MSTD	{ int linux_set_thread_area(void *entry); }
412244	AUE_NULL	UNIMPL	linux_get_thread_area
413245	AUE_NULL	UNIMPL	linux_io_setup
414246	AUE_NULL	UNIMPL	linux_io_destroy
415247	AUE_NULL	UNIMPL	linux_io_getevents
416248	AUE_NULL	UNIMPL	linux_io_submit
417249	AUE_NULL	UNIMPL	linux_io_cancel
418250	AUE_NULL	MSTD	{ int linux_fadvise64(void); }
419251	AUE_NULL	UNIMPL
420252	AUE_EXIT	MNOPROTO { void sys_exit(int rval); } exit_group \
421				    sys_exit_args void
422253	AUE_NULL	UNIMPL	linux_lookup_dcookie
423254	AUE_NULL	UNIMPL	linux_epoll_create
424255	AUE_NULL	UNIMPL	linux_epoll_ctl
425256	AUE_NULL	UNIMPL	linux_epoll_wait
426257	AUE_NULL	UNIMPL	linux_remap_file_pages
427258	AUE_NULL	UNIMPL	linux_set_tid_address
428259	AUE_NULL	UNIMPL	linux_timer_create
429260	AUE_NULL	UNIMPL	linux_timer_settime
430261	AUE_NULL	UNIMPL	linux_timer_gettime
431262	AUE_NULL	UNIMPL	linux_timer_getoverrun
432263	AUE_NULL	UNIMPL	linux_timer_delete
433264	AUE_CLOCK_SETTIME	UNIMPL	linux_clock_settime
434265	AUE_NULL	UNIMPL	linux_clock_gettime
435266	AUE_NULL	UNIMPL	linux_clock_getres
436267	AUE_NULL	UNIMPL	linux_clock_nanosleep
437268	AUE_NULL	UNIMPL	linux_statfs64
438269	AUE_NULL	UNIMPL	linux_fstatfs64
439270	AUE_NULL	UNIMPL	linux_tgkill	/* 270 */
440271	AUE_NULL	UNIMPL	linux_utimes
441272	AUE_NULL	UNIMPL	linux_fadvise64_64
442273	AUE_NULL	UNIMPL	linux_ni_syscall	/* linux_vserver */
443274	AUE_NULL	UNIMPL	linux_mbind
444275	AUE_NULL	UNIMPL	linux_get_mempolicy
445276	AUE_NULL	UNIMPL	linux_set_mempolicy
446277	AUE_NULL	UNIMPL	linux_mq_open
447278	AUE_NULL	UNIMPL	linux_mq_unlink
448279	AUE_NULL	UNIMPL	linux_mq_timedsend
449280	AUE_NULL	UNIMPL	linux_mq_timedreceive	/* 280 */
450281	AUE_NULL	UNIMPL	linux_mq_notify
451282	AUE_NULL	UNIMPL	linux_mq_getsetattr
452283	AUE_NULL	UNIMPL	linux_kexec_load
453284	AUE_NULL	UNIMPL	linux_waitid
454285	AUE_NULL	UNIMPL	linux_ni_syscall		/* 285 */ /* available */
455286	AUE_NULL	UNIMPL	linux_add_key
456287	AUE_NULL	UNIMPL	linux_request_key
457288	AUE_NULL	UNIMPL	linux_keyctl
458289	AUE_NULL	UNIMPL	linux_ioprio_set
459290	AUE_NULL	UNIMPL	linux_ioprio_get		/* 290 */
460291	AUE_NULL	UNIMPL	linux_inotify_init
461292	AUE_NULL	UNIMPL	linux_inotify_add_watch
462293	AUE_NULL	UNIMPL	linux_inotify_rm_watch
463294	AUE_NULL	UNIMPL	linux_migrate_pages
464295	AUE_NULL	UNIMPL	linux_openat		/* 295 */
465296	AUE_NULL	UNIMPL	linux_mkdirat
466297	AUE_NULL	UNIMPL	linux_mknodat
467298	AUE_NULL	UNIMPL	linux_fchownat
468299	AUE_NULL	UNIMPL	linux_futimesat
469300	AUE_NULL	UNIMPL	linux_fstatat64		/* 300 */
470301	AUE_NULL	UNIMPL	linux_unlinkat
471302	AUE_NULL	UNIMPL	linux_renameat
472303	AUE_NULL	UNIMPL	linux_linkat
473304	AUE_NULL	UNIMPL	linux_symlinkat
474305	AUE_NULL	UNIMPL	linux_readlinkat		/* 305 */
475306	AUE_NULL	UNIMPL	linux_fchmodat
476307	AUE_NULL	UNIMPL	linux_faccessat
477308	AUE_NULL	UNIMPL	linux_pselect6
478309	AUE_NULL	UNIMPL	linux_ppoll
479310	AUE_NULL	UNIMPL	linux_unshare		/* 310 */
480