syscalls.master revision 155374
150477Speter $FreeBSD: head/sys/i386/linux/syscalls.master 155374 2006-02-06 01:40:30Z rwatson $
214330Speter
314330Speter;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
414330Speter; System call name/number master file (or rather, slave, from LINUX).
568519Smarcel; Processed to create linux_sysent.c, linux_proto.h and linux_syscall.h.
614330Speter
7155374Srwatson; Columns: number audit type nargs name alt{name,tag,rtyp}/comments
814330Speter;	number	system call number, must be in order
9146806Srwatson;	audit	the audit event associated with the system call
10146806Srwatson;		A value of AUE_NULL means no auditing, but it also means that
11146806Srwatson;		there is no audit event for the call at this time. For the
12146806Srwatson;		case where the event exists, but we don't want auditing, the
13146806Srwatson;		event should be #defined to AUE_NULL in audit_kevents.h.
1414330Speter;	type	one of STD, OBSOL, UNIMPL, COMPAT
1514330Speter;	name	psuedo-prototype of syscall routine
1614330Speter;		If one of the following alts is different, then all appear:
17155374Srwatson;	audit   the audit event associated with the system call
18155374Srwatson;		A value of AUE_NULL means no auditing, but it also means that
19155374Srwatson;		there is no audit event for the call at this time. For the
20155374Srwatson;		case where the event exists, but we don't want auditing, the
21155374Srwatson;		event should be #defined to AUE_NULL in audit_kevents.h.
2214330Speter;	altname	name of system call if different
2314330Speter;	alttag	name of args struct tag if different from [o]`name'"_args"
2414330Speter;	altrtyp	return type if not int (bogus - syscalls always return int)
2514330Speter;		for UNIMPL/OBSOL, name continues with comments
2614330Speter
2714330Speter; types:
28146806Srwatson;	AUE_NULL	STD	always included
2914330Speter;	COMPAT	included on COMPAT #ifdef
3014330Speter;	LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
3114330Speter;	OBSOL	obsolete, not included in system, only specifies name
32146806Srwatson;	AUE_NULL	UNIMPL	not implemented, placeholder only
3314330Speter
3436781Sbde#include "opt_compat.h"
3514330Speter#include <sys/param.h>
3614330Speter#include <sys/sysent.h>
3714330Speter#include <sys/sysproto.h>
38143197Ssobomax#include <compat/linux/linux_sysproto.h>
3914330Speter#include <i386/linux/linux.h>
4068583Smarcel#include <i386/linux/linux_proto.h>
4114330Speter
42143197Ssobomax; Isn't pretty, but there seems to be no other way to trap nosys
43143197Ssobomax#define	nosys	linux_nosys
44143197Ssobomax
4514330Speter; #ifdef's, etc. may be included, and are copied to the output files.
4614330Speter
47146806Srwatson0	AUE_NULL	UNIMPL	setup
48155374Srwatson1	AUE_EXIT	MNOPROTO { void sys_exit(int rval); } exit \
49146806Srwatson				    sys_exit_args void
50155374Srwatson2	AUE_FORK	MSTD	{ int linux_fork(void); }
51146806Srwatson3	AUE_NULL	MNOPROTO { int read(int fd, char *buf, \
52146806Srwatson				    u_int nbyte); }
53146806Srwatson4	AUE_NULL	MNOPROTO { int write(int fd, char *buf, \
54146806Srwatson				    u_int nbyte); }
55155374Srwatson5	AUE_OPEN_RWTC	MSTD	{ int linux_open(char *path, l_int flags, \
56146806Srwatson				    l_int mode); }
57155374Srwatson6	AUE_CLOSE	MNOPROTO { int close(int fd); }
58155374Srwatson7	AUE_WAIT4	MSTD	{ int linux_waitpid(l_pid_t pid, \
59146806Srwatson				    l_int *status, l_int options); }
60155374Srwatson8	AUE_O_CREAT	MSTD	{ int linux_creat(char *path, \
61146806Srwatson				    l_int mode); }
62155374Srwatson9	AUE_LINK	MSTD	{ int linux_link(char *path, char *to); }
63155374Srwatson10	AUE_UNLINK	MSTD	{ int linux_unlink(char *path); }
64155374Srwatson11	AUE_EXECVE	MSTD	{ int linux_execve(char *path, char **argp, \
65146806Srwatson				    char **envp); }
66155374Srwatson12	AUE_CHDIR	MSTD	{ int linux_chdir(char *path); }
67147974Sjhb13	AUE_NULL	MSTD	{ int linux_time(l_time_t *tm); }
68155374Srwatson14	AUE_MKNOD	MSTD	{ int linux_mknod(char *path, l_int mode, \
69146806Srwatson				    l_dev_t dev); }
70155374Srwatson15	AUE_CHMOD	MSTD	{ int linux_chmod(char *path, \
71146806Srwatson				    l_mode_t mode); }
72155374Srwatson16	AUE_LCHOWN	MSTD	{ int linux_lchown16(char *path, \
73146806Srwatson				    l_uid16_t uid, l_gid16_t gid); }
74146806Srwatson17	AUE_NULL	UNIMPL	break
75155374Srwatson18	AUE_STAT	MSTD	{ int linux_stat(char *path, \
76146806Srwatson				    struct ostat *up); }
77155374Srwatson19	AUE_LSEEK	MSTD	{ int linux_lseek(l_uint fdes, l_off_t off, \
78146806Srwatson				    l_int whence); }
79155374Srwatson20	AUE_GETPID	MSTD	{ int linux_getpid(void); }
80155374Srwatson21	AUE_MOUNT	STD	{ int linux_mount(char *specialfile, \
81146806Srwatson				    char *dir, char *filesystemtype, \
82146806Srwatson				    l_ulong rwflag, void *data); }
83155374Srwatson22	AUE_UMOUNT	STD	{ int linux_oldumount(char *path); }
84155374Srwatson23	AUE_SETUID	MSTD	{ int linux_setuid16(l_uid16_t uid); }
85155374Srwatson24	AUE_GETUID	MSTD	{ int linux_getuid16(void); }
86155374Srwatson25	AUE_SETTIMEOFDAY	MSTD	{ int linux_stime(void); }
87155374Srwatson26	AUE_PTRACE	MSTD	{ int linux_ptrace(l_long req, l_long pid, \
88146806Srwatson				    l_long addr, l_long data); }
89147974Sjhb27	AUE_NULL	MSTD	{ int linux_alarm(l_uint secs); }
90155374Srwatson28	AUE_FSTAT	MSTD	{ int linux_fstat(l_uint fd, \
91146806Srwatson				    struct ostat *up); }
92146806Srwatson29	AUE_NULL	MSTD	{ int linux_pause(void); }
93155374Srwatson30	AUE_UTIME	MSTD	{ int linux_utime(char *fname, \
94146806Srwatson				    struct l_utimbuf *times); }
95146806Srwatson31	AUE_NULL	UNIMPL	stty
96146806Srwatson32	AUE_NULL	UNIMPL	gtty
97155374Srwatson33	AUE_ACCESS	MSTD	{ int linux_access(char *path, l_int flags); }
98155374Srwatson34	AUE_NICE	MSTD	{ int linux_nice(l_int inc); }
99146806Srwatson35	AUE_NULL	UNIMPL	ftime
100155374Srwatson36	AUE_SYNC	MNOPROTO	{ int sync(void); }
101155374Srwatson37	AUE_KILL	MSTD	{ int linux_kill(l_int pid, l_int signum); }
102155374Srwatson38	AUE_RENAME	MSTD	{ int linux_rename(char *from, char *to); }
103155374Srwatson39	AUE_MKDIR	MSTD	{ int linux_mkdir(char *path, l_int mode); }
104155374Srwatson40	AUE_RMDIR	MSTD	{ int linux_rmdir(char *path); }
105155374Srwatson41	AUE_DUP		MNOPROTO { int dup(u_int fd); }
106155374Srwatson42	AUE_PIPE	MSTD	{ int linux_pipe(l_ulong *pipefds); }
107147974Sjhb43	AUE_NULL	MSTD	{ int linux_times(struct l_times_argv *buf); }
108146806Srwatson44	AUE_NULL	UNIMPL	prof
109146806Srwatson45	AUE_NULL	STD	{ int linux_brk(l_ulong dsend); }
110155374Srwatson46	AUE_SETGID	MSTD	{ int linux_setgid16(l_gid16_t gid); }
111155374Srwatson47	AUE_GETGID	MSTD	{ int linux_getgid16(void); }
112146806Srwatson48	AUE_NULL	MSTD	{ int linux_signal(l_int sig, \
113146806Srwatson				    l_handler_t handler); }
114155374Srwatson49	AUE_GETEUID	MSTD	{ int linux_geteuid16(void); }
115155374Srwatson50	AUE_GETEGID	MSTD	{ int linux_getegid16(void); }
116155374Srwatson51	AUE_ACCT	MNOPROTO { int acct(char *path); }
117155374Srwatson52	AUE_UMOUNT	STD	{ int linux_umount(char *path, l_int flags); }
118146806Srwatson53	AUE_NULL	UNIMPL	lock
119155374Srwatson54	AUE_IOCTL	STD	{ int linux_ioctl(l_uint fd, l_uint cmd, \
120146806Srwatson				    l_ulong arg); }
121155374Srwatson55	AUE_FCNTL	MSTD	{ int linux_fcntl(l_uint fd, l_uint cmd, \
122146806Srwatson				    l_ulong arg); }
123146806Srwatson56	AUE_NULL	UNIMPL	mpx
124155374Srwatson57	AUE_SETPGRP	MNOPROTO { int setpgid(int pid, int pgid); }
125146806Srwatson58	AUE_NULL	UNIMPL	ulimit
126147974Sjhb59	AUE_NULL	MSTD	{ int linux_olduname(void); }
127155374Srwatson60	AUE_UMASK	MNOPROTO { int umask(int newmask); }
128155374Srwatson61	AUE_CHROOT	MNOPROTO	{ int chroot(char *path); }
129147974Sjhb62	AUE_NULL	MSTD	{ int linux_ustat(l_dev_t dev, \
130146806Srwatson				    struct l_ustat *ubuf); }
131155374Srwatson63	AUE_DUP2	MNOPROTO { int dup2(u_int from, u_int to); }
132155374Srwatson64	AUE_GETPPID	MNOPROTO { int getppid(void); }
133155374Srwatson65	AUE_GETPGRP	MNOPROTO { int getpgrp(void); }
134155374Srwatson66	AUE_SETSID	MNOPROTO { int setsid(void); }
135146806Srwatson67	AUE_NULL	MSTD	{ int linux_sigaction(l_int sig, \
136146806Srwatson				    l_osigaction_t *nsa, \
137146806Srwatson				    l_osigaction_t *osa); }
138146806Srwatson68	AUE_NULL	MSTD	{ int linux_sgetmask(void); }
139146806Srwatson69	AUE_NULL	MSTD	{ int linux_ssetmask(l_osigset_t mask); }
140155374Srwatson70	AUE_SETREUID	MSTD	{ int linux_setreuid16(l_uid16_t ruid, \
141146806Srwatson				    l_uid16_t euid); }
142155374Srwatson71	AUE_SETREGID	MSTD	{ int linux_setregid16(l_gid16_t rgid, \
143146806Srwatson				    l_gid16_t egid); }
144146806Srwatson72	AUE_NULL	MSTD	{ int linux_sigsuspend(l_int hist0, \
145146806Srwatson				    l_int hist1, l_osigset_t mask); }
146146806Srwatson73	AUE_NULL	MSTD	{ int linux_sigpending(l_osigset_t *mask); }
147155374Srwatson74	AUE_SYSCTL	MNOPROTO { int osethostname(char *hostname, \
148146806Srwatson				    u_int len); } osethostname \
149146806Srwatson				    sethostname_args int
150155374Srwatson75	AUE_SETRLIMIT	MSTD	{ int linux_setrlimit(l_uint resource, \
151146806Srwatson				    struct l_rlimit *rlim); }
152155374Srwatson76	AUE_GETRLIMIT	MSTD	{ int linux_old_getrlimit(l_uint resource, \
153146806Srwatson				    struct l_rlimit *rlim); }
154155374Srwatson77	AUE_GETRUSAGE	MNOPROTO	{ int getrusage(int who, \
155146806Srwatson				    struct rusage *rusage); }
156155374Srwatson78	AUE_NULL	MNOPROTO { int gettimeofday( \
157155374Srwatson				    struct timeval *tp, \
158146806Srwatson				    struct timezone *tzp); }
159155374Srwatson79	AUE_SETTIMEOFDAY	MNOPROTO { int settimeofday( \
160155374Srwatson				    struct timeval *tp, \
161146806Srwatson				    struct timezone *tzp); }
162155374Srwatson80	AUE_GETGROUPS	MSTD	{ int linux_getgroups16(l_uint gidsetsize, \
163146806Srwatson				    l_gid16_t *gidset); }
164155374Srwatson81	AUE_SETGROUPS	MSTD	{ int linux_setgroups16(l_uint gidsetsize, \
165146806Srwatson				    l_gid16_t *gidset); }
166155374Srwatson82	AUE_SELECT	MSTD	{ int linux_old_select( \
167146806Srwatson				    struct l_old_select_argv *ptr); }
168155374Srwatson83	AUE_SYMLINK	MSTD	{ int linux_symlink(char *path, char *to); }
169155374Srwatson84	AUE_STAT	MNOPROTO	{ int ostat(char *path, struct ostat *up); }
170155374Srwatson85	AUE_READLINK	MSTD	{ int linux_readlink(char *name, char *buf, \
171146806Srwatson				    l_int count); }
172155374Srwatson86	AUE_USELIB	STD	{ int linux_uselib(char *library); }
173155374Srwatson87	AUE_SWAPON	MNOPROTO	{ int swapon(char *name); }
174155374Srwatson88	AUE_REBOOT	MSTD	{ int linux_reboot(l_int magic1, \
175146806Srwatson				    l_int magic2, l_uint cmd, void *arg); }
176155374Srwatson89	AUE_O_GETDENTS	STD	{ int linux_readdir(l_uint fd, \
177146806Srwatson				    struct l_dirent *dent, l_uint count); }
178155374Srwatson90	AUE_MMAP	MSTD	{ int linux_mmap(struct l_mmap_argv *ptr); }
179155374Srwatson91	AUE_MUNMAP	MNOPROTO	{ int munmap(caddr_t addr, int len); }
180155374Srwatson92	AUE_TRUNCATE	MSTD	{ int linux_truncate(char *path, \
181146806Srwatson				    l_ulong length); }
182155374Srwatson93	AUE_FTRUNCATE	MNOPROTO	{ int oftruncate(int fd, long length); }
183155374Srwatson94	AUE_FCHMOD	MNOPROTO	{ int fchmod(int fd, int mode); }
184155374Srwatson95	AUE_FCHOWN	MNOPROTO	{ int fchown(int fd, int uid, int gid); }
185155374Srwatson96	AUE_GETPRIORITY	MSTD	{ int linux_getpriority(int which, int who); }
186155374Srwatson97	AUE_SETPRIORITY	MNOPROTO { int setpriority(int which, int who, \
187146806Srwatson				    int prio); }
188155374Srwatson98	AUE_AUE_PROFILE	UNIMPL	profil
189155374Srwatson99	AUE_STATFS	MSTD	{ int linux_statfs(char *path, \
190146806Srwatson				    struct l_statfs_buf *buf); }
191155374Srwatson100	AUE_FSTATFS	MSTD	{ int linux_fstatfs(l_uint fd, \
192146806Srwatson				    struct l_statfs_buf *buf); }
193147974Sjhb101	AUE_NULL	MSTD	{ int linux_ioperm(l_ulong start, \
194146806Srwatson				    l_ulong length, l_int enable); }
195147974Sjhb102	AUE_NULL	MSTD	{ int linux_socketcall(l_int what, \
196146806Srwatson				    l_ulong args); }
197147974Sjhb103	AUE_NULL	MSTD	{ int linux_syslog(l_int type, char *buf, \
198146806Srwatson				    l_int len); }
199155374Srwatson104	AUE_SETITIMER	MSTD	{ int linux_setitimer(l_int which, \
200146806Srwatson				    struct l_itimerval *itv, \
201146806Srwatson				    struct l_itimerval *oitv); }
202155374Srwatson105	AUE_GETITIMER	MSTD	{ int linux_getitimer(l_int which, \
203146806Srwatson				    struct l_itimerval *itv); }
204155374Srwatson106	AUE_STAT	MSTD	{ int linux_newstat(char *path, \
205146806Srwatson				    struct l_newstat *buf); }
206155374Srwatson107	AUE_LSTAT	MSTD	{ int linux_newlstat(char *path, \
207146806Srwatson				    struct l_newstat *buf); }
208155374Srwatson108	AUE_FSTAT	MSTD	{ int linux_newfstat(l_uint fd, \
209146806Srwatson				    struct l_newstat *buf); }
210147974Sjhb109	AUE_NULL	MSTD	{ int linux_uname(void); }
211147974Sjhb110	AUE_NULL	MSTD	{ int linux_iopl(l_ulong level); }
212147974Sjhb111	AUE_NULL	MSTD	{ int linux_vhangup(void); }
213146806Srwatson112	AUE_NULL	UNIMPL	idle
214147974Sjhb113	AUE_NULL	MSTD	{ int linux_vm86old(void); }
215155374Srwatson114	AUE_WAIT4	MSTD	{ int linux_wait4(l_pid_t pid, \
216146806Srwatson				    l_uint *status, l_int options, \
217146806Srwatson				    struct l_rusage *rusage); }
218155374Srwatson115	AUE_SWAPOFF	MSTD	{ int linux_swapoff(void); }
219147974Sjhb116	AUE_NULL	MSTD	{ int linux_sysinfo(struct l_sysinfo *info); }
220146806Srwatson117	AUE_NULL	STD	{ int linux_ipc(l_uint what, l_int arg1, \
221146806Srwatson				    l_int arg2, l_int arg3, void *ptr, \
222146806Srwatson				    l_long arg5); }
223155374Srwatson118	AUE_FSYNC	MNOPROTO	{ int fsync(int fd); }
224155374Srwatson119	AUE_SIGRETURN	MSTD	{ int linux_sigreturn( \
225146806Srwatson				    struct l_sigframe *sfp); }
226155374Srwatson120	AUE_RFORK	MSTD	{ int linux_clone(l_int flags, void *stack); }
227155374Srwatson121	AUE_SYSCTL	MNOPROTO { int setdomainname(char *name, \
228155374Srwatson				    int len); }
229147974Sjhb122	AUE_NULL	MSTD	{ int linux_newuname( \
230146806Srwatson				    struct l_new_utsname *buf); }
231147974Sjhb123	AUE_NULL	MSTD	{ int linux_modify_ldt(l_int func, \
232146806Srwatson				    void *ptr, l_ulong bytecount); }
233155374Srwatson124	AUE_ADJTIME	MSTD	{ int linux_adjtimex(void); }
234155374Srwatson125	AUE_MPROTECT	MNOPROTO	{ int mprotect(caddr_t addr, int len, \
235146806Srwatson				    int prot); }
236155374Srwatson126	AUE_SIGPROCMASK	MSTD	{ int linux_sigprocmask(l_int how, \
237146806Srwatson				    l_osigset_t *mask, l_osigset_t *omask); }
238147974Sjhb127	AUE_NULL	MSTD	{ int linux_create_module(void); }
239147974Sjhb128	AUE_NULL	MSTD	{ int linux_init_module(void); }
240147974Sjhb129	AUE_NULL	MSTD	{ int linux_delete_module(void); }
241147974Sjhb130	AUE_NULL	MSTD	{ int linux_get_kernel_syms(void); }
242155374Srwatson131	AUE_QUOTACTL	MSTD	{ int linux_quotactl(void); }
243155374Srwatson132	AUE_GETPGID	MNOPROTO	{ int getpgid(int pid); }
244155374Srwatson133	AUE_FCHDIR	MNOPROTO	{ int fchdir(int fd); }
245155374Srwatson134	AUE_BDFLUSH	MSTD	{ int linux_bdflush(void); }
246147974Sjhb135	AUE_NULL	MSTD	{ int linux_sysfs(l_int option, \
247146806Srwatson				    l_ulong arg1, l_ulong arg2); }
248155374Srwatson136	AUE_PERSONALITY	MSTD	{ int linux_personality(l_ulong per); }
249146806Srwatson137	AUE_NULL	UNIMPL	afs_syscall
250155374Srwatson138	AUE_SETFSUID	MSTD	{ int linux_setfsuid16(l_uid16_t uid); }
251155374Srwatson139	AUE_SETFSGID	MSTD	{ int linux_setfsgid16(l_gid16_t gid); }
252155374Srwatson140	AUE_LSEEK	MSTD	{ int linux_llseek(l_int fd, l_ulong ohigh, \
253146806Srwatson				    l_ulong olow, l_loff_t *res, \
254146806Srwatson				    l_uint whence); }
255155374Srwatson141	AUE_O_GETDENTS	STD	{ int linux_getdents(l_uint fd, void *dent, \
256146806Srwatson				    l_uint count); }
257155374Srwatson142	AUE_SELECT	MSTD	{ int linux_select(l_int nfds, \
258146806Srwatson				    l_fd_set *readfds, l_fd_set *writefds, \
259146806Srwatson				    l_fd_set *exceptfds, \
260146806Srwatson				    struct l_timeval *timeout); }
261155374Srwatson143	AUE_FLOCK	MNOPROTO	{ int flock(int fd, int how); }
262155374Srwatson144	AUE_MSYNC	MSTD	{ int linux_msync(l_ulong addr, \
263146806Srwatson				    l_size_t len, l_int fl); }
264155374Srwatson145	AUE_READV	MNOPROTO	{ int readv(int fd, struct iovec *iovp, \
265146806Srwatson				    u_int iovcnt); }
266155374Srwatson146	AUE_WRITEV	MNOPROTO	{ int writev(int fd, struct iovec *iovp, \
267146806Srwatson				    u_int iovcnt); }
268155374Srwatson147	AUE_GETSID	MSTD	{ int linux_getsid(l_pid_t pid); }
269147974Sjhb148	AUE_NULL	MSTD	{ int linux_fdatasync(l_uint fd); }
270155374Srwatson149	AUE_SYSCTL	MSTD	{ int linux_sysctl( \
271146806Srwatson				    struct l___sysctl_args *args); }
272155374Srwatson150	AUE_MLOCK	MNOPROTO { int mlock(const void *addr, size_t len); }
273155374Srwatson151	AUE_MUNLOCK	MNOPROTO { int munlock(const void *addr, size_t len); }
274155374Srwatson152	AUE_MLOCKALL	MNOPROTO { int mlockall(int how); }
275155374Srwatson153	AUE_MUNLOCKALL	MNOPROTO { int munlockall(void); }
276155374Srwatson154	AUE_SCHED_SETPARAM	MNOPROTO { int sched_setparam(pid_t pid, \
277146806Srwatson				    const struct sched_param *param); }
278155374Srwatson155	AUE_SCHED_GETPARAM	MNOPROTO { int sched_getparam(pid_t pid, \
279146806Srwatson				    struct sched_param *param); }
280155374Srwatson156	AUE_SCHED_SETSCHEDULER	MSTD	{ int linux_sched_setscheduler(l_pid_t pid, \
281146806Srwatson				    l_int policy, \
282146806Srwatson				    struct l_sched_param *param); }
283155374Srwatson157	AUE_SCHED_GETSCHEDULER	MSTD	{ int linux_sched_getscheduler(l_pid_t pid); }
284147974Sjhb158	AUE_NULL	MNOPROTO	{ int sched_yield(void); }
285155374Srwatson159	AUE_SCHED_GET_PRIORITY_MAX	MSTD	{ int linux_sched_get_priority_max( \
286146806Srwatson				    l_int policy); }
287155374Srwatson160	AUE_SCHED_GET_PRIORITY_MIN	MSTD	{ int linux_sched_get_priority_min( \
288146806Srwatson				    l_int policy); }
289155374Srwatson161	AUE_SCHED_RR_GET_INTERVAL	MNOPROTO { int sched_rr_get_interval(l_pid_t pid, \
290146806Srwatson				    struct l_timespec *interval); }
291146806Srwatson162	AUE_NULL	MNOPROTO { int nanosleep( \
292146806Srwatson				    const struct timespec *rqtp, \
293146806Srwatson				    struct timespec *rmtp); }
294147974Sjhb163	AUE_NULL	MSTD	{ int linux_mremap(l_ulong addr, \
295146806Srwatson				    l_ulong old_len, l_ulong new_len, \
296146806Srwatson				    l_ulong flags, l_ulong new_addr); }
297155374Srwatson164	AUE_SETRESUID	MSTD	{ int linux_setresuid16(l_uid16_t ruid, \
298146806Srwatson				    l_uid16_t euid, l_uid16_t suid); }
299155374Srwatson165	AUE_GETRESUID	MSTD	{ int linux_getresuid16(l_uid16_t *ruid, \
300146806Srwatson				    l_uid16_t *euid, l_uid16_t *suid); }
301147974Sjhb166	AUE_NULL	MSTD	{ int linux_vm86(void); }
302147974Sjhb167	AUE_NULL	MSTD	{ int linux_query_module(void); }
303155374Srwatson168	AUE_POLL	MNOPROTO	{ int poll(struct pollfd*, \
304146806Srwatson				    unsigned int nfds, long timeout); }
305147974Sjhb169	AUE_NULL	MSTD	{ int linux_nfsservctl(void); }
306155374Srwatson170	AUE_SETRESGID	MSTD	{ int linux_setresgid16(l_gid16_t rgid, \
307146806Srwatson				    l_gid16_t egid, l_gid16_t sgid); }
308155374Srwatson171	AUE_GETRESGID	MSTD	{ int linux_getresgid16(l_gid16_t *rgid, \
309146806Srwatson				    l_gid16_t *egid, l_gid16_t *sgid); }
310155374Srwatson172	AUE_PRCTL	MSTD	{ int linux_prctl(void); }
311147974Sjhb173	AUE_NULL	MSTD	{ int linux_rt_sigreturn( \
312146806Srwatson				    struct l_ucontext *ucp); }
313146806Srwatson174	AUE_NULL	MSTD	{ int linux_rt_sigaction(l_int sig, \
314146806Srwatson				    l_sigaction_t *act, l_sigaction_t *oact, \
315146806Srwatson				    l_size_t sigsetsize); }
316146806Srwatson175	AUE_NULL	MSTD	{ int linux_rt_sigprocmask(l_int how, \
317146806Srwatson				    l_sigset_t *mask, l_sigset_t *omask, \
318146806Srwatson				    l_size_t sigsetsize); }
319147974Sjhb176	AUE_NULL	MSTD	{ int linux_rt_sigpending(void); }
320147974Sjhb177	AUE_NULL	MSTD	{ int linux_rt_sigtimedwait(void); }
321147974Sjhb178	AUE_NULL	MSTD	{ int linux_rt_sigqueueinfo(void); }
322146806Srwatson179	AUE_NULL	MSTD	{ int linux_rt_sigsuspend( \
323146806Srwatson				    l_sigset_t *newset, \
324146806Srwatson				    l_size_t sigsetsize); }
325155374Srwatson180	AUE_PREAD	MSTD	{ int linux_pread(l_uint fd, char *buf, \
326146806Srwatson				    l_size_t nbyte, l_loff_t offset); }
327155374Srwatson181	AUE_PWRITE	MSTD	{ int linux_pwrite(l_uint fd, char *buf, \
328146806Srwatson				    l_size_t nbyte, l_loff_t offset); }
329155374Srwatson182	AUE_CHOWN	MSTD	{ int linux_chown16(char *path, \
330146806Srwatson				    l_uid16_t uid, l_gid16_t gid); }
331155374Srwatson183	AUE_GETCWD	MSTD	{ int linux_getcwd(char *buf, \
332146806Srwatson				    l_ulong bufsize); }
333155374Srwatson184	AUE_CAPGET	MSTD	{ int linux_capget(void); }
334155374Srwatson185	AUE_CAPSET	MSTD	{ int linux_capset(void); }
335147974Sjhb186	AUE_NULL	MSTD	{ int linux_sigaltstack(l_stack_t *uss, \
336146806Srwatson				    l_stack_t *uoss); }
337155374Srwatson187	AUE_SENDFILE	MSTD	{ int linux_sendfile(void); }
338155374Srwatson188	AUE_GETPMSG	UNIMPL	getpmsg
339155374Srwatson189	AUE_PUTPMSG	UNIMPL	putpmsg
340155374Srwatson190	AUE_VFORK	MSTD	{ int linux_vfork(void); }
341155374Srwatson191	AUE_GETRLIMIT	MSTD	{ int linux_getrlimit(l_uint resource, \
342146806Srwatson				    struct l_rlimit *rlim); }
343155374Srwatson192	AUE_MMAP	MSTD	{ int linux_mmap2(l_ulong addr, l_ulong len, \
344146806Srwatson				    l_ulong prot, l_ulong flags, l_ulong fd, \
345146806Srwatson				    l_ulong pgoff); }
346155374Srwatson193	AUE_TRUNCATE	MSTD	{ int linux_truncate64(char *path, \
347146806Srwatson				    l_loff_t length); }
348155374Srwatson194	AUE_FTRUNCATE	MSTD	{ int linux_ftruncate64(l_uint fd, \
349146806Srwatson				    l_loff_t length); }
350155374Srwatson195	AUE_STAT	MSTD	{ int linux_stat64(char *filename, \
351146806Srwatson				    struct l_stat64 *statbuf, l_long flags); }
352155374Srwatson196	AUE_LSTAT	MSTD	{ int linux_lstat64(char *filename, \
353146806Srwatson				    struct l_stat64 *statbuf, l_long flags); }
354155374Srwatson197	AUE_FSTAT	MSTD	{ int linux_fstat64(l_ulong fd, \
355146806Srwatson				    struct l_stat64 *statbuf, l_long flags); }
356155374Srwatson198	AUE_LCHOWN	MSTD	{ int linux_lchown(char *path, l_uid_t uid, \
357146806Srwatson				    l_gid_t gid); }
358155374Srwatson199	AUE_GETUID	MSTD	{ int linux_getuid(void); }
359155374Srwatson200	AUE_GETGID	MSTD	{ int linux_getgid(void); }
360155374Srwatson201	AUE_GETEUID	MNOPROTO { int geteuid(void); }
361155374Srwatson202	AUE_GETEGID	MNOPROTO { int getegid(void); }
362155374Srwatson203	AUE_SETREUID	MNOPROTO { int setreuid(uid_t ruid, uid_t euid); }
363155374Srwatson204	AUE_SETREGID	MNOPROTO { int setregid(gid_t rgid, gid_t egid); }
364155374Srwatson205	AUE_GETGROUPS	MSTD	{ int linux_getgroups(l_int gidsetsize, \
365146806Srwatson				    l_gid_t *grouplist); }
366155374Srwatson206	AUE_SETGROUPS	MSTD	{ int linux_setgroups(l_int gidsetsize, \
367146806Srwatson				    l_gid_t *grouplist); }
368155374Srwatson207	AUE_FCHOWN	NODEF	fchown fchown fchown_args int
369155374Srwatson208	AUE_SETRESUID	MNOPROTO { int setresuid(uid_t ruid, uid_t euid, \
370146806Srwatson				    uid_t suid); }
371155374Srwatson209	AUE_GETRESUID	MNOPROTO { int getresuid(uid_t *ruid, uid_t *euid, \
372146806Srwatson				    uid_t *suid); }
373155374Srwatson210	AUE_SETRESGID	MNOPROTO { int setresgid(gid_t rgid, gid_t egid, \
374146806Srwatson				    gid_t sgid); }
375155374Srwatson211	AUE_GETRESGID	MNOPROTO { int getresgid(gid_t *rgid, gid_t *egid, \
376146806Srwatson				    gid_t *sgid); }
377155374Srwatson212	AUE_CHOWN	MSTD	{ int linux_chown(char *path, l_uid_t uid, \
378146806Srwatson				    l_gid_t gid); }
379155374Srwatson213	AUE_SETUID	MNOPROTO { int setuid(uid_t uid); }
380155374Srwatson214	AUE_SETGID	MNOPROTO { int setgid(gid_t gid); }
381155374Srwatson215	AUE_SETFSUID	MSTD	{ int linux_setfsuid(l_uid_t uid); }
382155374Srwatson216	AUE_SETFSGID	MSTD	{ int linux_setfsgid(l_gid_t gid); }
383155374Srwatson217	AUE_PIVOT_ROOT	MSTD	{ int linux_pivot_root(char *new_root, \
384146806Srwatson				    char *put_old); }
385155374Srwatson218	AUE_MINCORE	MSTD	{ int linux_mincore(l_ulong start, \
386146806Srwatson				    l_size_t len, u_char *vec); }
387155374Srwatson219	AUE_MADVISE	MNOPROTO { int madvise(void *addr, size_t len, \
388146806Srwatson				    int behav); }
389155374Srwatson220	AUE_O_GETDENTS	STD	{ int linux_getdents64(l_uint fd, \
390146806Srwatson				    void *dirent, l_uint count); }
391155374Srwatson221	AUE_FCNTL	MSTD	{ int linux_fcntl64(l_uint fd, l_uint cmd, \
392146806Srwatson				    l_ulong arg); }
393146806Srwatson222	AUE_NULL	UNIMPL
394146806Srwatson223	AUE_NULL	UNIMPL
395147974Sjhb224	AUE_NULL	MSTD	{ long linux_gettid(void); }
396146806Srwatson225	AUE_NULL	UNIMPL	linux_readahead
397147974Sjhb226	AUE_NULL	MSTD	{ int linux_setxattr(void); }
398147974Sjhb227	AUE_NULL	MSTD	{ int linux_lsetxattr(void); }
399147974Sjhb228	AUE_NULL	MSTD	{ int linux_fsetxattr(void); }
400147974Sjhb229	AUE_NULL	MSTD	{ int linux_getxattr(void); }
401147974Sjhb230	AUE_NULL	MSTD	{ int linux_lgetxattr(void); }
402147974Sjhb231	AUE_NULL	MSTD	{ int linux_fgetxattr(void); }
403147974Sjhb232	AUE_NULL	MSTD	{ int linux_listxattr(void); }
404147974Sjhb233	AUE_NULL	MSTD	{ int linux_llistxattr(void); }
405147974Sjhb234	AUE_NULL	MSTD	{ int linux_flistxattr(void); }
406147974Sjhb235	AUE_NULL	MSTD	{ int linux_removexattr(void); }
407147974Sjhb236	AUE_NULL	MSTD	{ int linux_lremovexattr(void); }
408147974Sjhb237	AUE_NULL	MSTD	{ int linux_fremovexattr(void); }
409147974Sjhb238	AUE_NULL	MSTD	{ int linux_tkill(int tid, int sig); }
410155374Srwatson239	AUE_SENDFILE	UNIMPL	linux_sendfile64
411146806Srwatson240	AUE_NULL	UNIMPL	linux_futex
412146806Srwatson241	AUE_NULL	UNIMPL	linux_sched_setaffinity
413146806Srwatson242	AUE_NULL	UNIMPL	linux_sched_getaffinity
414147974Sjhb243	AUE_NULL	MSTD	{ int linux_set_thread_area(void *entry); }
415146806Srwatson244	AUE_NULL	UNIMPL	linux_get_thread_area
416146806Srwatson245	AUE_NULL	UNIMPL	linux_io_setup
417146806Srwatson246	AUE_NULL	UNIMPL	linux_io_destroy
418146806Srwatson247	AUE_NULL	UNIMPL	linux_io_getevents
419146806Srwatson248	AUE_NULL	UNIMPL	linux_io_submit
420146806Srwatson249	AUE_NULL	UNIMPL	linux_io_cancel
421147974Sjhb250	AUE_NULL	MSTD	{ int linux_fadvise64(void); }
422146806Srwatson251	AUE_NULL	UNIMPL
423155374Srwatson252	AUE_EXIT	MNOPROTO { void sys_exit(int rval); } exit_group \
424146806Srwatson				    sys_exit_args void
425146806Srwatson253	AUE_NULL	UNIMPL	linux_lookup_dcookie
426146806Srwatson254	AUE_NULL	UNIMPL	linux_epoll_create
427146806Srwatson255	AUE_NULL	UNIMPL	linux_epoll_ctl
428146806Srwatson256	AUE_NULL	UNIMPL	linux_epoll_wait
429146806Srwatson257	AUE_NULL	UNIMPL	linux_remap_file_pages
430146806Srwatson258	AUE_NULL	UNIMPL	linux_set_tid_address
431146806Srwatson259	AUE_NULL	UNIMPL	linux_timer_create
432146806Srwatson260	AUE_NULL	UNIMPL	linux_timer_settime
433146806Srwatson261	AUE_NULL	UNIMPL	linux_timer_gettime
434146806Srwatson262	AUE_NULL	UNIMPL	linux_timer_getoverrun
435146806Srwatson263	AUE_NULL	UNIMPL	linux_timer_delete
436155374Srwatson264	AUE_CLOCK_SETTIME	UNIMPL	linux_clock_settime
437146806Srwatson265	AUE_NULL	UNIMPL	linux_clock_gettime
438146806Srwatson266	AUE_NULL	UNIMPL	linux_clock_getres
439146806Srwatson267	AUE_NULL	UNIMPL	linux_clock_nanosleep
440