syscalls.master revision 122802
1254721Semaste $FreeBSD: head/sys/i386/linux/syscalls.master 122802 2003-11-16 15:07:10Z sobomax $ 2254721Semaste 3254721Semaste; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 4254721Semaste; System call name/number master file (or rather, slave, from LINUX). 5254721Semaste; Processed to create linux_sysent.c, linux_proto.h and linux_syscall.h. 6254721Semaste 7254721Semaste; Columns: number type nargs namespc name alt{name,tag,rtyp}/comments 8254721Semaste; number system call number, must be in order 9254721Semaste; type one of STD, OBSOL, UNIMPL, COMPAT 10254721Semaste; namespc one of POSIX, BSD, STD, NOHIDE (I dont care :-) -Peter 11254721Semaste; name psuedo-prototype of syscall routine 12254721Semaste; If one of the following alts is different, then all appear: 13254721Semaste; altname name of system call if different 14254721Semaste; alttag name of args struct tag if different from [o]`name'"_args" 15254721Semaste; altrtyp return type if not int (bogus - syscalls always return int) 16254721Semaste; for UNIMPL/OBSOL, name continues with comments 17254721Semaste 18254721Semaste; types: 19254721Semaste; STD always included 20254721Semaste; COMPAT included on COMPAT #ifdef 21254721Semaste; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h 22254721Semaste; OBSOL obsolete, not included in system, only specifies name 23254721Semaste; UNIMPL not implemented, placeholder only 24254721Semaste 25254721Semaste#include "opt_compat.h" 26254721Semaste#include <sys/param.h> 27254721Semaste#include <sys/sysent.h> 28254721Semaste#include <sys/sysproto.h> 29254721Semaste#include <i386/linux/linux.h> 30254721Semaste#include <i386/linux/linux_proto.h> 31254721Semaste 32254721Semaste; #ifdef's, etc. may be included, and are copied to the output files. 33254721Semaste 34254721Semaste0 UNIMPL LINUX setup 35254721Semaste1 MNOPROTO LINUX { void sys_exit(int rval); } exit sys_exit_args void 36254721Semaste2 MSTD LINUX { int linux_fork(void); } 37254721Semaste3 MNOPROTO LINUX { int read(int fd, char *buf, u_int nbyte); } 38254721Semaste4 MNOPROTO LINUX { int write(int fd, char *buf, u_int nbyte); } 39254721Semaste5 STD LINUX { int linux_open(char *path, l_int flags, \ 40254721Semaste l_int mode); } 41254721Semaste6 MNOPROTO LINUX { int close(int fd); } 42254721Semaste7 STD LINUX { int linux_waitpid(l_pid_t pid, l_int *status, \ 43254721Semaste l_int options); } 44254721Semaste8 STD LINUX { int linux_creat(char *path, l_int mode); } 45254721Semaste9 STD LINUX { int linux_link(char *path, char *to); } 46254721Semaste10 STD LINUX { int linux_unlink(char *path); } 47254721Semaste11 STD LINUX { int linux_execve(char *path, char **argp, \ 48254721Semaste char **envp); } 49254721Semaste12 STD LINUX { int linux_chdir(char *path); } 50254721Semaste13 STD LINUX { int linux_time(l_time_t *tm); } 51254721Semaste14 STD LINUX { int linux_mknod(char *path, l_int mode, \ 52254721Semaste l_dev_t dev); } 53254721Semaste15 STD LINUX { int linux_chmod(char *path, l_mode_t mode); } 54254721Semaste16 STD LINUX { int linux_lchown16(char *path, l_uid16_t uid, \ 55254721Semaste l_gid16_t gid); } 56254721Semaste17 UNIMPL LINUX break 57254721Semaste18 STD LINUX { int linux_stat(char *path, struct ostat *up); } 58254721Semaste19 STD LINUX { int linux_lseek(l_uint fdes, l_off_t off, \ 59254721Semaste l_int whence); } 60254721Semaste20 MSTD LINUX { int linux_getpid(void); } 61254721Semaste21 STD LINUX { int linux_mount(char *specialfile, char *dir, \ 62254721Semaste char *filesystemtype, l_ulong rwflag, \ 63254721Semaste void *data); } 64254721Semaste22 STD LINUX { int linux_oldumount(char *path); } 65254721Semaste23 MSTD LINUX { int linux_setuid16(l_uid16_t uid); } 66254721Semaste24 MSTD LINUX { int linux_getuid16(void); } 67254721Semaste25 STD LINUX { int linux_stime(void); } 68254721Semaste26 STD LINUX { int linux_ptrace(l_long req, l_long pid, l_long addr, \ 69254721Semaste l_long data); } 70254721Semaste27 STD LINUX { int linux_alarm(l_uint secs); } 71254721Semaste28 STD LINUX { int linux_fstat(l_uint fd, struct ostat *up); } 72254721Semaste29 MSTD LINUX { int linux_pause(void); } 73263363Semaste30 STD LINUX { int linux_utime(char *fname, \ 74254721Semaste struct l_utimbuf *times); } 75254721Semaste31 UNIMPL LINUX stty 76254721Semaste32 UNIMPL LINUX gtty 77254721Semaste33 STD LINUX { int linux_access(char *path, l_int flags); } 78254721Semaste34 MSTD LINUX { int linux_nice(l_int inc); } 79254721Semaste35 UNIMPL LINUX ftime 80254721Semaste36 NOPROTO LINUX { int sync(void); } 81254721Semaste37 MSTD LINUX { int linux_kill(l_int pid, l_int signum); } 82254721Semaste38 STD LINUX { int linux_rename(char *from, char *to); } 83254721Semaste39 STD LINUX { int linux_mkdir(char *path, l_int mode); } 84254721Semaste40 STD LINUX { int linux_rmdir(char *path); } 85254721Semaste41 MNOPROTO LINUX { int dup(u_int fd); } 86254721Semaste42 MSTD LINUX { int linux_pipe(l_ulong *pipefds); } 87254721Semaste43 STD LINUX { int linux_times(struct l_times_argv *buf); } 88254721Semaste44 UNIMPL LINUX prof 89254721Semaste45 STD LINUX { int linux_brk(l_ulong dsend); } 90254721Semaste46 MSTD LINUX { int linux_setgid16(l_gid16_t gid); } 91254721Semaste47 MSTD LINUX { int linux_getgid16(void); } 92254721Semaste48 MSTD LINUX { int linux_signal(l_int sig, l_handler_t handler); } 93254721Semaste49 MSTD LINUX { int linux_geteuid16(void); } 94254721Semaste50 MSTD LINUX { int linux_getegid16(void); } 95254721Semaste51 MNOPROTO LINUX { int acct(char *path); } 96254721Semaste52 STD LINUX { int linux_umount(char *path, l_int flags); } 97254721Semaste53 UNIMPL LINUX lock 98254721Semaste54 STD LINUX { int linux_ioctl(l_uint fd, l_uint cmd, \ 99254721Semaste l_ulong arg); } 100254721Semaste55 STD LINUX { int linux_fcntl(l_uint fd, l_uint cmd, \ 101254721Semaste l_ulong arg); } 102254721Semaste56 UNIMPL LINUX mpx 103254721Semaste57 MNOPROTO LINUX { int setpgid(int pid, int pgid); } 104254721Semaste58 UNIMPL LINUX ulimit 105254721Semaste59 STD LINUX { int linux_olduname(void); } 106254721Semaste60 MNOPROTO LINUX { int umask(int newmask); } 107254721Semaste61 NOPROTO LINUX { int chroot(char *path); } 108254721Semaste62 STD LINUX { int linux_ustat(l_dev_t dev, struct l_ustat *ubuf); } 109254721Semaste63 MNOPROTO LINUX { int dup2(u_int from, u_int to); } 110254721Semaste64 MNOPROTO LINUX { int getppid(void); } 111254721Semaste65 MNOPROTO LINUX { int getpgrp(void); } 112254721Semaste66 MNOPROTO LINUX { int setsid(void); } 113254721Semaste67 MSTD LINUX { int linux_sigaction(l_int sig, l_osigaction_t *nsa, \ 114254721Semaste l_osigaction_t *osa); } 115254721Semaste68 MSTD LINUX { int linux_sgetmask(void); } 116254721Semaste69 MSTD LINUX { int linux_ssetmask(l_osigset_t mask); } 117254721Semaste70 MSTD LINUX { int linux_setreuid16(l_uid16_t ruid, \ 118254721Semaste l_uid16_t euid); } 119254721Semaste71 MSTD LINUX { int linux_setregid16(l_gid16_t rgid, \ 120254721Semaste l_gid16_t egid); } 121254721Semaste72 MSTD LINUX { int linux_sigsuspend(l_int hist0, l_int hist1, \ 122254721Semaste l_osigset_t mask); } 123254721Semaste73 MSTD LINUX { int linux_sigpending(l_osigset_t *mask); } 124254721Semaste74 MNOPROTO LINUX { int osethostname(char *hostname, u_int len); } \ 125254721Semaste osethostname sethostname_args int 126254721Semaste75 STD LINUX { int linux_setrlimit(l_uint resource, \ 127254721Semaste struct l_rlimit *rlim); } 128254721Semaste76 STD LINUX { int linux_old_getrlimit(l_uint resource, \ 129254721Semaste struct l_rlimit *rlim); } 130254721Semaste77 MNOPROTO LINUX { int getrusage(int who, struct rusage *rusage); } 131254721Semaste78 MNOPROTO LINUX { int gettimeofday(struct timeval *tp, \ 132254721Semaste struct timezone *tzp); } 133254721Semaste79 MNOPROTO LINUX { int settimeofday(struct timeval *tp, \ 134254721Semaste struct timezone *tzp); } 135254721Semaste80 MSTD LINUX { int linux_getgroups16(l_uint gidsetsize, \ 136254721Semaste l_gid16_t *gidset); } 137254721Semaste81 MSTD LINUX { int linux_setgroups16(l_uint gidsetsize, \ 138254721Semaste l_gid16_t *gidset); } 139254721Semaste82 STD LINUX { int linux_old_select(struct l_old_select_argv \ 140254721Semaste *ptr); } 141254721Semaste83 STD LINUX { int linux_symlink(char *path, char *to); } 142254721Semaste84 NOPROTO LINUX { int ostat(char *path, struct ostat *up); } 143254721Semaste85 STD LINUX { int linux_readlink(char *name, char *buf, \ 144254721Semaste l_int count); } 145254721Semaste86 STD LINUX { int linux_uselib(char *library); } 146254721Semaste87 NOPROTO LINUX { int swapon(char *name); } 147254721Semaste88 STD LINUX { int linux_reboot(l_int magic1, l_int magic2, \ 148254721Semaste l_uint cmd, void *arg); } 149254721Semaste89 STD LINUX { int linux_readdir(l_uint fd, struct l_dirent *dent, \ 150254721Semaste l_uint count); } 151254721Semaste90 STD LINUX { int linux_mmap(struct l_mmap_argv *ptr); } 152254721Semaste91 NOPROTO LINUX { int munmap(caddr_t addr, int len); } 153254721Semaste92 STD LINUX { int linux_truncate(char *path, l_ulong length); } 154254721Semaste93 NOPROTO LINUX { int oftruncate(int fd, long length); } 155254721Semaste94 NOPROTO LINUX { int fchmod(int fd, int mode); } 156254721Semaste95 NOPROTO LINUX { int fchown(int fd, int uid, int gid); } 157254721Semaste96 MNOPROTO LINUX { int getpriority(int which, int who); } 158254721Semaste97 MNOPROTO LINUX { int setpriority(int which, int who, int prio); } 159254721Semaste98 UNIMPL LINUX profil 160254721Semaste99 STD LINUX { int linux_statfs(char *path, \ 161254721Semaste struct l_statfs_buf *buf); } 162254721Semaste100 STD LINUX { int linux_fstatfs(l_uint fd, \ 163254721Semaste struct l_statfs_buf *buf); } 164254721Semaste101 STD LINUX { int linux_ioperm(l_ulong start, l_ulong length, \ 165254721Semaste l_int enable); } 166254721Semaste102 STD LINUX { int linux_socketcall(l_int what, l_ulong args); } 167254721Semaste103 STD LINUX { int linux_syslog(l_int type, char *buf, l_int len); } 168254721Semaste104 STD LINUX { int linux_setitimer(l_int which, \ 169254721Semaste struct l_itimerval *itv, \ 170254721Semaste struct l_itimerval *oitv); } 171254721Semaste105 STD LINUX { int linux_getitimer(l_int which, \ 172254721Semaste struct l_itimerval *itv); } 173254721Semaste106 STD LINUX { int linux_newstat(char *path, \ 174254721Semaste struct l_newstat *buf); } 175254721Semaste107 STD LINUX { int linux_newlstat(char *path, \ 176254721Semaste struct l_newstat *buf); } 177254721Semaste108 STD LINUX { int linux_newfstat(l_uint fd, \ 178254721Semaste struct l_newstat *buf); } 179254721Semaste109 STD LINUX { int linux_uname(void); } 180254721Semaste110 STD LINUX { int linux_iopl(l_ulong level); } 181254721Semaste111 STD LINUX { int linux_vhangup(void); } 182254721Semaste112 UNIMPL LINUX idle 183254721Semaste113 STD LINUX { int linux_vm86old(void); } 184254721Semaste114 STD LINUX { int linux_wait4(l_pid_t pid, l_uint *status, \ 185254721Semaste l_int options, struct l_rusage *rusage); } 186254721Semaste115 STD LINUX { int linux_swapoff(void); } 187254721Semaste116 STD LINUX { int linux_sysinfo(struct l_sysinfo *info); } 188254721Semaste117 STD LINUX { int linux_ipc(l_uint what, l_int arg1, l_int arg2, \ 189254721Semaste l_int arg3, void *ptr, l_long arg5); } 190254721Semaste118 NOPROTO LINUX { int fsync(int fd); } 191254721Semaste119 MSTD LINUX { int linux_sigreturn(struct l_sigframe *sfp); } 192254721Semaste120 MSTD LINUX { int linux_clone(l_int flags, void *stack); } 193254721Semaste121 MNOPROTO LINUX { int setdomainname(char *name, int len); } 194254721Semaste122 STD LINUX { int linux_newuname(struct l_new_utsname *buf); } 195254721Semaste123 STD LINUX { int linux_modify_ldt(l_int func, void *ptr, \ 196254721Semaste l_ulong bytecount); } 197254721Semaste124 STD LINUX { int linux_adjtimex(void); } 198254721Semaste125 NOPROTO LINUX { int mprotect(caddr_t addr, int len, int prot); } 199254721Semaste126 MSTD LINUX { int linux_sigprocmask(l_int how, l_osigset_t *mask, \ 200254721Semaste l_osigset_t *omask); } 201254721Semaste127 STD LINUX { int linux_create_module(void); } 202254721Semaste128 STD LINUX { int linux_init_module(void); } 203254721Semaste129 STD LINUX { int linux_delete_module(void); } 204254721Semaste130 STD LINUX { int linux_get_kernel_syms(void); } 205254721Semaste131 STD LINUX { int linux_quotactl(void); } 206254721Semaste132 NOPROTO LINUX { int getpgid(int pid); } 207254721Semaste133 NOPROTO LINUX { int fchdir(int fd); } 208254721Semaste134 STD LINUX { int linux_bdflush(void); } 209254721Semaste135 STD LINUX { int linux_sysfs(l_int option, l_ulong arg1, \ 210254721Semaste l_ulong arg2); } 211254721Semaste136 STD LINUX { int linux_personality(l_ulong per); } 212254721Semaste137 UNIMPL LINUX afs_syscall 213254721Semaste138 STD LINUX { int linux_setfsuid16(l_uid16_t uid); } 214254721Semaste139 STD LINUX { int linux_setfsgid16(l_gid16_t gid); } 215254721Semaste140 STD LINUX { int linux_llseek(l_int fd, l_ulong ohigh, \ 216254721Semaste l_ulong olow, l_loff_t *res, l_uint whence); } 217254721Semaste141 STD LINUX { int linux_getdents(l_uint fd, void *dent, \ 218254721Semaste l_uint count); } 219254721Semaste142 STD LINUX { int linux_select(l_int nfds, l_fd_set *readfds, \ 220254721Semaste l_fd_set *writefds, l_fd_set *exceptfds, \ 221254721Semaste struct l_timeval *timeout); } 222254721Semaste143 NOPROTO LINUX { int flock(int fd, int how); } 223254721Semaste144 STD LINUX { int linux_msync(l_ulong addr, l_size_t len, \ 224254721Semaste l_int fl); } 225254721Semaste145 NOPROTO LINUX { int readv(int fd, struct iovec *iovp, \ 226254721Semaste u_int iovcnt); } 227254721Semaste146 NOPROTO LINUX { int writev(int fd, struct iovec *iovp, \ 228254721Semaste u_int iovcnt); } 229254721Semaste147 MSTD LINUX { int linux_getsid(l_pid_t pid); } 230254721Semaste148 STD LINUX { int linux_fdatasync(l_uint fd); } 231254721Semaste149 STD LINUX { int linux_sysctl(struct l___sysctl_args *args); } 232254721Semaste150 MNOPROTO BSD { int mlock(const void *addr, size_t len); } 233254721Semaste151 MNOPROTO BSD { int munlock(const void *addr, size_t len); } 234254721Semaste152 MNOPROTO BSD { int mlockall(int how); } 235254721Semaste153 MNOPROTO BSD { int munlockall(void); } 236254721Semaste154 MNOPROTO POSIX { int sched_setparam(pid_t pid, \ 237254721Semaste const struct sched_param *param); } 238254721Semaste155 MNOPROTO POSIX { int sched_getparam(pid_t pid, \ 239254721Semaste struct sched_param *param); } 240254721Semaste156 MSTD POSIX { int linux_sched_setscheduler(l_pid_t pid, \ 241254721Semaste l_int policy, struct l_sched_param *param); } 242254721Semaste157 MSTD POSIX { int linux_sched_getscheduler(l_pid_t pid); } 243254721Semaste158 NOPROTO POSIX { int sched_yield(void); } 244254721Semaste159 MSTD POSIX { int linux_sched_get_priority_max(l_int policy); } 245254721Semaste160 MSTD POSIX { int linux_sched_get_priority_min(l_int policy); } 246254721Semaste161 MNOPROTO POSIX { int sched_rr_get_interval(l_pid_t pid, \ 247254721Semaste struct l_timespec *interval); } 248254721Semaste162 MNOPROTO POSIX { int nanosleep(const struct timespec *rqtp, \ 249254721Semaste struct timespec *rmtp); } 250254721Semaste163 STD LINUX { int linux_mremap(l_ulong addr, l_ulong old_len, \ 251254721Semaste l_ulong new_len, l_ulong flags, \ 252254721Semaste l_ulong new_addr); } 253254721Semaste164 MSTD LINUX { int linux_setresuid16(l_uid16_t ruid, \ 254254721Semaste l_uid16_t euid, l_uid16_t suid); } 255254721Semaste165 MSTD LINUX { int linux_getresuid16(l_uid16_t *ruid, \ 256254721Semaste l_uid16_t *euid, l_uid16_t *suid); } 257254721Semaste166 STD LINUX { int linux_vm86(void); } 258254721Semaste167 STD LINUX { int linux_query_module(void); } 259254721Semaste168 NOPROTO LINUX { int poll(struct pollfd*, unsigned int nfds, \ 260254721Semaste long timeout); } 261254721Semaste169 STD LINUX { int linux_nfsservctl(void); } 262254721Semaste170 MSTD LINUX { int linux_setresgid16(l_gid16_t rgid, \ 263254721Semaste l_gid16_t egid, l_gid16_t sgid); } 264254721Semaste171 MSTD LINUX { int linux_getresgid16(l_gid16_t *rgid, \ 265254721Semaste l_gid16_t *egid, l_gid16_t *sgid); } 266254721Semaste172 STD LINUX { int linux_prctl(void); } 267254721Semaste173 STD LINUX { int linux_rt_sigreturn(struct l_ucontext *ucp); } 268254721Semaste174 MSTD LINUX { int linux_rt_sigaction(l_int sig, \ 269254721Semaste l_sigaction_t *act, l_sigaction_t *oact, \ 270254721Semaste l_size_t sigsetsize); } 271254721Semaste175 MSTD LINUX { int linux_rt_sigprocmask(l_int how, \ 272254721Semaste l_sigset_t *mask, l_sigset_t *omask, \ 273254721Semaste l_size_t sigsetsize); } 274254721Semaste176 STD LINUX { int linux_rt_sigpending(void); } 275254721Semaste177 STD LINUX { int linux_rt_sigtimedwait(void); } 276254721Semaste178 STD LINUX { int linux_rt_sigqueueinfo(void); } 277254721Semaste179 MSTD LINUX { int linux_rt_sigsuspend(l_sigset_t *newset, \ 278254721Semaste l_size_t sigsetsize); } 279254721Semaste180 STD LINUX { int linux_pread(l_uint fd, char *buf, \ 280254721Semaste l_size_t nbyte, l_loff_t offset); } 281254721Semaste181 STD LINUX { int linux_pwrite(l_uint fd, char *buf, \ 282254721Semaste l_size_t nbyte, l_loff_t offset); } 283254721Semaste182 STD LINUX { int linux_chown16(char *path, l_uid16_t uid, \ 284254721Semaste l_gid16_t gid); } 285254721Semaste183 STD LINUX { int linux_getcwd(char *buf, l_ulong bufsize); } 286254721Semaste184 STD LINUX { int linux_capget(void); } 287254721Semaste185 STD LINUX { int linux_capset(void); } 288254721Semaste186 STD LINUX { int linux_sigaltstack(l_stack_t *uss, \ 289254721Semaste l_stack_t *uoss); } 290254721Semaste187 STD LINUX { int linux_sendfile(void); } 291254721Semaste188 UNIMPL LINUX getpmsg 292254721Semaste189 UNIMPL LINUX putpmsg 293254721Semaste190 MSTD LINUX { int linux_vfork(void); } 294254721Semaste191 STD LINUX { int linux_getrlimit(l_uint resource, \ 295254721Semaste struct l_rlimit *rlim); } 296254721Semaste192 STD LINUX { int linux_mmap2(l_ulong addr, l_ulong len, \ 297254721Semaste l_ulong prot, l_ulong flags, l_ulong fd, \ 298254721Semaste l_ulong pgoff); } 299254721Semaste193 STD LINUX { int linux_truncate64(char *path, l_loff_t length); } 300254721Semaste194 STD LINUX { int linux_ftruncate64(l_uint fd, l_loff_t length); } 301254721Semaste195 STD LINUX { int linux_stat64(char *filename, \ 302254721Semaste struct l_stat64 *statbuf, l_long flags); } 303254721Semaste196 STD LINUX { int linux_lstat64(char *filename, \ 304254721Semaste struct l_stat64 *statbuf, l_long flags); } 305254721Semaste197 STD LINUX { int linux_fstat64(l_ulong fd, \ 306254721Semaste struct l_stat64 *statbuf, l_long flags); } 307254721Semaste198 STD LINUX { int linux_lchown(char *path, l_uid_t uid, \ 308254721Semaste l_gid_t gid); } 309254721Semaste199 MSTD POSIX { int linux_getuid(void); } 310254721Semaste200 MSTD POSIX { int linux_getgid(void); } 311254721Semaste201 MNOPROTO POSIX { int geteuid(void); } 312254721Semaste202 MNOPROTO POSIX { int getegid(void); } 313254721Semaste203 MNOPROTO LINUX { int setreuid(uid_t ruid, uid_t euid); } 314254721Semaste204 MNOPROTO LINUX { int setregid(gid_t rgid, gid_t egid); } 315254721Semaste205 MSTD LINUX { int linux_getgroups(l_int gidsetsize, \ 316254721Semaste l_gid_t *grouplist); } 317254721Semaste206 MSTD LINUX { int linux_setgroups(l_int gidsetsize, \ 318254721Semaste l_gid_t *grouplist); } 319254721Semaste207 NODEF LINUX fchown fchown fchown_args int 320254721Semaste208 MNOPROTO LINUX { int setresuid(uid_t ruid, uid_t euid, uid_t suid); } 321254721Semaste209 MNOPROTO LINUX { int getresuid(uid_t *ruid, uid_t *euid, \ 322254721Semaste uid_t *suid); } 323254721Semaste210 MNOPROTO LINUX { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); } 324254721Semaste211 MNOPROTO LINUX { int getresgid(gid_t *rgid, gid_t *egid, \ 325254721Semaste gid_t *sgid); } 326254721Semaste212 STD LINUX { int linux_chown(char *path, l_uid_t uid, \ 327254721Semaste l_gid_t gid); } 328254721Semaste213 MNOPROTO LINUX { int setuid(uid_t uid); } 329254721Semaste214 MNOPROTO LINUX { int setgid(gid_t gid); } 330254721Semaste215 STD LINUX { int linux_setfsuid(l_uid_t uid); } 331254721Semaste216 STD LINUX { int linux_setfsgid(l_gid_t gid); } 332254721Semaste217 STD LINUX { int linux_pivot_root(char *new_root, \ 333254721Semaste char *put_old); } 334254721Semaste218 STD LINUX { int linux_mincore(l_ulong start, l_size_t len, \ 335254721Semaste u_char *vec); } 336254721Semaste219 STD LINUX { int linux_madvise(void); } 337254721Semaste220 STD LINUX { int linux_getdents64(l_uint fd, void *dirent, \ 338254721Semaste l_uint count); } 339254721Semaste221 STD LINUX { int linux_fcntl64(l_uint fd, l_uint cmd, \ 340254721Semaste l_ulong arg); } 341254721Semaste222 UNIMPL 342254721Semaste223 UNIMPL 343254721Semaste224 UNIMPL LINUX linux_gettid 344254721Semaste225 UNIMPL LINUX linux_readahead 345254721Semaste226 STD LINUX { int linux_setxattr(void); } 346254721Semaste227 STD LINUX { int linux_lsetxattr(void); } 347254721Semaste228 STD LINUX { int linux_fsetxattr(void); } 348254721Semaste229 STD LINUX { int linux_getxattr(void); } 349254721Semaste230 STD LINUX { int linux_lgetxattr(void); } 350254721Semaste231 STD LINUX { int linux_fgetxattr(void); } 351254721Semaste232 STD LINUX { int linux_listxattr(void); } 352254721Semaste233 STD LINUX { int linux_llistxattr(void); } 353254721Semaste234 STD LINUX { int linux_flistxattr(void); } 354254721Semaste235 STD LINUX { int linux_removexattr(void); } 355254721Semaste236 STD LINUX { int linux_lremovexattr(void); } 356254721Semaste237 STD LINUX { int linux_fremovexattr(void); } 357254721Semaste238 UNIMPL LINUX linux_tkill 358254721Semaste239 UNIMPL LINUX linux_sendfile64 359254721Semaste240 UNIMPL LINUX linux_futex 360254721Semaste241 UNIMPL LINUX linux_sched_setaffinity 361254721Semaste242 UNIMPL LINUX linux_sched_getaffinity 362254721Semaste243 UNIMPL LINUX linux_set_thread_area 363254721Semaste244 UNIMPL LINUX linux_get_thread_area 364254721Semaste245 UNIMPL LINUX linux_io_setup 365254721Semaste246 UNIMPL LINUX linux_io_destroy 366254721Semaste247 UNIMPL LINUX linux_io_getevents 367254721Semaste248 UNIMPL LINUX linux_io_submit 368254721Semaste249 UNIMPL LINUX linux_io_cancel 369254721Semaste250 STD LINUX { int linux_fadvise64(void); } 370254721Semaste251 UNIMPL 371254721Semaste252 MNOPROTO LINUX { void sys_exit(int rval); } exit_group sys_exit_args void 372254721Semaste253 UNIMPL LINUX linux_lookup_dcookie 373254721Semaste254 UNIMPL LINUX linux_epoll_create 374254721Semaste255 UNIMPL LINUX linux_epoll_ctl 375254721Semaste256 UNIMPL LINUX linux_epoll_wait 376254721Semaste257 UNIMPL LINUX linux_remap_file_pages 377254721Semaste258 UNIMPL LINUX linux_set_tid_address 378254721Semaste259 UNIMPL LINUX linux_timer_create 379254721Semaste260 UNIMPL LINUX linux_timer_settime 380254721Semaste261 UNIMPL LINUX linux_timer_gettime 381254721Semaste262 UNIMPL LINUX linux_timer_getoverrun 382254721Semaste263 UNIMPL LINUX linux_timer_delete 383254721Semaste264 UNIMPL LINUX linux_clock_settime 384254721Semaste265 UNIMPL LINUX linux_clock_gettime 385254721Semaste266 UNIMPL LINUX linux_clock_getres 386254721Semaste267 UNIMPL LINUX linux_clock_nanosleep 387254721Semaste