diff --git a/sys/alpha/linux/syscalls.master b/sys/alpha/linux/syscalls.master index 2cedc8eafa8b..a5025a114345 100644 --- a/sys/alpha/linux/syscalls.master +++ b/sys/alpha/linux/syscalls.master @@ -59,22 +59,22 @@ 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); } +9 AUE_NULL MSTD { int linux_link(char *path, char *to); } +10 AUE_NULL MSTD { 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, \ +12 AUE_NULL MSTD { int linux_chdir(char *path); } +13 AUE_NULL MNOPROTO { int fchdir(int fd); } +14 AUE_NULL MSTD { int linux_mknod(char *path, l_int mode, \ l_dev_t dev); } -15 AUE_NULL STD { int linux_chmod(char *path, \ +15 AUE_NULL MSTD { int linux_chmod(char *path, \ l_mode_t mode); } -16 AUE_NULL STD { int linux_chown(char *path, l_uid_t uid, \ +16 AUE_NULL MSTD { 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, \ +19 AUE_NULL MSTD { int linux_lseek(l_uint fdes, l_off_t off, \ l_int whence); } -20 AUE_NULL NOPROTO { int getpid(void); } +20 AUE_NULL MNOPROTO { 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); } @@ -87,10 +87,10 @@ 30 AUE_NULL UNIMPL 31 AUE_NULL UNIMPL 32 AUE_NULL UNIMPL -33 AUE_NULL STD { int linux_access(char *path, l_int flags); } +33 AUE_NULL MSTD { int linux_access(char *path, l_int flags); } 34 AUE_NULL UNIMPL 35 AUE_NULL UNIMPL -36 AUE_NULL NOPROTO { int sync(void); } +36 AUE_NULL MNOPROTO { 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); } @@ -99,7 +99,7 @@ 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, \ +45 AUE_NULL MSTD { int linux_open(char *path, l_int flags, \ l_int mode); } 46 AUE_NULL UNIMPL 47 AUE_NULL MNOPROTO { int getgid(void); } @@ -107,42 +107,42 @@ u_long mask); } 49 AUE_NULL UNIMPL 50 AUE_NULL UNIMPL -51 AUE_NULL NOPROTO { int acct(char *path); } +51 AUE_NULL MNOPROTO { 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, \ +57 AUE_NULL MSTD { int linux_symlink(char *path, char *to); } +58 AUE_NULL MSTD { int linux_readlink(char *name, char *buf, \ l_int count); } -59 AUE_NULL STD { int linux_execve(char *path, char **argp, \ +59 AUE_NULL MSTD { 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); } +61 AUE_NULL MNOPROTO { int chroot(char *path); } 62 AUE_NULL UNIMPL 63 AUE_NULL MNOPROTO { int getpgrp(void); } -64 AUE_NULL STD { int linux_getpagesize(void); } +64 AUE_NULL MSTD { 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, \ +67 AUE_NULL MSTD { int linux_newstat(char *path, \ struct l_newstat *buf); } -68 AUE_NULL STD { int linux_newlstat(char *path, \ +68 AUE_NULL MSTD { 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, \ +71 AUE_NULL MSTD { 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, \ +73 AUE_NULL MSTD { int linux_munmap(l_ulong addr, \ l_size_t len); } -74 AUE_NULL STD { int linux_mprotect(l_ulong addr, \ +74 AUE_NULL MSTD { 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); } +76 AUE_NULL MSTD { int linux_vhangup(void); } 77 AUE_NULL UNIMPL 78 AUE_NULL UNIMPL 79 AUE_NULL MSTD { int linux_setgroups(l_int gidsetsize, \ @@ -151,95 +151,95 @@ 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, \ +83 AUE_NULL MSTD { 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); } +87 AUE_NULL MSTD { 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); } +89 AUE_NULL MSTD { 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, \ +91 AUE_NULL MSTD { 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, \ +93 AUE_NULL MSTD { 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 \ +94 AUE_NULL MNOPROTO { int poll(struct pollfd*, unsigned int \ nfds, long timeout); } -95 AUE_NULL NOPROTO { int fsync(int fd); } +95 AUE_NULL MNOPROTO { 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, \ +97 AUE_NULL MSTD { int osf1_socket(int domain, int type, \ int protocol); } -98 AUE_NULL STD { int linux_connect(l_int s, \ +98 AUE_NULL MSTD { int linux_connect(l_int s, \ struct l_sockaddr *name, l_int namelen); } -99 AUE_NULL NOPROTO { int oaccept(int s, caddr_t name, \ +99 AUE_NULL MNOPROTO { int oaccept(int s, caddr_t name, \ int *anamelen); } accept accept_args int 100 AUE_NULL MSTD { int linux_getpriority(int which, int who); } -101 AUE_NULL NOPROTO { int osend(int s, caddr_t buf, int len, \ +101 AUE_NULL MNOPROTO { int osend(int s, caddr_t buf, int len, \ int flags); } -102 AUE_NULL NOPROTO { int orecv(int s, caddr_t buf, int len, \ +102 AUE_NULL MNOPROTO { 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, \ +104 AUE_NULL MNOPROTO { int bind(int s, caddr_t name, \ int namelen); } -105 AUE_NULL NOPROTO { int setsockopt(int s, int level, int name, \ +105 AUE_NULL MNOPROTO { int setsockopt(int s, int level, int name, \ caddr_t val, int valsize); } -106 AUE_NULL NOPROTO { int listen(int s, int backlog); } +106 AUE_NULL MNOPROTO { 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); } +113 AUE_NULL MSTD { int linux_recvmsg(void); } +114 AUE_NULL MSTD { 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, \ +117 AUE_NULL MSTD { int osf1_getrusage(long who, \ void *rusage); } -118 AUE_NULL NOPROTO { int getsockopt(int s, int level, int name, \ +118 AUE_NULL MNOPROTO { 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, \ +120 AUE_NULL MNOPROTO { int readv(int fd, struct iovec *iovp, \ u_int iovcnt); } -121 AUE_NULL NOPROTO { int writev(int fd, struct iovec *iovp, \ +121 AUE_NULL MNOPROTO { 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, \ +123 AUE_NULL MNOPROTO { int fchown(int fd, int uid, int gid); } +124 AUE_NULL MNOPROTO { int fchmod(int fd, int mode); } +125 AUE_NULL MNOPROTO { 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, \ +128 AUE_NULL MSTD { int linux_rename(char *from, char *to); } +129 AUE_NULL MSTD { 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); } +130 AUE_NULL MNOPROTO { int oftruncate(int fd, long length); } +131 AUE_NULL MNOPROTO { 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, \ +133 AUE_NULL MSTD { 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, \ +134 AUE_NULL MNOPROTO { int shutdown(int s, int how); } +135 AUE_NULL MSTD { int linux_socketpair(void); } +136 AUE_NULL MSTD { int linux_mkdir(char *path, l_int mode); } +137 AUE_NULL MSTD { int linux_rmdir(char *path); } +138 AUE_NULL MNOPROTO { 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, \ +141 AUE_NULL MNOPROTO { int ogetpeername(int fdes, caddr_t asa, \ int *alen); } 142 AUE_NULL UNIMPL 143 AUE_NULL UNIMPL @@ -249,9 +249,9 @@ struct l_rlimit *rlim); } 146 AUE_NULL UNIMPL 147 AUE_NULL MNOPROTO { int setsid(void); } -148 AUE_NULL STD { int linux_quotactl(void); } +148 AUE_NULL MSTD { int linux_quotactl(void); } 149 AUE_NULL UNIMPL -150 AUE_NULL NOPROTO { int ogetsockname(int fdec, caddr_t asa, \ +150 AUE_NULL MNOPROTO { int ogetsockname(int fdec, caddr_t asa, \ int *alen);} getsockname \ getsockname_args int 151 AUE_NULL UNIMPL @@ -306,38 +306,38 @@ 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, \ +200 AUE_NULL MSTD { 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, \ +201 AUE_NULL MSTD { int linux_msgget(l_key_t key, \ l_int msgflg); } -202 AUE_NULL STD { int linux_msgrcv(l_int msqid, \ +202 AUE_NULL MSTD { 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, \ +203 AUE_NULL MSTD { 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, \ +205 AUE_NULL MSTD { int linux_semget(l_key_t key, l_int nsems, \ l_int semflg); } -206 AUE_NULL STD { int linux_semop(l_int semid, \ +206 AUE_NULL MSTD { 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, \ +208 AUE_NULL MSTD { int linux_lchown(char *path, l_uid_t uid, \ l_gid_t gid); } -209 AUE_NULL STD { int linux_shmat(l_int shmid, \ +209 AUE_NULL MSTD { int linux_shmat(l_int shmid, \ char *shmaddr, l_int shmflg); } -210 AUE_NULL STD { int linux_shmctl(l_int shmid, l_int cmd, \ +210 AUE_NULL MSTD { 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, \ +211 AUE_NULL MSTD { int linux_shmdt(char *shmaddr); } +212 AUE_NULL MSTD { 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, \ +217 AUE_NULL MSTD { int linux_msync(l_ulong addr, \ l_size_t len, l_int fl); } 218 AUE_NULL UNIMPL 219 AUE_NULL UNIMPL @@ -356,7 +356,7 @@ 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); } +235 AUE_NULL MSTD { int linux_sigaltstack(void); } 236 AUE_NULL UNIMPL 237 AUE_NULL UNIMPL 238 AUE_NULL UNIMPL @@ -376,13 +376,13 @@ 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, \ +254 AUE_NULL MSTD { 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, \ +256 AUE_NULL MSTD { 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, \ +257 AUE_NULL MSTD { int osf1_setsysinfo(u_long op, \ caddr_t buffer, u_long nbytes, \ caddr_t arg, u_long flag); } 258 AUE_NULL UNIMPL @@ -427,22 +427,22 @@ 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); } +300 AUE_NULL MSTD { int linux_bdflush(void); } +301 AUE_NULL MSTD { 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); } +303 AUE_NULL MSTD { int linux_old_adjtimex(void); } +304 AUE_NULL MSTD { 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, \ +306 AUE_NULL MSTD { int linux_create_module(void); } +307 AUE_NULL MSTD { int linux_init_module(void); } +308 AUE_NULL MSTD { int linux_delete_module(void); } +309 AUE_NULL MSTD { int linux_get_kernel_syms(void); } +310 AUE_NULL MSTD { int linux_syslog(l_int type, char *buf, \ l_int len); } -311 AUE_NULL STD { int linux_reboot(l_int magic1, \ +311 AUE_NULL MSTD { 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); } @@ -452,21 +452,21 @@ 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( \ +318 AUE_NULL MSTD { int linux_sysinfo(void); } +319 AUE_NULL MSTD { 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, \ +322 AUE_NULL MNOPROTO { int swapon(char *name); } +323 AUE_NULL MSTD { int linux_times(struct l_times_argv *buf); } +324 AUE_NULL MSTD { int linux_personality(l_ulong per); } +325 AUE_NULL MSTD { int linux_setfsuid(l_uid_t uid); } +326 AUE_NULL MSTD { int linux_setfsgid(l_gid_t gid); } +327 AUE_NULL MSTD { int linux_ustat(l_dev_t dev, \ struct l_ustat *ubuf); } -328 AUE_NULL STD { int linux_statfs(char *path, \ +328 AUE_NULL MSTD { int linux_statfs(char *path, \ struct l_statfs_buf *buf); } -329 AUE_NULL STD { int linux_fstatfs(l_uint fd, \ +329 AUE_NULL MSTD { 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); } @@ -481,43 +481,43 @@ 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, \ +337 AUE_NULL MNOPROTO { 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( \ +339 AUE_NULL MSTD { 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, \ +341 AUE_NULL MSTD { 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); } +342 AUE_NULL MSTD { 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, \ +345 AUE_NULL MSTD { int linux_pciconfig_read(void); } +346 AUE_NULL MSTD { int linux_pciconfig_write(void); } +347 AUE_NULL MSTD { int linux_query_module(void); } +348 AUE_NULL MSTD { int linux_prctl(void); } +349 AUE_NULL MSTD { 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, \ +350 AUE_NULL MSTD { 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); } +351 AUE_NULL MSTD { 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); } +354 AUE_NULL MSTD { int linux_rt_sigpending(void); } +355 AUE_NULL MSTD { int linux_rt_sigtimedwait(void); } +356 AUE_NULL MSTD { 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, \ +358 AUE_NULL MSTD { int linux_select(l_int nfds, \ l_fd_set *readfds, l_fd_set *writefds, \ l_fd_set *exceptfds, \ struct l_timeval *timeout); } @@ -532,27 +532,27 @@ 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, \ +363 AUE_NULL MSTD { 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, \ +366 AUE_NULL MSTD { int linux_adjtimex(void); } +367 AUE_NULL MSTD { 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); } +368 AUE_NULL MSTD { int linux_capget(void); } +369 AUE_NULL MSTD { int linux_capset(void); } +370 AUE_NULL MSTD { 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, \ +374 AUE_NULL MSTD { int linux_pivot_root(char *new_root, \ char *put_old); } -375 AUE_NULL STD { int linux_mincore(l_ulong start, \ +375 AUE_NULL MSTD { int linux_mincore(l_ulong start, \ l_size_t len, u_char *vec); } -376 AUE_NULL STD { int linux_pciconfig_iobase(void); } +376 AUE_NULL MSTD { int linux_pciconfig_iobase(void); } 377 AUE_NULL STD { int linux_getdents64(l_uint fd, void *dirent, l_uint count); } diff --git a/sys/alpha/osf1/syscalls.master b/sys/alpha/osf1/syscalls.master index ecf901718eb8..1de440ade9a3 100644 --- a/sys/alpha/osf1/syscalls.master +++ b/sys/alpha/osf1/syscalls.master @@ -35,7 +35,7 @@ #include -0 AUE_NULL NOPROTO { int nosys(void); } +0 AUE_NULL MNOPROTO { int nosys(void); } 1 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit \ sys_exit_args void 2 AUE_NULL MNOPROTO { int fork(void); } @@ -49,20 +49,20 @@ 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); } +9 AUE_NULL MNOPROTO { int link(char *path, char *link); } +10 AUE_NULL MNOPROTO { 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, \ +12 AUE_NULL MNOPROTO { int chdir(char *path); } +13 AUE_NULL MNOPROTO { int fchdir(int fd); } +14 AUE_NULL MSTD { 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( \ +15 AUE_NULL MNOPROTO { int chmod(char *path, int mode); } +16 AUE_NULL MNOPROTO { int chown(char *path, int uid, int gid); } +17 AUE_NULL MNOPROTO { int obreak(char *nsize); } +18 AUE_NULL MSTD { int osf1_getfsstat( \ struct osf1_statfs *buf, long bufsize, \ int flags); } -19 AUE_NULL STD { off_t osf1_lseek(int fd, off_t offset, \ +19 AUE_NULL MSTD { 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, \ @@ -74,19 +74,19 @@ 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, \ +29 AUE_NULL MNOPROTO { 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, \ +30 AUE_NULL MNOPROTO { int accept(int s, caddr_t name, \ int *anamelen); } -31 AUE_NULL NOPROTO { int getpeername(int fdes, caddr_t asa, \ +31 AUE_NULL MNOPROTO { int getpeername(int fdes, caddr_t asa, \ int *alen); } -32 AUE_NULL NOPROTO { int getsockname(int fdes, caddr_t asa, \ +32 AUE_NULL MNOPROTO { int getsockname(int fdes, caddr_t asa, \ int *alen); } -33 AUE_NULL STD { int osf1_access(char *path, int flags); } +33 AUE_NULL MSTD { int osf1_access(char *path, int flags); } 34 AUE_NULL UNIMPL chflags 35 AUE_NULL UNIMPL fchflags -36 AUE_NULL NOPROTO { int sync(void); } +36 AUE_NULL MNOPROTO { 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); } @@ -99,7 +99,7 @@ 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, \ +45 AUE_NULL MSTD { int osf1_open(char *path, int flags, \ int mode); } 46 AUE_NULL OBSOL sigaction 47 AUE_NULL MNOPROTO { gid_t getgid(void); } @@ -108,30 +108,30 @@ 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); } +51 AUE_NULL MNOPROTO { 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, \ +53 AUE_NULL MSTD { 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, \ +55 AUE_NULL MSTD { int osf1_reboot(int opt); } +56 AUE_NULL MNOPROTO { int revoke(char *path); } +57 AUE_NULL MNOPROTO { int symlink(char *path, char *link); } +58 AUE_NULL MNOPROTO { int readlink(char *path, char *buf, \ int count); } -59 AUE_NULL STD { int osf1_execve(char *path, char **argp, \ +59 AUE_NULL MSTD { 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); } +61 AUE_NULL MNOPROTO { int chroot(char *path); } 62 AUE_NULL UNIMPL old fstat 63 AUE_NULL MNOPROTO { int getpgrp(void); } -64 AUE_NULL NOPROTO { int ogetpagesize(void); } +64 AUE_NULL MNOPROTO { int ogetpagesize(void); } 65 AUE_NULL UNIMPL mremap 66 AUE_NULL MNOPROTO { int vfork(void); } -67 AUE_NULL STD { int osf1_stat(char *path, \ +67 AUE_NULL MSTD { int osf1_stat(char *path, \ struct osf1_stat *ub); } -68 AUE_NULL STD { int osf1_lstat(char *path, \ +68 AUE_NULL MSTD { int osf1_lstat(char *path, \ struct osf1_stat *ub); } 69 AUE_NULL UNIMPL sbrk 70 AUE_NULL UNIMPL sstk @@ -139,11 +139,11 @@ 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, \ +73 AUE_NULL MNOPROTO { int munmap(caddr_t addr, size_t len); } +74 AUE_NULL MNOPROTO { int mprotect(void *addr, size_t len, \ int prot); } ; XXX -75 AUE_NULL STD { int osf1_madvise(void); } +75 AUE_NULL MSTD { int osf1_madvise(void); } 76 AUE_NULL UNIMPL old vhangup 77 AUE_NULL UNIMPL kmodcall 78 AUE_NULL UNIMPL mincore @@ -154,13 +154,13 @@ 81 AUE_NULL UNIMPL old getpgrp ; OSF/1 setpgrp(); identical in function to setpgid(). XXX 82 AUE_NULL MSTD { int osf1_setpgrp(int pid, int pgid); } -83 AUE_NULL STD { int osf1_setitimer(u_int which, \ +83 AUE_NULL MSTD { 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, \ +85 AUE_NULL MSTD { int osf1_table(long id, long index, \ void *addr, long nel, u_long lel); } -86 AUE_NULL STD { int osf1_getitimer(u_int which, \ +86 AUE_NULL MSTD { int osf1_getitimer(u_int which, \ struct itimerval *itv); } 87 AUE_NULL MNOPROTO { int ogethostname(char *hostname, \ u_int len); } ogethostname \ @@ -170,35 +170,35 @@ 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); } +91 AUE_NULL MSTD { 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, \ +93 AUE_NULL MSTD { 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, \ +94 AUE_NULL MNOPROTO { int poll(struct pollfd *fds, u_int nfds, \ int timeout); } -95 AUE_NULL NOPROTO { int fsync(int fd); } +95 AUE_NULL MNOPROTO { 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, \ +97 AUE_NULL MSTD { int osf1_socket(int domain, int type, \ int protocol); } -98 AUE_NULL NOPROTO { int connect(int s, caddr_t name, \ +98 AUE_NULL MNOPROTO { int connect(int s, caddr_t name, \ int namelen); } -99 AUE_NULL NOPROTO { int oaccept(int s, caddr_t name, \ +99 AUE_NULL MNOPROTO { 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, \ +101 AUE_NULL MNOPROTO { int osend(int s, caddr_t buf, int len, \ int flags); } -102 AUE_NULL NOPROTO { int orecv(int s, caddr_t buf, int len, \ +102 AUE_NULL MNOPROTO { 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, \ +104 AUE_NULL MNOPROTO { int bind(int s, caddr_t name, \ int namelen); } -105 AUE_NULL NOPROTO { int setsockopt(int s, int level, int name, \ +105 AUE_NULL MNOPROTO { int setsockopt(int s, int level, int name, \ caddr_t val, int valsize); } -106 AUE_NULL NOPROTO { int listen(int s, int backlog); } +106 AUE_NULL MNOPROTO { int listen(int s, int backlog); } 107 AUE_NULL UNIMPL plock 108 AUE_NULL UNIMPL old sigvec 109 AUE_NULL UNIMPL old sigblock @@ -209,47 +209,47 @@ 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, \ +116 AUE_NULL MSTD { int osf1_gettimeofday(struct timeval *tp, \ struct timezone *tzp); } ; XXX -117 AUE_NULL STD { int osf1_getrusage(long who, \ +117 AUE_NULL MSTD { int osf1_getrusage(long who, \ void *rusage); } -118 AUE_NULL NOPROTO { int getsockopt(int s, int level, int name, \ +118 AUE_NULL MNOPROTO { 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, \ +120 AUE_NULL MSTD { int osf1_readv(int fd, \ struct osf1_iovec *iovp, u_int iovcnt); } -121 AUE_NULL STD { int osf1_writev(int fd, \ +121 AUE_NULL MSTD { 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, \ +123 AUE_NULL MNOPROTO { int fchown(int fd, int uid, int gid); } +124 AUE_NULL MNOPROTO { int fchmod(int fd, int mode); } +125 AUE_NULL MNOPROTO { 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, \ +128 AUE_NULL MNOPROTO { int rename(const char *from, \ const char *to); } -129 AUE_NULL STD { int osf1_truncate(char *path, \ +129 AUE_NULL MSTD { 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); } +130 AUE_NULL MSTD { int osf1_ftruncate(int fd, off_t length); } +131 AUE_NULL MNOPROTO { 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, \ +133 AUE_NULL MSTD { 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); } +134 AUE_NULL MNOPROTO { 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, \ +136 AUE_NULL MNOPROTO { int mkdir(char *path, int mode); } +137 AUE_NULL MNOPROTO { int rmdir(char *path); } +138 AUE_NULL MNOPROTO { 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, \ +141 AUE_NULL MNOPROTO { 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); } @@ -261,7 +261,7 @@ 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, \ +150 AUE_NULL MNOPROTO { int ogetsockname(int fdec, caddr_t asa, \ int *alen);} ogetsockname \ getsockname_args int 151 AUE_NULL UNIMPL @@ -277,9 +277,9 @@ 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, \ +160 AUE_NULL MSTD { int osf1_statfs(char *path, \ struct osf1_statfs *buf, int len); } -161 AUE_NULL STD { int osf1_fstatfs(int fd, \ +161 AUE_NULL MSTD { int osf1_fstatfs(int fd, \ struct osf1_statfs *buf, int len); } 162 AUE_NULL UNIMPL 163 AUE_NULL UNIMPL async_daemon @@ -335,7 +335,7 @@ 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); } +208 AUE_NULL MNOPROTO { 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, \ @@ -347,9 +347,9 @@ 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, \ +217 AUE_NULL MSTD { int osf1_msync(caddr_t addr, size_t len, \ int flags); } -218 AUE_NULL MSTD {int osf1_signal(int signum, void *handler); } +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 @@ -378,24 +378,24 @@ 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); } +244 AUE_NULL MSTD { int osf1_proplist_syscall(void); } +245 AUE_NULL MSTD { int osf1_ntpadjtime(void *tp); } +246 AUE_NULL MSTD { int osf1_ntpgettime(void *tp); } +247 AUE_NULL MSTD { int osf1_pathconf(char *path, int name); } +248 AUE_NULL MSTD { 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( \ +251 AUE_NULL MSTD { 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, \ +256 AUE_NULL MSTD { 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, \ +257 AUE_NULL MSTD { int osf1_setsysinfo(u_long op, \ caddr_t buffer, u_long nbytes, \ caddr_t arg, u_long flag); } 258 AUE_NULL UNIMPL afs_syscall diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master index c1a88eabd8bc..8e38b5ffcdd1 100644 --- a/sys/amd64/linux32/syscalls.master +++ b/sys/amd64/linux32/syscalls.master @@ -47,27 +47,27 @@ 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, \ +5 AUE_NULL MSTD { 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, \ +8 AUE_NULL MSTD { int linux_creat(char *path, l_int mode); } +9 AUE_NULL MSTD { int linux_link(char *path, char *to); } +10 AUE_NULL MSTD { int linux_unlink(char *path); } +11 AUE_NULL MSTD { 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, \ +12 AUE_NULL MSTD { int linux_chdir(char *path); } +13 AUE_NULL MSTD { int linux_time(l_time_t *tm); } +14 AUE_NULL MSTD { int linux_mknod(char *path, l_int mode, \ l_dev_t dev); } -15 AUE_NULL STD { int linux_chmod(char *path, \ +15 AUE_NULL MSTD { int linux_chmod(char *path, \ l_mode_t mode); } -16 AUE_NULL STD { int linux_lchown16(char *path, \ +16 AUE_NULL MSTD { 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, \ +19 AUE_NULL MSTD { 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, \ @@ -76,27 +76,27 @@ 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); } +25 AUE_NULL MSTD { 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); } +27 AUE_NULL MSTD { 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, \ +30 AUE_NULL MSTD { 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); } +33 AUE_NULL MSTD { 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); } +36 AUE_NULL MNOPROTO { 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); } +38 AUE_NULL MSTD { int linux_rename(char *from, char *to); } +39 AUE_NULL MSTD { int linux_mkdir(char *path, l_int mode); } +40 AUE_NULL MSTD { 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); } +43 AUE_NULL MSTD { 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); } @@ -110,15 +110,15 @@ 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, \ +55 AUE_NULL MSTD { 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); } +59 AUE_NULL MSTD { 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, \ +61 AUE_NULL MNOPROTO { int chroot(char *path); } +62 AUE_NULL MSTD { 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); } @@ -155,111 +155,111 @@ 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( \ +82 AUE_NULL MSTD { int linux_old_select( \ struct l_old_select_argv *ptr); } -83 AUE_NULL STD { int linux_symlink(char *path, \ +83 AUE_NULL MSTD { int linux_symlink(char *path, \ char *to); } 84 AUE_NULL UNIMPL ostat -85 AUE_NULL STD { int linux_readlink(char *name, \ +85 AUE_NULL MSTD { 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, \ +87 AUE_NULL MNOPROTO { int swapon(char *name); } +88 AUE_NULL MSTD { int linux_reboot(l_int magic1, \ l_int magic2, l_uint cmd, \ void *arg); } 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, \ +90 AUE_NULL MSTD { int linux_mmap(struct l_mmap_argv *ptr); } +91 AUE_NULL MNOPROTO { int munmap(caddr_t addr, int len); } +92 AUE_NULL MSTD { 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); } +93 AUE_NULL MNOPROTO { int oftruncate(int fd, long length); } +94 AUE_NULL MNOPROTO { int fchmod(int fd, int mode); } +95 AUE_NULL MNOPROTO { int fchown(int fd, int uid, int gid); } 96 AUE_NULL MSTD { int linux_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, \ +99 AUE_NULL MSTD { int linux_statfs(char *path, \ struct l_statfs_buf *buf); } -100 AUE_NULL STD { int linux_fstatfs(l_uint fd, \ +100 AUE_NULL MSTD { 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, \ +102 AUE_NULL MSTD { int linux_socketcall(l_int what, \ l_ulong args); } -103 AUE_NULL STD { int linux_syslog(l_int type, char *buf, \ +103 AUE_NULL MSTD { int linux_syslog(l_int type, char *buf, \ l_int len); } -104 AUE_NULL STD { int linux_setitimer(l_int which, \ +104 AUE_NULL MSTD { int linux_setitimer(l_int which, \ struct l_itimerval *itv, \ struct l_itimerval *oitv); } -105 AUE_NULL STD { int linux_getitimer(l_int which, \ +105 AUE_NULL MSTD { int linux_getitimer(l_int which, \ struct l_itimerval *itv); } -106 AUE_NULL STD { int linux_newstat(char *path, \ +106 AUE_NULL MSTD { int linux_newstat(char *path, \ struct l_newstat *buf); } -107 AUE_NULL STD { int linux_newlstat(char *path, \ +107 AUE_NULL MSTD { int linux_newlstat(char *path, \ struct l_newstat *buf); } -108 AUE_NULL STD { int linux_newfstat(l_uint fd, \ +108 AUE_NULL MSTD { int linux_newfstat(l_uint fd, \ struct l_newstat *buf); } -109 AUE_NULL STD { int linux_uname(void); } +109 AUE_NULL MSTD { int linux_uname(void); } 110 AUE_NULL UNIMPL iopl -111 AUE_NULL STD { int linux_vhangup(void); } +111 AUE_NULL MSTD { 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); } +115 AUE_NULL MSTD { int linux_swapoff(void); } +116 AUE_NULL MSTD { 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); } +118 AUE_NULL MNOPROTO { 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( \ +122 AUE_NULL MSTD { int linux_newuname( \ struct l_new_utsname *buf); } 123 AUE_NULL UNIMPL modify_ldt -124 AUE_NULL STD { int linux_adjtimex(void); } +124 AUE_NULL MSTD { 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, \ +127 AUE_NULL MSTD { int linux_create_module(void); } +128 AUE_NULL MSTD { int linux_init_module(void); } +129 AUE_NULL MSTD { int linux_delete_module(void); } +130 AUE_NULL MSTD { int linux_get_kernel_syms(void); } +131 AUE_NULL MSTD { int linux_quotactl(void); } +132 AUE_NULL MNOPROTO { int getpgid(int pid); } +133 AUE_NULL MNOPROTO { int fchdir(int fd); } +134 AUE_NULL MSTD { int linux_bdflush(void); } +135 AUE_NULL MSTD { int linux_sysfs(l_int option, \ l_ulong arg1, l_ulong arg2); } -136 AUE_NULL STD { int linux_personality(l_ulong per); } +136 AUE_NULL MSTD { 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, \ +138 AUE_NULL MSTD { int linux_setfsuid16(l_uid16_t uid); } +139 AUE_NULL MSTD { int linux_setfsgid16(l_gid16_t gid); } +140 AUE_NULL MSTD { 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, \ +142 AUE_NULL MSTD { 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, \ +143 AUE_NULL MNOPROTO { int flock(int fd, int how); } +144 AUE_NULL MSTD { int linux_msync(l_ulong addr, \ l_size_t len, l_int fl); } -145 AUE_NULL STD { int linux_readv(int fd, \ +145 AUE_NULL MSTD { int linux_readv(int fd, \ struct iovec32 *iovp, u_int iovcnt); } -146 AUE_NULL STD { int linux_writev(int fd, \ +146 AUE_NULL MSTD { 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( \ +148 AUE_NULL MSTD { int linux_fdatasync(l_uint fd); } +149 AUE_NULL MSTD { 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, \ @@ -274,7 +274,7 @@ 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); } +158 AUE_NULL MNOPROTO { 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( \ @@ -285,7 +285,7 @@ 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, \ +163 AUE_NULL MSTD { 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, \ @@ -293,16 +293,16 @@ 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*, \ +167 AUE_NULL MSTD { int linux_query_module(void); } +168 AUE_NULL MNOPROTO { int poll(struct pollfd*, \ unsigned int nfds, int timeout); } -169 AUE_NULL STD { int linux_nfsservctl(void); } +169 AUE_NULL MSTD { 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( \ +172 AUE_NULL MSTD { int linux_prctl(void); } +173 AUE_NULL MSTD { 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, \ @@ -310,44 +310,44 @@ 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); } +176 AUE_NULL MSTD { int linux_rt_sigpending(void); } +177 AUE_NULL MSTD { int linux_rt_sigtimedwait(void); } +178 AUE_NULL MSTD { 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, \ +180 AUE_NULL MSTD { 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, \ +181 AUE_NULL MSTD { 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, \ +182 AUE_NULL MSTD { int linux_chown16(char *path, \ l_uid16_t uid, l_gid16_t gid); } -183 AUE_NULL STD { int linux_getcwd(char *buf, \ +183 AUE_NULL MSTD { 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, \ +184 AUE_NULL MSTD { int linux_capget(void); } +185 AUE_NULL MSTD { int linux_capset(void); } +186 AUE_NULL MSTD { int linux_sigaltstack(l_stack_t *uss, \ l_stack_t *uoss); } -187 AUE_NULL STD { int linux_sendfile(void); } +187 AUE_NULL MSTD { 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, \ +192 AUE_NULL MSTD { 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, \ +193 AUE_NULL MSTD { int linux_truncate64(char *path, \ l_loff_t length); } -194 AUE_NULL STD { int linux_ftruncate64(l_uint fd, \ +194 AUE_NULL MSTD { int linux_ftruncate64(l_uint fd, \ l_loff_t length); } -195 AUE_NULL STD { int linux_stat64(char *filename, \ +195 AUE_NULL MSTD { int linux_stat64(char *filename, \ struct l_stat64 *statbuf, l_long flags); } -196 AUE_NULL STD { int linux_lstat64(char *filename, \ +196 AUE_NULL MSTD { int linux_lstat64(char *filename, \ struct l_stat64 *statbuf, l_long flags); } -197 AUE_NULL STD { int linux_fstat64(l_ulong fd, \ +197 AUE_NULL MSTD { 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, \ +198 AUE_NULL MSTD { 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); } @@ -368,39 +368,39 @@ 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, \ +212 AUE_NULL MSTD { 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, \ +215 AUE_NULL MSTD { int linux_setfsuid(l_uid_t uid); } +216 AUE_NULL MSTD { int linux_setfsgid(l_gid_t gid); } +217 AUE_NULL MSTD { int linux_pivot_root(char *new_root, \ char *put_old); } -218 AUE_NULL STD { int linux_mincore(l_ulong start, \ +218 AUE_NULL MSTD { 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, \ +221 AUE_NULL MSTD { 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); } +226 AUE_NULL MSTD { int linux_setxattr(void); } +227 AUE_NULL MSTD { int linux_lsetxattr(void); } +228 AUE_NULL MSTD { int linux_fsetxattr(void); } +229 AUE_NULL MSTD { int linux_getxattr(void); } +230 AUE_NULL MSTD { int linux_lgetxattr(void); } +231 AUE_NULL MSTD { int linux_fgetxattr(void); } +232 AUE_NULL MSTD { int linux_listxattr(void); } +233 AUE_NULL MSTD { int linux_llistxattr(void); } +234 AUE_NULL MSTD { int linux_flistxattr(void); } +235 AUE_NULL MSTD { int linux_removexattr(void); } +236 AUE_NULL MSTD { int linux_lremovexattr(void); } +237 AUE_NULL MSTD { int linux_fremovexattr(void); } 238 AUE_NULL UNIMPL linux_tkill 239 AUE_NULL UNIMPL linux_sendfile64 240 AUE_NULL UNIMPL linux_futex @@ -413,7 +413,7 @@ 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); } +250 AUE_NULL MSTD { int linux_fadvise64(void); } 251 AUE_NULL UNIMPL 252 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit_group \ sys_exit_args void diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master index d861445fe4e8..2a764bfb706b 100644 --- a/sys/compat/freebsd32/syscalls.master +++ b/sys/compat/freebsd32/syscalls.master @@ -67,21 +67,21 @@ 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); } +12 AUE_NULL MNOPROTO { int chdir(char *path); } +13 AUE_NULL MNOPROTO { int fchdir(int fd); } +14 AUE_NULL MNOPROTO { int mknod(char *path, int mode, int dev); } +15 AUE_NULL MNOPROTO { int chmod(char *path, int mode); } +16 AUE_NULL MNOPROTO { 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( \ +18 AUE_NULL MCOMPAT4 { 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, \ +21 AUE_NULL NOPROTO { int mount(char *type, char *path, \ int flags, caddr_t data); } -22 AUE_NULL MNOPROTO { int unmount(char *path, int flags); } +22 AUE_NULL NOPROTO { 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); } @@ -100,10 +100,10 @@ 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); } +33 AUE_NULL MNOPROTO { int access(char *path, int flags); } +34 AUE_NULL MNOPROTO { int chflags(char *path, int flags); } +35 AUE_NULL MNOPROTO { int fchflags(int fd, int flags); } +36 AUE_NULL MNOPROTO { 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); } @@ -129,15 +129,15 @@ 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, \ +56 AUE_NULL MNOPROTO { int revoke(char *path); } +57 AUE_NULL MNOPROTO { int symlink(char *path, char *link); } +58 AUE_NULL MNOPROTO { int readlink(char *path, char *buf, \ int count); } -59 AUE_NULL STD { int freebsd32_execve(char *fname, \ +59 AUE_NULL MSTD { 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); } +61 AUE_NULL MNOPROTO { int chroot(char *path); } 62 AUE_NULL OBSOL ofstat 63 AUE_NULL OBSOL ogetkerninfo 64 AUE_NULL OBSOL ogetpagesize @@ -167,13 +167,13 @@ 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, \ +83 AUE_NULL MSTD { int freebsd32_setitimer(u_int which, \ struct itimerval32 *itv, \ struct itimerval32 *oitv); } 84 AUE_NULL OBSOL owait ; XXX implement 85 AUE_NULL OBSOL oswapon -86 AUE_NULL STD { int freebsd32_getitimer(u_int which, \ +86 AUE_NULL MSTD { int freebsd32_getitimer(u_int which, \ struct itimerval32 *itv); } 87 AUE_NULL OBSOL ogethostname 88 AUE_NULL OBSOL osethostname @@ -181,12 +181,12 @@ 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, \ +93 AUE_NULL MSTD { 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 AUE_NULL UNIMPL setdopt -95 AUE_NULL NOPROTO { int fsync(int fd); } +95 AUE_NULL MNOPROTO { 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, \ @@ -215,40 +215,40 @@ 116 AUE_NULL MSTD { int freebsd32_gettimeofday( \ struct timeval32 *tp, \ struct timezone *tzp); } -117 AUE_NULL STD { int freebsd32_getrusage(int who, \ +117 AUE_NULL MSTD { 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, \ +120 AUE_NULL MSTD { int freebsd32_readv(int fd, \ struct iovec32 *iovp, u_int iovcnt); } -121 AUE_NULL STD { int freebsd32_writev(int fd, \ +121 AUE_NULL MSTD { int freebsd32_writev(int fd, \ struct iovec32 *iovp, u_int iovcnt); } -122 AUE_NULL STD { int freebsd32_settimeofday( \ +122 AUE_NULL MSTD { 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); } +123 AUE_NULL MNOPROTO { int fchown(int fd, int uid, int gid); } +124 AUE_NULL MNOPROTO { 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); } +128 AUE_NULL MNOPROTO { 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); } +132 AUE_NULL MNOPROTO { 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, \ +136 AUE_NULL MNOPROTO { int mkdir(char *path, int mode); } +137 AUE_NULL MNOPROTO { int rmdir(char *path); } +138 AUE_NULL MSTD { int freebsd32_utimes(char *path, \ struct timeval32 *tptr); } 139 AUE_NULL OBSOL 4.2 sigreturn -140 AUE_NULL STD { int freebsd32_adjtime( \ +140 AUE_NULL MSTD { int freebsd32_adjtime( \ struct timeval32 *delta, \ struct timeval32 *olddelta); } 141 AUE_NULL OBSOL ogetpeername @@ -258,7 +258,7 @@ 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, \ +148 AUE_NULL MNOPROTO { int quotactl(char *path, int cmd, int uid, \ caddr_t arg); } 149 AUE_NULL OBSOL oquota 150 AUE_NULL OBSOL ogetsockname @@ -275,13 +275,13 @@ ; XXX this is a problem!!! 155 AUE_NULL UNIMPL nfssvc 156 AUE_NULL OBSOL ogetdirentries -157 AUE_NULL COMPAT4 { int freebsd32_statfs(char *path, \ +157 AUE_NULL MCOMPAT4 { int freebsd32_statfs(char *path, \ struct statfs32 *buf); } -158 AUE_NULL COMPAT4 { int freebsd32_fstatfs(int fd, \ +158 AUE_NULL MCOMPAT4 { 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, \ +161 AUE_NULL MNOPROTO { int getfh(char *fname, \ struct fhandle *fhp); } 162 AUE_NULL MNOPROTO { int getdomainname(char *domainname, \ int len); } @@ -293,18 +293,18 @@ struct rtprio *rtp); } 167 AUE_NULL UNIMPL nosys 168 AUE_NULL UNIMPL nosys -169 AUE_NULL STD { int freebsd32_semsys(int which, int a2, \ +169 AUE_NULL MSTD { int freebsd32_semsys(int which, int a2, \ int a3, int a4, int a5); } -170 AUE_NULL STD { int freebsd32_msgsys(int which, int a2, \ +170 AUE_NULL MSTD { 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, \ +171 AUE_NULL MSTD { 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, \ +173 AUE_NULL MSTD { 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 AUE_NULL STD { ssize_t freebsd32_pwrite(int fd, \ +174 AUE_NULL MSTD { 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 @@ -323,13 +323,13 @@ 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, \ +188 AUE_NULL MSTD { 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, \ +190 AUE_NULL MSTD { int freebsd32_lstat(char *path, \ struct stat32 *ub); } -191 AUE_NULL NOPROTO { int pathconf(char *path, int name); } +191 AUE_NULL MNOPROTO { 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, \ @@ -338,24 +338,24 @@ 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, \ +196 AUE_NULL MNOPROTO { int getdirentries(int fd, char *buf, \ u_int count, long *basep); } -197 AUE_NULL STD { caddr_t freebsd32_mmap(caddr_t addr, \ +197 AUE_NULL MSTD { 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 \ +198 AUE_NULL MNOPROTO { int nosys(void); } __syscall \ __syscall_args int ; XXX note - bigendian is different -199 AUE_NULL STD { off_t freebsd32_lseek(int fd, int pad, \ +199 AUE_NULL MSTD { off_t freebsd32_lseek(int fd, int pad, \ u_int32_t offsetlo, u_int32_t offsethi, \ int whence); } ; XXX note - bigendian is different -200 AUE_NULL STD { int freebsd32_truncate(char *path, \ +200 AUE_NULL MSTD { int freebsd32_truncate(char *path, \ int pad, u_int32_t lengthlo, \ u_int32_t lengthhi); } ; XXX note - bigendian is different -201 AUE_NULL STD { int freebsd32_ftruncate(int fd, int pad, \ +201 AUE_NULL MSTD { 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, \ @@ -365,8 +365,8 @@ 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); } +205 AUE_NULL MNOPROTO { int undelete(char *path); } +206 AUE_NULL MNOPROTO { 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, \ @@ -442,7 +442,7 @@ 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); } +254 AUE_NULL MNOPROTO { int lchown(char *path, int uid, int gid); } 255 AUE_NULL UNIMPL nosys 256 AUE_NULL UNIMPL nosys 257 AUE_NULL UNIMPL nosys @@ -460,20 +460,20 @@ 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, \ +272 AUE_NULL MNOPROTO { 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, \ +274 AUE_NULL MNOPROTO { int lchmod(char *path, mode_t mode); } +275 AUE_NULL MNOPROTO { int lchown(char *path, uid_t uid, \ gid_t gid); } netbsd_lchown \ lchown_args int -276 AUE_NULL NOPROTO { int lutimes(char *path, \ +276 AUE_NULL MNOPROTO { 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); } +278 AUE_NULL MNOPROTO { 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); } +280 AUE_NULL MNOPROTO { int nlstat(char *path, struct nstat *ub); } 281 AUE_NULL UNIMPL nosys 282 AUE_NULL UNIMPL nosys 283 AUE_NULL UNIMPL nosys @@ -498,12 +498,12 @@ 295 AUE_NULL UNIMPL nosys 296 AUE_NULL UNIMPL nosys ; XXX 297 is 300 in NetBSD -297 AUE_NULL COMPAT4 { int freebsd32_fhstatfs( \ +297 AUE_NULL MCOMPAT4 { int freebsd32_fhstatfs( \ const struct fhandle *u_fhp, \ struct statfs32 *buf); } -298 AUE_NULL NOPROTO { int fhopen(const struct fhandle *u_fhp, \ +298 AUE_NULL MNOPROTO { int fhopen(const struct fhandle *u_fhp, \ int flags); } -299 AUE_NULL NOPROTO { int fhstat(const struct fhandle *u_fhp, \ +299 AUE_NULL MNOPROTO { int fhstat(const struct fhandle *u_fhp, \ struct stat *sb); } ; syscall numbers for FreeBSD 300 AUE_NULL MNOPROTO { int modnext(int modid); } @@ -536,7 +536,7 @@ 323 AUE_NULL OBSOL thr_wakeup 324 AUE_NULL MNOPROTO { int mlockall(int how); } 325 AUE_NULL MNOPROTO { int munlockall(void); } -326 AUE_NULL NOPROTO { int __getcwd(u_char *buf, u_int buflen); } +326 AUE_NULL MNOPROTO { int __getcwd(u_char *buf, u_int buflen); } 327 AUE_NULL MNOPROTO { int sched_setparam (pid_t pid, \ const struct sched_param *param); } @@ -559,7 +559,7 @@ u_int32_t offsetlo, u_int32_t offsethi, \ size_t nbytes, struct sf_hdtr *hdtr, \ off_t *sbytes, int flags); } -337 AUE_NULL NOPROTO { int kldsym(int fileid, int cmd, \ +337 AUE_NULL MNOPROTO { int kldsym(int fileid, int cmd, \ void *data); } 338 AUE_NULL MNOPROTO { int jail(struct jail *jail); } 339 AUE_NULL UNIMPL pioctl @@ -633,26 +633,26 @@ const char *attrname); } 374 AUE_NULL MNOPROTO { int __setugid(int flag); } 375 AUE_NULL UNIMPL nfsclnt -376 AUE_NULL NOPROTO { int eaccess(char *path, int flags); } +376 AUE_NULL MNOPROTO { int eaccess(char *path, int flags); } 377 AUE_NULL UNIMPL afs_syscall -378 AUE_NULL MNOPROTO { int nmount(struct iovec *iovp, \ +378 AUE_NULL NOPROTO { int nmount(struct iovec *iovp, \ unsigned int iovcnt, int flags); } -379 AUE_NULL NOPROTO { int kse_exit(void); } -380 AUE_NULL NOPROTO { int kse_wakeup(struct kse_mailbox *mbx); } -381 AUE_NULL NOPROTO { int kse_create(struct kse_mailbox *mbx, \ +379 AUE_NULL MNOPROTO { int kse_exit(void); } +380 AUE_NULL MNOPROTO { int kse_wakeup(struct kse_mailbox *mbx); } +381 AUE_NULL MNOPROTO { int kse_create(struct kse_mailbox *mbx, \ int newgroup); } -382 AUE_NULL NOPROTO { int kse_thr_interrupt( \ +382 AUE_NULL MNOPROTO { int kse_thr_interrupt( \ struct kse_thr_mailbox *tmbx); } -383 AUE_NULL NOPROTO { int kse_release(void); } +383 AUE_NULL MNOPROTO { int kse_release(void); } 384 AUE_NULL UNIMPL __mac_get_proc 385 AUE_NULL UNIMPL __mac_set_proc 386 AUE_NULL UNIMPL __mac_get_fd 387 AUE_NULL UNIMPL __mac_get_file 388 AUE_NULL UNIMPL __mac_set_fd 389 AUE_NULL UNIMPL __mac_set_file -390 AUE_NULL NOPROTO { int kenv(int what, const char *name, \ +390 AUE_NULL MNOPROTO { int kenv(int what, const char *name, \ char *value, int len); } -391 AUE_NULL NOPROTO { int lchflags(const char *path, int flags); } +391 AUE_NULL MNOPROTO { int lchflags(const char *path, int flags); } 392 AUE_NULL MNOPROTO { int uuidgen(struct uuid *store, \ int count); } 393 AUE_NULL MSTD { int freebsd32_sendfile(int fd, int s, \ @@ -660,12 +660,12 @@ size_t nbytes, struct sf_hdtr *hdtr, \ off_t *sbytes, int flags); } 394 AUE_NULL UNIMPL mac_syscall -395 AUE_NULL NOPROTO { int getfsstat(struct statfs *buf, \ +395 AUE_NULL MNOPROTO { int getfsstat(struct statfs *buf, \ long bufsize, int flags); } -396 AUE_NULL NOPROTO { int statfs(char *path, \ +396 AUE_NULL MNOPROTO { int statfs(char *path, \ struct statfs *buf); } -397 AUE_NULL NOPROTO { int fstatfs(int fd, struct statfs *buf); } -398 AUE_NULL NOPROTO { int fhstatfs(const struct fhandle *u_fhp, \ +397 AUE_NULL MNOPROTO { int fstatfs(int fd, struct statfs *buf); } +398 AUE_NULL MNOPROTO { int fhstatfs(const struct fhandle *u_fhp, \ struct statfs *buf); } 399 AUE_NULL UNIMPL nosys ; XXX implement these? diff --git a/sys/compat/svr4/syscalls.master b/sys/compat/svr4/syscalls.master index 279e477133a1..f160208edc4c 100644 --- a/sys/compat/svr4/syscalls.master +++ b/sys/compat/svr4/syscalls.master @@ -39,28 +39,28 @@ #include 0 AUE_NULL UNIMPL unused -1 AUE_NULL NOPROTO { void sys_exit(int rval); } exit \ +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 { 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 svr4_sys_open(char *path, int flags, \ +5 AUE_NULL MSTD { int svr4_sys_open(char *path, int flags, \ int mode); } 6 AUE_NULL MNOPROTO { int close(int fd); } -7 AUE_NULL STD { int svr4_sys_wait(int *status); } -8 AUE_NULL STD { int svr4_sys_creat(char *path, int mode); } -9 AUE_NULL NOPROTO { int link(char *path, char *link); } -10 AUE_NULL NOPROTO { int unlink(char *path); } -11 AUE_NULL STD { int svr4_sys_execv(char *path, char **argp); } -12 AUE_NULL NOPROTO { int chdir(char *path); } -13 AUE_NULL STD { int svr4_sys_time(time_t *t); } -14 AUE_NULL STD { int svr4_sys_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, uid_t uid, gid_t gid); } +7 AUE_NULL MSTD { int svr4_sys_wait(int *status); } +8 AUE_NULL MSTD { int svr4_sys_creat(char *path, int mode); } +9 AUE_NULL MNOPROTO { int link(char *path, char *link); } +10 AUE_NULL MNOPROTO { int unlink(char *path); } +11 AUE_NULL MSTD { int svr4_sys_execv(char *path, char **argp); } +12 AUE_NULL MNOPROTO { int chdir(char *path); } +13 AUE_NULL MSTD { int svr4_sys_time(time_t *t); } +14 AUE_NULL MSTD { int svr4_sys_mknod(char* path, int mode, int dev); } +15 AUE_NULL MNOPROTO { int chmod(char *path, int mode); } +16 AUE_NULL MNOPROTO { int chown(char *path, uid_t uid, gid_t gid); } 17 AUE_NULL STD { int svr4_sys_break(caddr_t nsize); } -18 AUE_NULL STD { int svr4_sys_stat(char* path, \ +18 AUE_NULL MSTD { int svr4_sys_stat(char* path, \ struct svr4_stat* ub); } -19 AUE_NULL NOPROTO { int lseek(int filedes, off_t *offset, \ +19 AUE_NULL MNOPROTO { int lseek(int filedes, off_t *offset, \ int whence); } 20 AUE_NULL MNOPROTO { pid_t getpid(void); } 21 AUE_NULL UNIMPL old_mount @@ -69,19 +69,19 @@ 24 AUE_NULL MNOPROTO { uid_t getuid(void); } 25 AUE_NULL UNIMPL stime 26 AUE_NULL UNIMPL ptrace -27 AUE_NULL STD { int svr4_sys_alarm(unsigned sec); } -28 AUE_NULL STD { int svr4_sys_fstat(int fd, \ +27 AUE_NULL MSTD { int svr4_sys_alarm(unsigned sec); } +28 AUE_NULL MSTD { int svr4_sys_fstat(int fd, \ struct svr4_stat *sb); } 29 AUE_NULL MSTD { int svr4_sys_pause(void); } -30 AUE_NULL STD { int svr4_sys_utime(char *path, \ +30 AUE_NULL MSTD { int svr4_sys_utime(char *path, \ struct svr4_utimbuf *ubuf); } 31 AUE_NULL UNIMPL stty 32 AUE_NULL UNIMPL gtty -33 AUE_NULL STD { int svr4_sys_access(char *path, \ +33 AUE_NULL MSTD { int svr4_sys_access(char *path, \ int flags); } 34 AUE_NULL MSTD { int svr4_sys_nice(int prio); } 35 AUE_NULL UNIMPL statfs -36 AUE_NULL NOPROTO { int sync(void); } +36 AUE_NULL MNOPROTO { int sync(void); } 37 AUE_NULL MSTD { int svr4_sys_kill(int pid, int signum); } 38 AUE_NULL UNIMPL fstatfs 39 AUE_NULL MSTD { int svr4_sys_pgrpsys(int cmd, int pid, \ @@ -89,16 +89,16 @@ 40 AUE_NULL UNIMPL xenix 41 AUE_NULL MNOPROTO { int dup(u_int fd); } 42 AUE_NULL MNOPROTO { int pipe(void); } -43 AUE_NULL STD { int svr4_sys_times(struct tms *tp); } +43 AUE_NULL MSTD { int svr4_sys_times(struct tms *tp); } 44 AUE_NULL UNIMPL profil 45 AUE_NULL UNIMPL plock 46 AUE_NULL MNOPROTO { int setgid(gid_t gid); } 47 AUE_NULL MNOPROTO { gid_t getgid(void); } 48 AUE_NULL MSTD { int svr4_sys_signal(int signum, \ svr4_sig_t handler); } -49 AUE_NULL STD { int svr4_sys_msgsys(int what, int a2, \ +49 AUE_NULL MSTD { int svr4_sys_msgsys(int what, int a2, \ int a3, int a4, int a5); } -50 AUE_NULL STD { int svr4_sys_sysarch(int op, void *a1); } +50 AUE_NULL MSTD { int svr4_sys_sysarch(int op, void *a1); } 51 AUE_NULL UNIMPL acct 52 AUE_NULL STD { int svr4_sys_shmsys(int what, int a2, \ int a3, int a4, int a5); } @@ -108,13 +108,13 @@ caddr_t data); } 55 AUE_NULL UNIMPL uadmin 56 AUE_NULL UNIMPL exch -57 AUE_NULL STD { int svr4_sys_utssys(void *a1, void *a2, \ +57 AUE_NULL MSTD { int svr4_sys_utssys(void *a1, void *a2, \ int sel, void *a3); } -58 AUE_NULL NOPROTO { int fsync(int fd); } -59 AUE_NULL STD { int svr4_sys_execve(char *path, \ +58 AUE_NULL MNOPROTO { int fsync(int fd); } +59 AUE_NULL MSTD { int svr4_sys_execve(char *path, \ char **argp, char **envp); } 60 AUE_NULL MNOPROTO { int umask(int newmask); } -61 AUE_NULL NOPROTO { int chroot(char *path); } +61 AUE_NULL MNOPROTO { int chroot(char *path); } 62 AUE_NULL MSTD { int svr4_sys_fcntl(int fd, int cmd, \ char *arg); } 63 AUE_NULL MSTD { int svr4_sys_ulimit(int cmd, \ @@ -134,8 +134,8 @@ 76 AUE_NULL UNIMPL rdebug 77 AUE_NULL UNIMPL rfstop 78 AUE_NULL UNIMPL rfsys -79 AUE_NULL NOPROTO { int rmdir(char *path); } -80 AUE_NULL NOPROTO { int mkdir(char *path, int mode); } +79 AUE_NULL MNOPROTO { int rmdir(char *path); } +80 AUE_NULL MNOPROTO { int mkdir(char *path, int mode); } 81 AUE_NULL STD { int svr4_sys_getdents(int fd, char *buf, \ int nbytes); } 82 AUE_NULL UNIMPL libattach @@ -147,19 +147,19 @@ 86 AUE_NULL STD { int svr4_sys_putmsg(int fd, \ struct svr4_strbuf *ctl, \ struct svr4_strbuf *dat, int flags); } -87 AUE_NULL STD { int svr4_sys_poll(struct pollfd *fds, \ +87 AUE_NULL MSTD { int svr4_sys_poll(struct pollfd *fds, \ unsigned int nfds, int timeout); } -88 AUE_NULL STD { int svr4_sys_lstat(char *path, \ +88 AUE_NULL MSTD { int svr4_sys_lstat(char *path, \ struct svr4_stat *ub); } -89 AUE_NULL NOPROTO { int symlink(char *path, char *link); } -90 AUE_NULL NOPROTO { int readlink(char *path, char *buf, \ +89 AUE_NULL MNOPROTO { int symlink(char *path, char *link); } +90 AUE_NULL MNOPROTO { int readlink(char *path, char *buf, \ int count); } 91 AUE_NULL MNOPROTO { int getgroups(u_int gidsetsize, \ gid_t *gidset); } 92 AUE_NULL MNOPROTO { int setgroups(u_int gidsetsize, \ gid_t *gidset); } -93 AUE_NULL NOPROTO { int fchmod(int fd, int mode); } -94 AUE_NULL NOPROTO { int fchown(int fd, int uid, int gid); } +93 AUE_NULL MNOPROTO { int fchmod(int fd, int mode); } +94 AUE_NULL MNOPROTO { int fchown(int fd, int uid, int gid); } 95 AUE_NULL MSTD { int svr4_sys_sigprocmask(int how, \ svr4_sigset_t *set, \ svr4_sigset_t *oset); } @@ -173,68 +173,68 @@ struct svr4_sigaction *osa); } 99 AUE_NULL MSTD { int svr4_sys_sigpending(int what, \ svr4_sigset_t *mask); } -100 AUE_NULL STD { int svr4_sys_context(int func, \ +100 AUE_NULL MSTD { int svr4_sys_context(int func, \ struct svr4_ucontext *uc); } 101 AUE_NULL UNIMPL evsys 102 AUE_NULL UNIMPL evtrapret -103 AUE_NULL STD { int svr4_sys_statvfs(char *path, \ +103 AUE_NULL MSTD { int svr4_sys_statvfs(char *path, \ struct svr4_statvfs *fs); } -104 AUE_NULL STD { int svr4_sys_fstatvfs(int fd, \ +104 AUE_NULL MSTD { int svr4_sys_fstatvfs(int fd, \ struct svr4_statvfs *fs); } 105 AUE_NULL UNIMPL whoknows 106 AUE_NULL UNIMPL nfssvc 107 AUE_NULL STD { int svr4_sys_waitsys(int grp, int id, \ union svr4_siginfo *info, int options); } 108 AUE_NULL UNIMPL sigsendsys -109 AUE_NULL STD { int svr4_sys_hrtsys(int cmd, int fun, \ +109 AUE_NULL MSTD { int svr4_sys_hrtsys(int cmd, int fun, \ int sub, void *rv1, void *rv2); } 110 AUE_NULL UNIMPL acancel 111 AUE_NULL UNIMPL async 112 AUE_NULL UNIMPL priocntlsys -113 AUE_NULL STD { int svr4_sys_pathconf(char *path, \ +113 AUE_NULL MSTD { int svr4_sys_pathconf(char *path, \ int name); } 114 AUE_NULL UNIMPL mincore -115 AUE_NULL STD { caddr_t svr4_sys_mmap(caddr_t addr, \ +115 AUE_NULL MSTD { caddr_t svr4_sys_mmap(caddr_t addr, \ svr4_size_t len, int prot, int flags, \ int fd, svr4_off_t pos); } 116 AUE_NULL MNOPROTO { int mprotect(void *addr, int len, \ int prot); } 117 AUE_NULL MNOPROTO { int munmap(void *addr, int len); } -118 AUE_NULL STD { int svr4_sys_fpathconf(int fd, int name); } +118 AUE_NULL MSTD { int svr4_sys_fpathconf(int fd, int name); } 119 AUE_NULL MNOPROTO { int vfork(void); } -120 AUE_NULL NOPROTO { int fchdir(int fd); } -121 AUE_NULL NOPROTO { int readv(int fd, struct iovec *iovp, \ +120 AUE_NULL MNOPROTO { int fchdir(int fd); } +121 AUE_NULL MNOPROTO { int readv(int fd, struct iovec *iovp, \ u_int iovcnt); } -122 AUE_NULL NOPROTO { int writev(int fd, struct iovec *iovp, \ +122 AUE_NULL MNOPROTO { int writev(int fd, struct iovec *iovp, \ u_int iovcnt); } -123 AUE_NULL STD { int svr4_sys_xstat(int two, char *path, \ +123 AUE_NULL MSTD { int svr4_sys_xstat(int two, char *path, \ struct svr4_xstat *ub); } -124 AUE_NULL STD { int svr4_sys_lxstat(int two, char *path, \ +124 AUE_NULL MSTD { int svr4_sys_lxstat(int two, char *path, \ struct svr4_xstat *ub); } -125 AUE_NULL STD { int svr4_sys_fxstat(int two, int fd, \ +125 AUE_NULL MSTD { int svr4_sys_fxstat(int two, int fd, \ struct svr4_xstat *sb); } -126 AUE_NULL STD { int svr4_sys_xmknod(int two, char *path, \ +126 AUE_NULL MSTD { int svr4_sys_xmknod(int two, char *path, \ svr4_mode_t mode, svr4_dev_t dev); } 127 AUE_NULL UNIMPL clocal 128 AUE_NULL MSTD { int svr4_sys_setrlimit(int which, \ const struct svr4_rlimit *rlp); } 129 AUE_NULL MSTD { int svr4_sys_getrlimit(int which, \ struct svr4_rlimit *rlp); } -130 AUE_NULL NOPROTO { int lchown(char *path, uid_t uid, \ +130 AUE_NULL MNOPROTO { int lchown(char *path, uid_t uid, \ gid_t gid); } -131 AUE_NULL STD { int svr4_sys_memcntl(void * addr, \ +131 AUE_NULL MSTD { int svr4_sys_memcntl(void * addr, \ svr4_size_t len, int cmd, void * arg, \ int attr, int mask); } 132 AUE_NULL UNIMPL getpmsg 133 AUE_NULL UNIMPL putpmsg -134 AUE_NULL NOPROTO { int rename(char *from, char *to); } -135 AUE_NULL STD { int svr4_sys_uname( \ +134 AUE_NULL MNOPROTO { int rename(char *from, char *to); } +135 AUE_NULL MSTD { int svr4_sys_uname( \ struct svr4_utsname* name, int dummy); } 136 AUE_NULL MNOPROTO { int setegid(gid_t egid); } -137 AUE_NULL STD { int svr4_sys_sysconfig(int name); } +137 AUE_NULL MSTD { int svr4_sys_sysconfig(int name); } 138 AUE_NULL MNOPROTO { int adjtime(struct timeval *delta, \ struct timeval *olddelta); } -139 AUE_NULL STD { long svr4_sys_systeminfo(int what, \ +139 AUE_NULL MSTD { long svr4_sys_systeminfo(int what, \ char *buf, long len); } 140 AUE_NULL UNIMPL notused 141 AUE_NULL MNOPROTO { int seteuid(uid_t euid); } @@ -251,10 +251,10 @@ 151 AUE_NULL UNIMPL notused 152 AUE_NULL UNIMPL modctl 153 AUE_NULL STD { int svr4_sys_fchroot(int fd); } -154 AUE_NULL STD { int svr4_sys_utimes(char *path, \ +154 AUE_NULL MSTD { int svr4_sys_utimes(char *path, \ struct timeval *tptr); } -155 AUE_NULL STD { int svr4_sys_vhangup(void); } -156 AUE_NULL STD { int svr4_sys_gettimeofday( \ +155 AUE_NULL MSTD { int svr4_sys_vhangup(void); } +156 AUE_NULL MSTD { int svr4_sys_gettimeofday( \ struct timeval *tp); } 157 AUE_NULL MNOPROTO { int getitimer(u_int which, \ struct itimerval *itv); } @@ -280,7 +280,7 @@ 174 AUE_NULL UNIMPL { ssize_t svr4_sys_pwrite(int fd, \ const void *buf, size_t nbyte, \ svr4_off_t off); } -175 AUE_NULL STD { svr4_off64_t svr4_sys_llseek(int fd, \ +175 AUE_NULL MSTD { svr4_off64_t svr4_sys_llseek(int fd, \ long offset1, long offset2, int whence); } 176 AUE_NULL UNIMPL inst_sync 177 AUE_NULL UNIMPL whoknows @@ -291,9 +291,9 @@ 182 AUE_NULL UNIMPL whoknows 183 AUE_NULL UNIMPL whoknows 184 AUE_NULL UNIMPL tsolsys -185 AUE_NULL STD { int svr4_sys_acl(char *path, int cmd, \ +185 AUE_NULL MSTD { int svr4_sys_acl(char *path, int cmd, \ int num, struct svr4_aclent *buf); } -186 AUE_NULL STD { int svr4_sys_auditsys(int code, int a1, \ +186 AUE_NULL MSTD { int svr4_sys_auditsys(int code, int a1, \ int a2, int a3, int a4, int a5); } 187 AUE_NULL UNIMPL processor_bind 188 AUE_NULL UNIMPL processor_info @@ -310,7 +310,7 @@ 199 AUE_NULL MNOPROTO { int nanosleep( \ const struct timespec *rqtp, \ struct timespec *rmtp); } -200 AUE_NULL STD { int svr4_sys_facl(int fd, int cmd, \ +200 AUE_NULL MSTD { int svr4_sys_facl(int fd, int cmd, \ int num, struct svr4_aclent *buf); } 201 AUE_NULL UNIMPL door 202 AUE_NULL MNOPROTO { int setreuid(int ruid, int euid); } @@ -328,18 +328,18 @@ 213 AUE_NULL STD { int svr4_sys_getdents64(int fd, \ struct svr4_dirent64 *dp, int nbytes); } ;213 AUE_NULL UNIMPL getdents64 -214 AUE_NULL STD { caddr_t svr4_sys_mmap64(void *addr, \ +214 AUE_NULL MSTD { caddr_t svr4_sys_mmap64(void *addr, \ svr4_size_t len, int prot, int flags, \ int fd, svr4_off64_t pos); } -215 AUE_NULL STD { int svr4_sys_stat64(char *path, \ +215 AUE_NULL MSTD { int svr4_sys_stat64(char *path, \ struct svr4_stat64 *sb); } -216 AUE_NULL STD { int svr4_sys_lstat64(char *path, \ +216 AUE_NULL MSTD { int svr4_sys_lstat64(char *path, \ struct svr4_stat64 *sb); } -217 AUE_NULL STD { int svr4_sys_fstat64(int fd, \ +217 AUE_NULL MSTD { int svr4_sys_fstat64(int fd, \ struct svr4_stat64 *sb); } -218 AUE_NULL STD { int svr4_sys_statvfs64(char *path, \ +218 AUE_NULL MSTD { int svr4_sys_statvfs64(char *path, \ struct svr4_statvfs64 *fs); } -219 AUE_NULL STD { int svr4_sys_fstatvfs64(int fd, \ +219 AUE_NULL MSTD { int svr4_sys_fstatvfs64(int fd, \ struct svr4_statvfs64 *fs); } 220 AUE_NULL MSTD { int svr4_sys_setrlimit64(int which, \ const struct svr4_rlimit64 *rlp); } @@ -347,50 +347,50 @@ struct svr4_rlimit64 *rlp); } 222 AUE_NULL UNIMPL pread64 223 AUE_NULL UNIMPL pwrite64 -224 AUE_NULL STD { int svr4_sys_creat64(char *path, \ +224 AUE_NULL MSTD { int svr4_sys_creat64(char *path, \ int mode); } -225 AUE_NULL STD { int svr4_sys_open64(char *path, int flags, \ +225 AUE_NULL MSTD { int svr4_sys_open64(char *path, int flags, \ int mode); } 226 AUE_NULL UNIMPL rpcsys 227 AUE_NULL UNIMPL whoknows 228 AUE_NULL UNIMPL whoknows 229 AUE_NULL UNIMPL whoknows -230 AUE_NULL STD { int svr4_sys_socket(int domain, int type, \ +230 AUE_NULL MSTD { int svr4_sys_socket(int domain, int type, \ int protocol); } -231 AUE_NULL NOPROTO { int socketpair(int domain, int type, \ +231 AUE_NULL MNOPROTO { int socketpair(int domain, int type, \ int protocol, int *rsv); } -232 AUE_NULL NOPROTO { int bind(int s, \ +232 AUE_NULL MNOPROTO { int bind(int s, \ const struct sockaddr *name, \ int namelen); } -233 AUE_NULL NOPROTO { int listen(int s, int backlog); } -234 AUE_NULL NOPROTO { int accept(int s, struct sockaddr *name, \ +233 AUE_NULL MNOPROTO { int listen(int s, int backlog); } +234 AUE_NULL MNOPROTO { int accept(int s, struct sockaddr *name, \ int *anamelen); } -235 AUE_NULL NOPROTO { int connect(int s, \ +235 AUE_NULL MNOPROTO { int connect(int s, \ const struct sockaddr *name, \ int namelen); } -236 AUE_NULL NOPROTO { int shutdown(int s, int how); } -237 AUE_NULL STD { int svr4_sys_recv(int s, caddr_t buf, \ +236 AUE_NULL MNOPROTO { int shutdown(int s, int how); } +237 AUE_NULL MSTD { int svr4_sys_recv(int s, caddr_t buf, \ int len, int flags); } -238 AUE_NULL NOPROTO { ssize_t recvfrom(int s, void *buf, \ +238 AUE_NULL MNOPROTO { ssize_t recvfrom(int s, void *buf, \ size_t len, int flags, \ struct sockaddr *from, \ int *fromlenaddr); } -239 AUE_NULL NOPROTO { ssize_t recvmsg(int s, struct msghdr *msg, \ +239 AUE_NULL MNOPROTO { ssize_t recvmsg(int s, struct msghdr *msg, \ int flags); } -240 AUE_NULL STD { int svr4_sys_send(int s, caddr_t buf, \ +240 AUE_NULL MSTD { int svr4_sys_send(int s, caddr_t buf, \ int len, int flags); } -241 AUE_NULL NOPROTO { ssize_t sendmsg(int s, \ +241 AUE_NULL MNOPROTO { ssize_t sendmsg(int s, \ const struct msghdr *msg, int flags); } -242 AUE_NULL STD { ssize_t svr4_sys_sendto(int s, void *buf, \ +242 AUE_NULL MSTD { ssize_t svr4_sys_sendto(int s, void *buf, \ size_t len, int flags, \ struct sockaddr *to, int tolen); } -243 AUE_NULL NOPROTO { int getpeername(int fdes, \ +243 AUE_NULL MNOPROTO { int getpeername(int fdes, \ struct sockaddr *asa, int *alen); } -244 AUE_NULL NOPROTO { int getsockname(int fdes, \ +244 AUE_NULL MNOPROTO { int getsockname(int fdes, \ struct sockaddr *asa, int *alen); } -245 AUE_NULL NOPROTO { int getsockopt(int s, int level, int name, \ +245 AUE_NULL MNOPROTO { int getsockopt(int s, int level, int name, \ void *val, int *avalsize); } -246 AUE_NULL NOPROTO { int setsockopt(int s, int level, int name, \ +246 AUE_NULL MNOPROTO { int setsockopt(int s, int level, int name, \ const void *val, int valsize); } 247 AUE_NULL UNIMPL sockconfig 248 AUE_NULL UNIMPL { int ntp_gettime(struct ntptimeval *ntvp); } diff --git a/sys/i386/ibcs2/syscalls.isc b/sys/i386/ibcs2/syscalls.isc index 957622774866..40892e68e693 100644 --- a/sys/i386/ibcs2/syscalls.isc +++ b/sys/i386/ibcs2/syscalls.isc @@ -10,28 +10,28 @@ 0 AUE_NULL UNIMPL nosys 1 AUE_NULL UNIMPL isc_setostype -2 AUE_NULL NOPROTO { int ibcs2_rename(char *from, char *to); } -3 AUE_NULL NOPROTO { int ibcs2_sigaction(int sig, \ +2 AUE_NULL MNOPROTO { int ibcs2_rename(char *from, char *to); } +3 AUE_NULL MNOPROTO { int ibcs2_sigaction(int sig, \ struct ibcs2_sigaction *act, \ struct ibcs2_sigaction *oact); } -4 AUE_NULL NOPROTO { int ibcs2_sigprocmask(int how, \ +4 AUE_NULL MNOPROTO { int ibcs2_sigprocmask(int how, \ ibcs2_sigset_t *set, ibcs2_sigset_t *oset); } -5 AUE_NULL NOPROTO { int ibcs2_sigpending(ibcs2_sigset_t *mask); } -6 AUE_NULL NOPROTO { int getgroups(u_int gidsetsize, \ +5 AUE_NULL MNOPROTO { int ibcs2_sigpending(ibcs2_sigset_t *mask); } +6 AUE_NULL MNOPROTO { int getgroups(u_int gidsetsize, \ gid_t *gidset); } -7 AUE_NULL NOPROTO { int setgroups(u_int gidsetsize, \ +7 AUE_NULL MNOPROTO { int setgroups(u_int gidsetsize, \ gid_t *gidset); } -8 AUE_NULL NOPROTO { int ibcs2_pathconf(char *path, int name); } -9 AUE_NULL NOPROTO { int ibcs2_fpathconf(int fd, int name); } +8 AUE_NULL MNOPROTO { int ibcs2_pathconf(char *path, int name); } +9 AUE_NULL MNOPROTO { int ibcs2_fpathconf(int fd, int name); } 10 AUE_NULL UNIMPL nosys -11 AUE_NULL NOPROTO { int ibcs2_wait(int a1, int a2, int a3); } -12 AUE_NULL NOPROTO { int setsid(void); } -13 AUE_NULL NOPROTO { pid_t getpid(void); } +11 AUE_NULL MNOPROTO { int ibcs2_wait(int a1, int a2, int a3); } +12 AUE_NULL MNOPROTO { int setsid(void); } +13 AUE_NULL MNOPROTO { pid_t getpid(void); } 14 AUE_NULL UNIMPL isc_adduser 15 AUE_NULL UNIMPL isc_setuser 16 AUE_NULL MNOPROTO { int ibcs2_sysconf(int name); } -17 AUE_NULL NOPROTO { int ibcs2_sigsuspend(ibcs2_sigset_t *mask); } -18 AUE_NULL NOPROTO { int ibcs2_symlink(char *path, char *link); } -19 AUE_NULL NOPROTO { int ibcs2_readlink(char *path, char *buf, \ +17 AUE_NULL MNOPROTO { int ibcs2_sigsuspend(ibcs2_sigset_t *mask); } +18 AUE_NULL MNOPROTO { int ibcs2_symlink(char *path, char *link); } +19 AUE_NULL MNOPROTO { int ibcs2_readlink(char *path, char *buf, \ int count); } 20 AUE_NULL UNIMPL isc_getmajor diff --git a/sys/i386/ibcs2/syscalls.master b/sys/i386/ibcs2/syscalls.master index a4e3d57c7b5b..cadec1785b92 100644 --- a/sys/i386/ibcs2/syscalls.master +++ b/sys/i386/ibcs2/syscalls.master @@ -35,7 +35,7 @@ ; #ifdef's, etc. may be included, and are copied to the output files. -0 AUE_NULL NOPROTO { int nosys(void); } syscall nosys_args int +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); } @@ -43,25 +43,25 @@ u_int nbytes); } 4 AUE_NULL MNOPROTO { int write(int fd, char *buf, \ u_int nbytes); } -5 AUE_NULL STD { int ibcs2_open(char *path, int flags, \ +5 AUE_NULL MSTD { int ibcs2_open(char *path, int flags, \ int mode); } 6 AUE_NULL MNOPROTO { int close(int fd); } 7 AUE_NULL MSTD { int ibcs2_wait(int a1, int a2, int a3); } -8 AUE_NULL STD { int ibcs2_creat(char *path, int mode); } -9 AUE_NULL NOPROTO { int link(char *path, char *link); } -10 AUE_NULL STD { int ibcs2_unlink(char *path); } -11 AUE_NULL STD { int ibcs2_execv(char *path, char **argp); } -12 AUE_NULL STD { int ibcs2_chdir(char *path); } -13 AUE_NULL STD { int ibcs2_time(ibcs2_time_t *tp); } -14 AUE_NULL STD { int ibcs2_mknod(char* path, int mode, \ +8 AUE_NULL MSTD { int ibcs2_creat(char *path, int mode); } +9 AUE_NULL MNOPROTO { int link(char *path, char *link); } +10 AUE_NULL MSTD { int ibcs2_unlink(char *path); } +11 AUE_NULL MSTD { int ibcs2_execv(char *path, char **argp); } +12 AUE_NULL MSTD { int ibcs2_chdir(char *path); } +13 AUE_NULL MSTD { int ibcs2_time(ibcs2_time_t *tp); } +14 AUE_NULL MSTD { int ibcs2_mknod(char* path, int mode, \ int dev); } -15 AUE_NULL STD { int ibcs2_chmod(char *path, int mode); } -16 AUE_NULL STD { int ibcs2_chown(char *path, int uid, \ +15 AUE_NULL MSTD { int ibcs2_chmod(char *path, int mode); } +16 AUE_NULL MSTD { int ibcs2_chown(char *path, int uid, \ int gid); } -17 AUE_NULL NOPROTO { int obreak(caddr_t nsize); } -18 AUE_NULL STD { int ibcs2_stat(char* path, \ +17 AUE_NULL MNOPROTO { int obreak(caddr_t nsize); } +18 AUE_NULL MSTD { int ibcs2_stat(char* path, \ struct ibcs2_stat *st); } -19 AUE_NULL STD { long ibcs2_lseek(int fd, long offset, \ +19 AUE_NULL MSTD { long ibcs2_lseek(int fd, long offset, \ int whence); } 20 AUE_NULL MNOPROTO { pid_t getpid(void); } 21 AUE_NULL STD { int ibcs2_mount(char *special, char *dir, \ @@ -70,45 +70,45 @@ 22 AUE_NULL STD { int ibcs2_umount(char *name); } 23 AUE_NULL MSTD { int ibcs2_setuid(int uid); } 24 AUE_NULL MNOPROTO { uid_t getuid(void); } -25 AUE_NULL STD { int ibcs2_stime(long *timep); } +25 AUE_NULL MSTD { int ibcs2_stime(long *timep); } 26 AUE_NULL MNOPROTO { int ptrace(int req, pid_t pid, \ caddr_t addr, int data); } -27 AUE_NULL STD { int ibcs2_alarm(unsigned sec); } -28 AUE_NULL STD { int ibcs2_fstat(int fd, \ +27 AUE_NULL MSTD { int ibcs2_alarm(unsigned sec); } +28 AUE_NULL MSTD { int ibcs2_fstat(int fd, \ struct ibcs2_stat *st); } 29 AUE_NULL MSTD { int ibcs2_pause(void); } -30 AUE_NULL STD { int ibcs2_utime(char *path, \ +30 AUE_NULL MSTD { int ibcs2_utime(char *path, \ struct ibcs2_utimbuf *buf); } -31 AUE_NULL STD { int ibcs2_stty(int fd, \ +31 AUE_NULL MSTD { int ibcs2_stty(int fd, \ struct sgttyb *buf); } -32 AUE_NULL STD { int ibcs2_gtty(int fd, \ +32 AUE_NULL MSTD { int ibcs2_gtty(int fd, \ struct sgttyb *buf); } -33 AUE_NULL STD { int ibcs2_access(char *path, int flags); } +33 AUE_NULL MSTD { int ibcs2_access(char *path, int flags); } 34 AUE_NULL MSTD { int ibcs2_nice(int incr); } -35 AUE_NULL STD { int ibcs2_statfs(char *path, \ +35 AUE_NULL MSTD { int ibcs2_statfs(char *path, \ struct ibcs2_statfs *buf, int len, \ int fstype); } -36 AUE_NULL NOPROTO { int sync(void); } +36 AUE_NULL MNOPROTO { int sync(void); } 37 AUE_NULL MSTD { int ibcs2_kill(int pid, int signo); } -38 AUE_NULL STD { int ibcs2_fstatfs(int fd, \ +38 AUE_NULL MSTD { int ibcs2_fstatfs(int fd, \ struct ibcs2_statfs *buf, int len, \ int fstype); } 39 AUE_NULL MSTD { int ibcs2_pgrpsys(int type, caddr_t dummy, \ int pid, int pgid); } -40 AUE_NULL STD { int ibcs2_xenix(int a1, int a2, int a3, \ +40 AUE_NULL MSTD { int ibcs2_xenix(int a1, int a2, int a3, \ int a4, int a5); } 41 AUE_NULL MNOPROTO { int dup(u_int fd); } 42 AUE_NULL MNOPROTO { int pipe(void); } -43 AUE_NULL STD { int ibcs2_times(struct tms *tp); } +43 AUE_NULL MSTD { int ibcs2_times(struct tms *tp); } 44 AUE_NULL MNOPROTO { int profil(caddr_t samples, u_int size, \ u_int offset, u_int scale); } -45 AUE_NULL STD { int ibcs2_plock(int cmd); } +45 AUE_NULL MSTD { int ibcs2_plock(int cmd); } 46 AUE_NULL MSTD { int ibcs2_setgid(int gid); } 47 AUE_NULL MNOPROTO { gid_t getgid(void); } -48 AUE_NULL STD { int ibcs2_sigsys(int sig, ibcs2_sig_t fp); } +48 AUE_NULL MSTD { int ibcs2_sigsys(int sig, ibcs2_sig_t fp); } 49 AUE_NULL STD { int ibcs2_msgsys(int which, int a2, \ int a3, int a4, int a5, int a6); } -50 AUE_NULL STD { int ibcs2_sysi86(int cmd, int *arg); } +50 AUE_NULL MSTD { int ibcs2_sysi86(int cmd, int *arg); } 51 AUE_NULL UNIMPL ibcs2_acct 52 AUE_NULL STD { int ibcs2_shmsys(int which, int a2, \ int a3, int a4); } @@ -116,16 +116,16 @@ int a3, int a4, int a5); } 54 AUE_NULL STD { int ibcs2_ioctl(int fd, int cmd, \ caddr_t data); } -55 AUE_NULL STD { int ibcs2_uadmin(int cmd, int func, \ +55 AUE_NULL MSTD { int ibcs2_uadmin(int cmd, int func, \ caddr_t data); } 56 AUE_NULL UNIMPL nosys -57 AUE_NULL STD { int ibcs2_utssys(int a1, int a2, \ +57 AUE_NULL MSTD { int ibcs2_utssys(int a1, int a2, \ int flag); } -58 AUE_NULL NOPROTO { int fsync(int fd); } -59 AUE_NULL STD { int ibcs2_execve(char *path, char **argp, \ +58 AUE_NULL MNOPROTO { int fsync(int fd); } +59 AUE_NULL MSTD { int ibcs2_execve(char *path, char **argp, \ char **envp); } 60 AUE_NULL MNOPROTO { int umask(int newmask); } -61 AUE_NULL NOPROTO { int chroot(char *path); } +61 AUE_NULL MNOPROTO { int chroot(char *path); } 62 AUE_NULL MSTD { int ibcs2_fcntl(int fd, int cmd, \ char *arg); } 63 AUE_NULL MSTD { long ibcs2_ulimit(int cmd, int newlimit); } @@ -144,30 +144,30 @@ 76 AUE_NULL OBSOL rfs_rdebug 77 AUE_NULL OBSOL rfs_rfstop 78 AUE_NULL UNIMPL rfs_rfsys -79 AUE_NULL STD { int ibcs2_rmdir(char *path); } -80 AUE_NULL STD { int ibcs2_mkdir(char *path, int mode); } +79 AUE_NULL MSTD { int ibcs2_rmdir(char *path); } +80 AUE_NULL MSTD { int ibcs2_mkdir(char *path, int mode); } 81 AUE_NULL STD { int ibcs2_getdents(int fd, char *buf, \ int nbytes); } 82 AUE_NULL UNIMPL nosys 83 AUE_NULL UNIMPL nosys -84 AUE_NULL STD { int ibcs2_sysfs(int cmd, caddr_t d1, \ +84 AUE_NULL MSTD { int ibcs2_sysfs(int cmd, caddr_t d1, \ char *buf); } -85 AUE_NULL STD { int ibcs2_getmsg(int fd, \ +85 AUE_NULL MSTD { int ibcs2_getmsg(int fd, \ struct ibcs2_stropts *ctl, \ struct ibcs2_stropts *dat, int *flags); } -86 AUE_NULL STD { int ibcs2_putmsg(int fd, \ +86 AUE_NULL MSTD { int ibcs2_putmsg(int fd, \ struct ibcs2_stropts *ctl, \ struct ibcs2_stropts *dat, int flags); } 87 AUE_NULL STD { int ibcs2_poll(struct ibcs2_poll *fds, \ long nfds, int timeout); } 88 AUE_NULL UNIMPL nosys -89 AUE_NULL STD { int ibcs2_secure(int cmd, int a1, int a2, \ +89 AUE_NULL MSTD { int ibcs2_secure(int cmd, int a1, int a2, \ int a3, int a4, int a5); } -90 AUE_NULL STD { int ibcs2_symlink(char *path, \ +90 AUE_NULL MSTD { int ibcs2_symlink(char *path, \ char *link); } -91 AUE_NULL STD { int ibcs2_lstat(char *path, \ +91 AUE_NULL MSTD { int ibcs2_lstat(char *path, \ struct ibcs2_stat *st); } -92 AUE_NULL STD { int ibcs2_readlink(char *path, char *buf, \ +92 AUE_NULL MSTD { int ibcs2_readlink(char *path, char *buf, \ int count); } 93 AUE_NULL UNIMPL nosys 94 AUE_NULL UNIMPL nosys @@ -182,7 +182,7 @@ 103 AUE_NULL MNOPROTO { int sigreturn( \ struct sigcontext *sigcntxp); } 104 AUE_NULL UNIMPL nosys -105 AUE_NULL STD { int ibcs2_isc(void); } +105 AUE_NULL MSTD { int ibcs2_isc(void); } 106 AUE_NULL UNIMPL nosys 107 AUE_NULL UNIMPL nosys 108 AUE_NULL UNIMPL nosys diff --git a/sys/i386/ibcs2/syscalls.xenix b/sys/i386/ibcs2/syscalls.xenix index 71f5237a19a9..755d75f3a1bf 100644 --- a/sys/i386/ibcs2/syscalls.xenix +++ b/sys/i386/ibcs2/syscalls.xenix @@ -17,9 +17,9 @@ 7 AUE_NULL STD { int xenix_rdchk(int fd); } 8 AUE_NULL UNIMPL nosys 9 AUE_NULL UNIMPL nosys -10 AUE_NULL STD { int xenix_chsize(int fd, long size); } -11 AUE_NULL STD { int xenix_ftime(struct timeb *tp); } -12 AUE_NULL STD { int xenix_nap(int millisec); } +10 AUE_NULL MSTD { int xenix_chsize(int fd, long size); } +11 AUE_NULL MSTD { int xenix_ftime(struct timeb *tp); } +12 AUE_NULL MSTD { int xenix_nap(int millisec); } 13 AUE_NULL UNIMPL xenix_sdget 14 AUE_NULL UNIMPL xenix_sdfree 15 AUE_NULL UNIMPL xenix_sdenter @@ -28,7 +28,7 @@ 18 AUE_NULL UNIMPL xenix_sdwaitv 19 AUE_NULL UNIMPL nosys 20 AUE_NULL UNIMPL nosys -21 AUE_NULL STD { int xenix_scoinfo(void); } +21 AUE_NULL MSTD { int xenix_scoinfo(void); } 22 AUE_NULL UNIMPL nosys 23 AUE_NULL UNIMPL nosys 24 AUE_NULL UNIMPL nosys @@ -43,35 +43,35 @@ 33 AUE_NULL UNIMPL xenix_execseg 34 AUE_NULL UNIMPL xenix_unexecseg 35 AUE_NULL UNIMPL nosys -36 AUE_NULL NOPROTO { int select(u_int nd, fd_set *in, \ +36 AUE_NULL MNOPROTO { int select(u_int nd, fd_set *in, \ fd_set *ou, fd_set *ex, \ struct timeval *tv); } -37 AUE_NULL STD { int xenix_eaccess(char *path, int flags); } +37 AUE_NULL MSTD { int xenix_eaccess(char *path, int flags); } 38 AUE_NULL UNIMPL xenix_paccess -39 AUE_NULL STD { int ibcs2_sigaction(int sig, \ +39 AUE_NULL MSTD { int ibcs2_sigaction(int sig, \ struct ibcs2_sigaction *act, \ struct ibcs2_sigaction *oact); } -40 AUE_NULL STD { int ibcs2_sigprocmask(int how, \ +40 AUE_NULL MSTD { int ibcs2_sigprocmask(int how, \ ibcs2_sigset_t *set, \ ibcs2_sigset_t *oset); } -41 AUE_NULL STD { int ibcs2_sigpending(ibcs2_sigset_t *mask); } -42 AUE_NULL STD { int ibcs2_sigsuspend(ibcs2_sigset_t *mask); } +41 AUE_NULL MSTD { int ibcs2_sigpending(ibcs2_sigset_t *mask); } +42 AUE_NULL MSTD { int ibcs2_sigsuspend(ibcs2_sigset_t *mask); } 43 AUE_NULL STD { int ibcs2_getgroups(int gidsetsize, \ ibcs2_gid_t *gidset); } 44 AUE_NULL STD { int ibcs2_setgroups(int gidsetsize, \ ibcs2_gid_t *gidset); } 45 AUE_NULL MSTD { int ibcs2_sysconf(int name); } -46 AUE_NULL STD { int ibcs2_pathconf(char *path, int name); } -47 AUE_NULL STD { int ibcs2_fpathconf(int fd, int name); } -48 AUE_NULL STD { int ibcs2_rename(char *from, char *to); } +46 AUE_NULL MSTD { int ibcs2_pathconf(char *path, int name); } +47 AUE_NULL MSTD { int ibcs2_fpathconf(int fd, int name); } +48 AUE_NULL MSTD { int ibcs2_rename(char *from, char *to); } 49 AUE_NULL UNIMPL nosys -50 AUE_NULL STD { int xenix_utsname(long addr); } +50 AUE_NULL MSTD { int xenix_utsname(long addr); } 51 AUE_NULL UNIMPL nosys 52 AUE_NULL UNIMPL nosys 53 AUE_NULL UNIMPL nosys 54 AUE_NULL UNIMPL nosys -55 AUE_NULL NOPROTO { int getitimer(u_int which, \ +55 AUE_NULL MNOPROTO { int getitimer(u_int which, \ struct itimerval *itv); } -56 AUE_NULL NOPROTO { int setitimer(u_int which, \ +56 AUE_NULL MNOPROTO { int setitimer(u_int which, \ struct itimerval *itv, \ struct itimerval *otv); } diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master index 847664dfcd7d..694d0121b716 100644 --- a/sys/i386/linux/syscalls.master +++ b/sys/i386/linux/syscalls.master @@ -47,29 +47,29 @@ 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, \ +5 AUE_NULL MSTD { 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, \ +8 AUE_NULL MSTD { 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, \ +9 AUE_NULL MSTD { int linux_link(char *path, char *to); } +10 AUE_NULL MSTD { int linux_unlink(char *path); } +11 AUE_NULL MSTD { 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, \ +12 AUE_NULL MSTD { int linux_chdir(char *path); } +13 AUE_NULL MSTD { int linux_time(l_time_t *tm); } +14 AUE_NULL MSTD { int linux_mknod(char *path, l_int mode, \ l_dev_t dev); } -15 AUE_NULL STD { int linux_chmod(char *path, \ +15 AUE_NULL MSTD { int linux_chmod(char *path, \ l_mode_t mode); } -16 AUE_NULL STD { int linux_lchown16(char *path, \ +16 AUE_NULL MSTD { int linux_lchown16(char *path, \ l_uid16_t uid, l_gid16_t gid); } 17 AUE_NULL UNIMPL break -18 AUE_NULL STD { int linux_stat(char *path, \ +18 AUE_NULL MSTD { int linux_stat(char *path, \ struct ostat *up); } -19 AUE_NULL STD { int linux_lseek(l_uint fdes, l_off_t off, \ +19 AUE_NULL MSTD { 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, \ @@ -78,28 +78,28 @@ 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); } +25 AUE_NULL MSTD { 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 STD { int linux_fstat(l_uint fd, \ +27 AUE_NULL MSTD { int linux_alarm(l_uint secs); } +28 AUE_NULL MSTD { int linux_fstat(l_uint fd, \ struct ostat *up); } 29 AUE_NULL MSTD { int linux_pause(void); } -30 AUE_NULL STD { int linux_utime(char *fname, \ +30 AUE_NULL MSTD { 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); } +33 AUE_NULL MSTD { 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); } +36 AUE_NULL MNOPROTO { 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); } +38 AUE_NULL MSTD { int linux_rename(char *from, char *to); } +39 AUE_NULL MSTD { int linux_mkdir(char *path, l_int mode); } +40 AUE_NULL MSTD { 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); } +43 AUE_NULL MSTD { 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); } @@ -118,10 +118,10 @@ 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); } +59 AUE_NULL MSTD { 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, \ +61 AUE_NULL MNOPROTO { int chroot(char *path); } +62 AUE_NULL MSTD { 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); } @@ -156,110 +156,110 @@ 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( \ +82 AUE_NULL MSTD { int linux_old_select( \ struct l_old_select_argv *ptr); } -83 AUE_NULL STD { int linux_symlink(char *path, char *to); } -84 AUE_NULL NOPROTO { int ostat(char *path, struct ostat *up); } -85 AUE_NULL STD { int linux_readlink(char *name, char *buf, \ +83 AUE_NULL MSTD { int linux_symlink(char *path, char *to); } +84 AUE_NULL MNOPROTO { int ostat(char *path, struct ostat *up); } +85 AUE_NULL MSTD { int linux_readlink(char *name, char *buf, \ l_int count); } 86 AUE_NULL STD { int linux_uselib(char *library); } -87 AUE_NULL NOPROTO { int swapon(char *name); } -88 AUE_NULL STD { int linux_reboot(l_int magic1, \ +87 AUE_NULL MNOPROTO { int swapon(char *name); } +88 AUE_NULL MSTD { int linux_reboot(l_int magic1, \ l_int magic2, l_uint cmd, void *arg); } 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, \ +90 AUE_NULL MSTD { int linux_mmap(struct l_mmap_argv *ptr); } +91 AUE_NULL MNOPROTO { int munmap(caddr_t addr, int len); } +92 AUE_NULL MSTD { 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); } +93 AUE_NULL MNOPROTO { int oftruncate(int fd, long length); } +94 AUE_NULL MNOPROTO { int fchmod(int fd, int mode); } +95 AUE_NULL MNOPROTO { int fchown(int fd, int uid, int gid); } 96 AUE_NULL MSTD { int linux_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, \ +99 AUE_NULL MSTD { int linux_statfs(char *path, \ struct l_statfs_buf *buf); } -100 AUE_NULL STD { int linux_fstatfs(l_uint fd, \ +100 AUE_NULL MSTD { int linux_fstatfs(l_uint fd, \ struct l_statfs_buf *buf); } -101 AUE_NULL STD { int linux_ioperm(l_ulong start, \ +101 AUE_NULL MSTD { int linux_ioperm(l_ulong start, \ l_ulong length, l_int enable); } -102 AUE_NULL STD { int linux_socketcall(l_int what, \ +102 AUE_NULL MSTD { int linux_socketcall(l_int what, \ l_ulong args); } -103 AUE_NULL STD { int linux_syslog(l_int type, char *buf, \ +103 AUE_NULL MSTD { int linux_syslog(l_int type, char *buf, \ l_int len); } -104 AUE_NULL STD { int linux_setitimer(l_int which, \ +104 AUE_NULL MSTD { int linux_setitimer(l_int which, \ struct l_itimerval *itv, \ struct l_itimerval *oitv); } -105 AUE_NULL STD { int linux_getitimer(l_int which, \ +105 AUE_NULL MSTD { int linux_getitimer(l_int which, \ struct l_itimerval *itv); } -106 AUE_NULL STD { int linux_newstat(char *path, \ +106 AUE_NULL MSTD { int linux_newstat(char *path, \ struct l_newstat *buf); } -107 AUE_NULL STD { int linux_newlstat(char *path, \ +107 AUE_NULL MSTD { int linux_newlstat(char *path, \ struct l_newstat *buf); } -108 AUE_NULL STD { int linux_newfstat(l_uint fd, \ +108 AUE_NULL MSTD { int linux_newfstat(l_uint fd, \ struct l_newstat *buf); } -109 AUE_NULL STD { int linux_uname(void); } -110 AUE_NULL STD { int linux_iopl(l_ulong level); } -111 AUE_NULL STD { int linux_vhangup(void); } +109 AUE_NULL MSTD { int linux_uname(void); } +110 AUE_NULL MSTD { int linux_iopl(l_ulong level); } +111 AUE_NULL MSTD { int linux_vhangup(void); } 112 AUE_NULL UNIMPL idle -113 AUE_NULL STD { int linux_vm86old(void); } +113 AUE_NULL MSTD { int linux_vm86old(void); } 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); } +115 AUE_NULL MSTD { int linux_swapoff(void); } +116 AUE_NULL MSTD { 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); } +118 AUE_NULL MNOPROTO { 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( \ +122 AUE_NULL MSTD { int linux_newuname( \ struct l_new_utsname *buf); } -123 AUE_NULL STD { int linux_modify_ldt(l_int func, \ +123 AUE_NULL MSTD { int linux_modify_ldt(l_int func, \ void *ptr, l_ulong bytecount); } -124 AUE_NULL STD { int linux_adjtimex(void); } -125 AUE_NULL NOPROTO { int mprotect(caddr_t addr, int len, \ +124 AUE_NULL MSTD { int linux_adjtimex(void); } +125 AUE_NULL MNOPROTO { int 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, \ +127 AUE_NULL MSTD { int linux_create_module(void); } +128 AUE_NULL MSTD { int linux_init_module(void); } +129 AUE_NULL MSTD { int linux_delete_module(void); } +130 AUE_NULL MSTD { int linux_get_kernel_syms(void); } +131 AUE_NULL MSTD { int linux_quotactl(void); } +132 AUE_NULL MNOPROTO { int getpgid(int pid); } +133 AUE_NULL MNOPROTO { int fchdir(int fd); } +134 AUE_NULL MSTD { int linux_bdflush(void); } +135 AUE_NULL MSTD { int linux_sysfs(l_int option, \ l_ulong arg1, l_ulong arg2); } -136 AUE_NULL STD { int linux_personality(l_ulong per); } +136 AUE_NULL MSTD { 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, \ +138 AUE_NULL MSTD { int linux_setfsuid16(l_uid16_t uid); } +139 AUE_NULL MSTD { int linux_setfsgid16(l_gid16_t gid); } +140 AUE_NULL MSTD { 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, \ +142 AUE_NULL MSTD { 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, \ +143 AUE_NULL MNOPROTO { int flock(int fd, int how); } +144 AUE_NULL MSTD { int linux_msync(l_ulong addr, \ l_size_t len, l_int fl); } -145 AUE_NULL NOPROTO { int readv(int fd, struct iovec *iovp, \ +145 AUE_NULL MNOPROTO { int readv(int fd, struct iovec *iovp, \ u_int iovcnt); } -146 AUE_NULL NOPROTO { int writev(int fd, struct iovec *iovp, \ +146 AUE_NULL MNOPROTO { int writev(int fd, struct iovec *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( \ +148 AUE_NULL MSTD { int linux_fdatasync(l_uint fd); } +149 AUE_NULL MSTD { 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); } @@ -273,7 +273,7 @@ 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); } +158 AUE_NULL MNOPROTO { 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( \ @@ -283,24 +283,24 @@ 162 AUE_NULL MNOPROTO { int nanosleep( \ const struct timespec *rqtp, \ struct timespec *rmtp); } -163 AUE_NULL STD { int linux_mremap(l_ulong addr, \ +163 AUE_NULL MSTD { 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 STD { int linux_vm86(void); } -167 AUE_NULL STD { int linux_query_module(void); } -168 AUE_NULL NOPROTO { int poll(struct pollfd*, \ +166 AUE_NULL MSTD { int linux_vm86(void); } +167 AUE_NULL MSTD { int linux_query_module(void); } +168 AUE_NULL MNOPROTO { int poll(struct pollfd*, \ unsigned int nfds, long timeout); } -169 AUE_NULL STD { int linux_nfsservctl(void); } +169 AUE_NULL MSTD { 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( \ +172 AUE_NULL MSTD { int linux_prctl(void); } +173 AUE_NULL MSTD { 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, \ @@ -308,44 +308,44 @@ 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); } +176 AUE_NULL MSTD { int linux_rt_sigpending(void); } +177 AUE_NULL MSTD { int linux_rt_sigtimedwait(void); } +178 AUE_NULL MSTD { 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, \ +180 AUE_NULL MSTD { 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, \ +181 AUE_NULL MSTD { 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, \ +182 AUE_NULL MSTD { int linux_chown16(char *path, \ l_uid16_t uid, l_gid16_t gid); } -183 AUE_NULL STD { int linux_getcwd(char *buf, \ +183 AUE_NULL MSTD { 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, \ +184 AUE_NULL MSTD { int linux_capget(void); } +185 AUE_NULL MSTD { int linux_capset(void); } +186 AUE_NULL MSTD { int linux_sigaltstack(l_stack_t *uss, \ l_stack_t *uoss); } -187 AUE_NULL STD { int linux_sendfile(void); } +187 AUE_NULL MSTD { 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, \ +192 AUE_NULL MSTD { 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, \ +193 AUE_NULL MSTD { int linux_truncate64(char *path, \ l_loff_t length); } -194 AUE_NULL STD { int linux_ftruncate64(l_uint fd, \ +194 AUE_NULL MSTD { int linux_ftruncate64(l_uint fd, \ l_loff_t length); } -195 AUE_NULL STD { int linux_stat64(char *filename, \ +195 AUE_NULL MSTD { int linux_stat64(char *filename, \ struct l_stat64 *statbuf, l_long flags); } -196 AUE_NULL STD { int linux_lstat64(char *filename, \ +196 AUE_NULL MSTD { int linux_lstat64(char *filename, \ struct l_stat64 *statbuf, l_long flags); } -197 AUE_NULL STD { int linux_fstat64(l_ulong fd, \ +197 AUE_NULL MSTD { 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, \ +198 AUE_NULL MSTD { 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); } @@ -366,15 +366,15 @@ 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, \ +212 AUE_NULL MSTD { 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, \ +215 AUE_NULL MSTD { int linux_setfsuid(l_uid_t uid); } +216 AUE_NULL MSTD { int linux_setfsgid(l_gid_t gid); } +217 AUE_NULL MSTD { int linux_pivot_root(char *new_root, \ char *put_old); } -218 AUE_NULL STD { int linux_mincore(l_ulong start, \ +218 AUE_NULL MSTD { 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); } @@ -384,33 +384,33 @@ l_ulong arg); } 222 AUE_NULL UNIMPL 223 AUE_NULL UNIMPL -224 AUE_NULL STD { long linux_gettid(void); } +224 AUE_NULL MSTD { long linux_gettid(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 STD { int linux_tkill(int tid, int sig); } +226 AUE_NULL MSTD { int linux_setxattr(void); } +227 AUE_NULL MSTD { int linux_lsetxattr(void); } +228 AUE_NULL MSTD { int linux_fsetxattr(void); } +229 AUE_NULL MSTD { int linux_getxattr(void); } +230 AUE_NULL MSTD { int linux_lgetxattr(void); } +231 AUE_NULL MSTD { int linux_fgetxattr(void); } +232 AUE_NULL MSTD { int linux_listxattr(void); } +233 AUE_NULL MSTD { int linux_llistxattr(void); } +234 AUE_NULL MSTD { int linux_flistxattr(void); } +235 AUE_NULL MSTD { int linux_removexattr(void); } +236 AUE_NULL MSTD { int linux_lremovexattr(void); } +237 AUE_NULL MSTD { int linux_fremovexattr(void); } +238 AUE_NULL MSTD { int linux_tkill(int tid, int sig); } 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 STD { int linux_set_thread_area(void *entry); } +243 AUE_NULL MSTD { int linux_set_thread_area(void *entry); } 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); } +250 AUE_NULL MSTD { int linux_fadvise64(void); } 251 AUE_NULL UNIMPL 252 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit_group \ sys_exit_args void