syscalls.master revision 146806
150477Speter $FreeBSD: head/sys/i386/linux/syscalls.master 146806 2005-05-30 15:09:18Z 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 7123753Speter; Columns: number 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: 1714330Speter; altname name of system call if different 1814330Speter; alttag name of args struct tag if different from [o]`name'"_args" 1914330Speter; altrtyp return type if not int (bogus - syscalls always return int) 2014330Speter; for UNIMPL/OBSOL, name continues with comments 2114330Speter 2214330Speter; types: 23146806Srwatson; AUE_NULL STD always included 2414330Speter; COMPAT included on COMPAT #ifdef 2514330Speter; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h 2614330Speter; OBSOL obsolete, not included in system, only specifies name 27146806Srwatson; AUE_NULL UNIMPL not implemented, placeholder only 2814330Speter 2936781Sbde#include "opt_compat.h" 3014330Speter#include <sys/param.h> 3114330Speter#include <sys/sysent.h> 3214330Speter#include <sys/sysproto.h> 33143197Ssobomax#include <compat/linux/linux_sysproto.h> 3414330Speter#include <i386/linux/linux.h> 3568583Smarcel#include <i386/linux/linux_proto.h> 3614330Speter 37143197Ssobomax; Isn't pretty, but there seems to be no other way to trap nosys 38143197Ssobomax#define nosys linux_nosys 39143197Ssobomax 4014330Speter; #ifdef's, etc. may be included, and are copied to the output files. 4114330Speter 42146806Srwatson0 AUE_NULL UNIMPL setup 43146806Srwatson1 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit \ 44146806Srwatson sys_exit_args void 45146806Srwatson2 AUE_NULL MSTD { int linux_fork(void); } 46146806Srwatson3 AUE_NULL MNOPROTO { int read(int fd, char *buf, \ 47146806Srwatson u_int nbyte); } 48146806Srwatson4 AUE_NULL MNOPROTO { int write(int fd, char *buf, \ 49146806Srwatson u_int nbyte); } 50146806Srwatson5 AUE_NULL STD { int linux_open(char *path, l_int flags, \ 51146806Srwatson l_int mode); } 52146806Srwatson6 AUE_NULL MNOPROTO { int close(int fd); } 53146806Srwatson7 AUE_NULL MSTD { int linux_waitpid(l_pid_t pid, \ 54146806Srwatson l_int *status, l_int options); } 55146806Srwatson8 AUE_NULL STD { int linux_creat(char *path, \ 56146806Srwatson l_int mode); } 57146806Srwatson9 AUE_NULL STD { int linux_link(char *path, char *to); } 58146806Srwatson10 AUE_NULL STD { int linux_unlink(char *path); } 59146806Srwatson11 AUE_NULL STD { int linux_execve(char *path, char **argp, \ 60146806Srwatson char **envp); } 61146806Srwatson12 AUE_NULL STD { int linux_chdir(char *path); } 62146806Srwatson13 AUE_NULL STD { int linux_time(l_time_t *tm); } 63146806Srwatson14 AUE_NULL STD { int linux_mknod(char *path, l_int mode, \ 64146806Srwatson l_dev_t dev); } 65146806Srwatson15 AUE_NULL STD { int linux_chmod(char *path, \ 66146806Srwatson l_mode_t mode); } 67146806Srwatson16 AUE_NULL STD { int linux_lchown16(char *path, \ 68146806Srwatson l_uid16_t uid, l_gid16_t gid); } 69146806Srwatson17 AUE_NULL UNIMPL break 70146806Srwatson18 AUE_NULL STD { int linux_stat(char *path, \ 71146806Srwatson struct ostat *up); } 72146806Srwatson19 AUE_NULL STD { int linux_lseek(l_uint fdes, l_off_t off, \ 73146806Srwatson l_int whence); } 74146806Srwatson20 AUE_NULL MSTD { int linux_getpid(void); } 75146806Srwatson21 AUE_NULL STD { int linux_mount(char *specialfile, \ 76146806Srwatson char *dir, char *filesystemtype, \ 77146806Srwatson l_ulong rwflag, void *data); } 78146806Srwatson22 AUE_NULL STD { int linux_oldumount(char *path); } 79146806Srwatson23 AUE_NULL MSTD { int linux_setuid16(l_uid16_t uid); } 80146806Srwatson24 AUE_NULL MSTD { int linux_getuid16(void); } 81146806Srwatson25 AUE_NULL STD { int linux_stime(void); } 82146806Srwatson26 AUE_NULL MSTD { int linux_ptrace(l_long req, l_long pid, \ 83146806Srwatson l_long addr, l_long data); } 84146806Srwatson27 AUE_NULL STD { int linux_alarm(l_uint secs); } 85146806Srwatson28 AUE_NULL STD { int linux_fstat(l_uint fd, \ 86146806Srwatson struct ostat *up); } 87146806Srwatson29 AUE_NULL MSTD { int linux_pause(void); } 88146806Srwatson30 AUE_NULL STD { int linux_utime(char *fname, \ 89146806Srwatson struct l_utimbuf *times); } 90146806Srwatson31 AUE_NULL UNIMPL stty 91146806Srwatson32 AUE_NULL UNIMPL gtty 92146806Srwatson33 AUE_NULL STD { int linux_access(char *path, l_int flags); } 93146806Srwatson34 AUE_NULL MSTD { int linux_nice(l_int inc); } 94146806Srwatson35 AUE_NULL UNIMPL ftime 95146806Srwatson36 AUE_NULL NOPROTO { int sync(void); } 96146806Srwatson37 AUE_NULL MSTD { int linux_kill(l_int pid, l_int signum); } 97146806Srwatson38 AUE_NULL STD { int linux_rename(char *from, char *to); } 98146806Srwatson39 AUE_NULL STD { int linux_mkdir(char *path, l_int mode); } 99146806Srwatson40 AUE_NULL STD { int linux_rmdir(char *path); } 100146806Srwatson41 AUE_NULL MNOPROTO { int dup(u_int fd); } 101146806Srwatson42 AUE_NULL MSTD { int linux_pipe(l_ulong *pipefds); } 102146806Srwatson43 AUE_NULL STD { int linux_times(struct l_times_argv *buf); } 103146806Srwatson44 AUE_NULL UNIMPL prof 104146806Srwatson45 AUE_NULL STD { int linux_brk(l_ulong dsend); } 105146806Srwatson46 AUE_NULL MSTD { int linux_setgid16(l_gid16_t gid); } 106146806Srwatson47 AUE_NULL MSTD { int linux_getgid16(void); } 107146806Srwatson48 AUE_NULL MSTD { int linux_signal(l_int sig, \ 108146806Srwatson l_handler_t handler); } 109146806Srwatson49 AUE_NULL MSTD { int linux_geteuid16(void); } 110146806Srwatson50 AUE_NULL MSTD { int linux_getegid16(void); } 111146806Srwatson51 AUE_NULL MNOPROTO { int acct(char *path); } 112146806Srwatson52 AUE_NULL STD { int linux_umount(char *path, l_int flags); } 113146806Srwatson53 AUE_NULL UNIMPL lock 114146806Srwatson54 AUE_NULL STD { int linux_ioctl(l_uint fd, l_uint cmd, \ 115146806Srwatson l_ulong arg); } 116146806Srwatson55 AUE_NULL MSTD { int linux_fcntl(l_uint fd, l_uint cmd, \ 117146806Srwatson l_ulong arg); } 118146806Srwatson56 AUE_NULL UNIMPL mpx 119146806Srwatson57 AUE_NULL MNOPROTO { int setpgid(int pid, int pgid); } 120146806Srwatson58 AUE_NULL UNIMPL ulimit 121146806Srwatson59 AUE_NULL STD { int linux_olduname(void); } 122146806Srwatson60 AUE_NULL MNOPROTO { int umask(int newmask); } 123146806Srwatson61 AUE_NULL NOPROTO { int chroot(char *path); } 124146806Srwatson62 AUE_NULL STD { int linux_ustat(l_dev_t dev, \ 125146806Srwatson struct l_ustat *ubuf); } 126146806Srwatson63 AUE_NULL MNOPROTO { int dup2(u_int from, u_int to); } 127146806Srwatson64 AUE_NULL MNOPROTO { int getppid(void); } 128146806Srwatson65 AUE_NULL MNOPROTO { int getpgrp(void); } 129146806Srwatson66 AUE_NULL MNOPROTO { int setsid(void); } 130146806Srwatson67 AUE_NULL MSTD { int linux_sigaction(l_int sig, \ 131146806Srwatson l_osigaction_t *nsa, \ 132146806Srwatson l_osigaction_t *osa); } 133146806Srwatson68 AUE_NULL MSTD { int linux_sgetmask(void); } 134146806Srwatson69 AUE_NULL MSTD { int linux_ssetmask(l_osigset_t mask); } 135146806Srwatson70 AUE_NULL MSTD { int linux_setreuid16(l_uid16_t ruid, \ 136146806Srwatson l_uid16_t euid); } 137146806Srwatson71 AUE_NULL MSTD { int linux_setregid16(l_gid16_t rgid, \ 138146806Srwatson l_gid16_t egid); } 139146806Srwatson72 AUE_NULL MSTD { int linux_sigsuspend(l_int hist0, \ 140146806Srwatson l_int hist1, l_osigset_t mask); } 141146806Srwatson73 AUE_NULL MSTD { int linux_sigpending(l_osigset_t *mask); } 142146806Srwatson74 AUE_NULL MNOPROTO { int osethostname(char *hostname, \ 143146806Srwatson u_int len); } osethostname \ 144146806Srwatson sethostname_args int 145146806Srwatson75 AUE_NULL MSTD { int linux_setrlimit(l_uint resource, \ 146146806Srwatson struct l_rlimit *rlim); } 147146806Srwatson76 AUE_NULL MSTD { int linux_old_getrlimit(l_uint resource, \ 148146806Srwatson struct l_rlimit *rlim); } 149146806Srwatson77 AUE_NULL MNOPROTO { int getrusage(int who, \ 150146806Srwatson struct rusage *rusage); } 151146806Srwatson78 AUE_NULL MNOPROTO { int gettimeofday(struct timeval *tp, \ 152146806Srwatson struct timezone *tzp); } 153146806Srwatson79 AUE_NULL MNOPROTO { int settimeofday(struct timeval *tp, \ 154146806Srwatson struct timezone *tzp); } 155146806Srwatson80 AUE_NULL MSTD { int linux_getgroups16(l_uint gidsetsize, \ 156146806Srwatson l_gid16_t *gidset); } 157146806Srwatson81 AUE_NULL MSTD { int linux_setgroups16(l_uint gidsetsize, \ 158146806Srwatson l_gid16_t *gidset); } 159146806Srwatson82 AUE_NULL STD { int linux_old_select( \ 160146806Srwatson struct l_old_select_argv *ptr); } 161146806Srwatson83 AUE_NULL STD { int linux_symlink(char *path, char *to); } 162146806Srwatson84 AUE_NULL NOPROTO { int ostat(char *path, struct ostat *up); } 163146806Srwatson85 AUE_NULL STD { int linux_readlink(char *name, char *buf, \ 164146806Srwatson l_int count); } 165146806Srwatson86 AUE_NULL STD { int linux_uselib(char *library); } 166146806Srwatson87 AUE_NULL NOPROTO { int swapon(char *name); } 167146806Srwatson88 AUE_NULL STD { int linux_reboot(l_int magic1, \ 168146806Srwatson l_int magic2, l_uint cmd, void *arg); } 169146806Srwatson89 AUE_NULL STD { int linux_readdir(l_uint fd, \ 170146806Srwatson struct l_dirent *dent, l_uint count); } 171146806Srwatson90 AUE_NULL STD { int linux_mmap(struct l_mmap_argv *ptr); } 172146806Srwatson91 AUE_NULL NOPROTO { int munmap(caddr_t addr, int len); } 173146806Srwatson92 AUE_NULL STD { int linux_truncate(char *path, \ 174146806Srwatson l_ulong length); } 175146806Srwatson93 AUE_NULL NOPROTO { int oftruncate(int fd, long length); } 176146806Srwatson94 AUE_NULL NOPROTO { int fchmod(int fd, int mode); } 177146806Srwatson95 AUE_NULL NOPROTO { int fchown(int fd, int uid, int gid); } 178146806Srwatson96 AUE_NULL MNOPROTO { int getpriority(int which, int who); } 179146806Srwatson97 AUE_NULL MNOPROTO { int setpriority(int which, int who, \ 180146806Srwatson int prio); } 181146806Srwatson98 AUE_NULL UNIMPL profil 182146806Srwatson99 AUE_NULL STD { int linux_statfs(char *path, \ 183146806Srwatson struct l_statfs_buf *buf); } 184146806Srwatson100 AUE_NULL STD { int linux_fstatfs(l_uint fd, \ 185146806Srwatson struct l_statfs_buf *buf); } 186146806Srwatson101 AUE_NULL STD { int linux_ioperm(l_ulong start, \ 187146806Srwatson l_ulong length, l_int enable); } 188146806Srwatson102 AUE_NULL STD { int linux_socketcall(l_int what, \ 189146806Srwatson l_ulong args); } 190146806Srwatson103 AUE_NULL STD { int linux_syslog(l_int type, char *buf, \ 191146806Srwatson l_int len); } 192146806Srwatson104 AUE_NULL STD { int linux_setitimer(l_int which, \ 193146806Srwatson struct l_itimerval *itv, \ 194146806Srwatson struct l_itimerval *oitv); } 195146806Srwatson105 AUE_NULL STD { int linux_getitimer(l_int which, \ 196146806Srwatson struct l_itimerval *itv); } 197146806Srwatson106 AUE_NULL STD { int linux_newstat(char *path, \ 198146806Srwatson struct l_newstat *buf); } 199146806Srwatson107 AUE_NULL STD { int linux_newlstat(char *path, \ 200146806Srwatson struct l_newstat *buf); } 201146806Srwatson108 AUE_NULL STD { int linux_newfstat(l_uint fd, \ 202146806Srwatson struct l_newstat *buf); } 203146806Srwatson109 AUE_NULL STD { int linux_uname(void); } 204146806Srwatson110 AUE_NULL STD { int linux_iopl(l_ulong level); } 205146806Srwatson111 AUE_NULL STD { int linux_vhangup(void); } 206146806Srwatson112 AUE_NULL UNIMPL idle 207146806Srwatson113 AUE_NULL STD { int linux_vm86old(void); } 208146806Srwatson114 AUE_NULL MSTD { int linux_wait4(l_pid_t pid, \ 209146806Srwatson l_uint *status, l_int options, \ 210146806Srwatson struct l_rusage *rusage); } 211146806Srwatson115 AUE_NULL STD { int linux_swapoff(void); } 212146806Srwatson116 AUE_NULL STD { int linux_sysinfo(struct l_sysinfo *info); } 213146806Srwatson117 AUE_NULL STD { int linux_ipc(l_uint what, l_int arg1, \ 214146806Srwatson l_int arg2, l_int arg3, void *ptr, \ 215146806Srwatson l_long arg5); } 216146806Srwatson118 AUE_NULL NOPROTO { int fsync(int fd); } 217146806Srwatson119 AUE_NULL MSTD { int linux_sigreturn( \ 218146806Srwatson struct l_sigframe *sfp); } 219146806Srwatson120 AUE_NULL MSTD { int linux_clone(l_int flags, void *stack); } 220146806Srwatson121 AUE_NULL MNOPROTO { int setdomainname(char *name, int len); } 221146806Srwatson122 AUE_NULL STD { int linux_newuname( \ 222146806Srwatson struct l_new_utsname *buf); } 223146806Srwatson123 AUE_NULL STD { int linux_modify_ldt(l_int func, \ 224146806Srwatson void *ptr, l_ulong bytecount); } 225146806Srwatson124 AUE_NULL STD { int linux_adjtimex(void); } 226146806Srwatson125 AUE_NULL NOPROTO { int mprotect(caddr_t addr, int len, \ 227146806Srwatson int prot); } 228146806Srwatson126 AUE_NULL MSTD { int linux_sigprocmask(l_int how, \ 229146806Srwatson l_osigset_t *mask, l_osigset_t *omask); } 230146806Srwatson127 AUE_NULL STD { int linux_create_module(void); } 231146806Srwatson128 AUE_NULL STD { int linux_init_module(void); } 232146806Srwatson129 AUE_NULL STD { int linux_delete_module(void); } 233146806Srwatson130 AUE_NULL STD { int linux_get_kernel_syms(void); } 234146806Srwatson131 AUE_NULL STD { int linux_quotactl(void); } 235146806Srwatson132 AUE_NULL NOPROTO { int getpgid(int pid); } 236146806Srwatson133 AUE_NULL NOPROTO { int fchdir(int fd); } 237146806Srwatson134 AUE_NULL STD { int linux_bdflush(void); } 238146806Srwatson135 AUE_NULL STD { int linux_sysfs(l_int option, \ 239146806Srwatson l_ulong arg1, l_ulong arg2); } 240146806Srwatson136 AUE_NULL STD { int linux_personality(l_ulong per); } 241146806Srwatson137 AUE_NULL UNIMPL afs_syscall 242146806Srwatson138 AUE_NULL STD { int linux_setfsuid16(l_uid16_t uid); } 243146806Srwatson139 AUE_NULL STD { int linux_setfsgid16(l_gid16_t gid); } 244146806Srwatson140 AUE_NULL STD { int linux_llseek(l_int fd, l_ulong ohigh, \ 245146806Srwatson l_ulong olow, l_loff_t *res, \ 246146806Srwatson l_uint whence); } 247146806Srwatson141 AUE_NULL STD { int linux_getdents(l_uint fd, void *dent, \ 248146806Srwatson l_uint count); } 249146806Srwatson142 AUE_NULL STD { int linux_select(l_int nfds, \ 250146806Srwatson l_fd_set *readfds, l_fd_set *writefds, \ 251146806Srwatson l_fd_set *exceptfds, \ 252146806Srwatson struct l_timeval *timeout); } 253146806Srwatson143 AUE_NULL NOPROTO { int flock(int fd, int how); } 254146806Srwatson144 AUE_NULL STD { int linux_msync(l_ulong addr, \ 255146806Srwatson l_size_t len, l_int fl); } 256146806Srwatson145 AUE_NULL NOPROTO { int readv(int fd, struct iovec *iovp, \ 257146806Srwatson u_int iovcnt); } 258146806Srwatson146 AUE_NULL NOPROTO { int writev(int fd, struct iovec *iovp, \ 259146806Srwatson u_int iovcnt); } 260146806Srwatson147 AUE_NULL MSTD { int linux_getsid(l_pid_t pid); } 261146806Srwatson148 AUE_NULL STD { int linux_fdatasync(l_uint fd); } 262146806Srwatson149 AUE_NULL STD { int linux_sysctl( \ 263146806Srwatson struct l___sysctl_args *args); } 264146806Srwatson150 AUE_NULL MNOPROTO { int mlock(const void *addr, size_t len); } 265146806Srwatson151 AUE_NULL MNOPROTO { int munlock(const void *addr, size_t len); } 266146806Srwatson152 AUE_NULL MNOPROTO { int mlockall(int how); } 267146806Srwatson153 AUE_NULL MNOPROTO { int munlockall(void); } 268146806Srwatson154 AUE_NULL MNOPROTO { int sched_setparam(pid_t pid, \ 269146806Srwatson const struct sched_param *param); } 270146806Srwatson155 AUE_NULL MNOPROTO { int sched_getparam(pid_t pid, \ 271146806Srwatson struct sched_param *param); } 272146806Srwatson156 AUE_NULL MSTD { int linux_sched_setscheduler(l_pid_t pid, \ 273146806Srwatson l_int policy, \ 274146806Srwatson struct l_sched_param *param); } 275146806Srwatson157 AUE_NULL MSTD { int linux_sched_getscheduler(l_pid_t pid); } 276146806Srwatson158 AUE_NULL NOPROTO { int sched_yield(void); } 277146806Srwatson159 AUE_NULL MSTD { int linux_sched_get_priority_max( \ 278146806Srwatson l_int policy); } 279146806Srwatson160 AUE_NULL MSTD { int linux_sched_get_priority_min( \ 280146806Srwatson l_int policy); } 281146806Srwatson161 AUE_NULL MNOPROTO { int sched_rr_get_interval(l_pid_t pid, \ 282146806Srwatson struct l_timespec *interval); } 283146806Srwatson162 AUE_NULL MNOPROTO { int nanosleep( \ 284146806Srwatson const struct timespec *rqtp, \ 285146806Srwatson struct timespec *rmtp); } 286146806Srwatson163 AUE_NULL STD { int linux_mremap(l_ulong addr, \ 287146806Srwatson l_ulong old_len, l_ulong new_len, \ 288146806Srwatson l_ulong flags, l_ulong new_addr); } 289146806Srwatson164 AUE_NULL MSTD { int linux_setresuid16(l_uid16_t ruid, \ 290146806Srwatson l_uid16_t euid, l_uid16_t suid); } 291146806Srwatson165 AUE_NULL MSTD { int linux_getresuid16(l_uid16_t *ruid, \ 292146806Srwatson l_uid16_t *euid, l_uid16_t *suid); } 293146806Srwatson166 AUE_NULL STD { int linux_vm86(void); } 294146806Srwatson167 AUE_NULL STD { int linux_query_module(void); } 295146806Srwatson168 AUE_NULL NOPROTO { int poll(struct pollfd*, \ 296146806Srwatson unsigned int nfds, long timeout); } 297146806Srwatson169 AUE_NULL STD { int linux_nfsservctl(void); } 298146806Srwatson170 AUE_NULL MSTD { int linux_setresgid16(l_gid16_t rgid, \ 299146806Srwatson l_gid16_t egid, l_gid16_t sgid); } 300146806Srwatson171 AUE_NULL MSTD { int linux_getresgid16(l_gid16_t *rgid, \ 301146806Srwatson l_gid16_t *egid, l_gid16_t *sgid); } 302146806Srwatson172 AUE_NULL STD { int linux_prctl(void); } 303146806Srwatson173 AUE_NULL STD { int linux_rt_sigreturn( \ 304146806Srwatson struct l_ucontext *ucp); } 305146806Srwatson174 AUE_NULL MSTD { int linux_rt_sigaction(l_int sig, \ 306146806Srwatson l_sigaction_t *act, l_sigaction_t *oact, \ 307146806Srwatson l_size_t sigsetsize); } 308146806Srwatson175 AUE_NULL MSTD { int linux_rt_sigprocmask(l_int how, \ 309146806Srwatson l_sigset_t *mask, l_sigset_t *omask, \ 310146806Srwatson l_size_t sigsetsize); } 311146806Srwatson176 AUE_NULL STD { int linux_rt_sigpending(void); } 312146806Srwatson177 AUE_NULL STD { int linux_rt_sigtimedwait(void); } 313146806Srwatson178 AUE_NULL STD { int linux_rt_sigqueueinfo(void); } 314146806Srwatson179 AUE_NULL MSTD { int linux_rt_sigsuspend( \ 315146806Srwatson l_sigset_t *newset, \ 316146806Srwatson l_size_t sigsetsize); } 317146806Srwatson180 AUE_NULL STD { int linux_pread(l_uint fd, char *buf, \ 318146806Srwatson l_size_t nbyte, l_loff_t offset); } 319146806Srwatson181 AUE_NULL STD { int linux_pwrite(l_uint fd, char *buf, \ 320146806Srwatson l_size_t nbyte, l_loff_t offset); } 321146806Srwatson182 AUE_NULL STD { int linux_chown16(char *path, \ 322146806Srwatson l_uid16_t uid, l_gid16_t gid); } 323146806Srwatson183 AUE_NULL STD { int linux_getcwd(char *buf, \ 324146806Srwatson l_ulong bufsize); } 325146806Srwatson184 AUE_NULL STD { int linux_capget(void); } 326146806Srwatson185 AUE_NULL STD { int linux_capset(void); } 327146806Srwatson186 AUE_NULL STD { int linux_sigaltstack(l_stack_t *uss, \ 328146806Srwatson l_stack_t *uoss); } 329146806Srwatson187 AUE_NULL STD { int linux_sendfile(void); } 330146806Srwatson188 AUE_NULL UNIMPL getpmsg 331146806Srwatson189 AUE_NULL UNIMPL putpmsg 332146806Srwatson190 AUE_NULL MSTD { int linux_vfork(void); } 333146806Srwatson191 AUE_NULL MSTD { int linux_getrlimit(l_uint resource, \ 334146806Srwatson struct l_rlimit *rlim); } 335146806Srwatson192 AUE_NULL STD { int linux_mmap2(l_ulong addr, l_ulong len, \ 336146806Srwatson l_ulong prot, l_ulong flags, l_ulong fd, \ 337146806Srwatson l_ulong pgoff); } 338146806Srwatson193 AUE_NULL STD { int linux_truncate64(char *path, \ 339146806Srwatson l_loff_t length); } 340146806Srwatson194 AUE_NULL STD { int linux_ftruncate64(l_uint fd, \ 341146806Srwatson l_loff_t length); } 342146806Srwatson195 AUE_NULL STD { int linux_stat64(char *filename, \ 343146806Srwatson struct l_stat64 *statbuf, l_long flags); } 344146806Srwatson196 AUE_NULL STD { int linux_lstat64(char *filename, \ 345146806Srwatson struct l_stat64 *statbuf, l_long flags); } 346146806Srwatson197 AUE_NULL STD { int linux_fstat64(l_ulong fd, \ 347146806Srwatson struct l_stat64 *statbuf, l_long flags); } 348146806Srwatson198 AUE_NULL STD { int linux_lchown(char *path, l_uid_t uid, \ 349146806Srwatson l_gid_t gid); } 350146806Srwatson199 AUE_NULL MSTD { int linux_getuid(void); } 351146806Srwatson200 AUE_NULL MSTD { int linux_getgid(void); } 352146806Srwatson201 AUE_NULL MNOPROTO { int geteuid(void); } 353146806Srwatson202 AUE_NULL MNOPROTO { int getegid(void); } 354146806Srwatson203 AUE_NULL MNOPROTO { int setreuid(uid_t ruid, uid_t euid); } 355146806Srwatson204 AUE_NULL MNOPROTO { int setregid(gid_t rgid, gid_t egid); } 356146806Srwatson205 AUE_NULL MSTD { int linux_getgroups(l_int gidsetsize, \ 357146806Srwatson l_gid_t *grouplist); } 358146806Srwatson206 AUE_NULL MSTD { int linux_setgroups(l_int gidsetsize, \ 359146806Srwatson l_gid_t *grouplist); } 360146806Srwatson207 AUE_NULL NODEF fchown fchown fchown_args int 361146806Srwatson208 AUE_NULL MNOPROTO { int setresuid(uid_t ruid, uid_t euid, \ 362146806Srwatson uid_t suid); } 363146806Srwatson209 AUE_NULL MNOPROTO { int getresuid(uid_t *ruid, uid_t *euid, \ 364146806Srwatson uid_t *suid); } 365146806Srwatson210 AUE_NULL MNOPROTO { int setresgid(gid_t rgid, gid_t egid, \ 366146806Srwatson gid_t sgid); } 367146806Srwatson211 AUE_NULL MNOPROTO { int getresgid(gid_t *rgid, gid_t *egid, \ 368146806Srwatson gid_t *sgid); } 369146806Srwatson212 AUE_NULL STD { int linux_chown(char *path, l_uid_t uid, \ 370146806Srwatson l_gid_t gid); } 371146806Srwatson213 AUE_NULL MNOPROTO { int setuid(uid_t uid); } 372146806Srwatson214 AUE_NULL MNOPROTO { int setgid(gid_t gid); } 373146806Srwatson215 AUE_NULL STD { int linux_setfsuid(l_uid_t uid); } 374146806Srwatson216 AUE_NULL STD { int linux_setfsgid(l_gid_t gid); } 375146806Srwatson217 AUE_NULL STD { int linux_pivot_root(char *new_root, \ 376146806Srwatson char *put_old); } 377146806Srwatson218 AUE_NULL STD { int linux_mincore(l_ulong start, \ 378146806Srwatson l_size_t len, u_char *vec); } 379146806Srwatson219 AUE_NULL MNOPROTO { int madvise(void *addr, size_t len, \ 380146806Srwatson int behav); } 381146806Srwatson220 AUE_NULL STD { int linux_getdents64(l_uint fd, \ 382146806Srwatson void *dirent, l_uint count); } 383146806Srwatson221 AUE_NULL MSTD { int linux_fcntl64(l_uint fd, l_uint cmd, \ 384146806Srwatson l_ulong arg); } 385146806Srwatson222 AUE_NULL UNIMPL 386146806Srwatson223 AUE_NULL UNIMPL 387146806Srwatson224 AUE_NULL STD { long linux_gettid(void); } 388146806Srwatson225 AUE_NULL UNIMPL linux_readahead 389146806Srwatson226 AUE_NULL STD { int linux_setxattr(void); } 390146806Srwatson227 AUE_NULL STD { int linux_lsetxattr(void); } 391146806Srwatson228 AUE_NULL STD { int linux_fsetxattr(void); } 392146806Srwatson229 AUE_NULL STD { int linux_getxattr(void); } 393146806Srwatson230 AUE_NULL STD { int linux_lgetxattr(void); } 394146806Srwatson231 AUE_NULL STD { int linux_fgetxattr(void); } 395146806Srwatson232 AUE_NULL STD { int linux_listxattr(void); } 396146806Srwatson233 AUE_NULL STD { int linux_llistxattr(void); } 397146806Srwatson234 AUE_NULL STD { int linux_flistxattr(void); } 398146806Srwatson235 AUE_NULL STD { int linux_removexattr(void); } 399146806Srwatson236 AUE_NULL STD { int linux_lremovexattr(void); } 400146806Srwatson237 AUE_NULL STD { int linux_fremovexattr(void); } 401146806Srwatson238 AUE_NULL STD { int linux_tkill(int tid, int sig); } 402146806Srwatson239 AUE_NULL UNIMPL linux_sendfile64 403146806Srwatson240 AUE_NULL UNIMPL linux_futex 404146806Srwatson241 AUE_NULL UNIMPL linux_sched_setaffinity 405146806Srwatson242 AUE_NULL UNIMPL linux_sched_getaffinity 406146806Srwatson243 AUE_NULL STD { int linux_set_thread_area(void *entry); } 407146806Srwatson244 AUE_NULL UNIMPL linux_get_thread_area 408146806Srwatson245 AUE_NULL UNIMPL linux_io_setup 409146806Srwatson246 AUE_NULL UNIMPL linux_io_destroy 410146806Srwatson247 AUE_NULL UNIMPL linux_io_getevents 411146806Srwatson248 AUE_NULL UNIMPL linux_io_submit 412146806Srwatson249 AUE_NULL UNIMPL linux_io_cancel 413146806Srwatson250 AUE_NULL STD { int linux_fadvise64(void); } 414146806Srwatson251 AUE_NULL UNIMPL 415146806Srwatson252 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit_group \ 416146806Srwatson sys_exit_args void 417146806Srwatson253 AUE_NULL UNIMPL linux_lookup_dcookie 418146806Srwatson254 AUE_NULL UNIMPL linux_epoll_create 419146806Srwatson255 AUE_NULL UNIMPL linux_epoll_ctl 420146806Srwatson256 AUE_NULL UNIMPL linux_epoll_wait 421146806Srwatson257 AUE_NULL UNIMPL linux_remap_file_pages 422146806Srwatson258 AUE_NULL UNIMPL linux_set_tid_address 423146806Srwatson259 AUE_NULL UNIMPL linux_timer_create 424146806Srwatson260 AUE_NULL UNIMPL linux_timer_settime 425146806Srwatson261 AUE_NULL UNIMPL linux_timer_gettime 426146806Srwatson262 AUE_NULL UNIMPL linux_timer_getoverrun 427146806Srwatson263 AUE_NULL UNIMPL linux_timer_delete 428146806Srwatson264 AUE_NULL UNIMPL linux_clock_settime 429146806Srwatson265 AUE_NULL UNIMPL linux_clock_gettime 430146806Srwatson266 AUE_NULL UNIMPL linux_clock_getres 431146806Srwatson267 AUE_NULL UNIMPL linux_clock_nanosleep 432