syscalls.master revision 168014
167754Smsmith $FreeBSD: head/sys/i386/linux/syscalls.master 168014 2007-03-29 02:11:46Z julian $
267754Smsmith
367754Smsmith;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
470243Smsmith; System call name/number master file (or rather, slave, from LINUX).
567754Smsmith; Processed to create linux_sysent.c, linux_proto.h and linux_syscall.h.
667754Smsmith
767754Smsmith; Columns: number audit type nargs name alt{name,tag,rtyp}/comments
867754Smsmith;	number	system call number, must be in order
967754Smsmith;	audit	the audit event associated with the system call
1067754Smsmith;		A value of AUE_NULL means no auditing, but it also means that
1167754Smsmith;		there is no audit event for the call at this time. For the
1270243Smsmith;		case where the event exists, but we don't want auditing, the
1370243Smsmith;		event should be #defined to AUE_NULL in audit_kevents.h.
1467754Smsmith;	type	one of STD, OBSOL, UNIMPL
1567754Smsmith;	name	psuedo-prototype of syscall routine
1667754Smsmith;		If one of the following alts is different, then all appear:
1767754Smsmith;	altname	name of system call if different
1867754Smsmith;	alttag	name of args struct tag if different from [o]`name'"_args"
1967754Smsmith;	altrtyp	return type if not int (bogus - syscalls always return int)
2067754Smsmith;		for UNIMPL/OBSOL, name continues with comments
2167754Smsmith
2267754Smsmith; types:
2367754Smsmith;	STD	always included
2467754Smsmith;	OBSOL	obsolete, not included in system, only specifies name
2567754Smsmith;	UNIMPL	not implemented, placeholder only
2667754Smsmith
2767754Smsmith#include <sys/param.h>
2867754Smsmith#include <sys/sysent.h>
2967754Smsmith#include <sys/sysproto.h>
3067754Smsmith#include <compat/linux/linux_sysproto.h>
3167754Smsmith#include <i386/linux/linux.h>
3267754Smsmith#include <i386/linux/linux_proto.h>
3367754Smsmith
3467754Smsmith; Isn't pretty, but there seems to be no other way to trap nosys
3567754Smsmith#define	nosys	linux_nosys
3667754Smsmith
3767754Smsmith; #ifdef's, etc. may be included, and are copied to the output files.
3867754Smsmith
3967754Smsmith0	AUE_NULL	UNIMPL	setup
4067754Smsmith1	AUE_EXIT	NOPROTO	{ void sys_exit(int rval); } exit \
4167754Smsmith				    sys_exit_args void
4267754Smsmith2	AUE_FORK	STD	{ int linux_fork(void); }
4367754Smsmith3	AUE_NULL	NOPROTO	{ int read(int fd, char *buf, \
4467754Smsmith				    u_int nbyte); }
4567754Smsmith4	AUE_NULL	NOPROTO	{ int write(int fd, char *buf, \
4667754Smsmith				    u_int nbyte); }
4767754Smsmith5	AUE_OPEN_RWTC	STD	{ int linux_open(char *path, l_int flags, \
4867754Smsmith				    l_int mode); }
4967754Smsmith6	AUE_CLOSE	NOPROTO	{ int close(int fd); }
5067754Smsmith7	AUE_WAIT4	STD	{ int linux_waitpid(l_pid_t pid, \
5167754Smsmith				    l_int *status, l_int options); }
5267754Smsmith8	AUE_CREAT	STD	{ int linux_creat(char *path, \
5367754Smsmith				    l_int mode); }
5467754Smsmith9	AUE_LINK	STD	{ int linux_link(char *path, char *to); }
5567754Smsmith10	AUE_UNLINK	STD	{ int linux_unlink(char *path); }
5667754Smsmith11	AUE_EXECVE	STD	{ int linux_execve(char *path, char **argp, \
5767754Smsmith				    char **envp); }
5867754Smsmith12	AUE_CHDIR	STD	{ int linux_chdir(char *path); }
5967754Smsmith13	AUE_NULL	STD	{ int linux_time(l_time_t *tm); }
6067754Smsmith14	AUE_MKNOD	STD	{ int linux_mknod(char *path, l_int mode, \
6167754Smsmith				    l_dev_t dev); }
6267754Smsmith15	AUE_CHMOD	STD	{ int linux_chmod(char *path, \
6367754Smsmith				    l_mode_t mode); }
6467754Smsmith16	AUE_LCHOWN	STD	{ int linux_lchown16(char *path, \
6567754Smsmith				    l_uid16_t uid, l_gid16_t gid); }
6667754Smsmith17	AUE_NULL	UNIMPL	break
6767754Smsmith18	AUE_STAT	STD	{ int linux_stat(char *path, \
6867754Smsmith				    struct linux_stat *up); }
6967754Smsmith19	AUE_LSEEK	STD	{ int linux_lseek(l_uint fdes, l_off_t off, \
7067754Smsmith				    l_int whence); }
7167754Smsmith20	AUE_GETPID	STD	{ int linux_getpid(void); }
7267754Smsmith21	AUE_MOUNT	STD	{ int linux_mount(char *specialfile, \
7367754Smsmith				    char *dir, char *filesystemtype, \
7467754Smsmith				    l_ulong rwflag, void *data); }
7567754Smsmith22	AUE_UMOUNT	STD	{ int linux_oldumount(char *path); }
7667754Smsmith23	AUE_SETUID	STD	{ int linux_setuid16(l_uid16_t uid); }
7767754Smsmith24	AUE_GETUID	STD	{ int linux_getuid16(void); }
7867754Smsmith25	AUE_SETTIMEOFDAY	STD	{ int linux_stime(void); }
7967754Smsmith26	AUE_PTRACE	STD	{ int linux_ptrace(l_long req, l_long pid, \
8067754Smsmith				    l_long addr, l_long data); }
8167754Smsmith27	AUE_NULL	STD	{ int linux_alarm(l_uint secs); }
8267754Smsmith28	AUE_FSTAT	STD	{ int linux_fstat(l_uint fd, \
8367754Smsmith				    struct linux_stat *up); }
8467754Smsmith29	AUE_NULL	STD	{ int linux_pause(void); }
8567754Smsmith30	AUE_UTIME	STD	{ int linux_utime(char *fname, \
8667754Smsmith				    struct l_utimbuf *times); }
8767754Smsmith31	AUE_NULL	UNIMPL	stty
8867754Smsmith32	AUE_NULL	UNIMPL	gtty
8967754Smsmith33	AUE_ACCESS	STD	{ int linux_access(char *path, l_int flags); }
9067754Smsmith34	AUE_NICE	STD	{ int linux_nice(l_int inc); }
9167754Smsmith35	AUE_NULL	UNIMPL	ftime
9267754Smsmith36	AUE_SYNC	NOPROTO	{ int sync(void); }
9367754Smsmith37	AUE_KILL	STD	{ int linux_kill(l_int pid, l_int signum); }
9467754Smsmith38	AUE_RENAME	STD	{ int linux_rename(char *from, char *to); }
9567754Smsmith39	AUE_MKDIR	STD	{ int linux_mkdir(char *path, l_int mode); }
9667754Smsmith40	AUE_RMDIR	STD	{ int linux_rmdir(char *path); }
9767754Smsmith41	AUE_DUP		NOPROTO	{ int dup(u_int fd); }
9867754Smsmith42	AUE_PIPE	STD	{ int linux_pipe(l_ulong *pipefds); }
9967754Smsmith43	AUE_NULL	STD	{ int linux_times(struct l_times_argv *buf); }
10067754Smsmith44	AUE_NULL	UNIMPL	prof
10167754Smsmith45	AUE_NULL	STD	{ int linux_brk(l_ulong dsend); }
10267754Smsmith46	AUE_SETGID	STD	{ int linux_setgid16(l_gid16_t gid); }
10367754Smsmith47	AUE_GETGID	STD	{ int linux_getgid16(void); }
10467754Smsmith48	AUE_NULL	STD	{ int linux_signal(l_int sig, \
10567754Smsmith				    l_handler_t handler); }
10667754Smsmith49	AUE_GETEUID	STD	{ int linux_geteuid16(void); }
10767754Smsmith50	AUE_GETEGID	STD	{ int linux_getegid16(void); }
10867754Smsmith51	AUE_ACCT	NOPROTO	{ int acct(char *path); }
10967754Smsmith52	AUE_UMOUNT	STD	{ int linux_umount(char *path, l_int flags); }
11067754Smsmith53	AUE_NULL	UNIMPL	lock
11167754Smsmith54	AUE_IOCTL	STD	{ int linux_ioctl(l_uint fd, l_uint cmd, \
11267754Smsmith				    l_ulong arg); }
11367754Smsmith55	AUE_FCNTL	STD	{ int linux_fcntl(l_uint fd, l_uint cmd, \
11467754Smsmith				    l_ulong arg); }
11567754Smsmith56	AUE_NULL	UNIMPL	mpx
11667754Smsmith57	AUE_SETPGRP	NOPROTO	{ int setpgid(int pid, int pgid); }
11767754Smsmith58	AUE_NULL	UNIMPL	ulimit
11867754Smsmith59	AUE_NULL	STD	{ int linux_olduname(void); }
11967754Smsmith60	AUE_UMASK	NOPROTO	{ int umask(int newmask); }
12067754Smsmith61	AUE_CHROOT	NOPROTO	{ int chroot(char *path); }
12167754Smsmith62	AUE_NULL	STD	{ int linux_ustat(l_dev_t dev, \
12267754Smsmith				    struct l_ustat *ubuf); }
12367754Smsmith63	AUE_DUP2	NOPROTO { int dup2(u_int from, u_int to); }
12467754Smsmith64	AUE_GETPPID	STD	{ int linux_getppid(void); }
12567754Smsmith65	AUE_GETPGRP	NOPROTO { int getpgrp(void); }
12667754Smsmith66	AUE_SETSID	NOPROTO { int setsid(void); }
12767754Smsmith67	AUE_NULL	STD	{ int linux_sigaction(l_int sig, \
12867754Smsmith				    l_osigaction_t *nsa, \
12967754Smsmith				    l_osigaction_t *osa); }
13067754Smsmith68	AUE_NULL	STD	{ int linux_sgetmask(void); }
13167754Smsmith69	AUE_NULL	STD	{ int linux_ssetmask(l_osigset_t mask); }
13267754Smsmith70	AUE_SETREUID	STD	{ int linux_setreuid16(l_uid16_t ruid, \
13367754Smsmith				    l_uid16_t euid); }
13467754Smsmith71	AUE_SETREGID	STD	{ int linux_setregid16(l_gid16_t rgid, \
13567754Smsmith				    l_gid16_t egid); }
13667754Smsmith72	AUE_NULL	STD	{ int linux_sigsuspend(l_int hist0, \
13767754Smsmith				    l_int hist1, l_osigset_t mask); }
13867754Smsmith73	AUE_NULL	STD	{ int linux_sigpending(l_osigset_t *mask); }
13967754Smsmith74	AUE_SYSCTL	STD	{ int linux_sethostname(char *hostname, \
14067754Smsmith				    u_int len); }
14167754Smsmith75	AUE_SETRLIMIT	STD	{ int linux_setrlimit(l_uint resource, \
14267754Smsmith				    struct l_rlimit *rlim); }
14367754Smsmith76	AUE_GETRLIMIT	STD	{ int linux_old_getrlimit(l_uint resource, \
14467754Smsmith				    struct l_rlimit *rlim); }
14567754Smsmith77	AUE_GETRUSAGE	NOPROTO	{ int getrusage(int who, \
14667754Smsmith				    struct rusage *rusage); }
14767754Smsmith78	AUE_NULL	NOPROTO	{ int gettimeofday( \
14867754Smsmith				    struct timeval *tp, \
14967754Smsmith				    struct timezone *tzp); }
15067754Smsmith79	AUE_SETTIMEOFDAY	NOPROTO	{ int settimeofday( \
15167754Smsmith				    struct timeval *tp, \
15267754Smsmith				    struct timezone *tzp); }
15367754Smsmith80	AUE_GETGROUPS	STD	{ int linux_getgroups16(l_uint gidsetsize, \
15467754Smsmith				    l_gid16_t *gidset); }
15567754Smsmith81	AUE_SETGROUPS	STD	{ int linux_setgroups16(l_uint gidsetsize, \
15667754Smsmith				    l_gid16_t *gidset); }
15767754Smsmith82	AUE_SELECT	STD	{ int linux_old_select( \
15867754Smsmith				    struct l_old_select_argv *ptr); }
15967754Smsmith83	AUE_SYMLINK	STD	{ int linux_symlink(char *path, char *to); }
16069450Smsmith84	AUE_LSTAT	STD	{ int linux_lstat(char *path, struct ostat *up); }
16167754Smsmith85	AUE_READLINK	STD	{ int linux_readlink(char *name, char *buf, \
16267754Smsmith				    l_int count); }
16367754Smsmith86	AUE_USELIB	STD	{ int linux_uselib(char *library); }
16467754Smsmith87	AUE_SWAPON	NOPROTO	{ int swapon(char *name); }
16567754Smsmith88	AUE_REBOOT	STD	{ int linux_reboot(l_int magic1, \
16669450Smsmith				    l_int magic2, l_uint cmd, void *arg); }
16769450Smsmith89	AUE_GETDIRENTRIES	STD { int linux_readdir(l_uint fd, \
16867754Smsmith				    struct l_dirent *dent, l_uint count); }
16967754Smsmith90	AUE_MMAP	STD	{ int linux_mmap(struct l_mmap_argv *ptr); }
17067754Smsmith91	AUE_MUNMAP	NOPROTO	{ int munmap(caddr_t addr, int len); }
17167754Smsmith92	AUE_TRUNCATE	STD	{ int linux_truncate(char *path, \
17267754Smsmith				    l_ulong length); }
17367754Smsmith93	AUE_FTRUNCATE	STD	{ int linux_ftruncate(int fd, long length); }
17469450Smsmith94	AUE_FCHMOD	NOPROTO	{ int fchmod(int fd, int mode); }
17569450Smsmith95	AUE_FCHOWN	NOPROTO	{ int fchown(int fd, int uid, int gid); }
17669450Smsmith96	AUE_GETPRIORITY	STD	{ int linux_getpriority(int which, int who); }
17767754Smsmith97	AUE_SETPRIORITY	NOPROTO	{ int setpriority(int which, int who, \
17867754Smsmith				    int prio); }
17967754Smsmith98	AUE_PROFILE	UNIMPL	profil
18067754Smsmith99	AUE_STATFS	STD	{ int linux_statfs(char *path, \
18167754Smsmith				    struct l_statfs_buf *buf); }
18267754Smsmith100	AUE_FSTATFS	STD	{ int linux_fstatfs(l_uint fd, \
18369450Smsmith				    struct l_statfs_buf *buf); }
18469450Smsmith101	AUE_NULL	STD	{ int linux_ioperm(l_ulong start, \
18569450Smsmith				    l_ulong length, l_int enable); }
18669450Smsmith102	AUE_NULL	STD	{ int linux_socketcall(l_int what, \
18767754Smsmith				    l_ulong args); }
18867754Smsmith103	AUE_NULL	STD	{ int linux_syslog(l_int type, char *buf, \
18967754Smsmith				    l_int len); }
19067754Smsmith104	AUE_SETITIMER	STD	{ int linux_setitimer(l_int which, \
19167754Smsmith				    struct l_itimerval *itv, \
19267754Smsmith				    struct l_itimerval *oitv); }
19367754Smsmith105	AUE_GETITIMER	STD	{ int linux_getitimer(l_int which, \
19467754Smsmith				    struct l_itimerval *itv); }
19567754Smsmith106	AUE_STAT	STD	{ int linux_newstat(char *path, \
19667754Smsmith				    struct l_newstat *buf); }
19767754Smsmith107	AUE_LSTAT	STD	{ int linux_newlstat(char *path, \
19867754Smsmith				    struct l_newstat *buf); }
19967754Smsmith108	AUE_FSTAT	STD	{ int linux_newfstat(l_uint fd, \
20067754Smsmith				    struct l_newstat *buf); }
20167754Smsmith109	AUE_NULL	STD	{ int linux_uname(void); }
20267754Smsmith110	AUE_NULL	STD	{ int linux_iopl(l_ulong level); }
20367754Smsmith111	AUE_NULL	STD	{ int linux_vhangup(void); }
20467754Smsmith112	AUE_NULL	UNIMPL	idle
20567754Smsmith113	AUE_NULL	STD	{ int linux_vm86old(void); }
20667754Smsmith114	AUE_WAIT4	STD	{ int linux_wait4(l_pid_t pid, \
20767754Smsmith				    l_uint *status, l_int options, \
20867754Smsmith				    struct l_rusage *rusage); }
20967754Smsmith115	AUE_SWAPOFF	STD	{ int linux_swapoff(void); }
21067754Smsmith116	AUE_NULL	STD	{ int linux_sysinfo(struct l_sysinfo *info); }
21167754Smsmith117	AUE_NULL	STD	{ int linux_ipc(l_uint what, l_int arg1, \
21267754Smsmith				    l_int arg2, l_int arg3, void *ptr, \
21367754Smsmith				    l_long arg5); }
21467754Smsmith118	AUE_FSYNC	NOPROTO	{ int fsync(int fd); }
21567754Smsmith119	AUE_SIGRETURN	STD	{ int linux_sigreturn( \
21667754Smsmith				    struct l_sigframe *sfp); }
21767754Smsmith; linux uses some strange calling convention here so we have to use the dummy arg
21867754Smsmith120	AUE_RFORK	STD	{ int linux_clone(l_int flags, void *stack, \
21967754Smsmith				    void *parent_tidptr, int dummy, void * child_tidptr); }
22067754Smsmith121	AUE_SYSCTL	NOPROTO { int setdomainname(char *name, \
22167754Smsmith				    int len); }
22267754Smsmith122	AUE_NULL	STD	{ int linux_newuname( \
22367754Smsmith				    struct l_new_utsname *buf); }
22467754Smsmith123	AUE_NULL	STD	{ int linux_modify_ldt(l_int func, \
22567754Smsmith				    void *ptr, l_ulong bytecount); }
22667754Smsmith124	AUE_ADJTIME	STD	{ int linux_adjtimex(void); }
22767754Smsmith125	AUE_MPROTECT	STD	{ int linux_mprotect(caddr_t addr, int len, \
22867754Smsmith				    int prot); }
22967754Smsmith126	AUE_SIGPROCMASK	STD	{ int linux_sigprocmask(l_int how, \
23067754Smsmith				    l_osigset_t *mask, l_osigset_t *omask); }
23167754Smsmith127	AUE_NULL	STD	{ int linux_create_module(void); }
23267754Smsmith128	AUE_NULL	STD	{ int linux_init_module(void); }
23367754Smsmith129	AUE_NULL	STD	{ int linux_delete_module(void); }
23467754Smsmith130	AUE_NULL	STD	{ int linux_get_kernel_syms(void); }
23567754Smsmith131	AUE_QUOTACTL	STD	{ int linux_quotactl(void); }
23667754Smsmith132	AUE_GETPGID	NOPROTO	{ int getpgid(int pid); }
23767754Smsmith133	AUE_FCHDIR	NOPROTO	{ int fchdir(int fd); }
23867754Smsmith134	AUE_BDFLUSH	STD	{ int linux_bdflush(void); }
23967754Smsmith135	AUE_NULL	STD	{ int linux_sysfs(l_int option, \
24067754Smsmith				    l_ulong arg1, l_ulong arg2); }
24167754Smsmith136	AUE_PERSONALITY	STD	{ int linux_personality(l_ulong per); }
24267754Smsmith137	AUE_NULL	UNIMPL	afs_syscall
24367754Smsmith138	AUE_SETFSUID	STD	{ int linux_setfsuid16(l_uid16_t uid); }
24467754Smsmith139	AUE_SETFSGID	STD	{ int linux_setfsgid16(l_gid16_t gid); }
24567754Smsmith140	AUE_LSEEK	STD	{ int linux_llseek(l_int fd, l_ulong ohigh, \
24667754Smsmith				    l_ulong olow, l_loff_t *res, \
24767754Smsmith				    l_uint whence); }
24867754Smsmith141	AUE_GETDIRENTRIES	STD { int linux_getdents(l_uint fd, \
24967754Smsmith				    void *dent, l_uint count); }
25067754Smsmith142	AUE_SELECT	STD	{ int linux_select(l_int nfds, \
25167754Smsmith				    l_fd_set *readfds, l_fd_set *writefds, \
25267754Smsmith				    l_fd_set *exceptfds, \
25367754Smsmith				    struct l_timeval *timeout); }
25467754Smsmith143	AUE_FLOCK	NOPROTO	{ int flock(int fd, int how); }
25567754Smsmith144	AUE_MSYNC	STD	{ int linux_msync(l_ulong addr, \
25667754Smsmith				    l_size_t len, l_int fl); }
25767754Smsmith145	AUE_READV	NOPROTO	{ int readv(int fd, struct iovec *iovp, \
25867754Smsmith				    u_int iovcnt); }
25967754Smsmith146	AUE_WRITEV	NOPROTO	{ int writev(int fd, struct iovec *iovp, \
26067754Smsmith				    u_int iovcnt); }
26167754Smsmith147	AUE_GETSID	STD	{ int linux_getsid(l_pid_t pid); }
26267754Smsmith148	AUE_NULL	STD	{ int linux_fdatasync(l_uint fd); }
26367754Smsmith149	AUE_SYSCTL	STD	{ int linux_sysctl( \
26467754Smsmith				    struct l___sysctl_args *args); }
26567754Smsmith150	AUE_MLOCK	NOPROTO	{ int mlock(const void *addr, size_t len); }
26667754Smsmith151	AUE_MUNLOCK	NOPROTO	{ int munlock(const void *addr, size_t len); }
26767754Smsmith152	AUE_MLOCKALL	NOPROTO	{ int mlockall(int how); }
26867754Smsmith153	AUE_MUNLOCKALL	NOPROTO	{ int munlockall(void); }
26967754Smsmith154	AUE_SCHED_SETPARAM	NOPROTO	{ int sched_setparam(pid_t pid, \
27067754Smsmith				    const struct sched_param *param); }
27167754Smsmith155	AUE_SCHED_GETPARAM	NOPROTO	{ int sched_getparam(pid_t pid, \
27267754Smsmith				    struct sched_param *param); }
27367754Smsmith156	AUE_SCHED_SETSCHEDULER	STD { int linux_sched_setscheduler( \
27467754Smsmith				    l_pid_t pid, l_int policy, \
27567754Smsmith				    struct l_sched_param *param); }
27667754Smsmith157	AUE_SCHED_GETSCHEDULER	STD { int linux_sched_getscheduler( \
27767754Smsmith				    l_pid_t pid); }
27867754Smsmith158	AUE_NULL	NOPROTO	{ int sched_yield(void); }
27967754Smsmith159	AUE_SCHED_GET_PRIORITY_MAX	STD { int linux_sched_get_priority_max( \
28067754Smsmith				    l_int policy); }
28167754Smsmith160	AUE_SCHED_GET_PRIORITY_MIN	STD { int linux_sched_get_priority_min( \
28267754Smsmith				    l_int policy); }
28367754Smsmith161	AUE_SCHED_RR_GET_INTERVAL	NOPROTO	{ int sched_rr_get_interval(l_pid_t pid, \
28467754Smsmith				    struct l_timespec *interval); }
28567754Smsmith162	AUE_NULL	STD	{ int linux_nanosleep( \
28667754Smsmith				    const struct l_timespec *rqtp, \
28767754Smsmith				    struct l_timespec *rmtp); }
28867754Smsmith163	AUE_NULL	STD	{ int linux_mremap(l_ulong addr, \
28967754Smsmith				    l_ulong old_len, l_ulong new_len, \
29067754Smsmith				    l_ulong flags, l_ulong new_addr); }
29167754Smsmith164	AUE_SETRESUID	STD	{ int linux_setresuid16(l_uid16_t ruid, \
29267754Smsmith				    l_uid16_t euid, l_uid16_t suid); }
29367754Smsmith165	AUE_GETRESUID	STD	{ int linux_getresuid16(l_uid16_t *ruid, \
29467754Smsmith				    l_uid16_t *euid, l_uid16_t *suid); }
29567754Smsmith166	AUE_NULL	STD	{ int linux_vm86(void); }
29667754Smsmith167	AUE_NULL	STD	{ int linux_query_module(void); }
29767754Smsmith168	AUE_POLL	NOPROTO	{ int poll(struct pollfd*, \
29867754Smsmith				    unsigned int nfds, long timeout); }
29967754Smsmith169	AUE_NULL	STD	{ int linux_nfsservctl(void); }
30067754Smsmith170	AUE_SETRESGID	STD	{ int linux_setresgid16(l_gid16_t rgid, \
30167754Smsmith				    l_gid16_t egid, l_gid16_t sgid); }
30267754Smsmith171	AUE_GETRESGID	STD	{ int linux_getresgid16(l_gid16_t *rgid, \
30367754Smsmith				    l_gid16_t *egid, l_gid16_t *sgid); }
30467754Smsmith172	AUE_PRCTL	STD	{ int linux_prctl(l_int option, l_int arg2, l_int arg3, \
30567754Smsmith				    l_int arg4, l_int arg5); }
30667754Smsmith173	AUE_NULL	STD	{ int linux_rt_sigreturn( \
30767754Smsmith				    struct l_ucontext *ucp); }
30867754Smsmith174	AUE_NULL	STD	{ int linux_rt_sigaction(l_int sig, \
30967754Smsmith				    l_sigaction_t *act, l_sigaction_t *oact, \
31067754Smsmith				    l_size_t sigsetsize); }
31167754Smsmith175	AUE_NULL	STD	{ int linux_rt_sigprocmask(l_int how, \
31267754Smsmith				    l_sigset_t *mask, l_sigset_t *omask, \
31367754Smsmith				    l_size_t sigsetsize); }
31467754Smsmith176	AUE_NULL	STD	{ int linux_rt_sigpending(l_sigset_t *set, \
31567754Smsmith				    l_size_t sigsetsize); }
31667754Smsmith177	AUE_NULL	STD	{ int linux_rt_sigtimedwait(l_sigset_t *mask, \
31767754Smsmith				    l_siginfo_t *ptr, \
31867754Smsmith				    struct l_timeval *timeout, \
31967754Smsmith				    l_size_t sigsetsize); }
32067754Smsmith178	AUE_NULL	STD	{ int linux_rt_sigqueueinfo(void); }
32167754Smsmith179	AUE_NULL	STD	{ int linux_rt_sigsuspend( \
32267754Smsmith				    l_sigset_t *newset, \
32367754Smsmith				    l_size_t sigsetsize); }
32467754Smsmith180	AUE_PREAD	STD	{ int linux_pread(l_uint fd, char *buf, \
32567754Smsmith				    l_size_t nbyte, l_loff_t offset); }
32667754Smsmith181	AUE_PWRITE	STD	{ int linux_pwrite(l_uint fd, char *buf, \
32767754Smsmith				    l_size_t nbyte, l_loff_t offset); }
32867754Smsmith182	AUE_CHOWN	STD	{ int linux_chown16(char *path, \
32967754Smsmith				    l_uid16_t uid, l_gid16_t gid); }
33067754Smsmith183	AUE_GETCWD	STD	{ int linux_getcwd(char *buf, \
33167754Smsmith				    l_ulong bufsize); }
33267754Smsmith184	AUE_CAPGET	STD	{ int linux_capget(void); }
33367754Smsmith185	AUE_CAPSET	STD	{ int linux_capset(void); }
33467754Smsmith186	AUE_NULL	STD	{ int linux_sigaltstack(l_stack_t *uss, \
33567754Smsmith				    l_stack_t *uoss); }
33667754Smsmith187	AUE_SENDFILE	STD	{ int linux_sendfile(void); }
33767754Smsmith188	AUE_GETPMSG	UNIMPL	getpmsg
33867754Smsmith189	AUE_PUTPMSG	UNIMPL	putpmsg
33967754Smsmith190	AUE_VFORK	STD	{ int linux_vfork(void); }
34067754Smsmith191	AUE_GETRLIMIT	STD	{ int linux_getrlimit(l_uint resource, \
34167754Smsmith				    struct l_rlimit *rlim); }
34267754Smsmith192	AUE_MMAP	STD	{ int linux_mmap2(l_ulong addr, l_ulong len, \
34367754Smsmith				    l_ulong prot, l_ulong flags, l_ulong fd, \
34467754Smsmith				    l_ulong pgoff); }
34567754Smsmith193	AUE_TRUNCATE	STD	{ int linux_truncate64(char *path, \
34667754Smsmith				    l_loff_t length); }
34767754Smsmith194	AUE_FTRUNCATE	STD	{ int linux_ftruncate64(l_uint fd, \
34867754Smsmith				    l_loff_t length); }
34967754Smsmith195	AUE_STAT	STD	{ int linux_stat64(char *filename, \
35067754Smsmith				    struct l_stat64 *statbuf, l_long flags); }
35167754Smsmith196	AUE_LSTAT	STD	{ int linux_lstat64(char *filename, \
35267754Smsmith				    struct l_stat64 *statbuf, l_long flags); }
35367754Smsmith197	AUE_FSTAT	STD	{ int linux_fstat64(l_ulong fd, \
35467754Smsmith				    struct l_stat64 *statbuf, l_long flags); }
35567754Smsmith198	AUE_LCHOWN	STD	{ int linux_lchown(char *path, l_uid_t uid, \
35667754Smsmith				    l_gid_t gid); }
35767754Smsmith199	AUE_GETUID	STD	{ int linux_getuid(void); }
35867754Smsmith200	AUE_GETGID	STD	{ int linux_getgid(void); }
35967754Smsmith201	AUE_GETEUID	NOPROTO	{ int geteuid(void); }
36067754Smsmith202	AUE_GETEGID	NOPROTO	{ int getegid(void); }
36167754Smsmith203	AUE_SETREUID	NOPROTO	{ int setreuid(uid_t ruid, uid_t euid); }
36267754Smsmith204	AUE_SETREGID	NOPROTO	{ int setregid(gid_t rgid, gid_t egid); }
36367754Smsmith205	AUE_GETGROUPS	STD	{ int linux_getgroups(l_int gidsetsize, \
36467754Smsmith				    l_gid_t *grouplist); }
36567754Smsmith206	AUE_SETGROUPS	STD	{ int linux_setgroups(l_int gidsetsize, \
36667754Smsmith				    l_gid_t *grouplist); }
36767754Smsmith207	AUE_FCHOWN	NODEF	fchown fchown fchown_args int
36867754Smsmith208	AUE_SETRESUID	NOPROTO	{ int setresuid(uid_t ruid, uid_t euid, \
36967754Smsmith				    uid_t suid); }
37067754Smsmith209	AUE_GETRESUID	NOPROTO	{ int getresuid(uid_t *ruid, uid_t *euid, \
37167754Smsmith				    uid_t *suid); }
37267754Smsmith210	AUE_SETRESGID	NOPROTO	{ int setresgid(gid_t rgid, gid_t egid, \
37367754Smsmith				    gid_t sgid); }
37467754Smsmith211	AUE_GETRESGID	NOPROTO	{ int getresgid(gid_t *rgid, gid_t *egid, \
37567754Smsmith				    gid_t *sgid); }
37667754Smsmith212	AUE_CHOWN	STD	{ int linux_chown(char *path, l_uid_t uid, \
37767754Smsmith				    l_gid_t gid); }
37867754Smsmith213	AUE_SETUID	NOPROTO	{ int setuid(uid_t uid); }
37967754Smsmith214	AUE_SETGID	NOPROTO	{ int setgid(gid_t gid); }
38067754Smsmith215	AUE_SETFSUID	STD	{ int linux_setfsuid(l_uid_t uid); }
38167754Smsmith216	AUE_SETFSGID	STD	{ int linux_setfsgid(l_gid_t gid); }
38267754Smsmith217	AUE_PIVOT_ROOT	STD	{ int linux_pivot_root(char *new_root, \
38367754Smsmith				    char *put_old); }
38467754Smsmith218	AUE_MINCORE	STD	{ int linux_mincore(l_ulong start, \
38567754Smsmith				    l_size_t len, u_char *vec); }
38667754Smsmith219	AUE_MADVISE	NOPROTO	{ int madvise(void *addr, size_t len, \
38767754Smsmith				    int behav); }
38867754Smsmith220	AUE_GETDIRENTRIES	STD { int linux_getdents64(l_uint fd, \
38967754Smsmith				    void *dirent, l_uint count); }
39067754Smsmith221	AUE_FCNTL	STD	{ int linux_fcntl64(l_uint fd, l_uint cmd, \
39167754Smsmith				    l_ulong arg); }
39267754Smsmith222	AUE_NULL	UNIMPL
39367754Smsmith223	AUE_NULL	UNIMPL
39467754Smsmith224	AUE_NULL	STD	{ long linux_gettid(void); }
39567754Smsmith225	AUE_NULL	UNIMPL	linux_readahead
39667754Smsmith226	AUE_NULL	STD	{ int linux_setxattr(void); }
39767754Smsmith227	AUE_NULL	STD	{ int linux_lsetxattr(void); }
39867754Smsmith228	AUE_NULL	STD	{ int linux_fsetxattr(void); }
39967754Smsmith229	AUE_NULL	STD	{ int linux_getxattr(void); }
40067754Smsmith230	AUE_NULL	STD	{ int linux_lgetxattr(void); }
40167754Smsmith231	AUE_NULL	STD	{ int linux_fgetxattr(void); }
40267754Smsmith232	AUE_NULL	STD	{ int linux_listxattr(void); }
40367754Smsmith233	AUE_NULL	STD	{ int linux_llistxattr(void); }
40467754Smsmith234	AUE_NULL	STD	{ int linux_flistxattr(void); }
40567754Smsmith235	AUE_NULL	STD	{ int linux_removexattr(void); }
40667754Smsmith236	AUE_NULL	STD	{ int linux_lremovexattr(void); }
40767754Smsmith237	AUE_NULL	STD	{ int linux_fremovexattr(void); }
40867754Smsmith238	AUE_NULL	STD	{ int linux_tkill(int tid, int sig); }
40967754Smsmith239	AUE_SENDFILE	UNIMPL	linux_sendfile64
41067754Smsmith240	AUE_NULL	STD	{ int linux_sys_futex(void *uaddr, int op, int val, \
41167754Smsmith					struct l_timespec *timeout, void *uaddr2, int val3); }
41267754Smsmith241	AUE_NULL	UNIMPL	linux_sched_setaffinity
41367754Smsmith242	AUE_NULL	UNIMPL	linux_sched_getaffinity
41467754Smsmith243	AUE_NULL	STD	{ int linux_set_thread_area(struct l_user_desc *desc); }
41567754Smsmith244	AUE_NULL	STD	{ int linux_get_thread_area(struct l_user_desc *desc); }
41667754Smsmith245	AUE_NULL	UNIMPL	linux_io_setup
41767754Smsmith246	AUE_NULL	UNIMPL	linux_io_destroy
41867754Smsmith247	AUE_NULL	UNIMPL	linux_io_getevents
41967754Smsmith248	AUE_NULL	UNIMPL	linux_io_submit
42067754Smsmith249	AUE_NULL	UNIMPL	linux_io_cancel
42167754Smsmith250	AUE_NULL	STD	{ int linux_fadvise64(void); }
42267754Smsmith251	AUE_NULL	UNIMPL
42367754Smsmith252	AUE_EXIT	STD	{ int linux_exit_group(int error_code); }
42467754Smsmith253	AUE_NULL	STD	{ int linux_lookup_dcookie(void); }
42567754Smsmith254	AUE_NULL	STD	{ int linux_epoll_create(void); }
42667754Smsmith255	AUE_NULL	STD	{ int linux_epoll_ctl(void); }
42767754Smsmith256	AUE_NULL	STD	{ int linux_epoll_wait(void); }
42867754Smsmith257	AUE_NULL	STD	{ int linux_remap_file_pages(void); }
42967754Smsmith258	AUE_NULL	STD	{ int linux_set_tid_address(int *tidptr); }
43067754Smsmith259	AUE_NULL	STD	{ int linux_timer_create(clockid_t clock_id, \
43167754Smsmith					struct sigevent *evp, l_timer_t *timerid); }
43267754Smsmith260	AUE_NULL	STD	{ int linux_timer_settime(l_timer_t timerid, \
43367754Smsmith					const struct itimerspec *new, struct itimerspec *old); }
43467754Smsmith261	AUE_NULL	STD	{ int linux_timer_gettime(l_timer_t timerid, struct itimerspec *setting); }
43567754Smsmith262	AUE_NULL	STD	{ int linux_timer_getoverrun(l_timer_t timerid); }
43667754Smsmith263	AUE_NULL	STD	{ int linux_timer_delete(l_timer_t timerid); }
43767754Smsmith264	AUE_CLOCK_SETTIME	STD	{ int linux_clock_settime(clockid_t which, struct l_timespec *tp); }
43867754Smsmith265	AUE_NULL	STD	{ int linux_clock_gettime(clockid_t which, struct l_timespec *tp); }
43967754Smsmith266	AUE_NULL	STD	{ int linux_clock_getres(clockid_t which, struct l_timespec *tp); }
44067754Smsmith267	AUE_NULL	STD	{ int linux_clock_nanosleep(clockid_t which, int flags, \
44167754Smsmith					struct l_timespec *rqtp, struct l_timespec *rmtp); }
44267754Smsmith268	AUE_STATFS	STD	{ int linux_statfs64(char *path, struct l_statfs64_buf *buf); }
44367754Smsmith269	AUE_FSTATFS	STD	{ int linux_fstatfs64(void); }
44467754Smsmith270	AUE_NULL	STD	{ int linux_tgkill(int tgid, int pid, int sig); }
44567754Smsmith271	AUE_UTIMES	STD	{ int linux_utimes(char *fname, \
44667754Smsmith					struct l_timeval *tptr); }
44767754Smsmith272	AUE_NULL	STD	{ int linux_fadvise64_64(void); }
44867754Smsmith273	AUE_NULL	UNIMPL
44967754Smsmith274	AUE_NULL	STD	{ int linux_mbind(void); }
45067754Smsmith275	AUE_NULL	STD	{ int linux_get_mempolicy(void); }
45167754Smsmith276	AUE_NULL	STD	{ int linux_set_mempolicy(void); }
45267754Smsmith277	AUE_NULL	STD	{ int linux_mq_open(const char *name, int oflag, mode_t mode, \
45367754Smsmith					struct mq_attr *attr); }
45467754Smsmith278	AUE_NULL	STD	{ int linux_mq_unlink(const char *name); }
45567754Smsmith279	AUE_NULL	STD	{ int linux_mq_timedsend(l_mqd_t mqd, const char *msg_ptr, \
45667754Smsmith					size_t msg_len, unsigned int msg_prio, const struct \
45767754Smsmith					l_timespec *abs_timeout); }
45867754Smsmith280	AUE_NULL	STD	{ int linux_mq_timedreceive(l_mqd_t mqd, char *msg_ptr, \
45967754Smsmith					size_t msg_len, unsigned int msg_prio, const struct \
46067754Smsmith					l_timespec *abs_timeout); }
46167754Smsmith281	AUE_NULL	STD	{ int linux_mq_notify(l_mqd_t mqd, const struct l_timespec *abs_timeout); }
46267754Smsmith282	AUE_NULL	STD	{ int linux_mq_getsetattr(l_mqd_t mqd, const struct mq_attr *attr, \
46367754Smsmith					struct mq_attr *oattr); }
46467754Smsmith283	AUE_NULL	STD	{ int linux_kexec_load(void); }
46567754Smsmith284	AUE_NULL	STD	{ int linux_waitid(void); }
46667754Smsmith285	AUE_NULL	UNIMPL
46767754Smsmith286	AUE_NULL	STD	{ int linux_add_key(void); }
46867754Smsmith287	AUE_NULL	STD	{ int linux_request_key(void); }
46967754Smsmith288	AUE_NULL	STD	{ int linux_keyctl(void); }
47067754Smsmith289	AUE_NULL	STD	{ int linux_ioprio_set(void); }
47167754Smsmith290	AUE_NULL	STD	{ int linux_ioprio_get(void); }
47267754Smsmith291	AUE_NULL	STD	{ int linux_inotify_init(void); }
47367754Smsmith292	AUE_NULL	STD	{ int linux_inotify_add_watch(void); }
47467754Smsmith293	AUE_NULL	STD	{ int linux_inotify_rm_watch(void); }
47567754Smsmith294	AUE_NULL	STD	{ int linux_migrate_pages(void); }
47667754Smsmith295	AUE_OPEN_RWTC	STD	{ int linux_openat(l_int dfd, char *filename, \
47767754Smsmith					l_int flags, l_int mode); }
47867754Smsmith296	AUE_NULL	STD	{ int linux_mkdirat(void); }
47967754Smsmith297	AUE_NULL	STD	{ int linux_mknodat(void); }
48067754Smsmith298	AUE_NULL	STD	{ int linux_fchownat(void); }
48167754Smsmith299	AUE_NULL	STD	{ int linux_futimesat(void); }
48267754Smsmith300	AUE_NULL	STD	{ int linux_fstatat64(void); }
48367754Smsmith301	AUE_NULL	STD	{ int linux_unlinkat(void); }
48467754Smsmith302	AUE_NULL	STD	{ int linux_renameat(void); }
48567754Smsmith303	AUE_NULL	STD	{ int linux_linkat(void); }
48667754Smsmith304	AUE_NULL	STD	{ int linux_symlinkat(void); }
48767754Smsmith305	AUE_NULL	STD	{ int linux_readlinkat(void); }
48867754Smsmith306	AUE_NULL	STD	{ int linux_fchmodat(void); }
48967754Smsmith307	AUE_NULL	STD	{ int linux_faccessat(void); }
49067754Smsmith308	AUE_NULL	STD	{ int linux_pselect6(void); }
49167754Smsmith309	AUE_NULL	STD	{ int linux_ppoll(void); }
49267754Smsmith310	AUE_NULL	STD	{ int linux_unshare(void); }
49367754Smsmith