Index: ./alpha/linux/syscalls.master =================================================================== RCS file: /home/ncvs/src/sys/alpha/linux/syscalls.master,v retrieving revision 1.61 diff -u -r1.61 syscalls.master --- ./alpha/linux/syscalls.master 29 May 2005 21:06:56 -0000 1.61 +++ ./alpha/linux/syscalls.master 29 May 2005 22:18:55 -0000 @@ -6,6 +6,11 @@ ; Columns: number type nargs name alt{name,tag,rtyp}/comments ; number system call number, must be in order +; audit the audit event associated with the system call +; A value of AUE_NULL means no auditing, but it also means that +; there is no audit event for the call at this time. For the +; case where the event exists, but we don't want auditing, the +; event should be #defined to AUE_NULL in audit_kevents.h. ; type one of STD, OBSOL, UNIMPL, COMPAT, CPT_NOA, LIBCOMPAT, ; NODEF, NOARGS, NOPROTO ; name psuedo-prototype of syscall routine @@ -40,426 +45,514 @@ ; #ifdef's, etc. may be included, and are copied to the output files. -0 UNIMPL -1 MNOPROTO { void sys_exit(int rval); } exit sys_exit_args void -2 MSTD { int linux_fork(void); } -3 MNOPROTO { int read(int fd, char *buf, u_int nbyte); } -4 MNOPROTO { int write(int fd, char *buf, u_int nbyte); } -5 UNIMPL -6 MNOPROTO { int close(int fd); } -7 MSTD { int osf1_wait4(int pid, int *status, int options, \ - struct osf1_rusage *rusage); } -8 UNIMPL -9 STD { int linux_link(char *path, char *to); } -10 STD { int linux_unlink(char *path); } -11 UNIMPL -12 STD { int linux_chdir(char *path); } -13 NOPROTO { int fchdir(int fd); } -14 STD { int linux_mknod(char *path, l_int mode, l_dev_t dev); } -15 STD { int linux_chmod(char *path, l_mode_t mode); } -16 STD { int linux_chown(char *path, l_uid_t uid, l_gid_t gid); } -17 STD { int linux_brk(l_ulong dsend); } -18 UNIMPL -19 STD { int linux_lseek(l_uint fdes, l_off_t off, l_int whence); } -20 NOPROTO { int getpid(void); } -21 UNIMPL osf1_mount -22 STD { int linux_umount(char *path, l_int flags); } -23 MNOPROTO { int setuid(uid_t uid); } -24 MNOPROTO { int getuid(void); } -25 UNIMPL -26 MSTD { int linux_ptrace(void); } -27 UNIMPL -28 UNIMPL -29 UNIMPL -30 UNIMPL -31 UNIMPL -32 UNIMPL -33 STD { int linux_access(char *path, l_int flags); } -34 UNIMPL -35 UNIMPL -36 NOPROTO { int sync(void); } -37 MSTD { int linux_kill(l_int pid, l_int signum); } -38 UNIMPL -39 MNOPROTO { int setpgid(int pid, int pgid); } -40 UNIMPL -41 MNOPROTO { int dup(u_int fd); } -42 MNOPROTO { int pipe(void); } -43 UNIMPL osf_set_program_attributes -44 UNIMPL -45 STD { int linux_open(char *path, l_int flags, l_int mode); } -46 UNIMPL -47 MNOPROTO { int getgid(void); } -48 MSTD { int osf1_sigprocmask(int how, u_long mask); } -49 UNIMPL -50 UNIMPL -51 NOPROTO { int acct(char *path); } -52 MSTD { int linux_sigpending(void); } -53 UNIMPL -54 STD { int linux_ioctl(l_uint fd, l_uint cmd, l_ulong arg); } -55 UNIMPL -56 UNIMPL -57 STD { int linux_symlink(char *path, char *to); } -58 STD { int linux_readlink(char *name, char *buf, l_int count); } -59 STD { int linux_execve(char *path, char **argp, char **envp); } -60 MNOPROTO { int umask(int newmask); } -61 NOPROTO { int chroot(char *path); } -62 UNIMPL -63 MNOPROTO { int getpgrp(void); } -64 STD { int linux_getpagesize(void); } -65 UNIMPL -66 MSTD { int linux_vfork(void); } -67 STD { int linux_newstat(char *path, struct l_newstat *buf); } -68 STD { int linux_newlstat(char *path, struct l_newstat *buf); } -69 UNIMPL -70 UNIMPL -71 STD { int linux_mmap(l_ulong addr, l_ulong len, l_ulong prot, \ - l_ulong flags, l_ulong fd, l_ulong pos); } -72 UNIMPL -73 STD { int linux_munmap(l_ulong addr, l_size_t len); } -74 STD { int linux_mprotect(l_ulong addr, l_size_t len, \ - l_ulong prot); } -75 MNOPROTO { int madvise(void *addr, size_t len, int behav); } -76 STD { int linux_vhangup(void); } -77 UNIMPL -78 UNIMPL -79 MSTD { int linux_setgroups(l_int gidsetsize, l_gid_t *grouplist); } -80 MSTD { int linux_getgroups(l_int gidsetsize, l_gid_t *grouplist); } -81 UNIMPL -82 MNODEF setpgid setpgid setpgid_args int -83 STD { int osf1_setitimer(u_int which, struct itimerval *itv, \ - struct itimerval *oitv); } -84 UNIMPL -85 UNIMPL -86 UNIMPL osf_getitimer -87 STD { int linux_gethostname(void); } -88 MNOPROTO { int osethostname(char *hostname, u_int len); } \ - osethostname sethostname_args int -89 STD { int linux_getdtablesize(void); } -90 MNOPROTO { int dup2(u_int from, u_int to); } -91 STD { int linux_newfstat(l_uint fd, struct l_newstat *buf); } -92 MSTD { int linux_fcntl(l_uint fd, l_uint cmd, l_ulong arg); } -93 STD { int osf1_select(u_int nd, fd_set *in, fd_set *ou, \ - fd_set *ex, struct timeval *tv); } -94 NOPROTO { int poll(struct pollfd*, unsigned int nfds, long timeout); } -95 NOPROTO { int fsync(int fd); } -96 MNOPROTO { int setpriority(int which, int who, int prio); } -97 STD { int osf1_socket(int domain, int type, int protocol); } -98 STD { int linux_connect(l_int s, struct l_sockaddr *name, \ - l_int namelen); } -99 NOPROTO { int oaccept(int s, caddr_t name, int *anamelen); } \ - accept accept_args int -100 UNIMPL osf_getpriority -101 NOPROTO { int osend(int s, caddr_t buf, int len, int flags); } -102 NOPROTO { int orecv(int s, caddr_t buf, int len, int flags); } -103 MSTD { int osf1_sigreturn(struct osigcontext *sigcntxp); } -104 NOPROTO { int bind(int s, caddr_t name, int namelen); } -105 NOPROTO { int setsockopt(int s, int level, int name, caddr_t val, \ - int valsize); } -106 NOPROTO { int listen(int s, int backlog); } -107 UNIMPL -108 UNIMPL -109 UNIMPL -110 UNIMPL -111 MSTD { int osf1_sigsuspend(unsigned long ss); } -112 UNIMPL osf_sigstack -113 STD { int linux_recvmsg(void); } -114 STD { int linux_sendmsg(void); } -115 UNIMPL -116 MSTD { int osf1_gettimeofday(struct timeval *tp, \ - struct timezone *tzp); } -117 STD { int osf1_getrusage(long who, void *rusage); } -118 NOPROTO { int getsockopt(int s, int level, int name, caddr_t val, \ - int *avalsize); } -119 UNIMPL -120 NOPROTO { int readv(int fd, struct iovec *iovp, u_int iovcnt); } -121 NOPROTO { int writev(int fd, struct iovec *iovp, u_int iovcnt); } -122 UNIMPL osf_settimeofday -123 NOPROTO { int fchown(int fd, int uid, int gid); } -124 NOPROTO { int fchmod(int fd, int mode); } -125 NOPROTO { int orecvfrom(int s, caddr_t buf, size_t len, int flags, \ - caddr_t from, int *fromlenaddr); } \ - recvfrom recvfrom_args int -126 MNOPROTO { int setreuid(int ruid, int euid); } -127 MNOPROTO { int setregid(int rgid, int egid); } -128 STD { int linux_rename(char *from, char *to); } -129 STD { int linux_truncate(char *path, l_ulong length); } -130 NOPROTO { int oftruncate(int fd, long length); } -131 NOPROTO { int flock(int fd, int how); } -132 MNOPROTO { int setgid(gid_t gid); } -133 STD { int osf1_sendto(int s, caddr_t buf, size_t len, int flags, \ - struct sockaddr *to, int tolen); } -134 NOPROTO { int shutdown(int s, int how); } -135 STD { int linux_socketpair(void); } -136 STD { int linux_mkdir(char *path, l_int mode); } -137 STD { int linux_rmdir(char *path); } -138 NOPROTO { int utimes(char *path, struct timeval *tptr); } -139 UNIMPL -140 UNIMPL -141 NOPROTO { int ogetpeername(int fdes, caddr_t asa, int *alen); } -142 UNIMPL -143 UNIMPL -144 MSTD { int linux_getrlimit(l_uint resource, \ - struct l_rlimit *rlim); } -145 MSTD { int linux_setrlimit(l_uint resource, \ - struct l_rlimit *rlim); } -146 UNIMPL -147 MNOPROTO { int setsid(void); } -148 STD { int linux_quotactl(void); } -149 UNIMPL -150 NOPROTO { int ogetsockname(int fdec, caddr_t asa, int *alen);} \ - getsockname getsockname_args int -151 UNIMPL -152 UNIMPL -153 UNIMPL -154 UNIMPL -155 UNIMPL -156 MSTD { int osf1_sigaction(int sig, struct osf1_sigaction *nsa, \ - struct osf1_sigaction *osa); } -157 UNIMPL -158 UNIMPL -159 UNIMPL osf_getdirentries -160 UNIMPL osf_statfs -161 UNIMPL osf_fstatfs -162 UNIMPL -163 UNIMPL -164 UNIMPL -165 UNIMPL osf_getdomainname -166 MNOPROTO { int setdomainname(char *name, int len); } -167 UNIMPL -168 UNIMPL -169 UNIMPL -170 UNIMPL -171 UNIMPL -172 UNIMPL -173 UNIMPL -174 UNIMPL -175 UNIMPL -176 UNIMPL -177 UNIMPL -178 UNIMPL -179 UNIMPL -180 UNIMPL -181 UNIMPL -182 UNIMPL -183 UNIMPL -184 UNIMPL -185 UNIMPL -186 UNIMPL -187 UNIMPL -188 UNIMPL -189 UNIMPL -190 UNIMPL -191 UNIMPL -192 UNIMPL -193 UNIMPL -194 UNIMPL -195 UNIMPL -196 UNIMPL -197 UNIMPL -198 UNIMPL -199 UNIMPL osf_swapon -200 STD { int linux_msgctl(l_int msqid, l_int cmd, \ - struct l_msqid_ds *buf); } -201 STD { int linux_msgget(l_key_t key, l_int msgflg); } -202 STD { int linux_msgrcv(l_int msqid, struct l_msgbuf *msgp, \ - l_size_t msgsz, l_long msgtyp, l_int msgflg); } -203 STD { int linux_msgsnd(l_int msqid, struct l_msgbuf *msgp, \ - l_size_t msgsz, l_int msgflg); } -204 STD { int linux_semctl(l_int semid, l_int semnum, \ - l_int cmd, union l_semun arg); } -205 STD { int linux_semget(l_key_t key, l_int nsems, \ - l_int semflg); } -206 STD { int linux_semop(l_int semid, struct l_sembuf *tsops, \ - l_uint nsops); } -207 UNIMPL osf_utsname -208 STD { int linux_lchown(char *path, l_uid_t uid, l_gid_t gid); } -209 STD { int linux_shmat(l_int shmid, char *shmaddr, l_int shmflg); } -210 STD { int linux_shmctl(l_int shmid, l_int cmd, \ - struct l_shmid_ds *buf); } -211 STD { int linux_shmdt(char *shmaddr); } -212 STD { int linux_shmget(l_key_t key, l_size_t size, l_int shmflg); } -213 UNIMPL -214 UNIMPL -215 UNIMPL -216 UNIMPL -217 STD { int linux_msync(l_ulong addr, l_size_t len, l_int fl); } -218 UNIMPL -219 UNIMPL -220 UNIMPL -221 UNIMPL -222 UNIMPL -223 UNIMPL -224 UNIMPL -225 UNIMPL -226 UNIMPL -227 UNIMPL -228 UNIMPL -229 UNIMPL -230 UNIMPL -231 UNIMPL -232 UNIMPL -233 MNOPROTO { int getpgid(int pid); } -234 MSTD { int linux_getsid(l_pid_t pid); } -235 STD { int linux_sigaltstack(void); } -236 UNIMPL -237 UNIMPL -238 UNIMPL -239 UNIMPL -240 UNIMPL -241 MSTD { int osf1_sysinfo(int cmd, char *buf, long count); } -242 UNIMPL -243 UNIMPL -244 UNIMPL osf_proplist_syscall -245 UNIMPL -246 UNIMPL -247 UNIMPL -248 UNIMPL -249 UNIMPL -250 UNIMPL -251 UNIMPL osf_usleep_thread -252 UNIMPL -253 UNIMPL -254 STD { int linux_sysfs(l_int option, l_ulong arg1, l_ulong arg2); } -255 UNIMPL -256 STD { int osf1_getsysinfo(u_long op, caddr_t buffer, \ - u_long nbytes, caddr_t arg, u_long flag); } -257 STD { int osf1_setsysinfo(u_long op, caddr_t buffer, \ - u_long nbytes, caddr_t arg, u_long flag); } -258 UNIMPL -259 UNIMPL -260 UNIMPL -261 UNIMPL -262 UNIMPL -263 UNIMPL -264 UNIMPL -265 UNIMPL -266 UNIMPL -267 UNIMPL -268 UNIMPL -269 UNIMPL -270 UNIMPL -271 UNIMPL -272 UNIMPL -273 UNIMPL -274 UNIMPL -275 UNIMPL -276 UNIMPL -277 UNIMPL -278 UNIMPL -279 UNIMPL -280 UNIMPL -281 UNIMPL -282 UNIMPL -283 UNIMPL -284 UNIMPL -285 UNIMPL -286 UNIMPL -287 UNIMPL -288 UNIMPL -289 UNIMPL -290 UNIMPL -291 UNIMPL -292 UNIMPL -293 UNIMPL -294 UNIMPL -295 UNIMPL -296 UNIMPL -297 UNIMPL -298 UNIMPL -299 UNIMPL -300 STD { int linux_bdflush(void); } -301 STD { int linux_sethae(void); } -302 STD { int linux_mount(char *specialfile, char *dir, \ - char *filesystemtype, l_ulong rwflag, \ - void *data); } -303 STD { int linux_old_adjtimex(void); } -304 STD { int linux_swapoff(void); } -305 STD { int linux_getdents(l_uint fd, void *dent, l_uint count); } -306 STD { int linux_create_module(void); } -307 STD { int linux_init_module(void); } -308 STD { int linux_delete_module(void); } -309 STD { int linux_get_kernel_syms(void); } -310 STD { int linux_syslog(l_int type, char *buf, l_int len); } -311 STD { int linux_reboot(l_int magic1, l_int magic2, l_uint cmd, \ - void *arg); } -312 MSTD { int linux_clone(l_int flags, void *stack); } -313 STD { int linux_uselib(char *library); } -314 MNOPROTO { int mlock(const void *addr, size_t len); } -315 MNOPROTO { int munlock(const void *addr, size_t len); } -316 MNOPROTO { int mlockall(int how); } -317 MNOPROTO { int munlockall(void); } -318 STD { int linux_sysinfo(void); } -319 STD { int linux_sysctl(struct l___sysctl_args *args); } -320 UNIMPL sys_idle -321 STD { int linux_oldumount(char *path); } -322 NOPROTO { int swapon(char *name); } -323 STD { int linux_times(struct l_times_argv *buf); } -324 STD { int linux_personality(l_ulong per); } -325 STD { int linux_setfsuid(l_uid_t uid); } -326 STD { int linux_setfsgid(l_gid_t gid); } -327 STD { int linux_ustat(l_dev_t dev, struct l_ustat *ubuf); } -328 STD { int linux_statfs(char *path, struct l_statfs_buf *buf); } -329 STD { int linux_fstatfs(l_uint fd, struct l_statfs_buf *buf); } -330 MNOPROTO { int sched_setparam(pid_t pid, \ - const struct sched_param *param); } -331 MNOPROTO { int sched_getparam(pid_t pid, struct sched_param *param); } -332 MSTD { int linux_sched_setscheduler(l_pid_t pid, l_int policy, \ - struct l_sched_param *param); } -333 MSTD { int linux_sched_getscheduler(l_pid_t pid); } -334 MNOPROTO { int sched_yield(void); } -335 MSTD { int linux_sched_get_priority_max(l_int policy); } -336 MSTD { int linux_sched_get_priority_min (l_int policy); } -337 NOPROTO { int sched_rr_get_interval (pid_t pid, \ - struct timespec *interval); } -338 UNIMPL sys_afs_syscall -339 STD { int linux_newuname(struct l_newuname_t *buf); } -340 MNOPROTO { int nanosleep(const struct timespec *rqtp, \ - struct timespec *rmtp); } -341 STD { int linux_mremap(l_ulong addr, l_ulong old_len, \ - l_ulong new_len, l_ulong flags, \ - l_ulong new_addr); } -342 STD { int linux_nfsservctl(void); } -343 MNOPROTO { int setresuid(uid_t ruid, uid_t euid, uid_t suid); } -344 MNOPROTO { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); } -345 STD { int linux_pciconfig_read(void); } -346 STD { int linux_pciconfig_write(void); } -347 STD { int linux_query_module(void); } -348 STD { int linux_prctl(void); } -349 STD { int linux_pread(l_uint fd, char *buf, l_size_t nbyte, \ - l_loff_t offset); } -350 STD { int linux_pwrite(l_uint fd, char *buf, l_size_t nbyte, \ - l_loff_t offset); } -351 STD { int linux_rt_sigreturn(void); } -352 MSTD { int linux_rt_sigaction(l_int sig, l_sigaction_t *act, \ - l_sigaction_t *oact, l_size_t sigsetsize); } -353 MSTD { int linux_rt_sigprocmask(l_int how, l_sigset_t *mask, \ - l_sigset_t *omask, l_size_t sigsetsize); } -354 STD { int linux_rt_sigpending(void); } -355 STD { int linux_rt_sigtimedwait(void); } -356 STD { int linux_rt_sigqueueinfo(void); } -357 MSTD { int linux_rt_sigsuspend(l_sigset_t *newset, \ - l_size_t sigsetsize); } -358 STD { int linux_select(l_int nfds, l_fd_set *readfds, \ - l_fd_set *writefds, l_fd_set *exceptfds, \ - struct l_timeval *timeout); } -359 MNOPROTO { int gettimeofday(struct timeval *tp, struct timezone *tzp); } -360 MNOPROTO { int settimeofday(struct timeval *tp, struct timezone *tzp); } -361 MSTD { int linux_getitimer(l_int which, struct l_itimerval *itv); } -362 MSTD { int linux_setitimer(l_int which, struct l_itimerval *itv, \ - struct l_itimerval *oitv); } -363 STD { int linux_utimes(char *fname, struct l_timeval *times); } -364 MNOPROTO { int getrusage(int who, struct rusage *rusage); } -365 MSTD { int linux_wait4(l_pid_t pid, l_uint *status, l_int options, \ - struct l_rusage *rusage); } -366 STD { int linux_adjtimex(void); } -367 STD { int linux_getcwd(char *buf, l_ulong bufsize); } -368 STD { int linux_capget(void); } -369 STD { int linux_capset(void); } -370 STD { int linux_sendfile(void); } -371 MNOPROTO { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); } -372 MNOPROTO { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } -373 UNIMPL sys_dipc -374 STD { int linux_pivot_root(char *new_root, char *put_old); } -375 STD { int linux_mincore(l_ulong start, l_size_t len, u_char *vec); } -376 STD { int linux_pciconfig_iobase(void); } -377 STD { int linux_getdents64(l_uint fd, void *dirent, l_uint count); } +0 AUE_NULL UNIMPL +1 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit \ + sys_exit_args void +2 AUE_NULL MSTD { int linux_fork(void); } +3 AUE_NULL MNOPROTO { int read(int fd, char *buf, \ + u_int nbyte); } +4 AUE_NULL MNOPROTO { int write(int fd, char *buf, \ + u_int nbyte); } +5 AUE_NULL UNIMPL +6 AUE_NULL MNOPROTO { int close(int fd); } +7 AUE_NULL MSTD { int osf1_wait4(int pid, int *status, \ + int options, \ + struct osf1_rusage *rusage); } +8 AUE_NULL UNIMPL +9 AUE_NULL STD { int linux_link(char *path, char *to); } +10 AUE_NULL STD { int linux_unlink(char *path); } +11 AUE_NULL UNIMPL +12 AUE_NULL STD { int linux_chdir(char *path); } +13 AUE_NULL NOPROTO { int fchdir(int fd); } +14 AUE_NULL STD { int linux_mknod(char *path, l_int mode, \ + l_dev_t dev); } +15 AUE_NULL STD { int linux_chmod(char *path, \ + l_mode_t mode); } +16 AUE_NULL STD { int linux_chown(char *path, l_uid_t uid, \ + l_gid_t gid); } +17 AUE_NULL STD { int linux_brk(l_ulong dsend); } +18 AUE_NULL UNIMPL +19 AUE_NULL STD { int linux_lseek(l_uint fdes, l_off_t off, \ + l_int whence); } +20 AUE_NULL NOPROTO { int getpid(void); } +21 AUE_NULL UNIMPL osf1_mount +22 AUE_NULL STD { int linux_umount(char *path, l_int flags); } +23 AUE_NULL MNOPROTO { int setuid(uid_t uid); } +24 AUE_NULL MNOPROTO { int getuid(void); } +25 AUE_NULL UNIMPL +26 AUE_NULL MSTD { int linux_ptrace(void); } +27 AUE_NULL UNIMPL +28 AUE_NULL UNIMPL +29 AUE_NULL UNIMPL +30 AUE_NULL UNIMPL +31 AUE_NULL UNIMPL +32 AUE_NULL UNIMPL +33 AUE_NULL STD { int linux_access(char *path, l_int flags); } +34 AUE_NULL UNIMPL +35 AUE_NULL UNIMPL +36 AUE_NULL NOPROTO { int sync(void); } +37 AUE_NULL MSTD { int linux_kill(l_int pid, l_int signum); } +38 AUE_NULL UNIMPL +39 AUE_NULL MNOPROTO { int setpgid(int pid, int pgid); } +40 AUE_NULL UNIMPL +41 AUE_NULL MNOPROTO { int dup(u_int fd); } +42 AUE_NULL MNOPROTO { int pipe(void); } +43 AUE_NULL UNIMPL osf_set_program_attributes +44 AUE_NULL UNIMPL +45 AUE_NULL STD { int linux_open(char *path, l_int flags, \ + l_int mode); } +46 AUE_NULL UNIMPL +47 AUE_NULL MNOPROTO { int getgid(void); } +48 AUE_NULL MSTD { int osf1_sigprocmask(int how, \ + u_long mask); } +49 AUE_NULL UNIMPL +50 AUE_NULL UNIMPL +51 AUE_NULL NOPROTO { int acct(char *path); } +52 AUE_NULL MSTD { int linux_sigpending(void); } +53 AUE_NULL UNIMPL +54 AUE_NULL STD { int linux_ioctl(l_uint fd, l_uint cmd, \ + l_ulong arg); } +55 AUE_NULL UNIMPL +56 AUE_NULL UNIMPL +57 AUE_NULL STD { int linux_symlink(char *path, char *to); } +58 AUE_NULL STD { int linux_readlink(char *name, char *buf, \ + l_int count); } +59 AUE_NULL STD { int linux_execve(char *path, char **argp, \ + char **envp); } +60 AUE_NULL MNOPROTO { int umask(int newmask); } +61 AUE_NULL NOPROTO { int chroot(char *path); } +62 AUE_NULL UNIMPL +63 AUE_NULL MNOPROTO { int getpgrp(void); } +64 AUE_NULL STD { int linux_getpagesize(void); } +65 AUE_NULL UNIMPL +66 AUE_NULL MSTD { int linux_vfork(void); } +67 AUE_NULL STD { int linux_newstat(char *path, \ + struct l_newstat *buf); } +68 AUE_NULL STD { int linux_newlstat(char *path, \ + struct l_newstat *buf); } +69 AUE_NULL UNIMPL +70 AUE_NULL UNIMPL +71 AUE_NULL STD { int linux_mmap(l_ulong addr, l_ulong len, \ + l_ulong prot, l_ulong flags, l_ulong fd, \ + l_ulong pos); } +72 AUE_NULL UNIMPL +73 AUE_NULL STD { int linux_munmap(l_ulong addr, \ + l_size_t len); } +74 AUE_NULL STD { int linux_mprotect(l_ulong addr, \ + l_size_t len, l_ulong prot); } +75 AUE_NULL MNOPROTO { int madvise(void *addr, \ + size_t len, int behav); } +76 AUE_NULL STD { int linux_vhangup(void); } +77 AUE_NULL UNIMPL +78 AUE_NULL UNIMPL +79 AUE_NULL MSTD { int linux_setgroups(l_int gidsetsize, \ + l_gid_t *grouplist); } +80 AUE_NULL MSTD { int linux_getgroups(l_int gidsetsize, \ + l_gid_t *grouplist); } +81 AUE_NULL UNIMPL +82 AUE_NULL MNODEF setpgid setpgid setpgid_args int +83 AUE_NULL STD { int osf1_setitimer(u_int which, \ + struct itimerval *itv, \ + struct itimerval *oitv); } +84 AUE_NULL UNIMPL +85 AUE_NULL UNIMPL +86 AUE_NULL UNIMPL osf_getitimer +87 AUE_NULL STD { int linux_gethostname(void); } +88 AUE_NULL MNOPROTO { int osethostname(char *hostname, \ + u_int len); } osethostname \ + sethostname_args int +89 AUE_NULL STD { int linux_getdtablesize(void); } +90 AUE_NULL MNOPROTO { int dup2(u_int from, u_int to); } +91 AUE_NULL STD { int linux_newfstat(l_uint fd, \ + struct l_newstat *buf); } +92 AUE_NULL MSTD { int linux_fcntl(l_uint fd, l_uint cmd, \ + l_ulong arg); } +93 AUE_NULL STD { int osf1_select(u_int nd, fd_set *in, \ + fd_set *ou, fd_set *ex, \ + struct timeval *tv); } +94 AUE_NULL NOPROTO { int poll(struct pollfd*, unsigned int \ + nfds, long timeout); } +95 AUE_NULL NOPROTO { int fsync(int fd); } +96 AUE_NULL MNOPROTO { int setpriority(int which, \ + int who, int prio); } +97 AUE_NULL STD { int osf1_socket(int domain, int type, \ + int protocol); } +98 AUE_NULL STD { int linux_connect(l_int s, \ + struct l_sockaddr *name, l_int namelen); } +99 AUE_NULL NOPROTO { int oaccept(int s, caddr_t name, \ + int *anamelen); } accept accept_args int +100 AUE_NULL UNIMPL osf_getpriority +101 AUE_NULL NOPROTO { int osend(int s, caddr_t buf, int len, \ + int flags); } +102 AUE_NULL NOPROTO { int orecv(int s, caddr_t buf, int len, \ + int flags); } +103 AUE_NULL MSTD { int osf1_sigreturn( \ + struct osigcontext *sigcntxp); } +104 AUE_NULL NOPROTO { int bind(int s, caddr_t name, \ + int namelen); } +105 AUE_NULL NOPROTO { int setsockopt(int s, int level, int name, \ + caddr_t val, int valsize); } +106 AUE_NULL NOPROTO { int listen(int s, int backlog); } +107 AUE_NULL UNIMPL +108 AUE_NULL UNIMPL +109 AUE_NULL UNIMPL +110 AUE_NULL UNIMPL +111 AUE_NULL MSTD { int osf1_sigsuspend(unsigned long ss); } +112 AUE_NULL UNIMPL osf_sigstack +113 AUE_NULL STD { int linux_recvmsg(void); } +114 AUE_NULL STD { int linux_sendmsg(void); } +115 AUE_NULL UNIMPL +116 AUE_NULL MSTD { int osf1_gettimeofday(struct timeval *tp, \ + struct timezone *tzp); } +117 AUE_NULL STD { int osf1_getrusage(long who, \ + void *rusage); } +118 AUE_NULL NOPROTO { int getsockopt(int s, int level, int name, \ + caddr_t val, int *avalsize); } +119 AUE_NULL UNIMPL +120 AUE_NULL NOPROTO { int readv(int fd, struct iovec *iovp, \ + u_int iovcnt); } +121 AUE_NULL NOPROTO { int writev(int fd, struct iovec *iovp, \ + u_int iovcnt); } +122 AUE_NULL UNIMPL osf_settimeofday +123 AUE_NULL NOPROTO { int fchown(int fd, int uid, int gid); } +124 AUE_NULL NOPROTO { int fchmod(int fd, int mode); } +125 AUE_NULL NOPROTO { int orecvfrom(int s, caddr_t buf, \ + size_t len, int flags, caddr_t from, \ + int *fromlenaddr); } recvfrom \ + recvfrom_args int +126 AUE_NULL MNOPROTO { int setreuid(int ruid, int euid); } +127 AUE_NULL MNOPROTO { int setregid(int rgid, int egid); } +128 AUE_NULL STD { int linux_rename(char *from, char *to); } +129 AUE_NULL STD { int linux_truncate(char *path, \ + l_ulong length); } +130 AUE_NULL NOPROTO { int oftruncate(int fd, long length); } +131 AUE_NULL NOPROTO { int flock(int fd, int how); } +132 AUE_NULL MNOPROTO { int setgid(gid_t gid); } +133 AUE_NULL STD { int osf1_sendto(int s, caddr_t buf, \ + size_t len, int flags, \ + struct sockaddr *to, int tolen); } +134 AUE_NULL NOPROTO { int shutdown(int s, int how); } +135 AUE_NULL STD { int linux_socketpair(void); } +136 AUE_NULL STD { int linux_mkdir(char *path, l_int mode); } +137 AUE_NULL STD { int linux_rmdir(char *path); } +138 AUE_NULL NOPROTO { int utimes(char *path, \ + struct timeval *tptr); } +139 AUE_NULL UNIMPL +140 AUE_NULL UNIMPL +141 AUE_NULL NOPROTO { int ogetpeername(int fdes, caddr_t asa, \ + int *alen); } +142 AUE_NULL UNIMPL +143 AUE_NULL UNIMPL +144 AUE_NULL MSTD { int linux_getrlimit(l_uint resource, \ + struct l_rlimit *rlim); } +145 AUE_NULL MSTD { int linux_setrlimit(l_uint resource, \ + struct l_rlimit *rlim); } +146 AUE_NULL UNIMPL +147 AUE_NULL MNOPROTO { int setsid(void); } +148 AUE_NULL STD { int linux_quotactl(void); } +149 AUE_NULL UNIMPL +150 AUE_NULL NOPROTO { int ogetsockname(int fdec, caddr_t asa, \ + int *alen);} getsockname \ + getsockname_args int +151 AUE_NULL UNIMPL +152 AUE_NULL UNIMPL +153 AUE_NULL UNIMPL +154 AUE_NULL UNIMPL +155 AUE_NULL UNIMPL +156 AUE_NULL MSTD { int osf1_sigaction(int sig, \ + struct osf1_sigaction *nsa, \ + struct osf1_sigaction *osa); } +157 AUE_NULL UNIMPL +158 AUE_NULL UNIMPL +159 AUE_NULL UNIMPL osf_getdirentries +160 AUE_NULL UNIMPL osf_statfs +161 AUE_NULL UNIMPL osf_fstatfs +162 AUE_NULL UNIMPL +163 AUE_NULL UNIMPL +164 AUE_NULL UNIMPL +165 AUE_NULL UNIMPL osf_getdomainname +166 AUE_NULL MNOPROTO { int setdomainname(char *name, \ + int len); } +167 AUE_NULL UNIMPL +168 AUE_NULL UNIMPL +169 AUE_NULL UNIMPL +170 AUE_NULL UNIMPL +171 AUE_NULL UNIMPL +172 AUE_NULL UNIMPL +173 AUE_NULL UNIMPL +174 AUE_NULL UNIMPL +175 AUE_NULL UNIMPL +176 AUE_NULL UNIMPL +177 AUE_NULL UNIMPL +178 AUE_NULL UNIMPL +179 AUE_NULL UNIMPL +180 AUE_NULL UNIMPL +181 AUE_NULL UNIMPL +182 AUE_NULL UNIMPL +183 AUE_NULL UNIMPL +184 AUE_NULL UNIMPL +185 AUE_NULL UNIMPL +186 AUE_NULL UNIMPL +187 AUE_NULL UNIMPL +188 AUE_NULL UNIMPL +189 AUE_NULL UNIMPL +190 AUE_NULL UNIMPL +191 AUE_NULL UNIMPL +192 AUE_NULL UNIMPL +193 AUE_NULL UNIMPL +194 AUE_NULL UNIMPL +195 AUE_NULL UNIMPL +196 AUE_NULL UNIMPL +197 AUE_NULL UNIMPL +198 AUE_NULL UNIMPL +199 AUE_NULL UNIMPL osf_swapon +200 AUE_NULL STD { int linux_msgctl(l_int msqid, l_int cmd, \ + struct l_msqid_ds *buf); } +201 AUE_NULL STD { int linux_msgget(l_key_t key, \ + l_int msgflg); } +202 AUE_NULL STD { int linux_msgrcv(l_int msqid, \ + struct l_msgbuf *msgp, l_size_t msgsz, \ + l_long msgtyp, l_int msgflg); } +203 AUE_NULL STD { int linux_msgsnd(l_int msqid, \ + struct l_msgbuf *msgp, l_size_t msgsz, \ + l_int msgflg); } +204 AUE_NULL STD { int linux_semctl(l_int semid, \ + l_int semnum, l_int cmd, \ + union l_semun arg); } +205 AUE_NULL STD { int linux_semget(l_key_t key, l_int nsems, \ + l_int semflg); } +206 AUE_NULL STD { int linux_semop(l_int semid, \ + struct l_sembuf *tsops, l_uint nsops); } +207 AUE_NULL UNIMPL osf_utsname +208 AUE_NULL STD { int linux_lchown(char *path, l_uid_t uid, \ + l_gid_t gid); } +209 AUE_NULL STD { int linux_shmat(l_int shmid, \ + char *shmaddr, l_int shmflg); } +210 AUE_NULL STD { int linux_shmctl(l_int shmid, l_int cmd, \ + struct l_shmid_ds *buf); } +211 AUE_NULL STD { int linux_shmdt(char *shmaddr); } +212 AUE_NULL STD { int linux_shmget(l_key_t key, \ + l_size_t size, l_int shmflg); } +213 AUE_NULL UNIMPL +214 AUE_NULL UNIMPL +215 AUE_NULL UNIMPL +216 AUE_NULL UNIMPL +217 AUE_NULL STD { int linux_msync(l_ulong addr, \ + l_size_t len, l_int fl); } +218 AUE_NULL UNIMPL +219 AUE_NULL UNIMPL +220 AUE_NULL UNIMPL +221 AUE_NULL UNIMPL +222 AUE_NULL UNIMPL +223 AUE_NULL UNIMPL +224 AUE_NULL UNIMPL +225 AUE_NULL UNIMPL +226 AUE_NULL UNIMPL +227 AUE_NULL UNIMPL +228 AUE_NULL UNIMPL +229 AUE_NULL UNIMPL +230 AUE_NULL UNIMPL +231 AUE_NULL UNIMPL +232 AUE_NULL UNIMPL +233 AUE_NULL MNOPROTO { int getpgid(int pid); } +234 AUE_NULL MSTD { int linux_getsid(l_pid_t pid); } +235 AUE_NULL STD { int linux_sigaltstack(void); } +236 AUE_NULL UNIMPL +237 AUE_NULL UNIMPL +238 AUE_NULL UNIMPL +239 AUE_NULL UNIMPL +240 AUE_NULL UNIMPL +241 AUE_NULL MSTD { int osf1_sysinfo(int cmd, char *buf, \ + long count); } +242 AUE_NULL UNIMPL +243 AUE_NULL UNIMPL +244 AUE_NULL UNIMPL osf_proplist_syscall +245 AUE_NULL UNIMPL +246 AUE_NULL UNIMPL +247 AUE_NULL UNIMPL +248 AUE_NULL UNIMPL +249 AUE_NULL UNIMPL +250 AUE_NULL UNIMPL +251 AUE_NULL UNIMPL osf_usleep_thread +252 AUE_NULL UNIMPL +253 AUE_NULL UNIMPL +254 AUE_NULL STD { int linux_sysfs(l_int option, \ + l_ulong arg1, l_ulong arg2); } +255 AUE_NULL UNIMPL +256 AUE_NULL STD { int osf1_getsysinfo(u_long op, \ + caddr_t buffer, u_long nbytes, \ + caddr_t arg, u_long flag); } +257 AUE_NULL STD { int osf1_setsysinfo(u_long op, \ + caddr_t buffer, u_long nbytes, \ + caddr_t arg, u_long flag); } +258 AUE_NULL UNIMPL +259 AUE_NULL UNIMPL +260 AUE_NULL UNIMPL +261 AUE_NULL UNIMPL +262 AUE_NULL UNIMPL +263 AUE_NULL UNIMPL +264 AUE_NULL UNIMPL +265 AUE_NULL UNIMPL +266 AUE_NULL UNIMPL +267 AUE_NULL UNIMPL +268 AUE_NULL UNIMPL +269 AUE_NULL UNIMPL +270 AUE_NULL UNIMPL +271 AUE_NULL UNIMPL +272 AUE_NULL UNIMPL +273 AUE_NULL UNIMPL +274 AUE_NULL UNIMPL +275 AUE_NULL UNIMPL +276 AUE_NULL UNIMPL +277 AUE_NULL UNIMPL +278 AUE_NULL UNIMPL +279 AUE_NULL UNIMPL +280 AUE_NULL UNIMPL +281 AUE_NULL UNIMPL +282 AUE_NULL UNIMPL +283 AUE_NULL UNIMPL +284 AUE_NULL UNIMPL +285 AUE_NULL UNIMPL +286 AUE_NULL UNIMPL +287 AUE_NULL UNIMPL +288 AUE_NULL UNIMPL +289 AUE_NULL UNIMPL +290 AUE_NULL UNIMPL +291 AUE_NULL UNIMPL +292 AUE_NULL UNIMPL +293 AUE_NULL UNIMPL +294 AUE_NULL UNIMPL +295 AUE_NULL UNIMPL +296 AUE_NULL UNIMPL +297 AUE_NULL UNIMPL +298 AUE_NULL UNIMPL +299 AUE_NULL UNIMPL +300 AUE_NULL STD { int linux_bdflush(void); } +301 AUE_NULL STD { int linux_sethae(void); } +302 AUE_NULL STD { int linux_mount(char *specialfile, \ + char *dir, char *filesystemtype, \ + l_ulong rwflag, void *data); } +303 AUE_NULL STD { int linux_old_adjtimex(void); } +304 AUE_NULL STD { int linux_swapoff(void); } +305 AUE_NULL STD { int linux_getdents(l_uint fd, void *dent, \ + l_uint count); } +306 AUE_NULL STD { int linux_create_module(void); } +307 AUE_NULL STD { int linux_init_module(void); } +308 AUE_NULL STD { int linux_delete_module(void); } +309 AUE_NULL STD { int linux_get_kernel_syms(void); } +310 AUE_NULL STD { int linux_syslog(l_int type, char *buf, \ + l_int len); } +311 AUE_NULL STD { int linux_reboot(l_int magic1, \ + l_int magic2, l_uint cmd, void *arg); } +312 AUE_NULL MSTD { int linux_clone(l_int flags, void *stack); } +313 AUE_NULL STD { int linux_uselib(char *library); } +314 AUE_NULL MNOPROTO { int mlock(const void *addr, \ + size_t len); } +315 AUE_NULL MNOPROTO { int munlock(const void *addr, \ + size_t len); } +316 AUE_NULL MNOPROTO { int mlockall(int how); } +317 AUE_NULL MNOPROTO { int munlockall(void); } +318 AUE_NULL STD { int linux_sysinfo(void); } +319 AUE_NULL STD { int linux_sysctl( \ + struct l___sysctl_args *args); } +320 AUE_NULL UNIMPL sys_idle +321 AUE_NULL STD { int linux_oldumount(char *path); } +322 AUE_NULL NOPROTO { int swapon(char *name); } +323 AUE_NULL STD { int linux_times(struct l_times_argv *buf); } +324 AUE_NULL STD { int linux_personality(l_ulong per); } +325 AUE_NULL STD { int linux_setfsuid(l_uid_t uid); } +326 AUE_NULL STD { int linux_setfsgid(l_gid_t gid); } +327 AUE_NULL STD { int linux_ustat(l_dev_t dev, \ + struct l_ustat *ubuf); } +328 AUE_NULL STD { int linux_statfs(char *path, \ + struct l_statfs_buf *buf); } +329 AUE_NULL STD { int linux_fstatfs(l_uint fd, \ + struct l_statfs_buf *buf); } +330 AUE_NULL MNOPROTO { int sched_setparam(pid_t pid, \ + const struct sched_param *param); } +331 AUE_NULL MNOPROTO { int sched_getparam(pid_t pid, \ + struct sched_param *param); } +332 AUE_NULL MSTD { int linux_sched_setscheduler(l_pid_t pid, \ + l_int policy, \ + struct l_sched_param *param); } +333 AUE_NULL MSTD { int linux_sched_getscheduler(l_pid_t pid); } +334 AUE_NULL MNOPROTO { int sched_yield(void); } +335 AUE_NULL MSTD { int linux_sched_get_priority_max( \ + l_int policy); } +336 AUE_NULL MSTD { int linux_sched_get_priority_min( \ + l_int policy); } +337 AUE_NULL NOPROTO { int sched_rr_get_interval (pid_t pid, \ + struct timespec *interval); } +338 AUE_NULL UNIMPL sys_afs_syscall +339 AUE_NULL STD { int linux_newuname( \ + struct l_newuname_t *buf); } +340 AUE_NULL MNOPROTO { int nanosleep( \ + const struct timespec *rqtp, \ + struct timespec *rmtp); } +341 AUE_NULL STD { int linux_mremap(l_ulong addr, \ + l_ulong old_len, l_ulong new_len, \ + l_ulong flags, l_ulong new_addr); } +342 AUE_NULL STD { int linux_nfsservctl(void); } +343 AUE_NULL MNOPROTO { int setresuid(uid_t ruid, \ + uid_t euid, uid_t suid); } +344 AUE_NULL MNOPROTO { int getresuid(uid_t *ruid, \ + uid_t *euid, uid_t *suid); } +345 AUE_NULL STD { int linux_pciconfig_read(void); } +346 AUE_NULL STD { int linux_pciconfig_write(void); } +347 AUE_NULL STD { int linux_query_module(void); } +348 AUE_NULL STD { int linux_prctl(void); } +349 AUE_NULL STD { int linux_pread(l_uint fd, char *buf, \ + l_size_t nbyte, l_loff_t offset); } +350 AUE_NULL STD { int linux_pwrite(l_uint fd, char *buf, \ + l_size_t nbyte, l_loff_t offset); } +351 AUE_NULL STD { int linux_rt_sigreturn(void); } +352 AUE_NULL MSTD { int linux_rt_sigaction(l_int sig, \ + l_sigaction_t *act, l_sigaction_t *oact, \ + l_size_t sigsetsize); } +353 AUE_NULL MSTD { int linux_rt_sigprocmask(l_int how, \ + l_sigset_t *mask, l_sigset_t *omask, \ + l_size_t sigsetsize); } +354 AUE_NULL STD { int linux_rt_sigpending(void); } +355 AUE_NULL STD { int linux_rt_sigtimedwait(void); } +356 AUE_NULL STD { int linux_rt_sigqueueinfo(void); } +357 AUE_NULL MSTD { int linux_rt_sigsuspend(l_sigset_t \ + *newset, l_size_t sigsetsize); } +358 AUE_NULL STD { int linux_select(l_int nfds, \ + l_fd_set *readfds, l_fd_set *writefds, \ + l_fd_set *exceptfds, \ + struct l_timeval *timeout); } +359 AUE_NULL MNOPROTO { int gettimeofday( \ + struct timeval *tp, \ + struct timezone *tzp); } +360 AUE_NULL MNOPROTO { int settimeofday( \ + struct timeval *tp, \ + struct timezone *tzp); } +361 AUE_NULL MSTD { int linux_getitimer(l_int which, \ + struct l_itimerval *itv); } +362 AUE_NULL MSTD { int linux_setitimer(l_int which, \ + struct l_itimerval *itv, \ + struct l_itimerval *oitv); } +363 AUE_NULL STD { int linux_utimes(char *fname, \ + struct l_timeval *times); } +364 AUE_NULL MNOPROTO { int getrusage(int who, \ + struct rusage *rusage); } +365 AUE_NULL MSTD { int linux_wait4(l_pid_t pid, \ + l_uint *status, l_int options, \ + struct l_rusage *rusage); } +366 AUE_NULL STD { int linux_adjtimex(void); } +367 AUE_NULL STD { int linux_getcwd(char *buf, \ + l_ulong bufsize); } +368 AUE_NULL STD { int linux_capget(void); } +369 AUE_NULL STD { int linux_capset(void); } +370 AUE_NULL STD { int linux_sendfile(void); } +371 AUE_NULL MNOPROTO { int setresgid(gid_t rgid, \ + gid_t egid, gid_t sgid); } +372 AUE_NULL MNOPROTO { int getresgid(gid_t *rgid, \ + gid_t *egid, gid_t *sgid); } +373 AUE_NULL UNIMPL sys_dipc +374 AUE_NULL STD { int linux_pivot_root(char *new_root, \ + char *put_old); } +375 AUE_NULL STD { int linux_mincore(l_ulong start, \ + l_size_t len, u_char *vec); } +376 AUE_NULL STD { int linux_pciconfig_iobase(void); } +377 AUE_NULL STD { int linux_getdents64(l_uint fd, void *dirent, l_uint count); } Index: ./alpha/osf1/syscalls.master =================================================================== RCS file: /home/ncvs/src/sys/alpha/osf1/syscalls.master,v retrieving revision 1.10 diff -u -r1.10 syscalls.master --- ./alpha/osf1/syscalls.master 24 Aug 2004 20:21:21 -0000 1.10 +++ ./alpha/osf1/syscalls.master 29 May 2005 22:33:00 -0000 @@ -6,6 +6,11 @@ ; Columns: number type nargs name alt{name,tag,rtyp}/comments ; number system call number, must be in order +; audit the audit event associated with the system call +; A value of AUE_NULL means no auditing, but it also means that +; there is no audit event for the call at this time. For the +; case where the event exists, but we don't want auditing, the +; event should be #defined to AUE_NULL in audit_kevents.h. ; type one of STD, OBSOL, UNIMPL, COMPAT ; name psuedo-prototype of syscall routine ; If one of the following alts is different, then all appear: @@ -30,340 +35,409 @@ #include -0 NOPROTO { int nosys(void); } -1 MNOPROTO { void sys_exit(int rval); } exit sys_exit_args void -2 MNOPROTO { int fork(void); } -3 MNOPROTO { ssize_t read(int fd, char *buf, ssize_t nbyte); } -4 MNOPROTO { ssize_t write(int fd, char *buf, ssize_t nbyte); } -5 UNIMPL old open -6 MNOPROTO { int close(int fd); } -7 MSTD { int osf1_wait4(int pid, int *status, int options, \ - struct osf1_rusage *rusage); } -8 UNIMPL old creat -9 NOPROTO { int link(char *path, char *link); } -10 NOPROTO { int unlink(char *path); } -11 UNIMPL execv -12 NOPROTO { int chdir(char *path); } -13 NOPROTO { int fchdir(int fd); } -14 STD { int osf1_mknod(char *path, int mode, int dev); } -15 NOPROTO { int chmod(char *path, int mode); } -16 NOPROTO { int chown(char *path, int uid, int gid); } -17 NOPROTO { int obreak(char *nsize); } -18 STD { int osf1_getfsstat(struct osf1_statfs *buf, long bufsize, \ - int flags); } -19 STD { off_t osf1_lseek(int fd, off_t offset, int whence); } -20 MNOPROTO { pid_t getpid(void); } -21 STD { int osf1_mount(int type, char *path, int flags, \ - caddr_t data); } -22 STD { int osf1_unmount(char *path, int flags); } -23 MSTD { int osf1_setuid(uid_t uid); } -24 MNOPROTO { uid_t getuid(void); } -25 UNIMPL exec_with_loader -26 UNIMPL ptrace -27 UNIMPL recvmsg -28 UNIMPL sendmsg -29 NOPROTO { int recvfrom(int s, caddr_t buf, size_t len, int flags, \ - caddr_t from, int *fromlenaddr); } -30 NOPROTO { int accept(int s, caddr_t name, int *anamelen); } -31 NOPROTO { int getpeername(int fdes, caddr_t asa, int *alen); } -32 NOPROTO { int getsockname(int fdes, caddr_t asa, int *alen); } -33 STD { int osf1_access(char *path, int flags); } -34 UNIMPL chflags -35 UNIMPL fchflags -36 NOPROTO { int sync(void); } -37 MSTD { int osf1_kill(int pid, int signum); } -38 UNIMPL old stat -39 MNOPROTO { int setpgid(int pid, int pgid); } -40 UNIMPL old lstat -41 MNOPROTO { int dup(u_int fd); } -42 MNOPROTO { int pipe(void); } -43 STD { int osf1_set_program_attributes(vm_offset_t text_start, \ - vm_offset_t text_len, vm_offset_t bss_start, \ - vm_offset_t bss_len); } -44 UNIMPL profil -45 STD { int osf1_open(char *path, int flags, int mode); } -46 OBSOL sigaction -47 MNOPROTO { gid_t getgid(void); } -48 MSTD { int osf1_sigprocmask(int how, osf1_sigset_t mask); } -49 MNOPROTO { int getlogin(char *namebuf, u_int namelen); } -50 MNOPROTO { int setlogin(char *namebuf); } -51 NOPROTO { int acct(char *path); } -52 MSTD { int osf1_sigpending(struct proc *p, osf1_sigset_t *mask ); } -53 STD { int osf1_classcntl(int opcode, int arg1, int arg2, int arg3);} -54 STD { int osf1_ioctl(int fd, int com, caddr_t data); } -55 STD { int osf1_reboot(int opt); } -56 NOPROTO { int revoke(char *path); } -57 NOPROTO { int symlink(char *path, char *link); } -58 NOPROTO { int readlink(char *path, char *buf, int count); } -59 STD { int osf1_execve(char *path, char **argp, char **envp); } -60 MNOPROTO { int umask(int newmask); } -61 NOPROTO { int chroot(char *path); } -62 UNIMPL old fstat -63 MNOPROTO { int getpgrp(void); } -64 NOPROTO { int ogetpagesize(void); } -65 UNIMPL mremap -66 MNOPROTO { int vfork(void); } -67 STD { int osf1_stat(char *path, struct osf1_stat *ub); } -68 STD { int osf1_lstat(char *path, struct osf1_stat *ub); } -69 UNIMPL sbrk -70 UNIMPL sstk -71 STD { caddr_t osf1_mmap(caddr_t addr, size_t len, int prot, \ - int flags, int fd, off_t pos); } -72 UNIMPL ovadvise -73 NOPROTO { int munmap(caddr_t addr, size_t len); } -74 NOPROTO { int mprotect(void *addr, size_t len, int prot); } +0 AUE_NULL NOPROTO { int nosys(void); } +1 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit \ + sys_exit_args void +2 AUE_NULL MNOPROTO { int fork(void); } +3 AUE_NULL MNOPROTO { ssize_t read(int fd, char *buf, \ + ssize_t nbyte); } +4 AUE_NULL MNOPROTO { ssize_t write(int fd, char *buf, \ + ssize_t nbyte); } +5 AUE_NULL UNIMPL old open +6 AUE_NULL MNOPROTO { int close(int fd); } +7 AUE_NULL MSTD { int osf1_wait4(int pid, int *status, \ + int options, \ + struct osf1_rusage *rusage); } +8 AUE_NULL UNIMPL old creat +9 AUE_NULL NOPROTO { int link(char *path, char *link); } +10 AUE_NULL NOPROTO { int unlink(char *path); } +11 AUE_NULL UNIMPL execv +12 AUE_NULL NOPROTO { int chdir(char *path); } +13 AUE_NULL NOPROTO { int fchdir(int fd); } +14 AUE_NULL STD { int osf1_mknod(char *path, int mode, \ + int dev); } +15 AUE_NULL NOPROTO { int chmod(char *path, int mode); } +16 AUE_NULL NOPROTO { int chown(char *path, int uid, int gid); } +17 AUE_NULL NOPROTO { int obreak(char *nsize); } +18 AUE_NULL STD { int osf1_getfsstat( \ + struct osf1_statfs *buf, long bufsize, \ + int flags); } +19 AUE_NULL STD { off_t osf1_lseek(int fd, off_t offset, \ + int whence); } +20 AUE_NULL MNOPROTO { pid_t getpid(void); } +21 AUE_NULL STD { int osf1_mount(int type, char *path, \ + int flags, caddr_t data); } +22 AUE_NULL STD { int osf1_unmount(char *path, int flags); } +23 AUE_NULL MSTD { int osf1_setuid(uid_t uid); } +24 AUE_NULL MNOPROTO { uid_t getuid(void); } +25 AUE_NULL UNIMPL exec_with_loader +26 AUE_NULL UNIMPL ptrace +27 AUE_NULL UNIMPL recvmsg +28 AUE_NULL UNIMPL sendmsg +29 AUE_NULL NOPROTO { int recvfrom(int s, caddr_t buf, \ + size_t len, int flags, caddr_t from, \ + int *fromlenaddr); } +30 AUE_NULL NOPROTO { int accept(int s, caddr_t name, \ + int *anamelen); } +31 AUE_NULL NOPROTO { int getpeername(int fdes, caddr_t asa, \ + int *alen); } +32 AUE_NULL NOPROTO { int getsockname(int fdes, caddr_t asa, \ + int *alen); } +33 AUE_NULL STD { int osf1_access(char *path, int flags); } +34 AUE_NULL UNIMPL chflags +35 AUE_NULL UNIMPL fchflags +36 AUE_NULL NOPROTO { int sync(void); } +37 AUE_NULL MSTD { int osf1_kill(int pid, int signum); } +38 AUE_NULL UNIMPL old stat +39 AUE_NULL MNOPROTO { int setpgid(int pid, int pgid); } +40 AUE_NULL UNIMPL old lstat +41 AUE_NULL MNOPROTO { int dup(u_int fd); } +42 AUE_NULL MNOPROTO { int pipe(void); } +43 AUE_NULL STD { int osf1_set_program_attributes( \ + vm_offset_t text_start, \ + vm_offset_t text_len, \ + vm_offset_t bss_start, \ + vm_offset_t bss_len); } +44 AUE_NULL UNIMPL profil +45 AUE_NULL STD { int osf1_open(char *path, int flags, \ + int mode); } +46 AUE_NULL OBSOL sigaction +47 AUE_NULL MNOPROTO { gid_t getgid(void); } +48 AUE_NULL MSTD { int osf1_sigprocmask(int how, \ + osf1_sigset_t mask); } +49 AUE_NULL MNOPROTO { int getlogin(char *namebuf, \ + u_int namelen); } +50 AUE_NULL MNOPROTO { int setlogin(char *namebuf); } +51 AUE_NULL NOPROTO { int acct(char *path); } +52 AUE_NULL MSTD { int osf1_sigpending(struct proc *p, \ + osf1_sigset_t *mask ); } +53 AUE_NULL STD { int osf1_classcntl(int opcode, int arg1, \ + int arg2, int arg3);} +54 AUE_NULL STD { int osf1_ioctl(int fd, int com, \ + caddr_t data); } +55 AUE_NULL STD { int osf1_reboot(int opt); } +56 AUE_NULL NOPROTO { int revoke(char *path); } +57 AUE_NULL NOPROTO { int symlink(char *path, char *link); } +58 AUE_NULL NOPROTO { int readlink(char *path, char *buf, \ + int count); } +59 AUE_NULL STD { int osf1_execve(char *path, char **argp, \ + char **envp); } +60 AUE_NULL MNOPROTO { int umask(int newmask); } +61 AUE_NULL NOPROTO { int chroot(char *path); } +62 AUE_NULL UNIMPL old fstat +63 AUE_NULL MNOPROTO { int getpgrp(void); } +64 AUE_NULL NOPROTO { int ogetpagesize(void); } +65 AUE_NULL UNIMPL mremap +66 AUE_NULL MNOPROTO { int vfork(void); } +67 AUE_NULL STD { int osf1_stat(char *path, \ + struct osf1_stat *ub); } +68 AUE_NULL STD { int osf1_lstat(char *path, \ + struct osf1_stat *ub); } +69 AUE_NULL UNIMPL sbrk +70 AUE_NULL UNIMPL sstk +71 AUE_NULL STD { caddr_t osf1_mmap(caddr_t addr, \ + size_t len, int prot, int flags, int fd, \ + off_t pos); } +72 AUE_NULL UNIMPL ovadvise +73 AUE_NULL NOPROTO { int munmap(caddr_t addr, size_t len); } +74 AUE_NULL NOPROTO { int mprotect(void *addr, size_t len, \ + int prot); } ; XXX -75 STD { int osf1_madvise(void); } -76 UNIMPL old vhangup -77 UNIMPL kmodcall -78 UNIMPL mincore -79 MNOPROTO { int getgroups(u_int gidsetsize, gid_t *gidset); } -80 MNOPROTO { int setgroups(u_int gidsetsize, gid_t *gidset); } -81 UNIMPL old getpgrp +75 AUE_NULL STD { int osf1_madvise(void); } +76 AUE_NULL UNIMPL old vhangup +77 AUE_NULL UNIMPL kmodcall +78 AUE_NULL UNIMPL mincore +79 AUE_NULL MNOPROTO { int getgroups(u_int gidsetsize, \ + gid_t *gidset); } +80 AUE_NULL MNOPROTO { int setgroups(u_int gidsetsize, \ + gid_t *gidset); } +81 AUE_NULL UNIMPL old getpgrp ; OSF/1 setpgrp(); identical in function to setpgid(). XXX -82 MSTD { int osf1_setpgrp(int pid, int pgid); } -83 STD { int osf1_setitimer(u_int which, struct itimerval *itv, \ - struct itimerval *oitv); } -84 UNIMPL old wait -85 STD { int osf1_table(long id, long index, void *addr, long nel, \ - u_long lel); } -86 STD { int osf1_getitimer(u_int which, struct itimerval *itv); } -87 MNOPROTO { int ogethostname(char *hostname, u_int len); } \ - ogethostname gethostname_args int -88 MNOPROTO { int osethostname(char *hostname, u_int len); } \ - osethostname sethostname_args int -89 MNOPROTO { int getdtablesize(void); } -90 MNOPROTO { int dup2(u_int from, u_int to); } -91 STD { int osf1_fstat(int fd, void *sb); } -92 MSTD { int osf1_fcntl(int fd, int cmd, void *arg); } -93 STD { int osf1_select(u_int nd, fd_set *in, fd_set *ou, \ - fd_set *ex, struct timeval *tv); } -94 NOPROTO { int poll(struct pollfd *fds, u_int nfds, int timeout); } -95 NOPROTO { int fsync(int fd); } -96 MNOPROTO { int setpriority(int which, int who, int prio); } -97 STD { int osf1_socket(int domain, int type, int protocol); } -98 NOPROTO { int connect(int s, caddr_t name, int namelen); } -99 NOPROTO { int oaccept(int s, caddr_t name, int *anamelen); } \ - oaccept accept_args int -100 MNOPROTO { int getpriority(int which, int who); } -101 NOPROTO { int osend(int s, caddr_t buf, int len, int flags); } -102 NOPROTO { int orecv(int s, caddr_t buf, int len, int flags); } -103 MSTD { int osf1_sigreturn(struct osigcontext *sigcntxp); } -104 NOPROTO { int bind(int s, caddr_t name, int namelen); } -105 NOPROTO { int setsockopt(int s, int level, int name, caddr_t val, \ - int valsize); } -106 NOPROTO { int listen(int s, int backlog); } -107 UNIMPL plock -108 UNIMPL old sigvec -109 UNIMPL old sigblock -110 UNIMPL old sigsetmask -111 MSTD { int osf1_sigsuspend(osf1_sigset_t ss); } -112 MSTD { int osf1_osigstack(struct sigstack *nss, \ - struct sigstack *oss); } -113 UNIMPL old recvmsg -114 UNIMPL old sendmsg -115 UNIMPL vtrace -116 STD { int osf1_gettimeofday(struct timeval *tp, \ - struct timezone *tzp); } +82 AUE_NULL MSTD { int osf1_setpgrp(int pid, int pgid); } +83 AUE_NULL STD { int osf1_setitimer(u_int which, \ + struct itimerval *itv, \ + struct itimerval *oitv); } +84 AUE_NULL UNIMPL old wait +85 AUE_NULL STD { int osf1_table(long id, long index, \ + void *addr, long nel, u_long lel); } +86 AUE_NULL STD { int osf1_getitimer(u_int which, \ + struct itimerval *itv); } +87 AUE_NULL MNOPROTO { int ogethostname(char *hostname, \ + u_int len); } ogethostname \ + gethostname_args int +88 AUE_NULL MNOPROTO { int osethostname(char *hostname, \ + u_int len); } osethostname \ + sethostname_args int +89 AUE_NULL MNOPROTO { int getdtablesize(void); } +90 AUE_NULL MNOPROTO { int dup2(u_int from, u_int to); } +91 AUE_NULL STD { int osf1_fstat(int fd, void *sb); } +92 AUE_NULL MSTD { int osf1_fcntl(int fd, int cmd, \ + void *arg); } +93 AUE_NULL STD { int osf1_select(u_int nd, fd_set *in, \ + fd_set *ou, fd_set *ex, \ + struct timeval *tv); } +94 AUE_NULL NOPROTO { int poll(struct pollfd *fds, u_int nfds, \ + int timeout); } +95 AUE_NULL NOPROTO { int fsync(int fd); } +96 AUE_NULL MNOPROTO { int setpriority(int which, int who, \ + int prio); } +97 AUE_NULL STD { int osf1_socket(int domain, int type, \ + int protocol); } +98 AUE_NULL NOPROTO { int connect(int s, caddr_t name, \ + int namelen); } +99 AUE_NULL NOPROTO { int oaccept(int s, caddr_t name, \ + int *anamelen); } oaccept accept_args int +100 AUE_NULL MNOPROTO { int getpriority(int which, int who); } +101 AUE_NULL NOPROTO { int osend(int s, caddr_t buf, int len, \ + int flags); } +102 AUE_NULL NOPROTO { int orecv(int s, caddr_t buf, int len, \ + int flags); } +103 AUE_NULL MSTD { int osf1_sigreturn( \ + struct osigcontext *sigcntxp); } +104 AUE_NULL NOPROTO { int bind(int s, caddr_t name, \ + int namelen); } +105 AUE_NULL NOPROTO { int setsockopt(int s, int level, int name, \ + caddr_t val, int valsize); } +106 AUE_NULL NOPROTO { int listen(int s, int backlog); } +107 AUE_NULL UNIMPL plock +108 AUE_NULL UNIMPL old sigvec +109 AUE_NULL UNIMPL old sigblock +110 AUE_NULL UNIMPL old sigsetmask +111 AUE_NULL MSTD { int osf1_sigsuspend(osf1_sigset_t ss); } +112 AUE_NULL MSTD { int osf1_osigstack(struct sigstack *nss, \ + struct sigstack *oss); } +113 AUE_NULL UNIMPL old recvmsg +114 AUE_NULL UNIMPL old sendmsg +115 AUE_NULL UNIMPL vtrace +116 AUE_NULL STD { int osf1_gettimeofday(struct timeval *tp, \ + struct timezone *tzp); } ; XXX -117 STD { int osf1_getrusage(long who, void *rusage); } -118 NOPROTO { int getsockopt(int s, int level, int name, caddr_t val, \ - int *avalsize); } -119 UNIMPL -120 STD { int osf1_readv(int fd, struct osf1_iovec *iovp, \ - u_int iovcnt); } -121 STD { int osf1_writev(int fd, struct osf1_iovec *iovp, \ - u_int iovcnt); } -122 MNOPROTO { int settimeofday(struct timeval *tv, struct timezone *tzp); } -123 NOPROTO { int fchown(int fd, int uid, int gid); } -124 NOPROTO { int fchmod(int fd, int mode); } -125 NOPROTO { int orecvfrom(int s, caddr_t buf, size_t len, int flags, \ - caddr_t from, int *fromlenaddr); } \ - orecvfrom recvfrom_args int -126 MNOPROTO { int setreuid(int ruid, int euid); } -127 MNOPROTO { int setregid(int rgid, int egid); } -128 NOPROTO { int rename(const char *from, const char *to); } -129 STD { int osf1_truncate(char *path, off_t length); } -130 STD { int osf1_ftruncate(int fd, off_t length); } -131 NOPROTO { int flock(int fd, int how); } -132 MSTD { int osf1_setgid(gid_t gid); } -133 STD { int osf1_sendto(int s, caddr_t buf, size_t len, int flags, \ - struct sockaddr *to, int tolen); } -134 NOPROTO { int shutdown(int s, int how); } -135 UNIMPL socketpair -136 NOPROTO { int mkdir(char *path, int mode); } -137 NOPROTO { int rmdir(char *path); } -138 NOPROTO { int utimes(char *path, struct timeval *tptr); } -139 OBSOL 4.2 sigreturn -140 UNIMPL adjtime -141 NOPROTO { int ogetpeername(int fdes, caddr_t asa, int *alen); } -142 MNOPROTO { int32_t ogethostid(void); } -143 MNOPROTO { int osethostid(int32_t hostid); } -144 MSTD { int osf1_getrlimit(u_int which, struct rlimit *rlp); } -145 MSTD { int osf1_setrlimit(u_int which, struct rlimit *rlp); } -146 UNIMPL old killpg -147 MNOPROTO { int setsid(void); } -148 UNIMPL quotactl -149 MNOPROTO { int oquota(void); } -150 NOPROTO { int ogetsockname(int fdec, caddr_t asa, int *alen);} \ - ogetsockname getsockname_args int -151 UNIMPL -152 UNIMPL -153 UNIMPL -154 UNIMPL -155 UNIMPL -156 MSTD { int osf1_sigaction(long signum, struct osf1_sigaction *nsa, \ - struct osf1_sigaction *osa, void *sigtramp); } -157 UNIMPL -158 UNIMPL nfssvc -159 NOPROTO { int ogetdirentries(int fd, char *buf, u_int count, \ - long *basep); } -160 STD { int osf1_statfs(char *path, struct osf1_statfs *buf, \ - int len); } -161 STD { int osf1_fstatfs(int fd, struct osf1_statfs *buf, int len); } -162 UNIMPL -163 UNIMPL async_daemon -164 UNIMPL getfh -165 MNOPROTO { int getdomainname(char *domainname, int len); } -166 MNOPROTO { int setdomainname(char *domainname, int len); } -167 UNIMPL -168 UNIMPL -169 UNIMPL exportfs -170 UNIMPL -171 UNIMPL -172 UNIMPL alt msgctl -173 UNIMPL alt msgget -174 UNIMPL alt msgrcv -175 UNIMPL alt msgsnd -176 UNIMPL alt semctl -177 UNIMPL alt semget -178 UNIMPL alt semop -179 UNIMPL alt uname -180 UNIMPL -181 UNIMPL alt plock -182 UNIMPL lockf -183 UNIMPL -184 UNIMPL getmnt -185 UNIMPL -186 UNIMPL unmount -187 UNIMPL alt sigpending -188 UNIMPL alt setsid -189 UNIMPL -190 UNIMPL -191 UNIMPL -192 UNIMPL -193 UNIMPL -194 UNIMPL -195 UNIMPL -196 UNIMPL -197 UNIMPL -198 UNIMPL -199 UNIMPL swapon -200 MNOPROTO { int msgctl(int msqid, int cmd, struct msqid_ds *buf); } -201 MNOPROTO { int msgget(key_t key, int msgflg); } -202 MNOPROTO { int msgrcv(int msqid, void *msgp, size_t msgsz, \ - long msgtyp, int msgflg); } -203 MNOPROTO { int msgsnd(int msqid, void *msgp, size_t msgsz, \ - int msgflg); } -204 MNOPROTO { int __semctl(int semid, int semnum, int cmd, \ - union semun *arg); } -205 MNOPROTO { int semget(key_t key, int nsems, int semflg); } -206 MNOPROTO { int semop(int semid, struct sembuf *sops, u_int nsops); } -207 MNOPROTO { int uname(struct utsname *name); } -208 NOPROTO { int lchown(char *path, int uid, int gid); } -209 MNOPROTO { int shmat(int shmid, void *shmaddr, int shmflg); } -210 MNOPROTO { int shmctl(int shmid, int cmd, struct shmid_ds *buf); } -211 MNOPROTO { int shmdt(void *shmaddr); } -212 MNOPROTO { int shmget(key_t key, int size, int shmflg); } -213 UNIMPL mvalid -214 UNIMPL getaddressconf -215 UNIMPL msleep -216 UNIMPL mwakeup -217 STD { int osf1_msync(caddr_t addr, size_t len, int flags); } -218 MSTD {int osf1_signal(int signum, void *handler); } -219 UNIMPL utc gettime -220 UNIMPL utc adjtime -221 UNIMPL -222 UNIMPL security -223 UNIMPL kloadcall -224 UNIMPL -225 UNIMPL -226 UNIMPL -227 UNIMPL -228 UNIMPL -229 UNIMPL -230 UNIMPL -231 UNIMPL -232 UNIMPL -233 MNOPROTO { pid_t getpgid(pid_t pid); } -234 MNOPROTO { pid_t getsid(pid_t pid); } -235 MSTD { int osf1_sigaltstack(struct osf1_sigaltstack *nss, \ - struct osf1_sigaltstack *oss); } -236 UNIMPL waitid -237 UNIMPL priocntlset -238 UNIMPL sigsendset -239 UNIMPL -240 UNIMPL msfs_syscall -241 MSTD { int osf1_sysinfo(int cmd, char *buf, long count); } -242 UNIMPL uadmin -243 UNIMPL fuser -244 STD { int osf1_proplist_syscall(void); } -245 STD { int osf1_ntpadjtime(void *tp); } -246 STD { int osf1_ntpgettime(void *tp); } -247 STD { int osf1_pathconf(char *path, int name); } -248 STD { int osf1_fpathconf(int fd, int name); } -249 UNIMPL -250 STD { int osf1_uswitch(long cmd, long mask); } -251 STD { int osf1_usleep_thread(struct timeval *sleep, \ - struct timeval *slept); } -252 UNIMPL audcntl -253 UNIMPL audgen -254 UNIMPL sysfs -255 UNIMPL -256 STD { int osf1_getsysinfo(u_long op, caddr_t buffer, \ - u_long nbytes, caddr_t arg, u_long flag); } -257 STD { int osf1_setsysinfo(u_long op, caddr_t buffer, \ - u_long nbytes, caddr_t arg, u_long flag); } -258 UNIMPL afs_syscall -259 UNIMPL swapctl -260 UNIMPL memcntl -261 UNIMPL -262 UNIMPL -263 UNIMPL -264 UNIMPL -265 UNIMPL -266 UNIMPL -267 UNIMPL -268 UNIMPL -269 UNIMPL -270 UNIMPL -271 UNIMPL -272 UNIMPL -273 UNIMPL -274 UNIMPL -275 UNIMPL -276 UNIMPL -277 UNIMPL -278 UNIMPL -279 UNIMPL -280 UNIMPL -281 UNIMPL -282 UNIMPL -283 UNIMPL -284 UNIMPL -285 UNIMPL -286 UNIMPL -287 UNIMPL -288 UNIMPL -289 UNIMPL -290 UNIMPL -291 UNIMPL -292 UNIMPL -293 UNIMPL -294 UNIMPL -295 UNIMPL -296 UNIMPL -297 UNIMPL -298 UNIMPL -299 UNIMPL -300 UNIMPL +117 AUE_NULL STD { int osf1_getrusage(long who, \ + void *rusage); } +118 AUE_NULL NOPROTO { int getsockopt(int s, int level, int name, \ + caddr_t val, int *avalsize); } +119 AUE_NULL UNIMPL +120 AUE_NULL STD { int osf1_readv(int fd, \ + struct osf1_iovec *iovp, u_int iovcnt); } +121 AUE_NULL STD { int osf1_writev(int fd, \ + struct osf1_iovec *iovp, u_int iovcnt); } +122 AUE_NULL MNOPROTO { int settimeofday(struct timeval *tv, \ + struct timezone *tzp); } +123 AUE_NULL NOPROTO { int fchown(int fd, int uid, int gid); } +124 AUE_NULL NOPROTO { int fchmod(int fd, int mode); } +125 AUE_NULL NOPROTO { int orecvfrom(int s, caddr_t buf, \ + size_t len, int flags, caddr_t from, \ + int *fromlenaddr); } orecvfrom \ + recvfrom_args int +126 AUE_NULL MNOPROTO { int setreuid(int ruid, int euid); } +127 AUE_NULL MNOPROTO { int setregid(int rgid, int egid); } +128 AUE_NULL NOPROTO { int rename(const char *from, \ + const char *to); } +129 AUE_NULL STD { int osf1_truncate(char *path, \ + off_t length); } +130 AUE_NULL STD { int osf1_ftruncate(int fd, off_t length); } +131 AUE_NULL NOPROTO { int flock(int fd, int how); } +132 AUE_NULL MSTD { int osf1_setgid(gid_t gid); } +133 AUE_NULL STD { int osf1_sendto(int s, caddr_t buf, \ + size_t len, int flags, \ + struct sockaddr *to, int tolen); } +134 AUE_NULL NOPROTO { int shutdown(int s, int how); } +135 AUE_NULL UNIMPL socketpair +136 AUE_NULL NOPROTO { int mkdir(char *path, int mode); } +137 AUE_NULL NOPROTO { int rmdir(char *path); } +138 AUE_NULL NOPROTO { int utimes(char *path, \ + struct timeval *tptr); } +139 AUE_NULL OBSOL 4.2 sigreturn +140 AUE_NULL UNIMPL adjtime +141 AUE_NULL NOPROTO { int ogetpeername(int fdes, caddr_t asa, \ + int *alen); } +142 AUE_NULL MNOPROTO { int32_t ogethostid(void); } +143 AUE_NULL MNOPROTO { int osethostid(int32_t hostid); } +144 AUE_NULL MSTD { int osf1_getrlimit(u_int which, \ + struct rlimit *rlp); } +145 AUE_NULL MSTD { int osf1_setrlimit(u_int which, \ + struct rlimit *rlp); } +146 AUE_NULL UNIMPL old killpg +147 AUE_NULL MNOPROTO { int setsid(void); } +148 AUE_NULL UNIMPL quotactl +149 AUE_NULL MNOPROTO { int oquota(void); } +150 AUE_NULL NOPROTO { int ogetsockname(int fdec, caddr_t asa, \ + int *alen);} ogetsockname \ + getsockname_args int +151 AUE_NULL UNIMPL +152 AUE_NULL UNIMPL +153 AUE_NULL UNIMPL +154 AUE_NULL UNIMPL +155 AUE_NULL UNIMPL +156 AUE_NULL MSTD { int osf1_sigaction(long signum, \ + struct osf1_sigaction *nsa, \ + struct osf1_sigaction *osa, \ + void *sigtramp); } +157 AUE_NULL UNIMPL +158 AUE_NULL UNIMPL nfssvc +159 AUE_NULL NOPROTO { int ogetdirentries(int fd, char *buf, \ + u_int count, long *basep); } +160 AUE_NULL STD { int osf1_statfs(char *path, \ + struct osf1_statfs *buf, int len); } +161 AUE_NULL STD { int osf1_fstatfs(int fd, \ + struct osf1_statfs *buf, int len); } +162 AUE_NULL UNIMPL +163 AUE_NULL UNIMPL async_daemon +164 AUE_NULL UNIMPL getfh +165 AUE_NULL MNOPROTO { int getdomainname(char *domainname, \ + int len); } +166 AUE_NULL MNOPROTO { int setdomainname(char *domainname, \ + int len); } +167 AUE_NULL UNIMPL +168 AUE_NULL UNIMPL +169 AUE_NULL UNIMPL exportfs +170 AUE_NULL UNIMPL +171 AUE_NULL UNIMPL +172 AUE_NULL UNIMPL alt msgctl +173 AUE_NULL UNIMPL alt msgget +174 AUE_NULL UNIMPL alt msgrcv +175 AUE_NULL UNIMPL alt msgsnd +176 AUE_NULL UNIMPL alt semctl +177 AUE_NULL UNIMPL alt semget +178 AUE_NULL UNIMPL alt semop +179 AUE_NULL UNIMPL alt uname +180 AUE_NULL UNIMPL +181 AUE_NULL UNIMPL alt plock +182 AUE_NULL UNIMPL lockf +183 AUE_NULL UNIMPL +184 AUE_NULL UNIMPL getmnt +185 AUE_NULL UNIMPL +186 AUE_NULL UNIMPL unmount +187 AUE_NULL UNIMPL alt sigpending +188 AUE_NULL UNIMPL alt setsid +189 AUE_NULL UNIMPL +190 AUE_NULL UNIMPL +191 AUE_NULL UNIMPL +192 AUE_NULL UNIMPL +193 AUE_NULL UNIMPL +194 AUE_NULL UNIMPL +195 AUE_NULL UNIMPL +196 AUE_NULL UNIMPL +197 AUE_NULL UNIMPL +198 AUE_NULL UNIMPL +199 AUE_NULL UNIMPL swapon +200 AUE_NULL MNOPROTO { int msgctl(int msqid, int cmd, \ + struct msqid_ds *buf); } +201 AUE_NULL MNOPROTO { int msgget(key_t key, int msgflg); } +202 AUE_NULL MNOPROTO { int msgrcv(int msqid, void *msgp, \ + size_t msgsz, long msgtyp, int msgflg); } +203 AUE_NULL MNOPROTO { int msgsnd(int msqid, void *msgp, \ + size_t msgsz, int msgflg); } +204 AUE_NULL MNOPROTO { int __semctl(int semid, int semnum, \ + int cmd, union semun *arg); } +205 AUE_NULL MNOPROTO { int semget(key_t key, int nsems, \ + int semflg); } +206 AUE_NULL MNOPROTO { int semop(int semid, struct sembuf *sops, \ + u_int nsops); } +207 AUE_NULL MNOPROTO { int uname(struct utsname *name); } +208 AUE_NULL NOPROTO { int lchown(char *path, int uid, int gid); } +209 AUE_NULL MNOPROTO { int shmat(int shmid, void *shmaddr, \ + int shmflg); } +210 AUE_NULL MNOPROTO { int shmctl(int shmid, int cmd, \ + struct shmid_ds *buf); } +211 AUE_NULL MNOPROTO { int shmdt(void *shmaddr); } +212 AUE_NULL MNOPROTO { int shmget(key_t key, int size, \ + int shmflg); } +213 AUE_NULL UNIMPL mvalid +214 AUE_NULL UNIMPL getaddressconf +215 AUE_NULL UNIMPL msleep +216 AUE_NULL UNIMPL mwakeup +217 AUE_NULL STD { int osf1_msync(caddr_t addr, size_t len, \ + int flags); } +218 AUE_NULL MSTD {int osf1_signal(int signum, void *handler); } +219 AUE_NULL UNIMPL utc gettime +220 AUE_NULL UNIMPL utc adjtime +221 AUE_NULL UNIMPL +222 AUE_NULL UNIMPL security +223 AUE_NULL UNIMPL kloadcall +224 AUE_NULL UNIMPL +225 AUE_NULL UNIMPL +226 AUE_NULL UNIMPL +227 AUE_NULL UNIMPL +228 AUE_NULL UNIMPL +229 AUE_NULL UNIMPL +230 AUE_NULL UNIMPL +231 AUE_NULL UNIMPL +232 AUE_NULL UNIMPL +233 AUE_NULL MNOPROTO { pid_t getpgid(pid_t pid); } +234 AUE_NULL MNOPROTO { pid_t getsid(pid_t pid); } +235 AUE_NULL MSTD { int osf1_sigaltstack( \ + struct osf1_sigaltstack *nss, \ + struct osf1_sigaltstack *oss); } +236 AUE_NULL UNIMPL waitid +237 AUE_NULL UNIMPL priocntlset +238 AUE_NULL UNIMPL sigsendset +239 AUE_NULL UNIMPL +240 AUE_NULL UNIMPL msfs_syscall +241 AUE_NULL MSTD { int osf1_sysinfo(int cmd, char *buf, \ + long count); } +242 AUE_NULL UNIMPL uadmin +243 AUE_NULL UNIMPL fuser +244 AUE_NULL STD { int osf1_proplist_syscall(void); } +245 AUE_NULL STD { int osf1_ntpadjtime(void *tp); } +246 AUE_NULL STD { int osf1_ntpgettime(void *tp); } +247 AUE_NULL STD { int osf1_pathconf(char *path, int name); } +248 AUE_NULL STD { int osf1_fpathconf(int fd, int name); } +249 AUE_NULL UNIMPL +250 AUE_NULL STD { int osf1_uswitch(long cmd, long mask); } +251 AUE_NULL STD { int osf1_usleep_thread( \ + struct timeval *sleep, \ + struct timeval *slept); } +252 AUE_NULL UNIMPL audcntl +253 AUE_NULL UNIMPL audgen +254 AUE_NULL UNIMPL sysfs +255 AUE_NULL UNIMPL +256 AUE_NULL STD { int osf1_getsysinfo(u_long op, \ + caddr_t buffer, u_long nbytes, \ + caddr_t arg, u_long flag); } +257 AUE_NULL STD { int osf1_setsysinfo(u_long op, \ + caddr_t buffer, u_long nbytes, \ + caddr_t arg, u_long flag); } +258 AUE_NULL UNIMPL afs_syscall +259 AUE_NULL UNIMPL swapctl +260 AUE_NULL UNIMPL memcntl +261 AUE_NULL UNIMPL +262 AUE_NULL UNIMPL +263 AUE_NULL UNIMPL +264 AUE_NULL UNIMPL +265 AUE_NULL UNIMPL +266 AUE_NULL UNIMPL +267 AUE_NULL UNIMPL +268 AUE_NULL UNIMPL +269 AUE_NULL UNIMPL +270 AUE_NULL UNIMPL +271 AUE_NULL UNIMPL +272 AUE_NULL UNIMPL +273 AUE_NULL UNIMPL +274 AUE_NULL UNIMPL +275 AUE_NULL UNIMPL +276 AUE_NULL UNIMPL +277 AUE_NULL UNIMPL +278 AUE_NULL UNIMPL +279 AUE_NULL UNIMPL +280 AUE_NULL UNIMPL +281 AUE_NULL UNIMPL +282 AUE_NULL UNIMPL +283 AUE_NULL UNIMPL +284 AUE_NULL UNIMPL +285 AUE_NULL UNIMPL +286 AUE_NULL UNIMPL +287 AUE_NULL UNIMPL +288 AUE_NULL UNIMPL +289 AUE_NULL UNIMPL +290 AUE_NULL UNIMPL +291 AUE_NULL UNIMPL +292 AUE_NULL UNIMPL +293 AUE_NULL UNIMPL +294 AUE_NULL UNIMPL +295 AUE_NULL UNIMPL +296 AUE_NULL UNIMPL +297 AUE_NULL UNIMPL +298 AUE_NULL UNIMPL +299 AUE_NULL UNIMPL +300 AUE_NULL UNIMPL Index: ./amd64/linux32/syscalls.master =================================================================== RCS file: /home/ncvs/src/sys/amd64/linux32/syscalls.master,v retrieving revision 1.2 diff -u -r1.2 syscalls.master --- ./amd64/linux32/syscalls.master 7 Mar 2005 00:18:06 -0000 1.2 +++ ./amd64/linux32/syscalls.master 29 May 2005 22:58:58 -0000 @@ -6,6 +6,11 @@ ; Columns: number type nargs name alt{name,tag,rtyp}/comments ; number system call number, must be in order +; audit the audit event associated with the system call +; A value of AUE_NULL means no auditing, but it also means that +; there is no audit event for the call at this time. For the +; case where the event exists, but we don't want auditing, the +; event should be #defined to AUE_NULL in audit_kevents.h. ; type one of STD, OBSOL, UNIMPL, COMPAT ; name psuedo-prototype of syscall routine ; If one of the following alts is different, then all appear: @@ -34,316 +39,396 @@ ; #ifdef's, etc. may be included, and are copied to the output files. -0 UNIMPL setup -1 MNOPROTO { void sys_exit(int rval); } exit sys_exit_args void -2 MSTD { int linux_fork(void); } -3 MNOPROTO { int read(int fd, char *buf, u_int nbyte); } -4 MNOPROTO { int write(int fd, char *buf, u_int nbyte); } -5 STD { int linux_open(char *path, l_int flags, l_int mode); } -6 MNOPROTO { int close(int fd); } -7 MSTD { int linux_waitpid(l_pid_t pid, l_int *status, l_int options); } -8 STD { int linux_creat(char *path, l_int mode); } -9 STD { int linux_link(char *path, char *to); } -10 STD { int linux_unlink(char *path); } -11 STD { int linux_execve(char *path, char **argp, char **envp); } -12 STD { int linux_chdir(char *path); } -13 STD { int linux_time(l_time_t *tm); } -14 STD { int linux_mknod(char *path, l_int mode, l_dev_t dev); } -15 STD { int linux_chmod(char *path, l_mode_t mode); } -16 STD { int linux_lchown16(char *path, l_uid16_t uid, \ - l_gid16_t gid); } -17 UNIMPL break -18 UNIMPL stat -19 STD { int linux_lseek(l_uint fdes, l_off_t off, l_int whence); } -20 MSTD { int linux_getpid(void); } -21 STD { int linux_mount(char *specialfile, char *dir, \ - char *filesystemtype, l_ulong rwflag, \ - void *data); } -22 STD { int linux_oldumount(char *path); } -23 MSTD { int linux_setuid16(l_uid16_t uid); } -24 MSTD { int linux_getuid16(void); } -25 STD { int linux_stime(void); } -26 MSTD { int linux_ptrace(l_long req, l_long pid, l_long addr, \ - l_long data); } -27 STD { int linux_alarm(l_uint secs); } -28 UNIMPL fstat -29 MSTD { int linux_pause(void); } -30 STD { int linux_utime(char *fname, struct l_utimbuf *times); } -31 UNIMPL stty -32 UNIMPL gtty -33 STD { int linux_access(char *path, l_int flags); } -34 MSTD { int linux_nice(l_int inc); } -35 UNIMPL ftime -36 NOPROTO { int sync(void); } -37 MSTD { int linux_kill(l_int pid, l_int signum); } -38 STD { int linux_rename(char *from, char *to); } -39 STD { int linux_mkdir(char *path, l_int mode); } -40 STD { int linux_rmdir(char *path); } -41 MNOPROTO { int dup(u_int fd); } -42 MSTD { int linux_pipe(l_ulong *pipefds); } -43 STD { int linux_times(struct l_times_argv *buf); } -44 UNIMPL prof -45 STD { int linux_brk(l_ulong dsend); } -46 MSTD { int linux_setgid16(l_gid16_t gid); } -47 MSTD { int linux_getgid16(void); } -48 MSTD { int linux_signal(l_int sig, l_handler_t handler); } -49 MSTD { int linux_geteuid16(void); } -50 MSTD { int linux_getegid16(void); } -51 MNOPROTO { int acct(char *path); } -52 STD { int linux_umount(char *path, l_int flags); } -53 UNIMPL lock -54 STD { int linux_ioctl(l_uint fd, l_uint cmd, uintptr_t arg); } -55 STD { int linux_fcntl(l_uint fd, l_uint cmd, uintptr_t arg); } -56 UNIMPL mpx -57 MNOPROTO { int setpgid(int pid, int pgid); } -58 UNIMPL ulimit -59 STD { int linux_olduname(void); } -60 MNOPROTO { int umask(int newmask); } -61 NOPROTO { int chroot(char *path); } -62 STD { int linux_ustat(l_dev_t dev, struct l_ustat *ubuf); } -63 MNOPROTO { int dup2(u_int from, u_int to); } -64 MNOPROTO { int getppid(void); } -65 MNOPROTO { int getpgrp(void); } -66 MNOPROTO { int setsid(void); } -67 MSTD { int linux_sigaction(l_int sig, l_osigaction_t *nsa, \ - l_osigaction_t *osa); } -68 MSTD { int linux_sgetmask(void); } -69 MSTD { int linux_ssetmask(l_osigset_t mask); } -70 MSTD { int linux_setreuid16(l_uid16_t ruid, l_uid16_t euid); } -71 MSTD { int linux_setregid16(l_gid16_t rgid, l_gid16_t egid); } -72 MSTD { int linux_sigsuspend(l_int hist0, l_int hist1, \ - l_osigset_t mask); } -73 MSTD { int linux_sigpending(l_osigset_t *mask); } -74 MNOPROTO { int osethostname(char *hostname, u_int len); } \ - osethostname sethostname_args int -75 MSTD { int linux_setrlimit(l_uint resource, struct l_rlimit *rlim); } -76 MSTD { int linux_old_getrlimit(l_uint resource, \ - struct l_rlimit *rlim); } -77 MSTD { int linux_getrusage(int who, struct l_rusage *rusage); } -78 MSTD { int linux_gettimeofday(struct l_timeval *tp, \ - struct timezone *tzp); } -79 MSTD { int linux_settimeofday(struct l_timeval *tp, \ - struct timezone *tzp); } -80 MSTD { int linux_getgroups16(l_uint gidsetsize, l_gid16_t *gidset); } -81 MSTD { int linux_setgroups16(l_uint gidsetsize, l_gid16_t *gidset); } -82 STD { int linux_old_select(struct l_old_select_argv *ptr); } -83 STD { int linux_symlink(char *path, char *to); } -84 UNIMPL ostat -85 STD { int linux_readlink(char *name, char *buf, l_int count); } -86 UNIMPL linux_uselib -87 NOPROTO { int swapon(char *name); } -88 STD { int linux_reboot(l_int magic1, l_int magic2, l_uint cmd, \ +0 AUE_NULL UNIMPL setup +1 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit \ + sys_exit_args void +2 AUE_NULL MSTD { int linux_fork(void); } +3 AUE_NULL MNOPROTO { int read(int fd, char *buf, \ + u_int nbyte); } +4 AUE_NULL MNOPROTO { int write(int fd, char *buf, \ + u_int nbyte); } +5 AUE_NULL STD { int linux_open(char *path, l_int flags, \ + l_int mode); } +6 AUE_NULL MNOPROTO { int close(int fd); } +7 AUE_NULL MSTD { int linux_waitpid(l_pid_t pid, \ + l_int *status, l_int options); } +8 AUE_NULL STD { int linux_creat(char *path, l_int mode); } +9 AUE_NULL STD { int linux_link(char *path, char *to); } +10 AUE_NULL STD { int linux_unlink(char *path); } +11 AUE_NULL STD { int linux_execve(char *path, char **argp, \ + char **envp); } +12 AUE_NULL STD { int linux_chdir(char *path); } +13 AUE_NULL STD { int linux_time(l_time_t *tm); } +14 AUE_NULL STD { int linux_mknod(char *path, l_int mode, \ + l_dev_t dev); } +15 AUE_NULL STD { int linux_chmod(char *path, \ + l_mode_t mode); } +16 AUE_NULL STD { int linux_lchown16(char *path, \ + l_uid16_t uid, l_gid16_t gid); } +17 AUE_NULL UNIMPL break +18 AUE_NULL UNIMPL stat +19 AUE_NULL STD { int linux_lseek(l_uint fdes, l_off_t off, \ + l_int whence); } +20 AUE_NULL MSTD { int linux_getpid(void); } +21 AUE_NULL STD { int linux_mount(char *specialfile, \ + char *dir, char *filesystemtype, \ + l_ulong rwflag, void *data); } +22 AUE_NULL STD { int linux_oldumount(char *path); } +23 AUE_NULL MSTD { int linux_setuid16(l_uid16_t uid); } +24 AUE_NULL MSTD { int linux_getuid16(void); } +25 AUE_NULL STD { int linux_stime(void); } +26 AUE_NULL MSTD { int linux_ptrace(l_long req, l_long pid, \ + l_long addr, l_long data); } +27 AUE_NULL STD { int linux_alarm(l_uint secs); } +28 AUE_NULL UNIMPL fstat +29 AUE_NULL MSTD { int linux_pause(void); } +30 AUE_NULL STD { int linux_utime(char *fname, \ + struct l_utimbuf *times); } +31 AUE_NULL UNIMPL stty +32 AUE_NULL UNIMPL gtty +33 AUE_NULL STD { int linux_access(char *path, l_int flags); } +34 AUE_NULL MSTD { int linux_nice(l_int inc); } +35 AUE_NULL UNIMPL ftime +36 AUE_NULL NOPROTO { int sync(void); } +37 AUE_NULL MSTD { int linux_kill(l_int pid, l_int signum); } +38 AUE_NULL STD { int linux_rename(char *from, char *to); } +39 AUE_NULL STD { int linux_mkdir(char *path, l_int mode); } +40 AUE_NULL STD { int linux_rmdir(char *path); } +41 AUE_NULL MNOPROTO { int dup(u_int fd); } +42 AUE_NULL MSTD { int linux_pipe(l_ulong *pipefds); } +43 AUE_NULL STD { int linux_times(struct l_times_argv *buf); } +44 AUE_NULL UNIMPL prof +45 AUE_NULL STD { int linux_brk(l_ulong dsend); } +46 AUE_NULL MSTD { int linux_setgid16(l_gid16_t gid); } +47 AUE_NULL MSTD { int linux_getgid16(void); } +48 AUE_NULL MSTD { int linux_signal(l_int sig, \ + l_handler_t handler); } +49 AUE_NULL MSTD { int linux_geteuid16(void); } +50 AUE_NULL MSTD { int linux_getegid16(void); } +51 AUE_NULL MNOPROTO { int acct(char *path); } +52 AUE_NULL STD { int linux_umount(char *path, l_int flags); } +53 AUE_NULL UNIMPL lock +54 AUE_NULL STD { int linux_ioctl(l_uint fd, l_uint cmd, \ + uintptr_t arg); } +55 AUE_NULL STD { int linux_fcntl(l_uint fd, l_uint cmd, \ + uintptr_t arg); } +56 AUE_NULL UNIMPL mpx +57 AUE_NULL MNOPROTO { int setpgid(int pid, int pgid); } +58 AUE_NULL UNIMPL ulimit +59 AUE_NULL STD { int linux_olduname(void); } +60 AUE_NULL MNOPROTO { int umask(int newmask); } +61 AUE_NULL NOPROTO { int chroot(char *path); } +62 AUE_NULL STD { int linux_ustat(l_dev_t dev, \ + struct l_ustat *ubuf); } +63 AUE_NULL MNOPROTO { int dup2(u_int from, u_int to); } +64 AUE_NULL MNOPROTO { int getppid(void); } +65 AUE_NULL MNOPROTO { int getpgrp(void); } +66 AUE_NULL MNOPROTO { int setsid(void); } +67 AUE_NULL MSTD { int linux_sigaction(l_int sig, \ + l_osigaction_t *nsa, \ + l_osigaction_t *osa); } +68 AUE_NULL MSTD { int linux_sgetmask(void); } +69 AUE_NULL MSTD { int linux_ssetmask(l_osigset_t mask); } +70 AUE_NULL MSTD { int linux_setreuid16(l_uid16_t ruid, \ + l_uid16_t euid); } +71 AUE_NULL MSTD { int linux_setregid16(l_gid16_t rgid, \ + l_gid16_t egid); } +72 AUE_NULL MSTD { int linux_sigsuspend(l_int hist0, \ + l_int hist1, l_osigset_t mask); } +73 AUE_NULL MSTD { int linux_sigpending(l_osigset_t *mask); } +74 AUE_NULL MNOPROTO { int osethostname(char *hostname, \ + u_int len); } osethostname \ + sethostname_args int +75 AUE_NULL MSTD { int linux_setrlimit(l_uint resource, \ + struct l_rlimit *rlim); } +76 AUE_NULL MSTD { int linux_old_getrlimit(l_uint resource, \ + struct l_rlimit *rlim); } +77 AUE_NULL MSTD { int linux_getrusage(int who, \ + struct l_rusage *rusage); } +78 AUE_NULL MSTD { int linux_gettimeofday( \ + struct l_timeval *tp, \ + struct timezone *tzp); } +79 AUE_NULL MSTD { int linux_settimeofday( \ + struct l_timeval *tp, \ + struct timezone *tzp); } +80 AUE_NULL MSTD { int linux_getgroups16(l_uint gidsetsize, \ + l_gid16_t *gidset); } +81 AUE_NULL MSTD { int linux_setgroups16(l_uint gidsetsize, \ + l_gid16_t *gidset); } +82 AUE_NULL STD { int linux_old_select( \ + struct l_old_select_argv *ptr); } +83 AUE_NULL STD { int linux_symlink(char *path, \ + char *to); } +84 AUE_NULL UNIMPL ostat +85 AUE_NULL STD { int linux_readlink(char *name, \ + char *buf, l_int count); } +86 AUE_NULL UNIMPL linux_uselib +87 AUE_NULL NOPROTO { int swapon(char *name); } +88 AUE_NULL STD { int linux_reboot(l_int magic1, \ + l_int magic2, l_uint cmd, \ void *arg); } -89 STD { int linux_readdir(l_uint fd, struct l_dirent *dent, \ - l_uint count); } -90 STD { int linux_mmap(struct l_mmap_argv *ptr); } -91 NOPROTO { int munmap(caddr_t addr, int len); } -92 STD { int linux_truncate(char *path, l_ulong length); } -93 NOPROTO { int oftruncate(int fd, long length); } -94 NOPROTO { int fchmod(int fd, int mode); } -95 NOPROTO { int fchown(int fd, int uid, int gid); } -96 MNOPROTO { int getpriority(int which, int who); } -97 MNOPROTO { int setpriority(int which, int who, int prio); } -98 UNIMPL profil -99 STD { int linux_statfs(char *path, struct l_statfs_buf *buf); } -100 STD { int linux_fstatfs(l_uint fd, struct l_statfs_buf *buf); } -101 UNIMPL ioperm -102 STD { int linux_socketcall(l_int what, l_ulong args); } -103 STD { int linux_syslog(l_int type, char *buf, l_int len); } -104 STD { int linux_setitimer(l_int which, struct l_itimerval *itv, \ - struct l_itimerval *oitv); } -105 STD { int linux_getitimer(l_int which, struct l_itimerval *itv); } -106 STD { int linux_newstat(char *path, struct l_newstat *buf); } -107 STD { int linux_newlstat(char *path, struct l_newstat *buf); } -108 STD { int linux_newfstat(l_uint fd, struct l_newstat *buf); } -109 STD { int linux_uname(void); } -110 UNIMPL iopl -111 STD { int linux_vhangup(void); } -112 UNIMPL idle -113 UNIMPL vm86old -114 MSTD { int linux_wait4(l_pid_t pid, l_uint *status, \ - l_int options, struct l_rusage *rusage); } -115 STD { int linux_swapoff(void); } -116 STD { int linux_sysinfo(struct l_sysinfo *info); } -117 STD { int linux_ipc(l_uint what, l_int arg1, l_int arg2, \ - l_int arg3, void *ptr, l_long arg5); } -118 NOPROTO { int fsync(int fd); } -119 MSTD { int linux_sigreturn(struct l_sigframe *sfp); } -120 MSTD { int linux_clone(l_int flags, void *stack); } -121 MNOPROTO { int setdomainname(char *name, int len); } -122 STD { int linux_newuname(struct l_new_utsname *buf); } -123 UNIMPL modify_ldt -124 STD { int linux_adjtimex(void); } -125 MSTD { int linux_mprotect(caddr_t addr, int len, int prot); } -126 MSTD { int linux_sigprocmask(l_int how, l_osigset_t *mask, \ - l_osigset_t *omask); } -127 STD { int linux_create_module(void); } -128 STD { int linux_init_module(void); } -129 STD { int linux_delete_module(void); } -130 STD { int linux_get_kernel_syms(void); } -131 STD { int linux_quotactl(void); } -132 NOPROTO { int getpgid(int pid); } -133 NOPROTO { int fchdir(int fd); } -134 STD { int linux_bdflush(void); } -135 STD { int linux_sysfs(l_int option, l_ulong arg1, l_ulong arg2); } -136 STD { int linux_personality(l_ulong per); } -137 UNIMPL afs_syscall -138 STD { int linux_setfsuid16(l_uid16_t uid); } -139 STD { int linux_setfsgid16(l_gid16_t gid); } -140 STD { int linux_llseek(l_int fd, l_ulong ohigh, l_ulong olow, \ - l_loff_t *res, l_uint whence); } -141 STD { int linux_getdents(l_uint fd, void *dent, l_uint count); } -142 STD { int linux_select(l_int nfds, l_fd_set *readfds, \ - l_fd_set *writefds, l_fd_set *exceptfds, \ - struct l_timeval *timeout); } -143 NOPROTO { int flock(int fd, int how); } -144 STD { int linux_msync(l_ulong addr, l_size_t len, l_int fl); } -145 STD { int linux_readv(int fd, struct iovec32 *iovp, \ - u_int iovcnt); } -146 STD { int linux_writev(int fd, struct iovec32 *iovp, \ - u_int iovcnt); } -147 MSTD { int linux_getsid(l_pid_t pid); } -148 STD { int linux_fdatasync(l_uint fd); } -149 STD { int linux_sysctl(struct l___sysctl_args *args); } -150 MNOPROTO { int mlock(const void *addr, size_t len); } -151 MNOPROTO { int munlock(const void *addr, size_t len); } -152 MNOPROTO { int mlockall(int how); } -153 MNOPROTO { int munlockall(void); } -154 MNOPROTO { int sched_setparam(pid_t pid, \ - const struct sched_param *param); } -155 MNOPROTO { int sched_getparam(pid_t pid, \ - struct sched_param *param); } -156 MSTD { int linux_sched_setscheduler(l_pid_t pid, \ - l_int policy, struct l_sched_param *param); } -157 MSTD { int linux_sched_getscheduler(l_pid_t pid); } -158 NOPROTO { int sched_yield(void); } -159 MSTD { int linux_sched_get_priority_max(l_int policy); } -160 MSTD { int linux_sched_get_priority_min(l_int policy); } -161 MSTD { int linux_sched_rr_get_interval(l_pid_t pid, \ - struct l_timespec *interval); } -162 MSTD { int linux_nanosleep(const struct l_timespec *rqtp, \ - struct l_timespec *rmtp); } -163 STD { int linux_mremap(l_ulong addr, l_ulong old_len, \ - l_ulong new_len, l_ulong flags, \ - l_ulong new_addr); } -164 MSTD { int linux_setresuid16(l_uid16_t ruid, \ - l_uid16_t euid, l_uid16_t suid); } -165 MSTD { int linux_getresuid16(l_uid16_t *ruid, \ - l_uid16_t *euid, l_uid16_t *suid); } -166 UNIMPL vm86 -167 STD { int linux_query_module(void); } -168 NOPROTO { int poll(struct pollfd*, unsigned int nfds, int timeout); } -169 STD { int linux_nfsservctl(void); } -170 MSTD { int linux_setresgid16(l_gid16_t rgid, \ - l_gid16_t egid, l_gid16_t sgid); } -171 MSTD { int linux_getresgid16(l_gid16_t *rgid, \ - l_gid16_t *egid, l_gid16_t *sgid); } -172 STD { int linux_prctl(void); } -173 STD { int linux_rt_sigreturn(struct l_ucontext *ucp); } -174 MSTD { int linux_rt_sigaction(l_int sig, \ - l_sigaction_t *act, l_sigaction_t *oact, \ - l_size_t sigsetsize); } -175 MSTD { int linux_rt_sigprocmask(l_int how, \ - l_sigset_t *mask, l_sigset_t *omask, \ - l_size_t sigsetsize); } -176 STD { int linux_rt_sigpending(void); } -177 STD { int linux_rt_sigtimedwait(void); } -178 STD { int linux_rt_sigqueueinfo(void); } -179 MSTD { int linux_rt_sigsuspend(l_sigset_t *newset, \ - l_size_t sigsetsize); } -180 STD { int linux_pread(l_uint fd, char *buf, \ - l_size_t nbyte, l_loff_t offset); } -181 STD { int linux_pwrite(l_uint fd, char *buf, \ - l_size_t nbyte, l_loff_t offset); } -182 STD { int linux_chown16(char *path, l_uid16_t uid, l_gid16_t gid); } -183 STD { int linux_getcwd(char *buf, l_ulong bufsize); } -184 STD { int linux_capget(void); } -185 STD { int linux_capset(void); } -186 STD { int linux_sigaltstack(l_stack_t *uss, l_stack_t *uoss); } -187 STD { int linux_sendfile(void); } -188 UNIMPL getpmsg -189 UNIMPL putpmsg -190 MSTD { int linux_vfork(void); } -191 MSTD { int linux_getrlimit(l_uint resource, struct l_rlimit *rlim); } -192 STD { int linux_mmap2(l_ulong addr, l_ulong len, \ - l_ulong prot, l_ulong flags, l_ulong fd, \ - l_ulong pgoff); } -193 STD { int linux_truncate64(char *path, l_loff_t length); } -194 STD { int linux_ftruncate64(l_uint fd, l_loff_t length); } -195 STD { int linux_stat64(char *filename, \ - struct l_stat64 *statbuf, l_long flags); } -196 STD { int linux_lstat64(char *filename, \ - struct l_stat64 *statbuf, l_long flags); } -197 STD { int linux_fstat64(l_ulong fd, \ - struct l_stat64 *statbuf, l_long flags); } -198 STD { int linux_lchown(char *path, l_uid_t uid, \ - l_gid_t gid); } -199 MSTD { int linux_getuid(void); } -200 MSTD { int linux_getgid(void); } -201 MNOPROTO { int geteuid(void); } -202 MNOPROTO { int getegid(void); } -203 MNOPROTO { int setreuid(uid_t ruid, uid_t euid); } -204 MNOPROTO { int setregid(gid_t rgid, gid_t egid); } -205 MSTD { int linux_getgroups(l_int gidsetsize, l_gid_t *grouplist); } -206 MSTD { int linux_setgroups(l_int gidsetsize, l_gid_t *grouplist); } -207 NODEF fchown fchown fchown_args int -208 MNOPROTO { int setresuid(uid_t ruid, uid_t euid, uid_t suid); } -209 MNOPROTO { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); } -210 MNOPROTO { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); } -211 MNOPROTO { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } -212 STD { int linux_chown(char *path, l_uid_t uid, l_gid_t gid); } -213 MNOPROTO { int setuid(uid_t uid); } -214 MNOPROTO { int setgid(gid_t gid); } -215 STD { int linux_setfsuid(l_uid_t uid); } -216 STD { int linux_setfsgid(l_gid_t gid); } -217 STD { int linux_pivot_root(char *new_root, char *put_old); } -218 STD { int linux_mincore(l_ulong start, l_size_t len, u_char *vec); } -219 MNOPROTO { int madvise(void *addr, size_t len, int behav); } -220 STD { int linux_getdents64(l_uint fd, void *dirent, l_uint count); } -221 STD { int linux_fcntl64(l_uint fd, l_uint cmd, uintptr_t arg); } -222 UNIMPL -223 UNIMPL -224 MNOPROTO { int linux_getpid(void); } gettid linux_getpid_args void -225 UNIMPL linux_readahead -226 STD { int linux_setxattr(void); } -227 STD { int linux_lsetxattr(void); } -228 STD { int linux_fsetxattr(void); } -229 STD { int linux_getxattr(void); } -230 STD { int linux_lgetxattr(void); } -231 STD { int linux_fgetxattr(void); } -232 STD { int linux_listxattr(void); } -233 STD { int linux_llistxattr(void); } -234 STD { int linux_flistxattr(void); } -235 STD { int linux_removexattr(void); } -236 STD { int linux_lremovexattr(void); } -237 STD { int linux_fremovexattr(void); } -238 UNIMPL linux_tkill -239 UNIMPL linux_sendfile64 -240 UNIMPL linux_futex -241 UNIMPL linux_sched_setaffinity -242 UNIMPL linux_sched_getaffinity -243 UNIMPL linux_set_thread_area -244 UNIMPL linux_get_thread_area -245 UNIMPL linux_io_setup -246 UNIMPL linux_io_destroy -247 UNIMPL linux_io_getevents -248 UNIMPL linux_io_submit -249 UNIMPL linux_io_cancel -250 STD { int linux_fadvise64(void); } -251 UNIMPL -252 MNOPROTO { void sys_exit(int rval); } exit_group sys_exit_args void -253 UNIMPL linux_lookup_dcookie -254 UNIMPL linux_epoll_create -255 UNIMPL linux_epoll_ctl -256 UNIMPL linux_epoll_wait -257 UNIMPL linux_remap_file_pages -258 UNIMPL linux_set_tid_address -259 UNIMPL linux_timer_create -260 UNIMPL linux_timer_settime -261 UNIMPL linux_timer_gettime -262 UNIMPL linux_timer_getoverrun -263 UNIMPL linux_timer_delete -264 UNIMPL linux_clock_settime -265 UNIMPL linux_clock_gettime -266 UNIMPL linux_clock_getres -267 UNIMPL linux_clock_nanosleep +89 AUE_NULL STD { int linux_readdir(l_uint fd, \ + struct l_dirent *dent, l_uint count); } +90 AUE_NULL STD { int linux_mmap(struct l_mmap_argv *ptr); } +91 AUE_NULL NOPROTO { int munmap(caddr_t addr, int len); } +92 AUE_NULL STD { int linux_truncate(char *path, \ + l_ulong length); } +93 AUE_NULL NOPROTO { int oftruncate(int fd, long length); } +94 AUE_NULL NOPROTO { int fchmod(int fd, int mode); } +95 AUE_NULL NOPROTO { int fchown(int fd, int uid, int gid); } +96 AUE_NULL MNOPROTO { int getpriority(int which, int who); } +97 AUE_NULL MNOPROTO { int setpriority(int which, int who, \ + int prio); } +98 AUE_NULL UNIMPL profil +99 AUE_NULL STD { int linux_statfs(char *path, \ + struct l_statfs_buf *buf); } +100 AUE_NULL STD { int linux_fstatfs(l_uint fd, \ + struct l_statfs_buf *buf); } +101 AUE_NULL UNIMPL ioperm +102 AUE_NULL STD { int linux_socketcall(l_int what, \ + l_ulong args); } +103 AUE_NULL STD { int linux_syslog(l_int type, char *buf, \ + l_int len); } +104 AUE_NULL STD { int linux_setitimer(l_int which, \ + struct l_itimerval *itv, \ + struct l_itimerval *oitv); } +105 AUE_NULL STD { int linux_getitimer(l_int which, \ + struct l_itimerval *itv); } +106 AUE_NULL STD { int linux_newstat(char *path, \ + struct l_newstat *buf); } +107 AUE_NULL STD { int linux_newlstat(char *path, \ + struct l_newstat *buf); } +108 AUE_NULL STD { int linux_newfstat(l_uint fd, \ + struct l_newstat *buf); } +109 AUE_NULL STD { int linux_uname(void); } +110 AUE_NULL UNIMPL iopl +111 AUE_NULL STD { int linux_vhangup(void); } +112 AUE_NULL UNIMPL idle +113 AUE_NULL UNIMPL vm86old +114 AUE_NULL MSTD { int linux_wait4(l_pid_t pid, \ + l_uint *status, l_int options, \ + struct l_rusage *rusage); } +115 AUE_NULL STD { int linux_swapoff(void); } +116 AUE_NULL STD { int linux_sysinfo(struct l_sysinfo *info); } +117 AUE_NULL STD { int linux_ipc(l_uint what, l_int arg1, \ + l_int arg2, l_int arg3, void *ptr, \ + l_long arg5); } +118 AUE_NULL NOPROTO { int fsync(int fd); } +119 AUE_NULL MSTD { int linux_sigreturn( \ + struct l_sigframe *sfp); } +120 AUE_NULL MSTD { int linux_clone(l_int flags, \ + void *stack); } +121 AUE_NULL MNOPROTO { int setdomainname(char *name, int len); } +122 AUE_NULL STD { int linux_newuname( \ + struct l_new_utsname *buf); } +123 AUE_NULL UNIMPL modify_ldt +124 AUE_NULL STD { int linux_adjtimex(void); } +125 AUE_NULL MSTD { int linux_mprotect(caddr_t addr, int len, \ + int prot); } +126 AUE_NULL MSTD { int linux_sigprocmask(l_int how, \ + l_osigset_t *mask, l_osigset_t *omask); } +127 AUE_NULL STD { int linux_create_module(void); } +128 AUE_NULL STD { int linux_init_module(void); } +129 AUE_NULL STD { int linux_delete_module(void); } +130 AUE_NULL STD { int linux_get_kernel_syms(void); } +131 AUE_NULL STD { int linux_quotactl(void); } +132 AUE_NULL NOPROTO { int getpgid(int pid); } +133 AUE_NULL NOPROTO { int fchdir(int fd); } +134 AUE_NULL STD { int linux_bdflush(void); } +135 AUE_NULL STD { int linux_sysfs(l_int option, \ + l_ulong arg1, l_ulong arg2); } +136 AUE_NULL STD { int linux_personality(l_ulong per); } +137 AUE_NULL UNIMPL afs_syscall +138 AUE_NULL STD { int linux_setfsuid16(l_uid16_t uid); } +139 AUE_NULL STD { int linux_setfsgid16(l_gid16_t gid); } +140 AUE_NULL STD { int linux_llseek(l_int fd, l_ulong ohigh, \ + l_ulong olow, l_loff_t *res, \ + l_uint whence); } +141 AUE_NULL STD { int linux_getdents(l_uint fd, void *dent, \ + l_uint count); } +142 AUE_NULL STD { int linux_select(l_int nfds, \ + l_fd_set *readfds, l_fd_set *writefds, \ + l_fd_set *exceptfds, \ + struct l_timeval *timeout); } +143 AUE_NULL NOPROTO { int flock(int fd, int how); } +144 AUE_NULL STD { int linux_msync(l_ulong addr, \ + l_size_t len, l_int fl); } +145 AUE_NULL STD { int linux_readv(int fd, \ + struct iovec32 *iovp, u_int iovcnt); } +146 AUE_NULL STD { int linux_writev(int fd, \ + struct iovec32 *iovp, u_int iovcnt); } +147 AUE_NULL MSTD { int linux_getsid(l_pid_t pid); } +148 AUE_NULL STD { int linux_fdatasync(l_uint fd); } +149 AUE_NULL STD { int linux_sysctl( \ + struct l___sysctl_args *args); } +150 AUE_NULL MNOPROTO { int mlock(const void *addr, size_t len); } +151 AUE_NULL MNOPROTO { int munlock(const void *addr, \ + size_t len); } +152 AUE_NULL MNOPROTO { int mlockall(int how); } +153 AUE_NULL MNOPROTO { int munlockall(void); } +154 AUE_NULL MNOPROTO { int sched_setparam(pid_t pid, \ + const struct sched_param *param); } +155 AUE_NULL MNOPROTO { int sched_getparam(pid_t pid, \ + struct sched_param *param); } +156 AUE_NULL MSTD { int linux_sched_setscheduler(l_pid_t pid, \ + l_int policy, \ + struct l_sched_param *param); } +157 AUE_NULL MSTD { int linux_sched_getscheduler(l_pid_t pid); } +158 AUE_NULL NOPROTO { int sched_yield(void); } +159 AUE_NULL MSTD { int linux_sched_get_priority_max( \ + l_int policy); } +160 AUE_NULL MSTD { int linux_sched_get_priority_min( \ + l_int policy); } +161 AUE_NULL MSTD { int linux_sched_rr_get_interval( \ + l_pid_t pid, \ + struct l_timespec *interval); } +162 AUE_NULL MSTD { int linux_nanosleep( \ + const struct l_timespec *rqtp, \ + struct l_timespec *rmtp); } +163 AUE_NULL STD { int linux_mremap(l_ulong addr, \ + l_ulong old_len, l_ulong new_len, \ + l_ulong flags, l_ulong new_addr); } +164 AUE_NULL MSTD { int linux_setresuid16(l_uid16_t ruid, \ + l_uid16_t euid, l_uid16_t suid); } +165 AUE_NULL MSTD { int linux_getresuid16(l_uid16_t *ruid, \ + l_uid16_t *euid, l_uid16_t *suid); } +166 AUE_NULL UNIMPL vm86 +167 AUE_NULL STD { int linux_query_module(void); } +168 AUE_NULL NOPROTO { int poll(struct pollfd*, \ + unsigned int nfds, int timeout); } +169 AUE_NULL STD { int linux_nfsservctl(void); } +170 AUE_NULL MSTD { int linux_setresgid16(l_gid16_t rgid, \ + l_gid16_t egid, l_gid16_t sgid); } +171 AUE_NULL MSTD { int linux_getresgid16(l_gid16_t *rgid, \ + l_gid16_t *egid, l_gid16_t *sgid); } +172 AUE_NULL STD { int linux_prctl(void); } +173 AUE_NULL STD { int linux_rt_sigreturn( \ + struct l_ucontext *ucp); } +174 AUE_NULL MSTD { int linux_rt_sigaction(l_int sig, \ + l_sigaction_t *act, l_sigaction_t *oact, \ + l_size_t sigsetsize); } +175 AUE_NULL MSTD { int linux_rt_sigprocmask(l_int how, \ + l_sigset_t *mask, l_sigset_t *omask, \ + l_size_t sigsetsize); } +176 AUE_NULL STD { int linux_rt_sigpending(void); } +177 AUE_NULL STD { int linux_rt_sigtimedwait(void); } +178 AUE_NULL STD { int linux_rt_sigqueueinfo(void); } +179 AUE_NULL MSTD { int linux_rt_sigsuspend( \ + l_sigset_t *newset, \ + l_size_t sigsetsize); } +180 AUE_NULL STD { int linux_pread(l_uint fd, char *buf, \ + l_size_t nbyte, l_loff_t offset); } +181 AUE_NULL STD { int linux_pwrite(l_uint fd, char *buf, \ + l_size_t nbyte, l_loff_t offset); } +182 AUE_NULL STD { int linux_chown16(char *path, \ + l_uid16_t uid, l_gid16_t gid); } +183 AUE_NULL STD { int linux_getcwd(char *buf, \ + l_ulong bufsize); } +184 AUE_NULL STD { int linux_capget(void); } +185 AUE_NULL STD { int linux_capset(void); } +186 AUE_NULL STD { int linux_sigaltstack(l_stack_t *uss, \ + l_stack_t *uoss); } +187 AUE_NULL STD { int linux_sendfile(void); } +188 AUE_NULL UNIMPL getpmsg +189 AUE_NULL UNIMPL putpmsg +190 AUE_NULL MSTD { int linux_vfork(void); } +191 AUE_NULL MSTD { int linux_getrlimit(l_uint resource, \ + struct l_rlimit *rlim); } +192 AUE_NULL STD { int linux_mmap2(l_ulong addr, l_ulong len, \ + l_ulong prot, l_ulong flags, l_ulong fd, \ + l_ulong pgoff); } +193 AUE_NULL STD { int linux_truncate64(char *path, \ + l_loff_t length); } +194 AUE_NULL STD { int linux_ftruncate64(l_uint fd, \ + l_loff_t length); } +195 AUE_NULL STD { int linux_stat64(char *filename, \ + struct l_stat64 *statbuf, l_long flags); } +196 AUE_NULL STD { int linux_lstat64(char *filename, \ + struct l_stat64 *statbuf, l_long flags); } +197 AUE_NULL STD { int linux_fstat64(l_ulong fd, \ + struct l_stat64 *statbuf, l_long flags); } +198 AUE_NULL STD { int linux_lchown(char *path, l_uid_t uid, \ + l_gid_t gid); } +199 AUE_NULL MSTD { int linux_getuid(void); } +200 AUE_NULL MSTD { int linux_getgid(void); } +201 AUE_NULL MNOPROTO { int geteuid(void); } +202 AUE_NULL MNOPROTO { int getegid(void); } +203 AUE_NULL MNOPROTO { int setreuid(uid_t ruid, uid_t euid); } +204 AUE_NULL MNOPROTO { int setregid(gid_t rgid, gid_t egid); } +205 AUE_NULL MSTD { int linux_getgroups(l_int gidsetsize, \ + l_gid_t *grouplist); } +206 AUE_NULL MSTD { int linux_setgroups(l_int gidsetsize, \ + l_gid_t *grouplist); } +207 AUE_NULL NODEF fchown fchown fchown_args int +208 AUE_NULL MNOPROTO { int setresuid(uid_t ruid, uid_t euid, \ + uid_t suid); } +209 AUE_NULL MNOPROTO { int getresuid(uid_t *ruid, uid_t *euid, \ + uid_t *suid); } +210 AUE_NULL MNOPROTO { int setresgid(gid_t rgid, gid_t egid, \ + gid_t sgid); } +211 AUE_NULL MNOPROTO { int getresgid(gid_t *rgid, gid_t *egid, \ + gid_t *sgid); } +212 AUE_NULL STD { int linux_chown(char *path, l_uid_t uid, \ + l_gid_t gid); } +213 AUE_NULL MNOPROTO { int setuid(uid_t uid); } +214 AUE_NULL MNOPROTO { int setgid(gid_t gid); } +215 AUE_NULL STD { int linux_setfsuid(l_uid_t uid); } +216 AUE_NULL STD { int linux_setfsgid(l_gid_t gid); } +217 AUE_NULL STD { int linux_pivot_root(char *new_root, \ + char *put_old); } +218 AUE_NULL STD { int linux_mincore(l_ulong start, \ + l_size_t len, u_char *vec); } +219 AUE_NULL MNOPROTO { int madvise(void *addr, size_t len, \ + int behav); } +220 AUE_NULL STD { int linux_getdents64(l_uint fd, \ + void *dirent, l_uint count); } +221 AUE_NULL STD { int linux_fcntl64(l_uint fd, l_uint cmd, \ + uintptr_t arg); } +222 AUE_NULL UNIMPL +223 AUE_NULL UNIMPL +224 AUE_NULL MNOPROTO { int linux_getpid(void); } gettid \ + linux_getpid_args void +225 AUE_NULL UNIMPL linux_readahead +226 AUE_NULL STD { int linux_setxattr(void); } +227 AUE_NULL STD { int linux_lsetxattr(void); } +228 AUE_NULL STD { int linux_fsetxattr(void); } +229 AUE_NULL STD { int linux_getxattr(void); } +230 AUE_NULL STD { int linux_lgetxattr(void); } +231 AUE_NULL STD { int linux_fgetxattr(void); } +232 AUE_NULL STD { int linux_listxattr(void); } +233 AUE_NULL STD { int linux_llistxattr(void); } +234 AUE_NULL STD { int linux_flistxattr(void); } +235 AUE_NULL STD { int linux_removexattr(void); } +236 AUE_NULL STD { int linux_lremovexattr(void); } +237 AUE_NULL STD { int linux_fremovexattr(void); } +238 AUE_NULL UNIMPL linux_tkill +239 AUE_NULL UNIMPL linux_sendfile64 +240 AUE_NULL UNIMPL linux_futex +241 AUE_NULL UNIMPL linux_sched_setaffinity +242 AUE_NULL UNIMPL linux_sched_getaffinity +243 AUE_NULL UNIMPL linux_set_thread_area +244 AUE_NULL UNIMPL linux_get_thread_area +245 AUE_NULL UNIMPL linux_io_setup +246 AUE_NULL UNIMPL linux_io_destroy +247 AUE_NULL UNIMPL linux_io_getevents +248 AUE_NULL UNIMPL linux_io_submit +249 AUE_NULL UNIMPL linux_io_cancel +250 AUE_NULL STD { int linux_fadvise64(void); } +251 AUE_NULL UNIMPL +252 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit_group \ + sys_exit_args void +253 AUE_NULL UNIMPL linux_lookup_dcookie +254 AUE_NULL UNIMPL linux_epoll_create +255 AUE_NULL UNIMPL linux_epoll_ctl +256 AUE_NULL UNIMPL linux_epoll_wait +257 AUE_NULL UNIMPL linux_remap_file_pages +258 AUE_NULL UNIMPL linux_set_tid_address +259 AUE_NULL UNIMPL linux_timer_create +260 AUE_NULL UNIMPL linux_timer_settime +261 AUE_NULL UNIMPL linux_timer_gettime +262 AUE_NULL UNIMPL linux_timer_getoverrun +263 AUE_NULL UNIMPL linux_timer_delete +264 AUE_NULL UNIMPL linux_clock_settime +265 AUE_NULL UNIMPL linux_clock_gettime +266 AUE_NULL UNIMPL linux_clock_getres +267 AUE_NULL UNIMPL linux_clock_nanosleep Index: ./compat/freebsd32/syscalls.master =================================================================== RCS file: /home/ncvs/src/sys/compat/freebsd32/syscalls.master,v retrieving revision 1.48 diff -u -r1.48 syscalls.master --- ./compat/freebsd32/syscalls.master 1 Mar 2005 06:32:53 -0000 1.48 +++ ./compat/freebsd32/syscalls.master 29 May 2005 23:21:50 -0000 @@ -7,6 +7,11 @@ ; Columns: number [M]type nargs name alt{name,tag,rtyp}/comments ; number system call number, must be in order +; audit the audit event associated with the system call +; A value of AUE_NULL means no auditing, but it also means that +; there is no audit event for the call at this time. For the +; case where the event exists, but we don't want auditing, the +; event should be #defined to AUE_NULL in audit_kevents.h. ; type one of [M]STD, [M]OBSOL, [M]UNIMPL, [M]COMPAT, [M]CPT_NOA, ; [M]LIBCOMPAT, [M]NODEF, [M]NOARGS, [M]NOPROTO, [M]NOIMPL, ; [M]NOSTD @@ -45,578 +50,679 @@ ; redistributions should be placed in the reserved range at the end ; of the current calls. -0 MNOPROTO { int nosys(void); } syscall nosys_args int -1 MNOPROTO { void sys_exit(int rval); } exit sys_exit_args void -2 MNOPROTO { int fork(void); } -3 MNOPROTO { ssize_t read(int fd, void *buf, size_t nbyte); } -4 MNOPROTO { ssize_t write(int fd, const void *buf, size_t nbyte); } -5 MNOPROTO { int open(char *path, int flags, int mode); } -6 MNOPROTO { int close(int fd); } -7 MSTD { int freebsd32_wait4(int pid, int *status, int options, \ - struct rusage32 *rusage); } -8 OBSOL old creat -9 MNOPROTO { int link(char *path, char *link); } -10 MNOPROTO { int unlink(char *path); } -11 OBSOL execv -12 NOPROTO { int chdir(char *path); } -13 NOPROTO { int fchdir(int fd); } -14 NOPROTO { int mknod(char *path, int mode, int dev); } -15 NOPROTO { int chmod(char *path, int mode); } -16 NOPROTO { int chown(char *path, int uid, int gid); } -17 MNOPROTO { int obreak(char *nsize); } break obreak_args int -18 COMPAT4 { int freebsd32_getfsstat(struct statfs32 *buf, \ - long bufsize, int flags); } -19 OBSOL olseek -20 MNOPROTO { pid_t getpid(void); } -21 MNOPROTO { int mount(char *type, char *path, int flags, \ - caddr_t data); } -22 MNOPROTO { int unmount(char *path, int flags); } -23 MNOPROTO { int setuid(uid_t uid); } -24 MNOPROTO { uid_t getuid(void); } -25 MNOPROTO { uid_t geteuid(void); } -26 MNOPROTO { int ptrace(int req, pid_t pid, caddr_t addr, int data); } +0 AUE_NULL MNOPROTO { int nosys(void); } syscall nosys_args int +1 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit \ + sys_exit_args void +2 AUE_NULL MNOPROTO { int fork(void); } +3 AUE_NULL MNOPROTO { ssize_t read(int fd, void *buf, \ + size_t nbyte); } +4 AUE_NULL MNOPROTO { ssize_t write(int fd, const void *buf, \ + size_t nbyte); } +5 AUE_NULL MNOPROTO { int open(char *path, int flags, \ + int mode); } +6 AUE_NULL MNOPROTO { int close(int fd); } +7 AUE_NULL MSTD { int freebsd32_wait4(int pid, int *status, \ + int options, struct rusage32 *rusage); } +8 AUE_NULL OBSOL old creat +9 AUE_NULL MNOPROTO { int link(char *path, char *link); } +10 AUE_NULL MNOPROTO { int unlink(char *path); } +11 AUE_NULL OBSOL execv +12 AUE_NULL NOPROTO { int chdir(char *path); } +13 AUE_NULL NOPROTO { int fchdir(int fd); } +14 AUE_NULL NOPROTO { int mknod(char *path, int mode, int dev); } +15 AUE_NULL NOPROTO { int chmod(char *path, int mode); } +16 AUE_NULL NOPROTO { int chown(char *path, int uid, int gid); } +17 AUE_NULL MNOPROTO { int obreak(char *nsize); } break \ + obreak_args int +18 AUE_NULL COMPAT4 { int freebsd32_getfsstat( \ + struct statfs32 *buf, long bufsize, \ + int flags); } +19 AUE_NULL OBSOL olseek +20 AUE_NULL MNOPROTO { pid_t getpid(void); } +21 AUE_NULL MNOPROTO { int mount(char *type, char *path, \ + int flags, caddr_t data); } +22 AUE_NULL MNOPROTO { int unmount(char *path, int flags); } +23 AUE_NULL MNOPROTO { int setuid(uid_t uid); } +24 AUE_NULL MNOPROTO { uid_t getuid(void); } +25 AUE_NULL MNOPROTO { uid_t geteuid(void); } +26 AUE_NULL MNOPROTO { int ptrace(int req, pid_t pid, \ + caddr_t addr, int data); } ; XXX implement -27 UNIMPL recvmsg -28 MNOPROTO { int sendmsg(int s, caddr_t msg, int flags); } -29 MNOPROTO { int recvfrom(int s, caddr_t buf, size_t len, int flags, \ - caddr_t from, int *fromlenaddr); } -30 MNOPROTO { int accept(int s, caddr_t name, int *anamelen); } -31 MNOPROTO { int getpeername(int fdes, caddr_t asa, int *alen); } -32 MNOPROTO { int getsockname(int fdes, caddr_t asa, int *alen); } -33 NOPROTO { int access(char *path, int flags); } -34 NOPROTO { int chflags(char *path, int flags); } -35 NOPROTO { int fchflags(int fd, int flags); } -36 NOPROTO { int sync(void); } -37 MNOPROTO { int kill(int pid, int signum); } -38 UNIMPL ostat -39 MNOPROTO { pid_t getppid(void); } -40 UNIMPL olstat -41 MNOPROTO { int dup(u_int fd); } -42 MNOPROTO { int pipe(void); } -43 MNOPROTO { gid_t getegid(void); } -44 MNOPROTO { int profil(caddr_t samples, size_t size, size_t offset, \ - u_int scale); } -45 MNOPROTO { int ktrace(const char *fname, int ops, int facs, int pid); } -46 UNIMPL osigaction -47 MNOPROTO { gid_t getgid(void); } -48 UNIMPL osigprocmask -49 MNOPROTO { int getlogin(char *namebuf, u_int namelen); } -50 MNOPROTO { int setlogin(char *namebuf); } -51 MNOPROTO { int acct(char *path); } -52 OBSOL osigpending -53 MSTD { int freebsd32_sigaltstack(struct sigaltstack32 *ss, \ - struct sigaltstack32 *oss); } -54 MNOPROTO { int ioctl(int fd, u_long com, caddr_t data); } -55 MNOPROTO { int reboot(int opt); } -56 NOPROTO { int revoke(char *path); } -57 NOPROTO { int symlink(char *path, char *link); } -58 NOPROTO { int readlink(char *path, char *buf, int count); } -59 STD { int freebsd32_execve(char *fname, u_int32_t *argv, \ - u_int32_t *envv); } -60 MNOPROTO { int umask(int newmask); } umask umask_args int -61 NOPROTO { int chroot(char *path); } -62 OBSOL ofstat -63 OBSOL ogetkerninfo -64 OBSOL ogetpagesize +27 AUE_NULL UNIMPL recvmsg +28 AUE_NULL MNOPROTO { int sendmsg(int s, caddr_t msg, \ + int flags); } +29 AUE_NULL MNOPROTO { int recvfrom(int s, caddr_t buf, \ + size_t len, int flags, caddr_t from, \ + int *fromlenaddr); } +30 AUE_NULL MNOPROTO { int accept(int s, caddr_t name, \ + int *anamelen); } +31 AUE_NULL MNOPROTO { int getpeername(int fdes, caddr_t asa, \ + int *alen); } +32 AUE_NULL MNOPROTO { int getsockname(int fdes, caddr_t asa, \ + int *alen); } +33 AUE_NULL NOPROTO { int access(char *path, int flags); } +34 AUE_NULL NOPROTO { int chflags(char *path, int flags); } +35 AUE_NULL NOPROTO { int fchflags(int fd, int flags); } +36 AUE_NULL NOPROTO { int sync(void); } +37 AUE_NULL MNOPROTO { int kill(int pid, int signum); } +38 AUE_NULL UNIMPL ostat +39 AUE_NULL MNOPROTO { pid_t getppid(void); } +40 AUE_NULL UNIMPL olstat +41 AUE_NULL MNOPROTO { int dup(u_int fd); } +42 AUE_NULL MNOPROTO { int pipe(void); } +43 AUE_NULL MNOPROTO { gid_t getegid(void); } +44 AUE_NULL MNOPROTO { int profil(caddr_t samples, size_t size, \ + size_t offset, u_int scale); } +45 AUE_NULL MNOPROTO { int ktrace(const char *fname, int ops, \ + int facs, int pid); } +46 AUE_NULL UNIMPL osigaction +47 AUE_NULL MNOPROTO { gid_t getgid(void); } +48 AUE_NULL UNIMPL osigprocmask +49 AUE_NULL MNOPROTO { int getlogin(char *namebuf, \ + u_int namelen); } +50 AUE_NULL MNOPROTO { int setlogin(char *namebuf); } +51 AUE_NULL MNOPROTO { int acct(char *path); } +52 AUE_NULL OBSOL osigpending +53 AUE_NULL MSTD { int freebsd32_sigaltstack( \ + struct sigaltstack32 *ss, \ + struct sigaltstack32 *oss); } +54 AUE_NULL MNOPROTO { int ioctl(int fd, u_long com, \ + caddr_t data); } +55 AUE_NULL MNOPROTO { int reboot(int opt); } +56 AUE_NULL NOPROTO { int revoke(char *path); } +57 AUE_NULL NOPROTO { int symlink(char *path, char *link); } +58 AUE_NULL NOPROTO { int readlink(char *path, char *buf, \ + int count); } +59 AUE_NULL STD { int freebsd32_execve(char *fname, \ + u_int32_t *argv, u_int32_t *envv); } +60 AUE_NULL MNOPROTO { int umask(int newmask); } umask \ + umask_args int +61 AUE_NULL NOPROTO { int chroot(char *path); } +62 AUE_NULL OBSOL ofstat +63 AUE_NULL OBSOL ogetkerninfo +64 AUE_NULL OBSOL ogetpagesize ; XXX implement (not OBSOL at all) -65 MNOPROTO { int msync(void *addr, size_t len, int flags); } -66 MNOPROTO { int vfork(void); } -67 OBSOL vread -68 OBSOL vwrite -69 MNOPROTO { int sbrk(int incr); } -70 MNOPROTO { int sstk(int incr); } -71 OBSOL ommap -72 MNOPROTO { int ovadvise(int anom); } vadvise ovadvise_args int -73 MNOPROTO { int munmap(void *addr, size_t len); } -74 MNOPROTO { int mprotect(const void *addr, size_t len, int prot); } -75 MNOPROTO { int madvise(void *addr, size_t len, int behav); } -76 OBSOL vhangup -77 OBSOL vlimit -78 MNOPROTO { int mincore(const void *addr, size_t len, char *vec); } -79 MNOPROTO { int getgroups(u_int gidsetsize, gid_t *gidset); } -80 MNOPROTO { int setgroups(u_int gidsetsize, gid_t *gidset); } -81 MNOPROTO { int getpgrp(void); } -82 MNOPROTO { int setpgid(int pid, int pgid); } -83 STD { int freebsd32_setitimer(u_int which, \ - struct itimerval32 *itv, struct itimerval32 *oitv); } -84 OBSOL owait +65 AUE_NULL MNOPROTO { int msync(void *addr, size_t len, \ + int flags); } +66 AUE_NULL MNOPROTO { int vfork(void); } +67 AUE_NULL OBSOL vread +68 AUE_NULL OBSOL vwrite +69 AUE_NULL MNOPROTO { int sbrk(int incr); } +70 AUE_NULL MNOPROTO { int sstk(int incr); } +71 AUE_NULL OBSOL ommap +72 AUE_NULL MNOPROTO { int ovadvise(int anom); } vadvise \ + ovadvise_args int +73 AUE_NULL MNOPROTO { int munmap(void *addr, size_t len); } +74 AUE_NULL MNOPROTO { int mprotect(const void *addr, \ + size_t len, int prot); } +75 AUE_NULL MNOPROTO { int madvise(void *addr, size_t len, \ + int behav); } +76 AUE_NULL OBSOL vhangup +77 AUE_NULL OBSOL vlimit +78 AUE_NULL MNOPROTO { int mincore(const void *addr, size_t len, \ + char *vec); } +79 AUE_NULL MNOPROTO { int getgroups(u_int gidsetsize, \ + gid_t *gidset); } +80 AUE_NULL MNOPROTO { int setgroups(u_int gidsetsize, \ + gid_t *gidset); } +81 AUE_NULL MNOPROTO { int getpgrp(void); } +82 AUE_NULL MNOPROTO { int setpgid(int pid, int pgid); } +83 AUE_NULL STD { int freebsd32_setitimer(u_int which, \ + struct itimerval32 *itv, \ + struct itimerval32 *oitv); } +84 AUE_NULL OBSOL owait ; XXX implement -85 OBSOL oswapon -86 STD { int freebsd32_getitimer(u_int which, \ - struct itimerval32 *itv); } -87 OBSOL ogethostname -88 OBSOL osethostname -89 MNOPROTO { int getdtablesize(void); } -90 MNOPROTO { int dup2(u_int from, u_int to); } -91 UNIMPL getdopt -92 MNOPROTO { int fcntl(int fd, int cmd, long arg); } -93 STD { int freebsd32_select(int nd, fd_set *in, fd_set *ou, \ - fd_set *ex, struct timeval32 *tv); } +85 AUE_NULL OBSOL oswapon +86 AUE_NULL STD { int freebsd32_getitimer(u_int which, \ + struct itimerval32 *itv); } +87 AUE_NULL OBSOL ogethostname +88 AUE_NULL OBSOL osethostname +89 AUE_NULL MNOPROTO { int getdtablesize(void); } +90 AUE_NULL MNOPROTO { int dup2(u_int from, u_int to); } +91 AUE_NULL UNIMPL getdopt +92 AUE_NULL MNOPROTO { int fcntl(int fd, int cmd, long arg); } +93 AUE_NULL STD { int freebsd32_select(int nd, fd_set *in, \ + fd_set *ou, fd_set *ex, \ + struct timeval32 *tv); } ; XXX need to override for big-endian - little-endian should work fine. -94 UNIMPL setdopt -95 NOPROTO { int fsync(int fd); } -96 MNOPROTO { int setpriority(int which, int who, int prio); } -97 MNOPROTO { int socket(int domain, int type, int protocol); } -98 MNOPROTO { int connect(int s, caddr_t name, int namelen); } -99 OBSOL oaccept -100 MNOPROTO { int getpriority(int which, int who); } -101 OBSOL osend -102 OBSOL orecv -103 OBSOL osigreturn -104 MNOPROTO { int bind(int s, caddr_t name, int namelen); } -105 MNOPROTO { int setsockopt(int s, int level, int name, caddr_t val, \ - int valsize); } -106 MNOPROTO { int listen(int s, int backlog); } -107 OBSOL vtimes -108 OBSOL osigvec -109 OBSOL osigblock -110 OBSOL osigsetmask -111 OBSOL osigsuspend -112 OBSOL osigstack -113 OBSOL orecvmsg -114 OBSOL osendmsg -115 OBSOL vtrace -116 MSTD { int freebsd32_gettimeofday(struct timeval32 *tp, \ - struct timezone *tzp); } -117 STD { int freebsd32_getrusage(int who, struct rusage32 *rusage); } -118 MNOPROTO { int getsockopt(int s, int level, int name, caddr_t val, \ - int *avalsize); } -119 UNIMPL resuba (BSD/OS 2.x) -120 STD { int freebsd32_readv(int fd, struct iovec32 *iovp, \ - u_int iovcnt); } -121 STD { int freebsd32_writev(int fd, struct iovec32 *iovp, \ - u_int iovcnt); } -122 STD { int freebsd32_settimeofday(struct timeval32 *tv, \ - struct timezone *tzp); } -123 NOPROTO { int fchown(int fd, int uid, int gid); } -124 NOPROTO { int fchmod(int fd, int mode); } -125 OBSOL orecvfrom -126 MNOPROTO { int setreuid(int ruid, int euid); } -127 MNOPROTO { int setregid(int rgid, int egid); } -128 NOPROTO { int rename(char *from, char *to); } -129 OBSOL otruncate -130 OBSOL ftruncate -131 MNOPROTO { int flock(int fd, int how); } -132 NOPROTO { int mkfifo(char *path, int mode); } -133 MNOPROTO { int sendto(int s, caddr_t buf, size_t len, int flags, \ - caddr_t to, int tolen); } -134 MNOPROTO { int shutdown(int s, int how); } -135 MNOPROTO { int socketpair(int domain, int type, int protocol, \ - int *rsv); } -136 NOPROTO { int mkdir(char *path, int mode); } -137 NOPROTO { int rmdir(char *path); } -138 STD { int freebsd32_utimes(char *path, struct timeval32 *tptr); } -139 OBSOL 4.2 sigreturn -140 STD { int freebsd32_adjtime(struct timeval32 *delta, \ - struct timeval32 *olddelta); } -141 OBSOL ogetpeername -142 OBSOL ogethostid -143 OBSOL sethostid -144 OBSOL getrlimit -145 OBSOL setrlimit -146 OBSOL killpg -147 MNOPROTO { int setsid(void); } -148 NOPROTO { int quotactl(char *path, int cmd, int uid, caddr_t arg); } -149 OBSOL oquota -150 OBSOL ogetsockname +94 AUE_NULL UNIMPL setdopt +95 AUE_NULL NOPROTO { int fsync(int fd); } +96 AUE_NULL MNOPROTO { int setpriority(int which, int who, \ + int prio); } +97 AUE_NULL MNOPROTO { int socket(int domain, int type, \ + int protocol); } +98 AUE_NULL MNOPROTO { int connect(int s, caddr_t name, \ + int namelen); } +99 AUE_NULL OBSOL oaccept +100 AUE_NULL MNOPROTO { int getpriority(int which, int who); } +101 AUE_NULL OBSOL osend +102 AUE_NULL OBSOL orecv +103 AUE_NULL OBSOL osigreturn +104 AUE_NULL MNOPROTO { int bind(int s, caddr_t name, \ + int namelen); } +105 AUE_NULL MNOPROTO { int setsockopt(int s, int level, \ + int name, caddr_t val, int valsize); } +106 AUE_NULL MNOPROTO { int listen(int s, int backlog); } +107 AUE_NULL OBSOL vtimes +108 AUE_NULL OBSOL osigvec +109 AUE_NULL OBSOL osigblock +110 AUE_NULL OBSOL osigsetmask +111 AUE_NULL OBSOL osigsuspend +112 AUE_NULL OBSOL osigstack +113 AUE_NULL OBSOL orecvmsg +114 AUE_NULL OBSOL osendmsg +115 AUE_NULL OBSOL vtrace +116 AUE_NULL MSTD { int freebsd32_gettimeofday( \ + struct timeval32 *tp, \ + struct timezone *tzp); } +117 AUE_NULL STD { int freebsd32_getrusage(int who, \ + struct rusage32 *rusage); } +118 AUE_NULL MNOPROTO { int getsockopt(int s, int level, \ + int name, caddr_t val, int *avalsize); } +119 AUE_NULL UNIMPL resuba (BSD/OS 2.x) +120 AUE_NULL STD { int freebsd32_readv(int fd, \ + struct iovec32 *iovp, u_int iovcnt); } +121 AUE_NULL STD { int freebsd32_writev(int fd, \ + struct iovec32 *iovp, u_int iovcnt); } +122 AUE_NULL STD { int freebsd32_settimeofday( \ + struct timeval32 *tv, \ + struct timezone *tzp); } +123 AUE_NULL NOPROTO { int fchown(int fd, int uid, int gid); } +124 AUE_NULL NOPROTO { int fchmod(int fd, int mode); } +125 AUE_NULL OBSOL orecvfrom +126 AUE_NULL MNOPROTO { int setreuid(int ruid, int euid); } +127 AUE_NULL MNOPROTO { int setregid(int rgid, int egid); } +128 AUE_NULL NOPROTO { int rename(char *from, char *to); } +129 AUE_NULL OBSOL otruncate +130 AUE_NULL OBSOL ftruncate +131 AUE_NULL MNOPROTO { int flock(int fd, int how); } +132 AUE_NULL NOPROTO { int mkfifo(char *path, int mode); } +133 AUE_NULL MNOPROTO { int sendto(int s, caddr_t buf, \ + size_t len, int flags, caddr_t to, \ + int tolen); } +134 AUE_NULL MNOPROTO { int shutdown(int s, int how); } +135 AUE_NULL MNOPROTO { int socketpair(int domain, int type, \ + int protocol, int *rsv); } +136 AUE_NULL NOPROTO { int mkdir(char *path, int mode); } +137 AUE_NULL NOPROTO { int rmdir(char *path); } +138 AUE_NULL STD { int freebsd32_utimes(char *path, \ + struct timeval32 *tptr); } +139 AUE_NULL OBSOL 4.2 sigreturn +140 AUE_NULL STD { int freebsd32_adjtime( \ + struct timeval32 *delta, \ + struct timeval32 *olddelta); } +141 AUE_NULL OBSOL ogetpeername +142 AUE_NULL OBSOL ogethostid +143 AUE_NULL OBSOL sethostid +144 AUE_NULL OBSOL getrlimit +145 AUE_NULL OBSOL setrlimit +146 AUE_NULL OBSOL killpg +147 AUE_NULL MNOPROTO { int setsid(void); } +148 AUE_NULL NOPROTO { int quotactl(char *path, int cmd, int uid, \ + caddr_t arg); } +149 AUE_NULL OBSOL oquota +150 AUE_NULL OBSOL ogetsockname ; Syscalls 151-180 inclusive are reserved for vendor-specific ; system calls. (This includes various calls added for compatibity ; with other Unix variants.) ; Some of these calls are now supported by BSD... -151 UNIMPL sem_lock (BSD/OS 2.x) -152 UNIMPL sem_wakeup (BSD/OS 2.x) -153 UNIMPL asyncdaemon (BSD/OS 2.x) -154 UNIMPL nosys +151 AUE_NULL UNIMPL sem_lock (BSD/OS 2.x) +152 AUE_NULL UNIMPL sem_wakeup (BSD/OS 2.x) +153 AUE_NULL UNIMPL asyncdaemon (BSD/OS 2.x) +154 AUE_NULL UNIMPL nosys ; 155 is initialized by the NFS code, if present. ; XXX this is a problem!!! -155 UNIMPL nfssvc -156 OBSOL ogetdirentries -157 COMPAT4 { int freebsd32_statfs(char *path, \ - struct statfs32 *buf); } -158 COMPAT4 { int freebsd32_fstatfs(int fd, struct statfs32 *buf);} -159 UNIMPL nosys -160 UNIMPL nosys -161 NOPROTO { int getfh(char *fname, struct fhandle *fhp); } -162 MNOPROTO { int getdomainname(char *domainname, int len); } -163 MNOPROTO { int setdomainname(char *domainname, int len); } -164 MNOPROTO { int uname(struct utsname *name); } -165 MNOPROTO { int sysarch(int op, char *parms); } -166 MNOPROTO { int rtprio(int function, pid_t pid, \ - struct rtprio *rtp); } -167 UNIMPL nosys -168 UNIMPL nosys -169 STD { int freebsd32_semsys(int which, int a2, int a3, int a4, \ - int a5); } -170 STD { int freebsd32_msgsys(int which, int a2, int a3, int a4, \ - int a5, int a6); } -171 STD { int freebsd32_shmsys(int which, int a2, int a3, int a4); } -172 UNIMPL nosys -173 STD { ssize_t freebsd32_pread(int fd, void *buf, size_t nbyte, \ - int pad, u_int32_t offsetlo, u_int32_t offsethi); } +155 AUE_NULL UNIMPL nfssvc +156 AUE_NULL OBSOL ogetdirentries +157 AUE_NULL COMPAT4 { int freebsd32_statfs(char *path, \ + struct statfs32 *buf); } +158 AUE_NULL COMPAT4 { int freebsd32_fstatfs(int fd, \ + struct statfs32 *buf); } +159 AUE_NULL UNIMPL nosys +160 AUE_NULL UNIMPL nosys +161 AUE_NULL NOPROTO { int getfh(char *fname, \ + struct fhandle *fhp); } +162 AUE_NULL MNOPROTO { int getdomainname(char *domainname, \ + int len); } +163 AUE_NULL MNOPROTO { int setdomainname(char *domainname, \ + int len); } +164 AUE_NULL MNOPROTO { int uname(struct utsname *name); } +165 AUE_NULL MNOPROTO { int sysarch(int op, char *parms); } +166 AUE_NULL MNOPROTO { int rtprio(int function, pid_t pid, \ + struct rtprio *rtp); } +167 AUE_NULL UNIMPL nosys +168 AUE_NULL UNIMPL nosys +169 AUE_NULL STD { int freebsd32_semsys(int which, int a2, \ + int a3, int a4, int a5); } +170 AUE_NULL STD { int freebsd32_msgsys(int which, int a2, \ + int a3, int a4, int a5, int a6); } +171 AUE_NULL STD { int freebsd32_shmsys(int which, int a2, \ + int a3, int a4); } +172 AUE_NULL UNIMPL nosys +173 AUE_NULL STD { ssize_t freebsd32_pread(int fd, void *buf, \ + size_t nbyte, int pad, \ + u_int32_t offsetlo, u_int32_t offsethi); } ; XXX note - bigendian is different -174 STD { ssize_t freebsd32_pwrite(int fd, const void *buf, \ - size_t nbyte, int pad, u_int32_t offsetlo, \ - u_int32_t offsethi); } +174 AUE_NULL STD { ssize_t freebsd32_pwrite(int fd, \ + const void *buf, size_t nbyte, int pad, \ + u_int32_t offsetlo, u_int32_t offsethi); } ; XXX note - bigendian is different -175 UNIMPL nosys -176 MNOPROTO { int ntp_adjtime(struct timex *tp); } -177 UNIMPL sfork (BSD/OS 2.x) -178 UNIMPL getdescriptor (BSD/OS 2.x) -179 UNIMPL setdescriptor (BSD/OS 2.x) -180 UNIMPL nosys +175 AUE_NULL UNIMPL nosys +176 AUE_NULL MNOPROTO { int ntp_adjtime(struct timex *tp); } +177 AUE_NULL UNIMPL sfork (BSD/OS 2.x) +178 AUE_NULL UNIMPL getdescriptor (BSD/OS 2.x) +179 AUE_NULL UNIMPL setdescriptor (BSD/OS 2.x) +180 AUE_NULL UNIMPL nosys ; Syscalls 181-199 are used by/reserved for BSD -181 MNOPROTO { int setgid(gid_t gid); } -182 MNOPROTO { int setegid(gid_t egid); } -183 MNOPROTO { int seteuid(uid_t euid); } -184 UNIMPL lfs_bmapv -185 UNIMPL lfs_markv -186 UNIMPL lfs_segclean -187 UNIMPL lfs_segwait -188 STD { int freebsd32_stat(char *path, struct stat32 *ub); } -189 MSTD { int freebsd32_fstat(int fd, struct stat32 *ub); } -190 STD { int freebsd32_lstat(char *path, struct stat32 *ub); } -191 NOPROTO { int pathconf(char *path, int name); } -192 MNOPROTO { int fpathconf(int fd, int name); } -193 UNIMPL nosys -194 MNOPROTO { int getrlimit(u_int which, struct rlimit *rlp); } \ - getrlimit __getrlimit_args int -195 MNOPROTO { int setrlimit(u_int which, struct rlimit *rlp); } \ - setrlimit __setrlimit_args int -196 NOPROTO { int getdirentries(int fd, char *buf, u_int count, \ - long *basep); } -197 STD { caddr_t freebsd32_mmap(caddr_t addr, size_t len, int prot, \ - int flags, int fd, int pad, u_int32_t poslo, \ - u_int32_t poshi); } -198 NOPROTO { int nosys(void); } __syscall __syscall_args int +181 AUE_NULL MNOPROTO { int setgid(gid_t gid); } +182 AUE_NULL MNOPROTO { int setegid(gid_t egid); } +183 AUE_NULL MNOPROTO { int seteuid(uid_t euid); } +184 AUE_NULL UNIMPL lfs_bmapv +185 AUE_NULL UNIMPL lfs_markv +186 AUE_NULL UNIMPL lfs_segclean +187 AUE_NULL UNIMPL lfs_segwait +188 AUE_NULL STD { int freebsd32_stat(char *path, \ + struct stat32 *ub); } +189 AUE_NULL MSTD { int freebsd32_fstat(int fd, \ + struct stat32 *ub); } +190 AUE_NULL STD { int freebsd32_lstat(char *path, \ + struct stat32 *ub); } +191 AUE_NULL NOPROTO { int pathconf(char *path, int name); } +192 AUE_NULL MNOPROTO { int fpathconf(int fd, int name); } +193 AUE_NULL UNIMPL nosys +194 AUE_NULL MNOPROTO { int getrlimit(u_int which, \ + struct rlimit *rlp); } getrlimit \ + __getrlimit_args int +195 AUE_NULL MNOPROTO { int setrlimit(u_int which, \ + struct rlimit *rlp); } setrlimit \ + __setrlimit_args int +196 AUE_NULL NOPROTO { int getdirentries(int fd, char *buf, \ + u_int count, long *basep); } +197 AUE_NULL STD { caddr_t freebsd32_mmap(caddr_t addr, \ + size_t len, int prot, int flags, int fd, \ + int pad, u_int32_t poslo, \ + u_int32_t poshi); } +198 AUE_NULL NOPROTO { int nosys(void); } __syscall \ + __syscall_args int ; XXX note - bigendian is different -199 STD { off_t freebsd32_lseek(int fd, int pad, u_int32_t offsetlo, \ - u_int32_t offsethi, int whence); } +199 AUE_NULL STD { off_t freebsd32_lseek(int fd, int pad, \ + u_int32_t offsetlo, u_int32_t offsethi, \ + int whence); } ; XXX note - bigendian is different -200 STD { int freebsd32_truncate(char *path, int pad, \ - u_int32_t lengthlo, u_int32_t lengthhi); } +200 AUE_NULL STD { int freebsd32_truncate(char *path, \ + int pad, u_int32_t lengthlo, \ + u_int32_t lengthhi); } ; XXX note - bigendian is different -201 STD { int freebsd32_ftruncate(int fd, int pad, \ - u_int32_t lengthlo, u_int32_t lengthhi); } -202 MSTD { int freebsd32_sysctl(int *name, u_int namelen, void *old, \ - u_int32_t *oldlenp, void *new, u_int32_t newlen); } -203 MNOPROTO { int mlock(const void *addr, size_t len); } -204 MNOPROTO { int munlock(const void *addr, size_t len); } -205 NOPROTO { int undelete(char *path); } -206 NOPROTO { int futimes(int fd, struct timeval *tptr); } -207 MNOPROTO { int getpgid(pid_t pid); } -208 UNIMPL newreboot (NetBSD) -209 MNOPROTO { int poll(struct pollfd *fds, u_int nfds, int timeout); } +201 AUE_NULL STD { int freebsd32_ftruncate(int fd, int pad, \ + u_int32_t lengthlo, u_int32_t lengthhi); } +202 AUE_NULL MSTD { int freebsd32_sysctl(int *name, \ + u_int namelen, void *old, \ + u_int32_t *oldlenp, void *new, \ + u_int32_t newlen); } +203 AUE_NULL MNOPROTO { int mlock(const void *addr, \ + size_t len); } +204 AUE_NULL MNOPROTO { int munlock(const void *addr, \ + size_t len); } +205 AUE_NULL NOPROTO { int undelete(char *path); } +206 AUE_NULL NOPROTO { int futimes(int fd, struct timeval *tptr); } +207 AUE_NULL MNOPROTO { int getpgid(pid_t pid); } +208 AUE_NULL UNIMPL newreboot (NetBSD) +209 AUE_NULL MNOPROTO { int poll(struct pollfd *fds, u_int nfds, \ + int timeout); } ; ; The following are reserved for loadable syscalls ; -210 UNIMPL -211 UNIMPL -212 UNIMPL -213 UNIMPL -214 UNIMPL -215 UNIMPL -216 UNIMPL -217 UNIMPL -218 UNIMPL -219 UNIMPL +210 AUE_NULL UNIMPL +211 AUE_NULL UNIMPL +212 AUE_NULL UNIMPL +213 AUE_NULL UNIMPL +214 AUE_NULL UNIMPL +215 AUE_NULL UNIMPL +216 AUE_NULL UNIMPL +217 AUE_NULL UNIMPL +218 AUE_NULL UNIMPL +219 AUE_NULL UNIMPL ; ; The following were introduced with NetBSD/4.4Lite-2 ; They are initialized by thier respective modules/sysinits ; XXX PROBLEM!! -220 MNOPROTO { int __semctl(int semid, int semnum, int cmd, \ - union semun *arg); } -221 MNOPROTO { int semget(key_t key, int nsems, int semflg); } -222 MNOPROTO { int semop(int semid, struct sembuf *sops, u_int nsops); } -223 UNIMPL semconfig -224 MNOPROTO { int msgctl(int msqid, int cmd, struct msqid_ds *buf); } -225 MNOPROTO { int msgget(key_t key, int msgflg); } -226 MNOPROTO { int msgsnd(int msqid, void *msgp, size_t msgsz, \ - int msgflg); } -227 MNOPROTO { int msgrcv(int msqid, void *msgp, size_t msgsz, \ - long msgtyp, int msgflg); } -228 MNOPROTO { int shmat(int shmid, void *shmaddr, int shmflg); } -229 MNOPROTO { int shmctl(int shmid, int cmd, struct shmid_ds *buf); } -230 MNOPROTO { int shmdt(void *shmaddr); } -231 MNOPROTO { int shmget(key_t key, int size, int shmflg); } +220 AUE_NULL MNOPROTO { int __semctl(int semid, int semnum, \ + int cmd, union semun *arg); } +221 AUE_NULL MNOPROTO { int semget(key_t key, int nsems, \ + int semflg); } +222 AUE_NULL MNOPROTO { int semop(int semid, struct sembuf *sops, \ + u_int nsops); } +223 AUE_NULL UNIMPL semconfig +224 AUE_NULL MNOPROTO { int msgctl(int msqid, int cmd, \ + struct msqid_ds *buf); } +225 AUE_NULL MNOPROTO { int msgget(key_t key, int msgflg); } +226 AUE_NULL MNOPROTO { int msgsnd(int msqid, void *msgp, \ + size_t msgsz, int msgflg); } +227 AUE_NULL MNOPROTO { int msgrcv(int msqid, void *msgp, \ + size_t msgsz, long msgtyp, int msgflg); } +228 AUE_NULL MNOPROTO { int shmat(int shmid, void *shmaddr, \ + int shmflg); } +229 AUE_NULL MNOPROTO { int shmctl(int shmid, int cmd, \ + struct shmid_ds *buf); } +230 AUE_NULL MNOPROTO { int shmdt(void *shmaddr); } +231 AUE_NULL MNOPROTO { int shmget(key_t key, int size, \ + int shmflg); } ; -232 MNOPROTO { int clock_gettime(clockid_t clock_id, struct timespec *tp); } -233 MNOPROTO { int clock_settime(clockid_t clock_id, \ - const struct timespec *tp); } -234 MNOPROTO { int clock_getres(clockid_t clock_id, struct timespec *tp); } -235 UNIMPL timer_create -236 UNIMPL timer_delete -237 UNIMPL timer_settime -238 UNIMPL timer_gettime -239 UNIMPL timer_getoverrun -240 MSTD { int freebsd32_nanosleep(const struct timespec *rqtp, \ - struct timespec *rmtp); } -241 UNIMPL nosys -242 UNIMPL nosys -243 UNIMPL nosys -244 UNIMPL nosys -245 UNIMPL nosys -246 UNIMPL nosys -247 UNIMPL nosys -248 UNIMPL ntp_gettime -249 UNIMPL nosys +232 AUE_NULL MNOPROTO { int clock_gettime(clockid_t clock_id, \ + struct timespec *tp); } +233 AUE_NULL MNOPROTO { int clock_settime(clockid_t clock_id, \ + const struct timespec *tp); } +234 AUE_NULL MNOPROTO { int clock_getres(clockid_t clock_id, \ + struct timespec *tp); } +235 AUE_NULL UNIMPL timer_create +236 AUE_NULL UNIMPL timer_delete +237 AUE_NULL UNIMPL timer_settime +238 AUE_NULL UNIMPL timer_gettime +239 AUE_NULL UNIMPL timer_getoverrun +240 AUE_NULL MSTD { int freebsd32_nanosleep( \ + const struct timespec *rqtp, \ + struct timespec *rmtp); } +241 AUE_NULL UNIMPL nosys +242 AUE_NULL UNIMPL nosys +243 AUE_NULL UNIMPL nosys +244 AUE_NULL UNIMPL nosys +245 AUE_NULL UNIMPL nosys +246 AUE_NULL UNIMPL nosys +247 AUE_NULL UNIMPL nosys +248 AUE_NULL UNIMPL ntp_gettime +249 AUE_NULL UNIMPL nosys ; syscall numbers initially used in OpenBSD -250 MNOPROTO { int minherit(void *addr, size_t len, int inherit); } -251 MNOPROTO { int rfork(int flags); } -252 MNOPROTO { int openbsd_poll(struct pollfd *fds, u_int nfds, \ - int timeout); } -253 MNOPROTO { int issetugid(void); } -254 NOPROTO { int lchown(char *path, int uid, int gid); } -255 UNIMPL nosys -256 UNIMPL nosys -257 UNIMPL nosys -258 UNIMPL nosys -259 UNIMPL nosys -260 UNIMPL nosys -261 UNIMPL nosys -262 UNIMPL nosys -263 UNIMPL nosys -264 UNIMPL nosys -265 UNIMPL nosys -266 UNIMPL nosys -267 UNIMPL nosys -268 UNIMPL nosys -269 UNIMPL nosys -270 UNIMPL nosys -271 UNIMPL nosys -272 NOPROTO { int getdents(int fd, char *buf, size_t count); } -273 UNIMPL nosys -274 NOPROTO { int lchmod(char *path, mode_t mode); } -275 NOPROTO { int lchown(char *path, uid_t uid, gid_t gid); } \ - netbsd_lchown lchown_args int -276 NOPROTO { int lutimes(char *path, struct timeval *tptr); } -277 MNOPROTO { int msync(void *addr, size_t len, int flags); } \ - netbsd_msync msync_args int -278 NOPROTO { int nstat(char *path, struct nstat *ub); } -279 MNOPROTO { int nfstat(int fd, struct nstat *sb); } -280 NOPROTO { int nlstat(char *path, struct nstat *ub); } -281 UNIMPL nosys -282 UNIMPL nosys -283 UNIMPL nosys -284 UNIMPL nosys -285 UNIMPL nosys -286 UNIMPL nosys -287 UNIMPL nosys -288 UNIMPL nosys -289 UNIMPL nosys -290 UNIMPL nosys -291 UNIMPL nosys -292 UNIMPL nosys -293 UNIMPL nosys -294 UNIMPL nosys -295 UNIMPL nosys -296 UNIMPL nosys +250 AUE_NULL MNOPROTO { int minherit(void *addr, size_t len, \ + int inherit); } +251 AUE_NULL MNOPROTO { int rfork(int flags); } +252 AUE_NULL MNOPROTO { int openbsd_poll(struct pollfd *fds, \ + u_int nfds, int timeout); } +253 AUE_NULL MNOPROTO { int issetugid(void); } +254 AUE_NULL NOPROTO { int lchown(char *path, int uid, int gid); } +255 AUE_NULL UNIMPL nosys +256 AUE_NULL UNIMPL nosys +257 AUE_NULL UNIMPL nosys +258 AUE_NULL UNIMPL nosys +259 AUE_NULL UNIMPL nosys +260 AUE_NULL UNIMPL nosys +261 AUE_NULL UNIMPL nosys +262 AUE_NULL UNIMPL nosys +263 AUE_NULL UNIMPL nosys +264 AUE_NULL UNIMPL nosys +265 AUE_NULL UNIMPL nosys +266 AUE_NULL UNIMPL nosys +267 AUE_NULL UNIMPL nosys +268 AUE_NULL UNIMPL nosys +269 AUE_NULL UNIMPL nosys +270 AUE_NULL UNIMPL nosys +271 AUE_NULL UNIMPL nosys +272 AUE_NULL NOPROTO { int getdents(int fd, char *buf, \ + size_t count); } +273 AUE_NULL UNIMPL nosys +274 AUE_NULL NOPROTO { int lchmod(char *path, mode_t mode); } +275 AUE_NULL NOPROTO { int lchown(char *path, uid_t uid, \ + gid_t gid); } netbsd_lchown \ + lchown_args int +276 AUE_NULL NOPROTO { int lutimes(char *path, \ + struct timeval *tptr); } +277 AUE_NULL MNOPROTO { int msync(void *addr, size_t len, \ + int flags); } netbsd_msync msync_args int +278 AUE_NULL NOPROTO { int nstat(char *path, struct nstat *ub); } +279 AUE_NULL MNOPROTO { int nfstat(int fd, struct nstat *sb); } +280 AUE_NULL NOPROTO { int nlstat(char *path, struct nstat *ub); } +281 AUE_NULL UNIMPL nosys +282 AUE_NULL UNIMPL nosys +283 AUE_NULL UNIMPL nosys +284 AUE_NULL UNIMPL nosys +285 AUE_NULL UNIMPL nosys +286 AUE_NULL UNIMPL nosys +287 AUE_NULL UNIMPL nosys +288 AUE_NULL UNIMPL nosys +289 AUE_NULL UNIMPL nosys +290 AUE_NULL UNIMPL nosys +291 AUE_NULL UNIMPL nosys +292 AUE_NULL UNIMPL nosys +293 AUE_NULL UNIMPL nosys +294 AUE_NULL UNIMPL nosys +295 AUE_NULL UNIMPL nosys +296 AUE_NULL UNIMPL nosys ; XXX 297 is 300 in NetBSD -297 COMPAT4 { int freebsd32_fhstatfs(const struct fhandle *u_fhp, \ - struct statfs32 *buf); } -298 NOPROTO { int fhopen(const struct fhandle *u_fhp, int flags); } -299 NOPROTO { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } +297 AUE_NULL COMPAT4 { int freebsd32_fhstatfs( \ + const struct fhandle *u_fhp, \ + struct statfs32 *buf); } +298 AUE_NULL NOPROTO { int fhopen(const struct fhandle *u_fhp, \ + int flags); } +299 AUE_NULL NOPROTO { int fhstat(const struct fhandle *u_fhp, \ + struct stat *sb); } ; syscall numbers for FreeBSD -300 MNOPROTO { int modnext(int modid); } -301 MSTD { int freebsd32_modstat(int modid, struct module_stat32* stat); } -302 MNOPROTO { int modfnext(int modid); } -303 MNOPROTO { int modfind(const char *name); } -304 MNOPROTO { int kldload(const char *file); } -305 MNOPROTO { int kldunload(int fileid); } -306 MNOPROTO { int kldfind(const char *file); } -307 MNOPROTO { int kldnext(int fileid); } -308 MNOPROTO { int kldstat(int fileid, struct kld_file_stat* stat); } -309 MNOPROTO { int kldfirstmod(int fileid); } -310 MNOPROTO { int get