summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-05-30 15:09:18 +0000
committerrwatson <rwatson@FreeBSD.org>2005-05-30 15:09:18 +0000
commit370e72b2429fe88da87b89bcc9a205ef901d1035 (patch)
treee500d0949fcdf4ab03d7cece04295f06c17fd972
parent18fac9a47f2be7c793811e8e259e799344781e64 (diff)
downloadFreeBSD-src-370e72b2429fe88da87b89bcc9a205ef901d1035.zip
FreeBSD-src-370e72b2429fe88da87b89bcc9a205ef901d1035.tar.gz
Introduce a new field in the syscalls.master file format to hold the
audit event identifier associated with each system call, which will be stored by makesyscalls.sh in the sy_auevent field of struct sysent. For now, default the audit identifier on all system calls to AUE_NULL, but in the near future, other BSM event identifiers will be used. The mapping of system calls to event identifiers is many:one due to multiple system calls that map to the same end functionality across compatibility wrappers, ABI wrappers, etc. Submitted by: wsalamon Obtained from: TrustedBSD Project
-rw-r--r--sys/alpha/linux/syscalls.master939
-rw-r--r--sys/alpha/osf1/syscalls.master742
-rw-r--r--sys/amd64/linux32/syscalls.master709
-rw-r--r--sys/compat/freebsd32/syscalls.master1168
-rw-r--r--sys/compat/svr4/syscalls.master648
-rw-r--r--sys/i386/ibcs2/syscalls.master313
-rw-r--r--sys/i386/linux/syscalls.master710
-rw-r--r--sys/kern/makesyscalls.sh137
-rw-r--r--sys/kern/syscalls.master1266
9 files changed, 3668 insertions, 2964 deletions
diff --git a/sys/alpha/linux/syscalls.master b/sys/alpha/linux/syscalls.master
index 7527581..b8fde0f 100644
--- a/sys/alpha/linux/syscalls.master
+++ b/sys/alpha/linux/syscalls.master
@@ -6,6 +6,11 @@
; Columns: number type nargs name alt{name,tag,rtyp}/comments
; number system call number, must be in order
+; audit the audit event associated with the system call
+; A value of AUE_NULL means no auditing, but it also means that
+; there is no audit event for the call at this time. For the
+; case where the event exists, but we don't want auditing, the
+; event should be #defined to AUE_NULL in audit_kevents.h.
; type one of STD, OBSOL, UNIMPL, COMPAT, CPT_NOA, LIBCOMPAT,
; NODEF, NOARGS, NOPROTO
; name psuedo-prototype of syscall routine
@@ -40,426 +45,514 @@
; #ifdef's, etc. may be included, and are copied to the output files.
-0 UNIMPL
-1 MNOPROTO { void sys_exit(int rval); } exit sys_exit_args void
-2 MSTD { int linux_fork(void); }
-3 MNOPROTO { int read(int fd, char *buf, u_int nbyte); }
-4 MNOPROTO { int write(int fd, char *buf, u_int nbyte); }
-5 UNIMPL
-6 MNOPROTO { int close(int fd); }
-7 MSTD { int osf1_wait4(int pid, int *status, int options, \
- struct osf1_rusage *rusage); }
-8 UNIMPL
-9 STD { int linux_link(char *path, char *to); }
-10 STD { int linux_unlink(char *path); }
-11 UNIMPL
-12 STD { int linux_chdir(char *path); }
-13 NOPROTO { int fchdir(int fd); }
-14 STD { int linux_mknod(char *path, l_int mode, l_dev_t dev); }
-15 STD { int linux_chmod(char *path, l_mode_t mode); }
-16 STD { int linux_chown(char *path, l_uid_t uid, l_gid_t gid); }
-17 STD { int linux_brk(l_ulong dsend); }
-18 UNIMPL
-19 STD { int linux_lseek(l_uint fdes, l_off_t off, l_int whence); }
-20 NOPROTO { int getpid(void); }
-21 UNIMPL osf1_mount
-22 STD { int linux_umount(char *path, l_int flags); }
-23 MNOPROTO { int setuid(uid_t uid); }
-24 MNOPROTO { int getuid(void); }
-25 UNIMPL
-26 MSTD { int linux_ptrace(void); }
-27 UNIMPL
-28 UNIMPL
-29 UNIMPL
-30 UNIMPL
-31 UNIMPL
-32 UNIMPL
-33 STD { int linux_access(char *path, l_int flags); }
-34 UNIMPL
-35 UNIMPL
-36 NOPROTO { int sync(void); }
-37 MSTD { int linux_kill(l_int pid, l_int signum); }
-38 UNIMPL
-39 MNOPROTO { int setpgid(int pid, int pgid); }
-40 UNIMPL
-41 MNOPROTO { int dup(u_int fd); }
-42 MNOPROTO { int pipe(void); }
-43 UNIMPL osf_set_program_attributes
-44 UNIMPL
-45 STD { int linux_open(char *path, l_int flags, l_int mode); }
-46 UNIMPL
-47 MNOPROTO { int getgid(void); }
-48 MSTD { int osf1_sigprocmask(int how, u_long mask); }
-49 UNIMPL
-50 UNIMPL
-51 NOPROTO { int acct(char *path); }
-52 MSTD { int linux_sigpending(void); }
-53 UNIMPL
-54 STD { int linux_ioctl(l_uint fd, l_uint cmd, l_ulong arg); }
-55 UNIMPL
-56 UNIMPL
-57 STD { int linux_symlink(char *path, char *to); }
-58 STD { int linux_readlink(char *name, char *buf, l_int count); }
-59 STD { int linux_execve(char *path, char **argp, char **envp); }
-60 MNOPROTO { int umask(int newmask); }
-61 NOPROTO { int chroot(char *path); }
-62 UNIMPL
-63 MNOPROTO { int getpgrp(void); }
-64 STD { int linux_getpagesize(void); }
-65 UNIMPL
-66 MSTD { int linux_vfork(void); }
-67 STD { int linux_newstat(char *path, struct l_newstat *buf); }
-68 STD { int linux_newlstat(char *path, struct l_newstat *buf); }
-69 UNIMPL
-70 UNIMPL
-71 STD { int linux_mmap(l_ulong addr, l_ulong len, l_ulong prot, \
- l_ulong flags, l_ulong fd, l_ulong pos); }
-72 UNIMPL
-73 STD { int linux_munmap(l_ulong addr, l_size_t len); }
-74 STD { int linux_mprotect(l_ulong addr, l_size_t len, \
- l_ulong prot); }
-75 MNOPROTO { int madvise(void *addr, size_t len, int behav); }
-76 STD { int linux_vhangup(void); }
-77 UNIMPL
-78 UNIMPL
-79 MSTD { int linux_setgroups(l_int gidsetsize, l_gid_t *grouplist); }
-80 MSTD { int linux_getgroups(l_int gidsetsize, l_gid_t *grouplist); }
-81 UNIMPL
-82 MNODEF setpgid setpgid setpgid_args int
-83 STD { int osf1_setitimer(u_int which, struct itimerval *itv, \
- struct itimerval *oitv); }
-84 UNIMPL
-85 UNIMPL
-86 UNIMPL osf_getitimer
-87 STD { int linux_gethostname(void); }
-88 MNOPROTO { int osethostname(char *hostname, u_int len); } \
- osethostname sethostname_args int
-89 STD { int linux_getdtablesize(void); }
-90 MNOPROTO { int dup2(u_int from, u_int to); }
-91 STD { int linux_newfstat(l_uint fd, struct l_newstat *buf); }
-92 MSTD { int linux_fcntl(l_uint fd, l_uint cmd, l_ulong arg); }
-93 STD { int osf1_select(u_int nd, fd_set *in, fd_set *ou, \
- fd_set *ex, struct timeval *tv); }
-94 NOPROTO { int poll(struct pollfd*, unsigned int nfds, long timeout); }
-95 NOPROTO { int fsync(int fd); }
-96 MNOPROTO { int setpriority(int which, int who, int prio); }
-97 STD { int osf1_socket(int domain, int type, int protocol); }
-98 STD { int linux_connect(l_int s, struct l_sockaddr *name, \
- l_int namelen); }
-99 NOPROTO { int oaccept(int s, caddr_t name, int *anamelen); } \
- accept accept_args int
-100 UNIMPL osf_getpriority
-101 NOPROTO { int osend(int s, caddr_t buf, int len, int flags); }
-102 NOPROTO { int orecv(int s, caddr_t buf, int len, int flags); }
-103 MSTD { int osf1_sigreturn(struct osigcontext *sigcntxp); }
-104 NOPROTO { int bind(int s, caddr_t name, int namelen); }
-105 NOPROTO { int setsockopt(int s, int level, int name, caddr_t val, \
- int valsize); }
-106 NOPROTO { int listen(int s, int backlog); }
-107 UNIMPL
-108 UNIMPL
-109 UNIMPL
-110 UNIMPL
-111 MSTD { int osf1_sigsuspend(unsigned long ss); }
-112 UNIMPL osf_sigstack
-113 STD { int linux_recvmsg(void); }
-114 STD { int linux_sendmsg(void); }
-115 UNIMPL
-116 MSTD { int osf1_gettimeofday(struct timeval *tp, \
- struct timezone *tzp); }
-117 STD { int osf1_getrusage(long who, void *rusage); }
-118 NOPROTO { int getsockopt(int s, int level, int name, caddr_t val, \
- int *avalsize); }
-119 UNIMPL
-120 NOPROTO { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
-121 NOPROTO { int writev(int fd, struct iovec *iovp, u_int iovcnt); }
-122 UNIMPL osf_settimeofday
-123 NOPROTO { int fchown(int fd, int uid, int gid); }
-124 NOPROTO { int fchmod(int fd, int mode); }
-125 NOPROTO { int orecvfrom(int s, caddr_t buf, size_t len, int flags, \
- caddr_t from, int *fromlenaddr); } \
- recvfrom recvfrom_args int
-126 MNOPROTO { int setreuid(int ruid, int euid); }
-127 MNOPROTO { int setregid(int rgid, int egid); }
-128 STD { int linux_rename(char *from, char *to); }
-129 STD { int linux_truncate(char *path, l_ulong length); }
-130 NOPROTO { int oftruncate(int fd, long length); }
-131 NOPROTO { int flock(int fd, int how); }
-132 MNOPROTO { int setgid(gid_t gid); }
-133 STD { int osf1_sendto(int s, caddr_t buf, size_t len, int flags, \
- struct sockaddr *to, int tolen); }
-134 NOPROTO { int shutdown(int s, int how); }
-135 STD { int linux_socketpair(void); }
-136 STD { int linux_mkdir(char *path, l_int mode); }
-137 STD { int linux_rmdir(char *path); }
-138 NOPROTO { int utimes(char *path, struct timeval *tptr); }
-139 UNIMPL
-140 UNIMPL
-141 NOPROTO { int ogetpeername(int fdes, caddr_t asa, int *alen); }
-142 UNIMPL
-143 UNIMPL
-144 MSTD { int linux_getrlimit(l_uint resource, \
- struct l_rlimit *rlim); }
-145 MSTD { int linux_setrlimit(l_uint resource, \
- struct l_rlimit *rlim); }
-146 UNIMPL
-147 MNOPROTO { int setsid(void); }
-148 STD { int linux_quotactl(void); }
-149 UNIMPL
-150 NOPROTO { int ogetsockname(int fdec, caddr_t asa, int *alen);} \
- getsockname getsockname_args int
-151 UNIMPL
-152 UNIMPL
-153 UNIMPL
-154 UNIMPL
-155 UNIMPL
-156 MSTD { int osf1_sigaction(int sig, struct osf1_sigaction *nsa, \
- struct osf1_sigaction *osa); }
-157 UNIMPL
-158 UNIMPL
-159 UNIMPL osf_getdirentries
-160 UNIMPL osf_statfs
-161 UNIMPL osf_fstatfs
-162 UNIMPL
-163 UNIMPL
-164 UNIMPL
-165 UNIMPL osf_getdomainname
-166 MNOPROTO { int setdomainname(char *name, int len); }
-167 UNIMPL
-168 UNIMPL
-169 UNIMPL
-170 UNIMPL
-171 UNIMPL
-172 UNIMPL
-173 UNIMPL
-174 UNIMPL
-175 UNIMPL
-176 UNIMPL
-177 UNIMPL
-178 UNIMPL
-179 UNIMPL
-180 UNIMPL
-181 UNIMPL
-182 UNIMPL
-183 UNIMPL
-184 UNIMPL
-185 UNIMPL
-186 UNIMPL
-187 UNIMPL
-188 UNIMPL
-189 UNIMPL
-190 UNIMPL
-191 UNIMPL
-192 UNIMPL
-193 UNIMPL
-194 UNIMPL
-195 UNIMPL
-196 UNIMPL
-197 UNIMPL
-198 UNIMPL
-199 UNIMPL osf_swapon
-200 STD { int linux_msgctl(l_int msqid, l_int cmd, \
- struct l_msqid_ds *buf); }
-201 STD { int linux_msgget(l_key_t key, l_int msgflg); }
-202 STD { int linux_msgrcv(l_int msqid, struct l_msgbuf *msgp, \
- l_size_t msgsz, l_long msgtyp, l_int msgflg); }
-203 STD { int linux_msgsnd(l_int msqid, struct l_msgbuf *msgp, \
- l_size_t msgsz, l_int msgflg); }
-204 STD { int linux_semctl(l_int semid, l_int semnum, \
- l_int cmd, union l_semun arg); }
-205 STD { int linux_semget(l_key_t key, l_int nsems, \
- l_int semflg); }
-206 STD { int linux_semop(l_int semid, struct l_sembuf *tsops, \
- l_uint nsops); }
-207 UNIMPL osf_utsname
-208 STD { int linux_lchown(char *path, l_uid_t uid, l_gid_t gid); }
-209 STD { int linux_shmat(l_int shmid, char *shmaddr, l_int shmflg); }
-210 STD { int linux_shmctl(l_int shmid, l_int cmd, \
- struct l_shmid_ds *buf); }
-211 STD { int linux_shmdt(char *shmaddr); }
-212 STD { int linux_shmget(l_key_t key, l_size_t size, l_int shmflg); }
-213 UNIMPL
-214 UNIMPL
-215 UNIMPL
-216 UNIMPL
-217 STD { int linux_msync(l_ulong addr, l_size_t len, l_int fl); }
-218 UNIMPL
-219 UNIMPL
-220 UNIMPL
-221 UNIMPL
-222 UNIMPL
-223 UNIMPL
-224 UNIMPL
-225 UNIMPL
-226 UNIMPL
-227 UNIMPL
-228 UNIMPL
-229 UNIMPL
-230 UNIMPL
-231 UNIMPL
-232 UNIMPL
-233 MNOPROTO { int getpgid(int pid); }
-234 MSTD { int linux_getsid(l_pid_t pid); }
-235 STD { int linux_sigaltstack(void); }
-236 UNIMPL
-237 UNIMPL
-238 UNIMPL
-239 UNIMPL
-240 UNIMPL
-241 MSTD { int osf1_sysinfo(int cmd, char *buf, long count); }
-242 UNIMPL
-243 UNIMPL
-244 UNIMPL osf_proplist_syscall
-245 UNIMPL
-246 UNIMPL
-247 UNIMPL
-248 UNIMPL
-249 UNIMPL
-250 UNIMPL
-251 UNIMPL osf_usleep_thread
-252 UNIMPL
-253 UNIMPL
-254 STD { int linux_sysfs(l_int option, l_ulong arg1, l_ulong arg2); }
-255 UNIMPL
-256 STD { int osf1_getsysinfo(u_long op, caddr_t buffer, \
- u_long nbytes, caddr_t arg, u_long flag); }
-257 STD { int osf1_setsysinfo(u_long op, caddr_t buffer, \
- u_long nbytes, caddr_t arg, u_long flag); }
-258 UNIMPL
-259 UNIMPL
-260 UNIMPL
-261 UNIMPL
-262 UNIMPL
-263 UNIMPL
-264 UNIMPL
-265 UNIMPL
-266 UNIMPL
-267 UNIMPL
-268 UNIMPL
-269 UNIMPL
-270 UNIMPL
-271 UNIMPL
-272 UNIMPL
-273 UNIMPL
-274 UNIMPL
-275 UNIMPL
-276 UNIMPL
-277 UNIMPL
-278 UNIMPL
-279 UNIMPL
-280 UNIMPL
-281 UNIMPL
-282 UNIMPL
-283 UNIMPL
-284 UNIMPL
-285 UNIMPL
-286 UNIMPL
-287 UNIMPL
-288 UNIMPL
-289 UNIMPL
-290 UNIMPL
-291 UNIMPL
-292 UNIMPL
-293 UNIMPL
-294 UNIMPL
-295 UNIMPL
-296 UNIMPL
-297 UNIMPL
-298 UNIMPL
-299 UNIMPL
-300 STD { int linux_bdflush(void); }
-301 STD { int linux_sethae(void); }
-302 STD { int linux_mount(char *specialfile, char *dir, \
- char *filesystemtype, l_ulong rwflag, \
- void *data); }
-303 STD { int linux_old_adjtimex(void); }
-304 STD { int linux_swapoff(void); }
-305 STD { int linux_getdents(l_uint fd, void *dent, l_uint count); }
-306 STD { int linux_create_module(void); }
-307 STD { int linux_init_module(void); }
-308 STD { int linux_delete_module(void); }
-309 STD { int linux_get_kernel_syms(void); }
-310 STD { int linux_syslog(l_int type, char *buf, l_int len); }
-311 STD { int linux_reboot(l_int magic1, l_int magic2, l_uint cmd, \
- void *arg); }
-312 MSTD { int linux_clone(l_int flags, void *stack); }
-313 STD { int linux_uselib(char *library); }
-314 MNOPROTO { int mlock(const void *addr, size_t len); }
-315 MNOPROTO { int munlock(const void *addr, size_t len); }
-316 MNOPROTO { int mlockall(int how); }
-317 MNOPROTO { int munlockall(void); }
-318 STD { int linux_sysinfo(void); }
-319 STD { int linux_sysctl(struct l___sysctl_args *args); }
-320 UNIMPL sys_idle
-321 STD { int linux_oldumount(char *path); }
-322 NOPROTO { int swapon(char *name); }
-323 STD { int linux_times(struct l_times_argv *buf); }
-324 STD { int linux_personality(l_ulong per); }
-325 STD { int linux_setfsuid(l_uid_t uid); }
-326 STD { int linux_setfsgid(l_gid_t gid); }
-327 STD { int linux_ustat(l_dev_t dev, struct l_ustat *ubuf); }
-328 STD { int linux_statfs(char *path, struct l_statfs_buf *buf); }
-329 STD { int linux_fstatfs(l_uint fd, struct l_statfs_buf *buf); }
-330 MNOPROTO { int sched_setparam(pid_t pid, \
- const struct sched_param *param); }
-331 MNOPROTO { int sched_getparam(pid_t pid, struct sched_param *param); }
-332 MSTD { int linux_sched_setscheduler(l_pid_t pid, l_int policy, \
- struct l_sched_param *param); }
-333 MSTD { int linux_sched_getscheduler(l_pid_t pid); }
-334 MNOPROTO { int sched_yield(void); }
-335 MSTD { int linux_sched_get_priority_max(l_int policy); }
-336 MSTD { int linux_sched_get_priority_min (l_int policy); }
-337 NOPROTO { int sched_rr_get_interval (pid_t pid, \
- struct timespec *interval); }
-338 UNIMPL sys_afs_syscall
-339 STD { int linux_newuname(struct l_newuname_t *buf); }
-340 MNOPROTO { int nanosleep(const struct timespec *rqtp, \
- struct timespec *rmtp); }
-341 STD { int linux_mremap(l_ulong addr, l_ulong old_len, \
- l_ulong new_len, l_ulong flags, \
- l_ulong new_addr); }
-342 STD { int linux_nfsservctl(void); }
-343 MNOPROTO { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
-344 MNOPROTO { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
-345 STD { int linux_pciconfig_read(void); }
-346 STD { int linux_pciconfig_write(void); }
-347 STD { int linux_query_module(void); }
-348 STD { int linux_prctl(void); }
-349 STD { int linux_pread(l_uint fd, char *buf, l_size_t nbyte, \
- l_loff_t offset); }
-350 STD { int linux_pwrite(l_uint fd, char *buf, l_size_t nbyte, \
- l_loff_t offset); }
-351 STD { int linux_rt_sigreturn(void); }
-352 MSTD { int linux_rt_sigaction(l_int sig, l_sigaction_t *act, \
- l_sigaction_t *oact, l_size_t sigsetsize); }
-353 MSTD { int linux_rt_sigprocmask(l_int how, l_sigset_t *mask, \
- l_sigset_t *omask, l_size_t sigsetsize); }
-354 STD { int linux_rt_sigpending(void); }
-355 STD { int linux_rt_sigtimedwait(void); }
-356 STD { int linux_rt_sigqueueinfo(void); }
-357 MSTD { int linux_rt_sigsuspend(l_sigset_t *newset, \
- l_size_t sigsetsize); }
-358 STD { int linux_select(l_int nfds, l_fd_set *readfds, \
- l_fd_set *writefds, l_fd_set *exceptfds, \
- struct l_timeval *timeout); }
-359 MNOPROTO { int gettimeofday(struct timeval *tp, struct timezone *tzp); }
-360 MNOPROTO { int settimeofday(struct timeval *tp, struct timezone *tzp); }
-361 MSTD { int linux_getitimer(l_int which, struct l_itimerval *itv); }
-362 MSTD { int linux_setitimer(l_int which, struct l_itimerval *itv, \
- struct l_itimerval *oitv); }
-363 STD { int linux_utimes(char *fname, struct l_timeval *times); }
-364 MNOPROTO { int getrusage(int who, struct rusage *rusage); }
-365 MSTD { int linux_wait4(l_pid_t pid, l_uint *status, l_int options, \
- struct l_rusage *rusage); }
-366 STD { int linux_adjtimex(void); }
-367 STD { int linux_getcwd(char *buf, l_ulong bufsize); }
-368 STD { int linux_capget(void); }
-369 STD { int linux_capset(void); }
-370 STD { int linux_sendfile(void); }
-371 MNOPROTO { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
-372 MNOPROTO { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
-373 UNIMPL sys_dipc
-374 STD { int linux_pivot_root(char *new_root, char *put_old); }
-375 STD { int linux_mincore(l_ulong start, l_size_t len, u_char *vec); }
-376 STD { int linux_pciconfig_iobase(void); }
-377 STD { int linux_getdents64(l_uint fd, void *dirent, l_uint count); }
+0 AUE_NULL UNIMPL
+1 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit \
+ sys_exit_args void
+2 AUE_NULL MSTD { int linux_fork(void); }
+3 AUE_NULL MNOPROTO { int read(int fd, char *buf, \
+ u_int nbyte); }
+4 AUE_NULL MNOPROTO { int write(int fd, char *buf, \
+ u_int nbyte); }
+5 AUE_NULL UNIMPL
+6 AUE_NULL MNOPROTO { int close(int fd); }
+7 AUE_NULL MSTD { int osf1_wait4(int pid, int *status, \
+ int options, \
+ struct osf1_rusage *rusage); }
+8 AUE_NULL UNIMPL
+9 AUE_NULL STD { int linux_link(char *path, char *to); }
+10 AUE_NULL STD { int linux_unlink(char *path); }
+11 AUE_NULL UNIMPL
+12 AUE_NULL STD { int linux_chdir(char *path); }
+13 AUE_NULL NOPROTO { int fchdir(int fd); }
+14 AUE_NULL STD { int linux_mknod(char *path, l_int mode, \
+ l_dev_t dev); }
+15 AUE_NULL STD { int linux_chmod(char *path, \
+ l_mode_t mode); }
+16 AUE_NULL STD { int linux_chown(char *path, l_uid_t uid, \
+ l_gid_t gid); }
+17 AUE_NULL STD { int linux_brk(l_ulong dsend); }
+18 AUE_NULL UNIMPL
+19 AUE_NULL STD { int linux_lseek(l_uint fdes, l_off_t off, \
+ l_int whence); }
+20 AUE_NULL NOPROTO { int getpid(void); }
+21 AUE_NULL UNIMPL osf1_mount
+22 AUE_NULL STD { int linux_umount(char *path, l_int flags); }
+23 AUE_NULL MNOPROTO { int setuid(uid_t uid); }
+24 AUE_NULL MNOPROTO { int getuid(void); }
+25 AUE_NULL UNIMPL
+26 AUE_NULL MSTD { int linux_ptrace(void); }
+27 AUE_NULL UNIMPL
+28 AUE_NULL UNIMPL
+29 AUE_NULL UNIMPL
+30 AUE_NULL UNIMPL
+31 AUE_NULL UNIMPL
+32 AUE_NULL UNIMPL
+33 AUE_NULL STD { int linux_access(char *path, l_int flags); }
+34 AUE_NULL UNIMPL
+35 AUE_NULL UNIMPL
+36 AUE_NULL NOPROTO { int sync(void); }
+37 AUE_NULL MSTD { int linux_kill(l_int pid, l_int signum); }
+38 AUE_NULL UNIMPL
+39 AUE_NULL MNOPROTO { int setpgid(int pid, int pgid); }
+40 AUE_NULL UNIMPL
+41 AUE_NULL MNOPROTO { int dup(u_int fd); }
+42 AUE_NULL MNOPROTO { int pipe(void); }
+43 AUE_NULL UNIMPL osf_set_program_attributes
+44 AUE_NULL UNIMPL
+45 AUE_NULL STD { int linux_open(char *path, l_int flags, \
+ l_int mode); }
+46 AUE_NULL UNIMPL
+47 AUE_NULL MNOPROTO { int getgid(void); }
+48 AUE_NULL MSTD { int osf1_sigprocmask(int how, \
+ u_long mask); }
+49 AUE_NULL UNIMPL
+50 AUE_NULL UNIMPL
+51 AUE_NULL NOPROTO { int acct(char *path); }
+52 AUE_NULL MSTD { int linux_sigpending(void); }
+53 AUE_NULL UNIMPL
+54 AUE_NULL STD { int linux_ioctl(l_uint fd, l_uint cmd, \
+ l_ulong arg); }
+55 AUE_NULL UNIMPL
+56 AUE_NULL UNIMPL
+57 AUE_NULL STD { int linux_symlink(char *path, char *to); }
+58 AUE_NULL STD { int linux_readlink(char *name, char *buf, \
+ l_int count); }
+59 AUE_NULL STD { int linux_execve(char *path, char **argp, \
+ char **envp); }
+60 AUE_NULL MNOPROTO { int umask(int newmask); }
+61 AUE_NULL NOPROTO { int chroot(char *path); }
+62 AUE_NULL UNIMPL
+63 AUE_NULL MNOPROTO { int getpgrp(void); }
+64 AUE_NULL STD { int linux_getpagesize(void); }
+65 AUE_NULL UNIMPL
+66 AUE_NULL MSTD { int linux_vfork(void); }
+67 AUE_NULL STD { int linux_newstat(char *path, \
+ struct l_newstat *buf); }
+68 AUE_NULL STD { int linux_newlstat(char *path, \
+ struct l_newstat *buf); }
+69 AUE_NULL UNIMPL
+70 AUE_NULL UNIMPL
+71 AUE_NULL STD { int linux_mmap(l_ulong addr, l_ulong len, \
+ l_ulong prot, l_ulong flags, l_ulong fd, \
+ l_ulong pos); }
+72 AUE_NULL UNIMPL
+73 AUE_NULL STD { int linux_munmap(l_ulong addr, \
+ l_size_t len); }
+74 AUE_NULL STD { int linux_mprotect(l_ulong addr, \
+ l_size_t len, l_ulong prot); }
+75 AUE_NULL MNOPROTO { int madvise(void *addr, \
+ size_t len, int behav); }
+76 AUE_NULL STD { int linux_vhangup(void); }
+77 AUE_NULL UNIMPL
+78 AUE_NULL UNIMPL
+79 AUE_NULL MSTD { int linux_setgroups(l_int gidsetsize, \
+ l_gid_t *grouplist); }
+80 AUE_NULL MSTD { int linux_getgroups(l_int gidsetsize, \
+ l_gid_t *grouplist); }
+81 AUE_NULL UNIMPL
+82 AUE_NULL MNODEF setpgid setpgid setpgid_args int
+83 AUE_NULL STD { int osf1_setitimer(u_int which, \
+ struct itimerval *itv, \
+ struct itimerval *oitv); }
+84 AUE_NULL UNIMPL
+85 AUE_NULL UNIMPL
+86 AUE_NULL UNIMPL osf_getitimer
+87 AUE_NULL STD { int linux_gethostname(void); }
+88 AUE_NULL MNOPROTO { int osethostname(char *hostname, \
+ u_int len); } osethostname \
+ sethostname_args int
+89 AUE_NULL STD { int linux_getdtablesize(void); }
+90 AUE_NULL MNOPROTO { int dup2(u_int from, u_int to); }
+91 AUE_NULL STD { int linux_newfstat(l_uint fd, \
+ struct l_newstat *buf); }
+92 AUE_NULL MSTD { int linux_fcntl(l_uint fd, l_uint cmd, \
+ l_ulong arg); }
+93 AUE_NULL STD { int osf1_select(u_int nd, fd_set *in, \
+ fd_set *ou, fd_set *ex, \
+ struct timeval *tv); }
+94 AUE_NULL NOPROTO { int poll(struct pollfd*, unsigned int \
+ nfds, long timeout); }
+95 AUE_NULL NOPROTO { int fsync(int fd); }
+96 AUE_NULL MNOPROTO { int setpriority(int which, \
+ int who, int prio); }
+97 AUE_NULL STD { int osf1_socket(int domain, int type, \
+ int protocol); }
+98 AUE_NULL STD { int linux_connect(l_int s, \
+ struct l_sockaddr *name, l_int namelen); }
+99 AUE_NULL NOPROTO { int oaccept(int s, caddr_t name, \
+ int *anamelen); } accept accept_args int
+100 AUE_NULL UNIMPL osf_getpriority
+101 AUE_NULL NOPROTO { int osend(int s, caddr_t buf, int len, \
+ int flags); }
+102 AUE_NULL NOPROTO { int orecv(int s, caddr_t buf, int len, \
+ int flags); }
+103 AUE_NULL MSTD { int osf1_sigreturn( \
+ struct osigcontext *sigcntxp); }
+104 AUE_NULL NOPROTO { int bind(int s, caddr_t name, \
+ int namelen); }
+105 AUE_NULL NOPROTO { int setsockopt(int s, int level, int name, \
+ caddr_t val, int valsize); }
+106 AUE_NULL NOPROTO { int listen(int s, int backlog); }
+107 AUE_NULL UNIMPL
+108 AUE_NULL UNIMPL
+109 AUE_NULL UNIMPL
+110 AUE_NULL UNIMPL
+111 AUE_NULL MSTD { int osf1_sigsuspend(unsigned long ss); }
+112 AUE_NULL UNIMPL osf_sigstack
+113 AUE_NULL STD { int linux_recvmsg(void); }
+114 AUE_NULL STD { int linux_sendmsg(void); }
+115 AUE_NULL UNIMPL
+116 AUE_NULL MSTD { int osf1_gettimeofday(struct timeval *tp, \
+ struct timezone *tzp); }
+117 AUE_NULL STD { int osf1_getrusage(long who, \
+ void *rusage); }
+118 AUE_NULL NOPROTO { int getsockopt(int s, int level, int name, \
+ caddr_t val, int *avalsize); }
+119 AUE_NULL UNIMPL
+120 AUE_NULL NOPROTO { int readv(int fd, struct iovec *iovp, \
+ u_int iovcnt); }
+121 AUE_NULL NOPROTO { int writev(int fd, struct iovec *iovp, \
+ u_int iovcnt); }
+122 AUE_NULL UNIMPL osf_settimeofday
+123 AUE_NULL NOPROTO { int fchown(int fd, int uid, int gid); }
+124 AUE_NULL NOPROTO { int fchmod(int fd, int mode); }
+125 AUE_NULL NOPROTO { int orecvfrom(int s, caddr_t buf, \
+ size_t len, int flags, caddr_t from, \
+ int *fromlenaddr); } recvfrom \
+ recvfrom_args int
+126 AUE_NULL MNOPROTO { int setreuid(int ruid, int euid); }
+127 AUE_NULL MNOPROTO { int setregid(int rgid, int egid); }
+128 AUE_NULL STD { int linux_rename(char *from, char *to); }
+129 AUE_NULL STD { int linux_truncate(char *path, \
+ l_ulong length); }
+130 AUE_NULL NOPROTO { int oftruncate(int fd, long length); }
+131 AUE_NULL NOPROTO { int flock(int fd, int how); }
+132 AUE_NULL MNOPROTO { int setgid(gid_t gid); }
+133 AUE_NULL STD { int osf1_sendto(int s, caddr_t buf, \
+ size_t len, int flags, \
+ struct sockaddr *to, int tolen); }
+134 AUE_NULL NOPROTO { int shutdown(int s, int how); }
+135 AUE_NULL STD { int linux_socketpair(void); }
+136 AUE_NULL STD { int linux_mkdir(char *path, l_int mode); }
+137 AUE_NULL STD { int linux_rmdir(char *path); }
+138 AUE_NULL NOPROTO { int utimes(char *path, \
+ struct timeval *tptr); }
+139 AUE_NULL UNIMPL
+140 AUE_NULL UNIMPL
+141 AUE_NULL NOPROTO { int ogetpeername(int fdes, caddr_t asa, \
+ int *alen); }
+142 AUE_NULL UNIMPL
+143 AUE_NULL UNIMPL
+144 AUE_NULL MSTD { int linux_getrlimit(l_uint resource, \
+ struct l_rlimit *rlim); }
+145 AUE_NULL MSTD { int linux_setrlimit(l_uint resource, \
+ struct l_rlimit *rlim); }
+146 AUE_NULL UNIMPL
+147 AUE_NULL MNOPROTO { int setsid(void); }
+148 AUE_NULL STD { int linux_quotactl(void); }
+149 AUE_NULL UNIMPL
+150 AUE_NULL NOPROTO { int ogetsockname(int fdec, caddr_t asa, \
+ int *alen);} getsockname \
+ getsockname_args int
+151 AUE_NULL UNIMPL
+152 AUE_NULL UNIMPL
+153 AUE_NULL UNIMPL
+154 AUE_NULL UNIMPL
+155 AUE_NULL UNIMPL
+156 AUE_NULL MSTD { int osf1_sigaction(int sig, \
+ struct osf1_sigaction *nsa, \
+ struct osf1_sigaction *osa); }
+157 AUE_NULL UNIMPL
+158 AUE_NULL UNIMPL
+159 AUE_NULL UNIMPL osf_getdirentries
+160 AUE_NULL UNIMPL osf_statfs
+161 AUE_NULL UNIMPL osf_fstatfs
+162 AUE_NULL UNIMPL
+163 AUE_NULL UNIMPL
+164 AUE_NULL UNIMPL
+165 AUE_NULL UNIMPL osf_getdomainname
+166 AUE_NULL MNOPROTO { int setdomainname(char *name, \
+ int len); }
+167 AUE_NULL UNIMPL
+168 AUE_NULL UNIMPL
+169 AUE_NULL UNIMPL
+170 AUE_NULL UNIMPL
+171 AUE_NULL UNIMPL
+172 AUE_NULL UNIMPL
+173 AUE_NULL UNIMPL
+174 AUE_NULL UNIMPL
+175 AUE_NULL UNIMPL
+176 AUE_NULL UNIMPL
+177 AUE_NULL UNIMPL
+178 AUE_NULL UNIMPL
+179 AUE_NULL UNIMPL
+180 AUE_NULL UNIMPL
+181 AUE_NULL UNIMPL
+182 AUE_NULL UNIMPL
+183 AUE_NULL UNIMPL
+184 AUE_NULL UNIMPL
+185 AUE_NULL UNIMPL
+186 AUE_NULL UNIMPL
+187 AUE_NULL UNIMPL
+188 AUE_NULL UNIMPL
+189 AUE_NULL UNIMPL
+190 AUE_NULL UNIMPL
+191 AUE_NULL UNIMPL
+192 AUE_NULL UNIMPL
+193 AUE_NULL UNIMPL
+194 AUE_NULL UNIMPL
+195 AUE_NULL UNIMPL
+196 AUE_NULL UNIMPL
+197 AUE_NULL UNIMPL
+198 AUE_NULL UNIMPL
+199 AUE_NULL UNIMPL osf_swapon
+200 AUE_NULL STD { int linux_msgctl(l_int msqid, l_int cmd, \
+ struct l_msqid_ds *buf); }
+201 AUE_NULL STD { int linux_msgget(l_key_t key, \
+ l_int msgflg); }
+202 AUE_NULL STD { int linux_msgrcv(l_int msqid, \
+ struct l_msgbuf *msgp, l_size_t msgsz, \
+ l_long msgtyp, l_int msgflg); }
+203 AUE_NULL STD { int linux_msgsnd(l_int msqid, \
+ struct l_msgbuf *msgp, l_size_t msgsz, \
+ l_int msgflg); }
+204 AUE_NULL STD { int linux_semctl(l_int semid, \
+ l_int semnum, l_int cmd, \
+ union l_semun arg); }
+205 AUE_NULL STD { int linux_semget(l_key_t key, l_int nsems, \
+ l_int semflg); }
+206 AUE_NULL STD { int linux_semop(l_int semid, \
+ struct l_sembuf *tsops, l_uint nsops); }
+207 AUE_NULL UNIMPL osf_utsname
+208 AUE_NULL STD { int linux_lchown(char *path, l_uid_t uid, \
+ l_gid_t gid); }
+209 AUE_NULL STD { int linux_shmat(l_int shmid, \
+ char *shmaddr, l_int shmflg); }
+210 AUE_NULL STD { int linux_shmctl(l_int shmid, l_int cmd, \
+ struct l_shmid_ds *buf); }
+211 AUE_NULL STD { int linux_shmdt(char *shmaddr); }
+212 AUE_NULL STD { int linux_shmget(l_key_t key, \
+ l_size_t size, l_int shmflg); }
+213 AUE_NULL UNIMPL
+214 AUE_NULL UNIMPL
+215 AUE_NULL UNIMPL
+216 AUE_NULL UNIMPL
+217 AUE_NULL STD { int linux_msync(l_ulong addr, \
+ l_size_t len, l_int fl); }
+218 AUE_NULL UNIMPL
+219 AUE_NULL UNIMPL
+220 AUE_NULL UNIMPL
+221 AUE_NULL UNIMPL
+222 AUE_NULL UNIMPL
+223 AUE_NULL UNIMPL
+224 AUE_NULL UNIMPL
+225 AUE_NULL UNIMPL
+226 AUE_NULL UNIMPL
+227 AUE_NULL UNIMPL
+228 AUE_NULL UNIMPL
+229 AUE_NULL UNIMPL
+230 AUE_NULL UNIMPL
+231 AUE_NULL UNIMPL
+232 AUE_NULL UNIMPL
+233 AUE_NULL MNOPROTO { int getpgid(int pid); }
+234 AUE_NULL MSTD { int linux_getsid(l_pid_t pid); }
+235 AUE_NULL STD { int linux_sigaltstack(void); }
+236 AUE_NULL UNIMPL
+237 AUE_NULL UNIMPL
+238 AUE_NULL UNIMPL
+239 AUE_NULL UNIMPL
+240 AUE_NULL UNIMPL
+241 AUE_NULL MSTD { int osf1_sysinfo(int cmd, char *buf, \
+ long count); }
+242 AUE_NULL UNIMPL
+243 AUE_NULL UNIMPL
+244 AUE_NULL UNIMPL osf_proplist_syscall
+245 AUE_NULL UNIMPL
+246 AUE_NULL UNIMPL
+247 AUE_NULL UNIMPL
+248 AUE_NULL UNIMPL
+249 AUE_NULL UNIMPL
+250 AUE_NULL UNIMPL
+251 AUE_NULL UNIMPL osf_usleep_thread
+252 AUE_NULL UNIMPL
+253 AUE_NULL UNIMPL
+254 AUE_NULL STD { int linux_sysfs(l_int option, \
+ l_ulong arg1, l_ulong arg2); }
+255 AUE_NULL UNIMPL
+256 AUE_NULL STD { int osf1_getsysinfo(u_long op, \
+ caddr_t buffer, u_long nbytes, \
+ caddr_t arg, u_long flag); }
+257 AUE_NULL STD { int osf1_setsysinfo(u_long op, \
+ caddr_t buffer, u_long nbytes, \
+ caddr_t arg, u_long flag); }
+258 AUE_NULL UNIMPL
+259 AUE_NULL UNIMPL
+260 AUE_NULL UNIMPL
+261 AUE_NULL UNIMPL
+262 AUE_NULL UNIMPL
+263 AUE_NULL UNIMPL
+264 AUE_NULL UNIMPL
+265 AUE_NULL UNIMPL
+266 AUE_NULL UNIMPL
+267 AUE_NULL UNIMPL
+268 AUE_NULL UNIMPL
+269 AUE_NULL UNIMPL
+270 AUE_NULL UNIMPL
+271 AUE_NULL UNIMPL
+272 AUE_NULL UNIMPL
+273 AUE_NULL UNIMPL
+274 AUE_NULL UNIMPL
+275 AUE_NULL UNIMPL
+276 AUE_NULL UNIMPL
+277 AUE_NULL UNIMPL
+278 AUE_NULL UNIMPL
+279 AUE_NULL UNIMPL
+280 AUE_NULL UNIMPL
+281 AUE_NULL UNIMPL
+282 AUE_NULL UNIMPL
+283 AUE_NULL UNIMPL
+284 AUE_NULL UNIMPL
+285 AUE_NULL UNIMPL
+286 AUE_NULL UNIMPL
+287 AUE_NULL UNIMPL
+288 AUE_NULL UNIMPL
+289 AUE_NULL UNIMPL
+290 AUE_NULL UNIMPL
+291 AUE_NULL UNIMPL
+292 AUE_NULL UNIMPL
+293 AUE_NULL UNIMPL
+294 AUE_NULL UNIMPL
+295 AUE_NULL UNIMPL
+296 AUE_NULL UNIMPL
+297 AUE_NULL UNIMPL
+298 AUE_NULL UNIMPL
+299 AUE_NULL UNIMPL
+300 AUE_NULL STD { int linux_bdflush(void); }
+301 AUE_NULL STD { int linux_sethae(void); }
+302 AUE_NULL STD { int linux_mount(char *specialfile, \
+ char *dir, char *filesystemtype, \
+ l_ulong rwflag, void *data); }
+303 AUE_NULL STD { int linux_old_adjtimex(void); }
+304 AUE_NULL STD { int linux_swapoff(void); }
+305 AUE_NULL STD { int linux_getdents(l_uint fd, void *dent, \
+ l_uint count); }
+306 AUE_NULL STD { int linux_create_module(void); }
+307 AUE_NULL STD { int linux_init_module(void); }
+308 AUE_NULL STD { int linux_delete_module(void); }
+309 AUE_NULL STD { int linux_get_kernel_syms(void); }
+310 AUE_NULL STD { int linux_syslog(l_int type, char *buf, \
+ l_int len); }
+311 AUE_NULL STD { int linux_reboot(l_int magic1, \
+ l_int magic2, l_uint cmd, void *arg); }
+312 AUE_NULL MSTD { int linux_clone(l_int flags, void *stack); }
+313 AUE_NULL STD { int linux_uselib(char *library); }
+314 AUE_NULL MNOPROTO { int mlock(const void *addr, \
+ size_t len); }
+315 AUE_NULL MNOPROTO { int munlock(const void *addr, \
+ size_t len); }
+316 AUE_NULL MNOPROTO { int mlockall(int how); }
+317 AUE_NULL MNOPROTO { int munlockall(void); }
+318 AUE_NULL STD { int linux_sysinfo(void); }
+319 AUE_NULL STD { int linux_sysctl( \
+ struct l___sysctl_args *args); }
+320 AUE_NULL UNIMPL sys_idle
+321 AUE_NULL STD { int linux_oldumount(char *path); }
+322 AUE_NULL NOPROTO { int swapon(char *name); }
+323 AUE_NULL STD { int linux_times(struct l_times_argv *buf); }
+324 AUE_NULL STD { int linux_personality(l_ulong per); }
+325 AUE_NULL STD { int linux_setfsuid(l_uid_t uid); }
+326 AUE_NULL STD { int linux_setfsgid(l_gid_t gid); }
+327 AUE_NULL STD { int linux_ustat(l_dev_t dev, \
+ struct l_ustat *ubuf); }
+328 AUE_NULL STD { int linux_statfs(char *path, \
+ struct l_statfs_buf *buf); }
+329 AUE_NULL STD { int linux_fstatfs(l_uint fd, \
+ struct l_statfs_buf *buf); }
+330 AUE_NULL MNOPROTO { int sched_setparam(pid_t pid, \
+ const struct sched_param *param); }
+331 AUE_NULL MNOPROTO { int sched_getparam(pid_t pid, \
+ struct sched_param *param); }
+332 AUE_NULL MSTD { int linux_sched_setscheduler(l_pid_t pid, \
+ l_int policy, \
+ struct l_sched_param *param); }
+333 AUE_NULL MSTD { int linux_sched_getscheduler(l_pid_t pid); }
+334 AUE_NULL MNOPROTO { int sched_yield(void); }
+335 AUE_NULL MSTD { int linux_sched_get_priority_max( \
+ l_int policy); }
+336 AUE_NULL MSTD { int linux_sched_get_priority_min( \
+ l_int policy); }
+337 AUE_NULL NOPROTO { int sched_rr_get_interval (pid_t pid, \
+ struct timespec *interval); }
+338 AUE_NULL UNIMPL sys_afs_syscall
+339 AUE_NULL STD { int linux_newuname( \
+ struct l_newuname_t *buf); }
+340 AUE_NULL MNOPROTO { int nanosleep( \
+ const struct timespec *rqtp, \
+ struct timespec *rmtp); }
+341 AUE_NULL STD { int linux_mremap(l_ulong addr, \
+ l_ulong old_len, l_ulong new_len, \
+ l_ulong flags, l_ulong new_addr); }
+342 AUE_NULL STD { int linux_nfsservctl(void); }
+343 AUE_NULL MNOPROTO { int setresuid(uid_t ruid, \
+ uid_t euid, uid_t suid); }
+344 AUE_NULL MNOPROTO { int getresuid(uid_t *ruid, \
+ uid_t *euid, uid_t *suid); }
+345 AUE_NULL STD { int linux_pciconfig_read(void); }
+346 AUE_NULL STD { int linux_pciconfig_write(void); }
+347 AUE_NULL STD { int linux_query_module(void); }
+348 AUE_NULL STD { int linux_prctl(void); }
+349 AUE_NULL STD { int linux_pread(l_uint fd, char *buf, \
+ l_size_t nbyte, l_loff_t offset); }
+350 AUE_NULL STD { int linux_pwrite(l_uint fd, char *buf, \
+ l_size_t nbyte, l_loff_t offset); }
+351 AUE_NULL STD { int linux_rt_sigreturn(void); }
+352 AUE_NULL MSTD { int linux_rt_sigaction(l_int sig, \
+ l_sigaction_t *act, l_sigaction_t *oact, \
+ l_size_t sigsetsize); }
+353 AUE_NULL MSTD { int linux_rt_sigprocmask(l_int how, \
+ l_sigset_t *mask, l_sigset_t *omask, \
+ l_size_t sigsetsize); }
+354 AUE_NULL STD { int linux_rt_sigpending(void); }
+355 AUE_NULL STD { int linux_rt_sigtimedwait(void); }
+356 AUE_NULL STD { int linux_rt_sigqueueinfo(void); }
+357 AUE_NULL MSTD { int linux_rt_sigsuspend(l_sigset_t \
+ *newset, l_size_t sigsetsize); }
+358 AUE_NULL STD { int linux_select(l_int nfds, \
+ l_fd_set *readfds, l_fd_set *writefds, \
+ l_fd_set *exceptfds, \
+ struct l_timeval *timeout); }
+359 AUE_NULL MNOPROTO { int gettimeofday( \
+ struct timeval *tp, \
+ struct timezone *tzp); }
+360 AUE_NULL MNOPROTO { int settimeofday( \
+ struct timeval *tp, \
+ struct timezone *tzp); }
+361 AUE_NULL MSTD { int linux_getitimer(l_int which, \
+ struct l_itimerval *itv); }
+362 AUE_NULL MSTD { int linux_setitimer(l_int which, \
+ struct l_itimerval *itv, \
+ struct l_itimerval *oitv); }
+363 AUE_NULL STD { int linux_utimes(char *fname, \
+ struct l_timeval *times); }
+364 AUE_NULL MNOPROTO { int getrusage(int who, \
+ struct rusage *rusage); }
+365 AUE_NULL MSTD { int linux_wait4(l_pid_t pid, \
+ l_uint *status, l_int options, \
+ struct l_rusage *rusage); }
+366 AUE_NULL STD { int linux_adjtimex(void); }
+367 AUE_NULL STD { int linux_getcwd(char *buf, \
+ l_ulong bufsize); }
+368 AUE_NULL STD { int linux_capget(void); }
+369 AUE_NULL STD { int linux_capset(void); }
+370 AUE_NULL STD { int linux_sendfile(void); }
+371 AUE_NULL MNOPROTO { int setresgid(gid_t rgid, \
+ gid_t egid, gid_t sgid); }
+372 AUE_NULL MNOPROTO { int getresgid(gid_t *rgid, \
+ gid_t *egid, gid_t *sgid); }
+373 AUE_NULL UNIMPL sys_dipc
+374 AUE_NULL STD { int linux_pivot_root(char *new_root, \
+ char *put_old); }
+375 AUE_NULL STD { int linux_mincore(l_ulong start, \
+ l_size_t len, u_char *vec); }
+376 AUE_NULL STD { int linux_pciconfig_iobase(void); }
+377 AUE_NULL STD { int linux_getdents64(l_uint fd, void *dirent, l_uint count); }
diff --git a/sys/alpha/osf1/syscalls.master b/sys/alpha/osf1/syscalls.master
index 2c15f25..ecf9017 100644
--- a/sys/alpha/osf1/syscalls.master
+++ b/sys/alpha/osf1/syscalls.master
@@ -6,6 +6,11 @@
; Columns: number type nargs name alt{name,tag,rtyp}/comments
; number system call number, must be in order
+; audit the audit event associated with the system call
+; A value of AUE_NULL means no auditing, but it also means that
+; there is no audit event for the call at this time. For the
+; case where the event exists, but we don't want auditing, the
+; event should be #defined to AUE_NULL in audit_kevents.h.
; type one of STD, OBSOL, UNIMPL, COMPAT
; name psuedo-prototype of syscall routine
; If one of the following alts is different, then all appear:
@@ -30,340 +35,409 @@
#include <alpha/osf1/osf1_proto.h>
-0 NOPROTO { int nosys(void); }
-1 MNOPROTO { void sys_exit(int rval); } exit sys_exit_args void
-2 MNOPROTO { int fork(void); }
-3 MNOPROTO { ssize_t read(int fd, char *buf, ssize_t nbyte); }
-4 MNOPROTO { ssize_t write(int fd, char *buf, ssize_t nbyte); }
-5 UNIMPL old open
-6 MNOPROTO { int close(int fd); }
-7 MSTD { int osf1_wait4(int pid, int *status, int options, \
- struct osf1_rusage *rusage); }
-8 UNIMPL old creat
-9 NOPROTO { int link(char *path, char *link); }
-10 NOPROTO { int unlink(char *path); }
-11 UNIMPL execv
-12 NOPROTO { int chdir(char *path); }
-13 NOPROTO { int fchdir(int fd); }
-14 STD { int osf1_mknod(char *path, int mode, int dev); }
-15 NOPROTO { int chmod(char *path, int mode); }
-16 NOPROTO { int chown(char *path, int uid, int gid); }
-17 NOPROTO { int obreak(char *nsize); }
-18 STD { int osf1_getfsstat(struct osf1_statfs *buf, long bufsize, \
- int flags); }
-19 STD { off_t osf1_lseek(int fd, off_t offset, int whence); }
-20 MNOPROTO { pid_t getpid(void); }
-21 STD { int osf1_mount(int type, char *path, int flags, \
- caddr_t data); }
-22 STD { int osf1_unmount(char *path, int flags); }
-23 MSTD { int osf1_setuid(uid_t uid); }
-24 MNOPROTO { uid_t getuid(void); }
-25 UNIMPL exec_with_loader
-26 UNIMPL ptrace
-27 UNIMPL recvmsg
-28 UNIMPL sendmsg
-29 NOPROTO { int recvfrom(int s, caddr_t buf, size_t len, int flags, \
- caddr_t from, int *fromlenaddr); }
-30 NOPROTO { int accept(int s, caddr_t name, int *anamelen); }
-31 NOPROTO { int getpeername(int fdes, caddr_t asa, int *alen); }
-32 NOPROTO { int getsockname(int fdes, caddr_t asa, int *alen); }
-33 STD { int osf1_access(char *path, int flags); }
-34 UNIMPL chflags
-35 UNIMPL fchflags
-36 NOPROTO { int sync(void); }
-37 MSTD { int osf1_kill(int pid, int signum); }
-38 UNIMPL old stat
-39 MNOPROTO { int setpgid(int pid, int pgid); }
-40 UNIMPL old lstat
-41 MNOPROTO { int dup(u_int fd); }
-42 MNOPROTO { int pipe(void); }
-43 STD { int osf1_set_program_attributes(vm_offset_t text_start, \
- vm_offset_t text_len, vm_offset_t bss_start, \
- vm_offset_t bss_len); }
-44 UNIMPL profil
-45 STD { int osf1_open(char *path, int flags, int mode); }
-46 OBSOL sigaction
-47 MNOPROTO { gid_t getgid(void); }
-48 MSTD { int osf1_sigprocmask(int how, osf1_sigset_t mask); }
-49 MNOPROTO { int getlogin(char *namebuf, u_int namelen); }
-50 MNOPROTO { int setlogin(char *namebuf); }
-51 NOPROTO { int acct(char *path); }
-52 MSTD { int osf1_sigpending(struct proc *p, osf1_sigset_t *mask ); }
-53 STD { int osf1_classcntl(int opcode, int arg1, int arg2, int arg3);}
-54 STD { int osf1_ioctl(int fd, int com, caddr_t data); }
-55 STD { int osf1_reboot(int opt); }
-56 NOPROTO { int revoke(char *path); }
-57 NOPROTO { int symlink(char *path, char *link); }
-58 NOPROTO { int readlink(char *path, char *buf, int count); }
-59 STD { int osf1_execve(char *path, char **argp, char **envp); }
-60 MNOPROTO { int umask(int newmask); }
-61 NOPROTO { int chroot(char *path); }
-62 UNIMPL old fstat
-63 MNOPROTO { int getpgrp(void); }
-64 NOPROTO { int ogetpagesize(void); }
-65 UNIMPL mremap
-66 MNOPROTO { int vfork(void); }
-67 STD { int osf1_stat(char *path, struct osf1_stat *ub); }
-68 STD { int osf1_lstat(char *path, struct osf1_stat *ub); }
-69 UNIMPL sbrk
-70 UNIMPL sstk
-71 STD { caddr_t osf1_mmap(caddr_t addr, size_t len, int prot, \
- int flags, int fd, off_t pos); }
-72 UNIMPL ovadvise
-73 NOPROTO { int munmap(caddr_t addr, size_t len); }
-74 NOPROTO { int mprotect(void *addr, size_t len, int prot); }
+0 AUE_NULL NOPROTO { int nosys(void); }
+1 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit \
+ sys_exit_args void
+2 AUE_NULL MNOPROTO { int fork(void); }
+3 AUE_NULL MNOPROTO { ssize_t read(int fd, char *buf, \
+ ssize_t nbyte); }
+4 AUE_NULL MNOPROTO { ssize_t write(int fd, char *buf, \
+ ssize_t nbyte); }
+5 AUE_NULL UNIMPL old open
+6 AUE_NULL MNOPROTO { int close(int fd); }
+7 AUE_NULL MSTD { int osf1_wait4(int pid, int *status, \
+ int options, \
+ struct osf1_rusage *rusage); }
+8 AUE_NULL UNIMPL old creat
+9 AUE_NULL NOPROTO { int link(char *path, char *link); }
+10 AUE_NULL NOPROTO { int unlink(char *path); }
+11 AUE_NULL UNIMPL execv
+12 AUE_NULL NOPROTO { int chdir(char *path); }
+13 AUE_NULL NOPROTO { int fchdir(int fd); }
+14 AUE_NULL STD { int osf1_mknod(char *path, int mode, \
+ int dev); }
+15 AUE_NULL NOPROTO { int chmod(char *path, int mode); }
+16 AUE_NULL NOPROTO { int chown(char *path, int uid, int gid); }
+17 AUE_NULL NOPROTO { int obreak(char *nsize); }
+18 AUE_NULL STD { int osf1_getfsstat( \
+ struct osf1_statfs *buf, long bufsize, \
+ int flags); }
+19 AUE_NULL STD { off_t osf1_lseek(int fd, off_t offset, \
+ int whence); }
+20 AUE_NULL MNOPROTO { pid_t getpid(void); }
+21 AUE_NULL STD { int osf1_mount(int type, char *path, \
+ int flags, caddr_t data); }
+22 AUE_NULL STD { int osf1_unmount(char *path, int flags); }
+23 AUE_NULL MSTD { int osf1_setuid(uid_t uid); }
+24 AUE_NULL MNOPROTO { uid_t getuid(void); }
+25 AUE_NULL UNIMPL exec_with_loader
+26 AUE_NULL UNIMPL ptrace
+27 AUE_NULL UNIMPL recvmsg
+28 AUE_NULL UNIMPL sendmsg
+29 AUE_NULL NOPROTO { int recvfrom(int s, caddr_t buf, \
+ size_t len, int flags, caddr_t from, \
+ int *fromlenaddr); }
+30 AUE_NULL NOPROTO { int accept(int s, caddr_t name, \
+ int *anamelen); }
+31 AUE_NULL NOPROTO { int getpeername(int fdes, caddr_t asa, \
+ int *alen); }
+32 AUE_NULL NOPROTO { int getsockname(int fdes, caddr_t asa, \
+ int *alen); }
+33 AUE_NULL STD { int osf1_access(char *path, int flags); }
+34 AUE_NULL UNIMPL chflags
+35 AUE_NULL UNIMPL fchflags
+36 AUE_NULL NOPROTO { int sync(void); }
+37 AUE_NULL MSTD { int osf1_kill(int pid, int signum); }
+38 AUE_NULL UNIMPL old stat
+39 AUE_NULL MNOPROTO { int setpgid(int pid, int pgid); }
+40 AUE_NULL UNIMPL old lstat
+41 AUE_NULL MNOPROTO { int dup(u_int fd); }
+42 AUE_NULL MNOPROTO { int pipe(void); }
+43 AUE_NULL STD { int osf1_set_program_attributes( \
+ vm_offset_t text_start, \
+ vm_offset_t text_len, \
+ vm_offset_t bss_start, \
+ vm_offset_t bss_len); }
+44 AUE_NULL UNIMPL profil
+45 AUE_NULL STD { int osf1_open(char *path, int flags, \
+ int mode); }
+46 AUE_NULL OBSOL sigaction
+47 AUE_NULL MNOPROTO { gid_t getgid(void); }
+48 AUE_NULL MSTD { int osf1_sigprocmask(int how, \
+ osf1_sigset_t mask); }
+49 AUE_NULL MNOPROTO { int getlogin(char *namebuf, \
+ u_int namelen); }
+50 AUE_NULL MNOPROTO { int setlogin(char *namebuf); }
+51 AUE_NULL NOPROTO { int acct(char *path); }
+52 AUE_NULL MSTD { int osf1_sigpending(struct proc *p, \
+ osf1_sigset_t *mask ); }
+53 AUE_NULL STD { int osf1_classcntl(int opcode, int arg1, \
+ int arg2, int arg3);}
+54 AUE_NULL STD { int osf1_ioctl(int fd, int com, \
+ caddr_t data); }
+55 AUE_NULL STD { int osf1_reboot(int opt); }
+56 AUE_NULL NOPROTO { int revoke(char *path); }
+57 AUE_NULL NOPROTO { int symlink(char *path, char *link); }
+58 AUE_NULL NOPROTO { int readlink(char *path, char *buf, \
+ int count); }
+59 AUE_NULL STD { int osf1_execve(char *path, char **argp, \
+ char **envp); }
+60 AUE_NULL MNOPROTO { int umask(int newmask); }
+61 AUE_NULL NOPROTO { int chroot(char *path); }
+62 AUE_NULL UNIMPL old fstat
+63 AUE_NULL MNOPROTO { int getpgrp(void); }
+64 AUE_NULL NOPROTO { int ogetpagesize(void); }
+65 AUE_NULL UNIMPL mremap
+66 AUE_NULL MNOPROTO { int vfork(void); }
+67 AUE_NULL STD { int osf1_stat(char *path, \
+ struct osf1_stat *ub); }
+68 AUE_NULL STD { int osf1_lstat(char *path, \
+ struct osf1_stat *ub); }
+69 AUE_NULL UNIMPL sbrk
+70 AUE_NULL UNIMPL sstk
+71 AUE_NULL STD { caddr_t osf1_mmap(caddr_t addr, \
+ size_t len, int prot, int flags, int fd, \
+ off_t pos); }
+72 AUE_NULL UNIMPL ovadvise
+73 AUE_NULL NOPROTO { int munmap(caddr_t addr, size_t len); }
+74 AUE_NULL NOPROTO { int mprotect(void *addr, size_t len, \
+ int prot); }
; XXX
-75 STD { int osf1_madvise(void); }
-76 UNIMPL old vhangup
-77 UNIMPL kmodcall
-78 UNIMPL mincore
-79 MNOPROTO { int getgroups(u_int gidsetsize, gid_t *gidset); }
-80 MNOPROTO { int setgroups(u_int gidsetsize, gid_t *gidset); }
-81 UNIMPL old getpgrp
+75 AUE_NULL STD { int osf1_madvise(void); }
+76 AUE_NULL UNIMPL old vhangup
+77 AUE_NULL UNIMPL kmodcall
+78 AUE_NULL UNIMPL mincore
+79 AUE_NULL MNOPROTO { int getgroups(u_int gidsetsize, \
+ gid_t *gidset); }
+80 AUE_NULL MNOPROTO { int setgroups(u_int gidsetsize, \
+ gid_t *gidset); }
+81 AUE_NULL UNIMPL old getpgrp
; OSF/1 setpgrp(); identical in function to setpgid(). XXX
-82 MSTD { int osf1_setpgrp(int pid, int pgid); }
-83 STD { int osf1_setitimer(u_int which, struct itimerval *itv, \
- struct itimerval *oitv); }
-84 UNIMPL old wait
-85 STD { int osf1_table(long id, long index, void *addr, long nel, \
- u_long lel); }
-86 STD { int osf1_getitimer(u_int which, struct itimerval *itv); }
-87 MNOPROTO { int ogethostname(char *hostname, u_int len); } \
- ogethostname gethostname_args int
-88 MNOPROTO { int osethostname(char *hostname, u_int len); } \
- osethostname sethostname_args int
-89 MNOPROTO { int getdtablesize(void); }
-90 MNOPROTO { int dup2(u_int from, u_int to); }
-91 STD { int osf1_fstat(int fd, void *sb); }
-92 MSTD { int osf1_fcntl(int fd, int cmd, void *arg); }
-93 STD { int osf1_select(u_int nd, fd_set *in, fd_set *ou, \
- fd_set *ex, struct timeval *tv); }
-94 NOPROTO { int poll(struct pollfd *fds, u_int nfds, int timeout); }
-95 NOPROTO { int fsync(int fd); }
-96 MNOPROTO { int setpriority(int which, int who, int prio); }
-97 STD { int osf1_socket(int domain, int type, int protocol); }
-98 NOPROTO { int connect(int s, caddr_t name, int namelen); }
-99 NOPROTO { int oaccept(int s, caddr_t name, int *anamelen); } \
- oaccept accept_args int
-100 MNOPROTO { int getpriority(int which, int who); }
-101 NOPROTO { int osend(int s, caddr_t buf, int len, int flags); }
-102 NOPROTO { int orecv(int s, caddr_t buf, int len, int flags); }
-103 MSTD { int osf1_sigreturn(struct osigcontext *sigcntxp); }
-104 NOPROTO { int bind(int s, caddr_t name, int namelen); }
-105 NOPROTO { int setsockopt(int s, int level, int name, caddr_t val, \
- int valsize); }
-106 NOPROTO { int listen(int s, int backlog); }
-107 UNIMPL plock
-108 UNIMPL old sigvec
-109 UNIMPL old sigblock
-110 UNIMPL old sigsetmask
-111 MSTD { int osf1_sigsuspend(osf1_sigset_t ss); }
-112 MSTD { int osf1_osigstack(struct sigstack *nss, \
- struct sigstack *oss); }
-113 UNIMPL old recvmsg
-114 UNIMPL old sendmsg
-115 UNIMPL vtrace
-116 STD { int osf1_gettimeofday(struct timeval *tp, \
- struct timezone *tzp); }
+82 AUE_NULL MSTD { int osf1_setpgrp(int pid, int pgid); }
+83 AUE_NULL STD { int osf1_setitimer(u_int which, \
+ struct itimerval *itv, \
+ struct itimerval *oitv); }
+84 AUE_NULL UNIMPL old wait
+85 AUE_NULL STD { int osf1_table(long id, long index, \
+ void *addr, long nel, u_long lel); }
+86 AUE_NULL STD { int osf1_getitimer(u_int which, \
+ struct itimerval *itv); }
+87 AUE_NULL MNOPROTO { int ogethostname(char *hostname, \
+ u_int len); } ogethostname \
+ gethostname_args int
+88 AUE_NULL MNOPROTO { int osethostname(char *hostname, \
+ u_int len); } osethostname \
+ sethostname_args int
+89 AUE_NULL MNOPROTO { int getdtablesize(void); }
+90 AUE_NULL MNOPROTO { int dup2(u_int from, u_int to); }
+91 AUE_NULL STD { int osf1_fstat(int fd, void *sb); }
+92 AUE_NULL MSTD { int osf1_fcntl(int fd, int cmd, \
+ void *arg); }
+93 AUE_NULL STD { int osf1_select(u_int nd, fd_set *in, \
+ fd_set *ou, fd_set *ex, \
+ struct timeval *tv); }
+94 AUE_NULL NOPROTO { int poll(struct pollfd *fds, u_int nfds, \
+ int timeout); }
+95 AUE_NULL NOPROTO { int fsync(int fd); }
+96 AUE_NULL MNOPROTO { int setpriority(int which, int who, \
+ int prio); }
+97 AUE_NULL STD { int osf1_socket(int domain, int type, \
+ int protocol); }
+98 AUE_NULL NOPROTO { int connect(int s, caddr_t name, \
+ int namelen); }
+99 AUE_NULL NOPROTO { int oaccept(int s, caddr_t name, \
+ int *anamelen); } oaccept accept_args int
+100 AUE_NULL MNOPROTO { int getpriority(int which, int who); }
+101 AUE_NULL NOPROTO { int osend(int s, caddr_t buf, int len, \
+ int flags); }
+102 AUE_NULL NOPROTO { int orecv(int s, caddr_t buf, int len, \
+ int flags); }
+103 AUE_NULL MSTD { int osf1_sigreturn( \
+ struct osigcontext *sigcntxp); }
+104 AUE_NULL NOPROTO { int bind(int s, caddr_t name, \
+ int namelen); }
+105 AUE_NULL NOPROTO { int setsockopt(int s, int level, int name, \
+ caddr_t val, int valsize); }
+106 AUE_NULL NOPROTO { int listen(int s, int backlog); }
+107 AUE_NULL UNIMPL plock
+108 AUE_NULL UNIMPL old sigvec
+109 AUE_NULL UNIMPL old sigblock
+110 AUE_NULL UNIMPL old sigsetmask
+111 AUE_NULL MSTD { int osf1_sigsuspend(osf1_sigset_t ss); }
+112 AUE_NULL MSTD { int osf1_osigstack(struct sigstack *nss, \
+ struct sigstack *oss); }
+113 AUE_NULL UNIMPL old recvmsg
+114 AUE_NULL UNIMPL old sendmsg
+115 AUE_NULL UNIMPL vtrace
+116 AUE_NULL STD { int osf1_gettimeofday(struct timeval *tp, \
+ struct timezone *tzp); }
; XXX
-117 STD { int osf1_getrusage(long who, void *rusage); }
-118 NOPROTO { int getsockopt(int s, int level, int name, caddr_t val, \
- int *avalsize); }
-119 UNIMPL
-120 STD { int osf1_readv(int fd, struct osf1_iovec *iovp, \
- u_int iovcnt); }
-121 STD { int osf1_writev(int fd, struct osf1_iovec *iovp, \
- u_int iovcnt); }
-122 MNOPROTO { int settimeofday(struct timeval *tv, struct timezone *tzp); }
-123 NOPROTO { int fchown(int fd, int uid, int gid); }
-124 NOPROTO { int fchmod(int fd, int mode); }
-125 NOPROTO { int orecvfrom(int s, caddr_t buf, size_t len, int flags, \
- caddr_t from, int *fromlenaddr); } \
- orecvfrom recvfrom_args int
-126 MNOPROTO { int setreuid(int ruid, int euid); }
-127 MNOPROTO { int setregid(int rgid, int egid); }
-128 NOPROTO { int rename(const char *from, const char *to); }
-129 STD { int osf1_truncate(char *path, off_t length); }
-130 STD { int osf1_ftruncate(int fd, off_t length); }
-131 NOPROTO { int flock(int fd, int how); }
-132 MSTD { int osf1_setgid(gid_t gid); }
-133 STD { int osf1_sendto(int s, caddr_t buf, size_t len, int flags, \
- struct sockaddr *to, int tolen); }
-134 NOPROTO { int shutdown(int s, int how); }
-135 UNIMPL socketpair
-136 NOPROTO { int mkdir(char *path, int mode); }
-137 NOPROTO { int rmdir(char *path); }
-138 NOPROTO { int utimes(char *path, struct timeval *tptr); }
-139 OBSOL 4.2 sigreturn
-140 UNIMPL adjtime
-141 NOPROTO { int ogetpeername(int fdes, caddr_t asa, int *alen); }
-142 MNOPROTO { int32_t ogethostid(void); }
-143 MNOPROTO { int osethostid(int32_t hostid); }
-144 MSTD { int osf1_getrlimit(u_int which, struct rlimit *rlp); }
-145 MSTD { int osf1_setrlimit(u_int which, struct rlimit *rlp); }
-146 UNIMPL old killpg
-147 MNOPROTO { int setsid(void); }
-148 UNIMPL quotactl
-149 MNOPROTO { int oquota(void); }
-150 NOPROTO { int ogetsockname(int fdec, caddr_t asa, int *alen);} \
- ogetsockname getsockname_args int
-151 UNIMPL
-152 UNIMPL
-153 UNIMPL
-154 UNIMPL
-155 UNIMPL
-156 MSTD { int osf1_sigaction(long signum, struct osf1_sigaction *nsa, \
- struct osf1_sigaction *osa, void *sigtramp); }
-157 UNIMPL
-158 UNIMPL nfssvc
-159 NOPROTO { int ogetdirentries(int fd, char *buf, u_int count, \
- long *basep); }
-160 STD { int osf1_statfs(char *path, struct osf1_statfs *buf, \
- int len); }
-161 STD { int osf1_fstatfs(int fd, struct osf1_statfs *buf, int len); }
-162 UNIMPL
-163 UNIMPL async_daemon
-164 UNIMPL getfh
-165 MNOPROTO { int getdomainname(char *domainname, int len); }
-166 MNOPROTO { int setdomainname(char *domainname, int len); }
-167 UNIMPL
-168 UNIMPL
-169 UNIMPL exportfs
-170 UNIMPL
-171 UNIMPL
-172 UNIMPL alt msgctl
-173 UNIMPL alt msgget
-174 UNIMPL alt msgrcv
-175 UNIMPL alt msgsnd
-176 UNIMPL alt semctl
-177 UNIMPL alt semget
-178 UNIMPL alt semop
-179 UNIMPL alt uname
-180 UNIMPL
-181 UNIMPL alt plock
-182 UNIMPL lockf
-183 UNIMPL
-184 UNIMPL getmnt
-185 UNIMPL
-186 UNIMPL unmount
-187 UNIMPL alt sigpending
-188 UNIMPL alt setsid
-189 UNIMPL
-190 UNIMPL
-191 UNIMPL
-192 UNIMPL
-193 UNIMPL
-194 UNIMPL
-195 UNIMPL
-196 UNIMPL
-197 UNIMPL
-198 UNIMPL
-199 UNIMPL swapon
-200 MNOPROTO { int msgctl(int msqid, int cmd, struct msqid_ds *buf); }
-201 MNOPROTO { int msgget(key_t key, int msgflg); }
-202 MNOPROTO { int msgrcv(int msqid, void *msgp, size_t msgsz, \
- long msgtyp, int msgflg); }
-203 MNOPROTO { int msgsnd(int msqid, void *msgp, size_t msgsz, \
- int msgflg); }
-204 MNOPROTO { int __semctl(int semid, int semnum, int cmd, \
- union semun *arg); }
-205 MNOPROTO { int semget(key_t key, int nsems, int semflg); }
-206 MNOPROTO { int semop(int semid, struct sembuf *sops, u_int nsops); }
-207 MNOPROTO { int uname(struct utsname *name); }
-208 NOPROTO { int lchown(char *path, int uid, int gid); }
-209 MNOPROTO { int shmat(int shmid, void *shmaddr, int shmflg); }
-210 MNOPROTO { int shmctl(int shmid, int cmd, struct shmid_ds *buf); }
-211 MNOPROTO { int shmdt(void *shmaddr); }
-212 MNOPROTO { int shmget(key_t key, int size, int shmflg); }
-213 UNIMPL mvalid
-214 UNIMPL getaddressconf
-215 UNIMPL msleep
-216 UNIMPL mwakeup
-217 STD { int osf1_msync(caddr_t addr, size_t len, int flags); }
-218 MSTD {int osf1_signal(int signum, void *handler); }
-219 UNIMPL utc gettime
-220 UNIMPL utc adjtime
-221 UNIMPL
-222 UNIMPL security
-223 UNIMPL kloadcall
-224 UNIMPL
-225 UNIMPL
-226 UNIMPL
-227 UNIMPL
-228 UNIMPL
-229 UNIMPL
-230 UNIMPL
-231 UNIMPL
-232 UNIMPL
-233 MNOPROTO { pid_t getpgid(pid_t pid); }
-234 MNOPROTO { pid_t getsid(pid_t pid); }
-235 MSTD { int osf1_sigaltstack(struct osf1_sigaltstack *nss, \
- struct osf1_sigaltstack *oss); }
-236 UNIMPL waitid
-237 UNIMPL priocntlset
-238 UNIMPL sigsendset
-239 UNIMPL
-240 UNIMPL msfs_syscall
-241 MSTD { int osf1_sysinfo(int cmd, char *buf, long count); }
-242 UNIMPL uadmin
-243 UNIMPL fuser
-244 STD { int osf1_proplist_syscall(void); }
-245 STD { int osf1_ntpadjtime(void *tp); }
-246 STD { int osf1_ntpgettime(void *tp); }
-247 STD { int osf1_pathconf(char *path, int name); }
-248 STD { int osf1_fpathconf(int fd, int name); }
-249 UNIMPL
-250 STD { int osf1_uswitch(long cmd, long mask); }
-251 STD { int osf1_usleep_thread(struct timeval *sleep, \
- struct timeval *slept); }
-252 UNIMPL audcntl
-253 UNIMPL audgen
-254 UNIMPL sysfs
-255 UNIMPL
-256 STD { int osf1_getsysinfo(u_long op, caddr_t buffer, \
- u_long nbytes, caddr_t arg, u_long flag); }
-257 STD { int osf1_setsysinfo(u_long op, caddr_t buffer, \
- u_long nbytes, caddr_t arg, u_long flag); }
-258 UNIMPL afs_syscall
-259 UNIMPL swapctl
-260 UNIMPL memcntl
-261 UNIMPL
-262 UNIMPL
-263 UNIMPL
-264 UNIMPL
-265 UNIMPL
-266 UNIMPL
-267 UNIMPL
-268 UNIMPL
-269 UNIMPL
-270 UNIMPL
-271 UNIMPL
-272 UNIMPL
-273 UNIMPL
-274 UNIMPL
-275 UNIMPL
-276 UNIMPL
-277 UNIMPL
-278 UNIMPL
-279 UNIMPL
-280 UNIMPL
-281 UNIMPL
-282 UNIMPL
-283 UNIMPL
-284 UNIMPL
-285 UNIMPL
-286 UNIMPL
-287 UNIMPL
-288 UNIMPL
-289 UNIMPL
-290 UNIMPL
-291 UNIMPL
-292 UNIMPL
-293 UNIMPL
-294 UNIMPL
-295 UNIMPL
-296 UNIMPL
-297 UNIMPL
-298 UNIMPL
-299 UNIMPL
-300 UNIMPL
+117 AUE_NULL STD { int osf1_getrusage(long who, \
+ void *rusage); }
+118 AUE_NULL NOPROTO { int getsockopt(int s, int level, int name, \
+ caddr_t val, int *avalsize); }
+119 AUE_NULL UNIMPL
+120 AUE_NULL STD { int osf1_readv(int fd, \
+ struct osf1_iovec *iovp, u_int iovcnt); }
+121 AUE_NULL STD { int osf1_writev(int fd, \
+ struct osf1_iovec *iovp, u_int iovcnt); }
+122 AUE_NULL MNOPROTO { int settimeofday(struct timeval *tv, \
+ struct timezone *tzp); }
+123 AUE_NULL NOPROTO { int fchown(int fd, int uid, int gid); }
+124 AUE_NULL NOPROTO { int fchmod(int fd, int mode); }
+125 AUE_NULL NOPROTO { int orecvfrom(int s, caddr_t buf, \
+ size_t len, int flags, caddr_t from, \
+ int *fromlenaddr); } orecvfrom \
+ recvfrom_args int
+126 AUE_NULL MNOPROTO { int setreuid(int ruid, int euid); }
+127 AUE_NULL MNOPROTO { int setregid(int rgid, int egid); }
+128 AUE_NULL NOPROTO { int rename(const char *from, \
+ const char *to); }
+129 AUE_NULL STD { int osf1_truncate(char *path, \
+ off_t length); }
+130 AUE_NULL STD { int osf1_ftruncate(int fd, off_t length); }
+131 AUE_NULL NOPROTO { int flock(int fd, int how); }
+132 AUE_NULL MSTD { int osf1_setgid(gid_t gid); }
+133 AUE_NULL STD { int osf1_sendto(int s, caddr_t buf, \
+ size_t len, int flags, \
+ struct sockaddr *to, int tolen); }
+134 AUE_NULL NOPROTO { int shutdown(int s, int how); }
+135 AUE_NULL UNIMPL socketpair
+136 AUE_NULL NOPROTO { int mkdir(char *path, int mode); }
+137 AUE_NULL NOPROTO { int rmdir(char *path); }
+138 AUE_NULL NOPROTO { int utimes(char *path, \
+ struct timeval *tptr); }
+139 AUE_NULL OBSOL 4.2 sigreturn
+140 AUE_NULL UNIMPL adjtime
+141 AUE_NULL NOPROTO { int ogetpeername(int fdes, caddr_t asa, \
+ int *alen); }
+142 AUE_NULL MNOPROTO { int32_t ogethostid(void); }
+143 AUE_NULL MNOPROTO { int osethostid(int32_t hostid); }
+144 AUE_NULL MSTD { int osf1_getrlimit(u_int which, \
+ struct rlimit *rlp); }
+145 AUE_NULL MSTD { int osf1_setrlimit(u_int which, \
+ struct rlimit *rlp); }
+146 AUE_NULL UNIMPL old killpg
+147 AUE_NULL MNOPROTO { int setsid(void); }
+148 AUE_NULL UNIMPL quotactl
+149 AUE_NULL MNOPROTO { int oquota(void); }
+150 AUE_NULL NOPROTO { int ogetsockname(int fdec, caddr_t asa, \
+ int *alen);} ogetsockname \
+ getsockname_args int
+151 AUE_NULL UNIMPL
+152 AUE_NULL UNIMPL
+153 AUE_NULL UNIMPL
+154 AUE_NULL UNIMPL
+155 AUE_NULL UNIMPL
+156 AUE_NULL MSTD { int osf1_sigaction(long signum, \
+ struct osf1_sigaction *nsa, \
+ struct osf1_sigaction *osa, \
+ void *sigtramp); }
+157 AUE_NULL UNIMPL
+158 AUE_NULL UNIMPL nfssvc
+159 AUE_NULL NOPROTO { int ogetdirentries(int fd, char *buf, \
+ u_int count, long *basep); }
+160 AUE_NULL STD { int osf1_statfs(char *path, \
+ struct osf1_statfs *buf, int len); }
+161 AUE_NULL STD { int osf1_fstatfs(int fd, \
+ struct osf1_statfs *buf, int len); }
+162 AUE_NULL UNIMPL
+163 AUE_NULL UNIMPL async_daemon
+164 AUE_NULL UNIMPL getfh
+165 AUE_NULL MNOPROTO { int getdomainname(char *domainname, \
+ int len); }
+166 AUE_NULL MNOPROTO { int setdomainname(char *domainname, \
+ int len); }
+167 AUE_NULL UNIMPL
+168 AUE_NULL UNIMPL
+169 AUE_NULL UNIMPL exportfs
+170 AUE_NULL UNIMPL
+171 AUE_NULL UNIMPL
+172 AUE_NULL UNIMPL alt msgctl
+173 AUE_NULL UNIMPL alt msgget
+174 AUE_NULL UNIMPL alt msgrcv
+175 AUE_NULL UNIMPL alt msgsnd
+176 AUE_NULL UNIMPL alt semctl
+177 AUE_NULL UNIMPL alt semget
+178 AUE_NULL UNIMPL alt semop
+179 AUE_NULL UNIMPL alt uname
+180 AUE_NULL UNIMPL
+181 AUE_NULL UNIMPL alt plock
+182 AUE_NULL UNIMPL lockf
+183 AUE_NULL UNIMPL
+184 AUE_NULL UNIMPL getmnt
+185 AUE_NULL UNIMPL
+186 AUE_NULL UNIMPL unmount
+187 AUE_NULL UNIMPL alt sigpending
+188 AUE_NULL UNIMPL alt setsid
+189 AUE_NULL UNIMPL
+190 AUE_NULL UNIMPL
+191 AUE_NULL UNIMPL
+192 AUE_NULL UNIMPL
+193 AUE_NULL UNIMPL
+194 AUE_NULL UNIMPL
+195 AUE_NULL UNIMPL
+196 AUE_NULL UNIMPL
+197 AUE_NULL UNIMPL
+198 AUE_NULL UNIMPL
+199 AUE_NULL UNIMPL swapon
+200 AUE_NULL MNOPROTO { int msgctl(int msqid, int cmd, \
+ struct msqid_ds *buf); }
+201 AUE_NULL MNOPROTO { int msgget(key_t key, int msgflg); }
+202 AUE_NULL MNOPROTO { int msgrcv(int msqid, void *msgp, \
+ size_t msgsz, long msgtyp, int msgflg); }
+203 AUE_NULL MNOPROTO { int msgsnd(int msqid, void *msgp, \
+ size_t msgsz, int msgflg); }
+204 AUE_NULL MNOPROTO { int __semctl(int semid, int semnum, \
+ int cmd, union semun *arg); }
+205 AUE_NULL MNOPROTO { int semget(key_t key, int nsems, \
+ int semflg); }
+206 AUE_NULL MNOPROTO { int semop(int semid, struct sembuf *sops, \
+ u_int nsops); }
+207 AUE_NULL MNOPROTO { int uname(struct utsname *name); }
+208 AUE_NULL NOPROTO { int lchown(char *path, int uid, int gid); }
+209 AUE_NULL MNOPROTO { int shmat(int shmid, void *shmaddr, \
+ int shmflg); }
+210 AUE_NULL MNOPROTO { int shmctl(int shmid, int cmd, \
+ struct shmid_ds *buf); }
+211 AUE_NULL MNOPROTO { int shmdt(void *shmaddr); }
+212 AUE_NULL MNOPROTO { int shmget(key_t key, int size, \
+ int shmflg); }
+213 AUE_NULL UNIMPL mvalid
+214 AUE_NULL UNIMPL getaddressconf
+215 AUE_NULL UNIMPL msleep
+216 AUE_NULL UNIMPL mwakeup
+217 AUE_NULL STD { int osf1_msync(caddr_t addr, size_t len, \
+ int flags); }
+218 AUE_NULL MSTD {int osf1_signal(int signum, void *handler); }
+219 AUE_NULL UNIMPL utc gettime
+220 AUE_NULL UNIMPL utc adjtime
+221 AUE_NULL UNIMPL
+222 AUE_NULL UNIMPL security
+223 AUE_NULL UNIMPL kloadcall
+224 AUE_NULL UNIMPL
+225 AUE_NULL UNIMPL
+226 AUE_NULL UNIMPL
+227 AUE_NULL UNIMPL
+228 AUE_NULL UNIMPL
+229 AUE_NULL UNIMPL
+230 AUE_NULL UNIMPL
+231 AUE_NULL UNIMPL
+232 AUE_NULL UNIMPL
+233 AUE_NULL MNOPROTO { pid_t getpgid(pid_t pid); }
+234 AUE_NULL MNOPROTO { pid_t getsid(pid_t pid); }
+235 AUE_NULL MSTD { int osf1_sigaltstack( \
+ struct osf1_sigaltstack *nss, \
+ struct osf1_sigaltstack *oss); }
+236 AUE_NULL UNIMPL waitid
+237 AUE_NULL UNIMPL priocntlset
+238 AUE_NULL UNIMPL sigsendset
+239 AUE_NULL UNIMPL
+240 AUE_NULL UNIMPL msfs_syscall
+241 AUE_NULL MSTD { int osf1_sysinfo(int cmd, char *buf, \
+ long count); }
+242 AUE_NULL UNIMPL uadmin
+243 AUE_NULL UNIMPL fuser
+244 AUE_NULL STD { int osf1_proplist_syscall(void); }
+245 AUE_NULL STD { int osf1_ntpadjtime(void *tp); }
+246 AUE_NULL STD { int osf1_ntpgettime(void *tp); }
+247 AUE_NULL STD { int osf1_pathconf(char *path, int name); }
+248 AUE_NULL STD { int osf1_fpathconf(int fd, int name); }
+249 AUE_NULL UNIMPL
+250 AUE_NULL STD { int osf1_uswitch(long cmd, long mask); }
+251 AUE_NULL STD { int osf1_usleep_thread( \
+ struct timeval *sleep, \
+ struct timeval *slept); }
+252 AUE_NULL UNIMPL audcntl
+253 AUE_NULL UNIMPL audgen
+254 AUE_NULL UNIMPL sysfs
+255 AUE_NULL UNIMPL
+256 AUE_NULL STD { int osf1_getsysinfo(u_long op, \
+ caddr_t buffer, u_long nbytes, \
+ caddr_t arg, u_long flag); }
+257 AUE_NULL STD { int osf1_setsysinfo(u_long op, \
+ caddr_t buffer, u_long nbytes, \
+ caddr_t arg, u_long flag); }
+258 AUE_NULL UNIMPL afs_syscall
+259 AUE_NULL UNIMPL swapctl
+260 AUE_NULL UNIMPL memcntl
+261 AUE_NULL UNIMPL
+262 AUE_NULL UNIMPL
+263 AUE_NULL UNIMPL
+264 AUE_NULL UNIMPL
+265 AUE_NULL UNIMPL
+266 AUE_NULL UNIMPL
+267 AUE_NULL UNIMPL
+268 AUE_NULL UNIMPL
+269 AUE_NULL UNIMPL
+270 AUE_NULL UNIMPL
+271 AUE_NULL UNIMPL
+272 AUE_NULL UNIMPL
+273 AUE_NULL UNIMPL
+274 AUE_NULL UNIMPL
+275 AUE_NULL UNIMPL
+276 AUE_NULL UNIMPL
+277 AUE_NULL UNIMPL
+278 AUE_NULL UNIMPL
+279 AUE_NULL UNIMPL
+280 AUE_NULL UNIMPL
+281 AUE_NULL UNIMPL
+282 AUE_NULL UNIMPL
+283 AUE_NULL UNIMPL
+284 AUE_NULL UNIMPL
+285 AUE_NULL UNIMPL
+286 AUE_NULL UNIMPL
+287 AUE_NULL UNIMPL
+288 AUE_NULL UNIMPL
+289 AUE_NULL UNIMPL
+290 AUE_NULL UNIMPL
+291 AUE_NULL UNIMPL
+292 AUE_NULL UNIMPL
+293 AUE_NULL UNIMPL
+294 AUE_NULL UNIMPL
+295 AUE_NULL UNIMPL
+296 AUE_NULL UNIMPL
+297 AUE_NULL UNIMPL
+298 AUE_NULL UNIMPL
+299 AUE_NULL UNIMPL
+300 AUE_NULL UNIMPL
diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master
index 78b361e..004e83b 100644
--- a/sys/amd64/linux32/syscalls.master
+++ b/sys/amd64/linux32/syscalls.master
@@ -6,6 +6,11 @@
; Columns: number type nargs name alt{name,tag,rtyp}/comments
; number system call number, must be in order
+; audit the audit event associated with the system call
+; A value of AUE_NULL means no auditing, but it also means that
+; there is no audit event for the call at this time. For the
+; case where the event exists, but we don't want auditing, the
+; event should be #defined to AUE_NULL in audit_kevents.h.
; type one of STD, OBSOL, UNIMPL, COMPAT
; name psuedo-prototype of syscall routine
; If one of the following alts is different, then all appear:
@@ -34,316 +39,396 @@
; #ifdef's, etc. may be included, and are copied to the output files.
-0 UNIMPL setup
-1 MNOPROTO { void sys_exit(int rval); } exit sys_exit_args void
-2 MSTD { int linux_fork(void); }
-3 MNOPROTO { int read(int fd, char *buf, u_int nbyte); }
-4 MNOPROTO { int write(int fd, char *buf, u_int nbyte); }
-5 STD { int linux_open(char *path, l_int flags, l_int mode); }
-6 MNOPROTO { int close(int fd); }
-7 MSTD { int linux_waitpid(l_pid_t pid, l_int *status, l_int options); }
-8 STD { int linux_creat(char *path, l_int mode); }
-9 STD { int linux_link(char *path, char *to); }
-10 STD { int linux_unlink(char *path); }
-11 STD { int linux_execve(char *path, char **argp, char **envp); }
-12 STD { int linux_chdir(char *path); }
-13 STD { int linux_time(l_time_t *tm); }
-14 STD { int linux_mknod(char *path, l_int mode, l_dev_t dev); }
-15 STD { int linux_chmod(char *path, l_mode_t mode); }
-16 STD { int linux_lchown16(char *path, l_uid16_t uid, \
- l_gid16_t gid); }
-17 UNIMPL break
-18 UNIMPL stat
-19 STD { int linux_lseek(l_uint fdes, l_off_t off, l_int whence); }
-20 MSTD { int linux_getpid(void); }
-21 STD { int linux_mount(char *specialfile, char *dir, \
- char *filesystemtype, l_ulong rwflag, \
- void *data); }
-22 STD { int linux_oldumount(char *path); }
-23 MSTD { int linux_setuid16(l_uid16_t uid); }
-24 MSTD { int linux_getuid16(void); }
-25 STD { int linux_stime(void); }
-26 MSTD { int linux_ptrace(l_long req, l_long pid, l_long addr, \
- l_long data); }
-27 STD { int linux_alarm(l_uint secs); }
-28 UNIMPL fstat
-29 MSTD { int linux_pause(void); }
-30 STD { int linux_utime(char *fname, struct l_utimbuf *times); }
-31 UNIMPL stty
-32 UNIMPL gtty
-33 STD { int linux_access(char *path, l_int flags); }
-34 MSTD { int linux_nice(l_int inc); }
-35 UNIMPL ftime
-36 NOPROTO { int sync(void); }
-37 MSTD { int linux_kill(l_int pid, l_int signum); }
-38 STD { int linux_rename(char *from, char *to); }
-39 STD { int linux_mkdir(char *path, l_int mode); }
-40 STD { int linux_rmdir(char *path); }
-41 MNOPROTO { int dup(u_int fd); }
-42 MSTD { int linux_pipe(l_ulong *pipefds); }
-43 STD { int linux_times(struct l_times_argv *buf); }
-44 UNIMPL prof
-45 STD { int linux_brk(l_ulong dsend); }
-46 MSTD { int linux_setgid16(l_gid16_t gid); }
-47 MSTD { int linux_getgid16(void); }
-48 MSTD { int linux_signal(l_int sig, l_handler_t handler); }
-49 MSTD { int linux_geteuid16(void); }
-50 MSTD { int linux_getegid16(void); }
-51 MNOPROTO { int acct(char *path); }
-52 STD { int linux_umount(char *path, l_int flags); }
-53 UNIMPL lock
-54 STD { int linux_ioctl(l_uint fd, l_uint cmd, uintptr_t arg); }
-55 STD { int linux_fcntl(l_uint fd, l_uint cmd, uintptr_t arg); }
-56 UNIMPL mpx
-57 MNOPROTO { int setpgid(int pid, int pgid); }
-58 UNIMPL ulimit
-59 STD { int linux_olduname(void); }
-60 MNOPROTO { int umask(int newmask); }
-61 NOPROTO { int chroot(char *path); }
-62 STD { int linux_ustat(l_dev_t dev, struct l_ustat *ubuf); }
-63 MNOPROTO { int dup2(u_int from, u_int to); }
-64 MNOPROTO { int getppid(void); }
-65 MNOPROTO { int getpgrp(void); }
-66 MNOPROTO { int setsid(void); }
-67 MSTD { int linux_sigaction(l_int sig, l_osigaction_t *nsa, \
- l_osigaction_t *osa); }
-68 MSTD { int linux_sgetmask(void); }
-69 MSTD { int linux_ssetmask(l_osigset_t mask); }
-70 MSTD { int linux_setreuid16(l_uid16_t ruid, l_uid16_t euid); }
-71 MSTD { int linux_setregid16(l_gid16_t rgid, l_gid16_t egid); }
-72 MSTD { int linux_sigsuspend(l_int hist0, l_int hist1, \
- l_osigset_t mask); }
-73 MSTD { int linux_sigpending(l_osigset_t *mask); }
-74 MNOPROTO { int osethostname(char *hostname, u_int len); } \
- osethostname sethostname_args int
-75 MSTD { int linux_setrlimit(l_uint resource, struct l_rlimit *rlim); }
-76 MSTD { int linux_old_getrlimit(l_uint resource, \
- struct l_rlimit *rlim); }
-77 MSTD { int linux_getrusage(int who, struct l_rusage *rusage); }
-78 MSTD { int linux_gettimeofday(struct l_timeval *tp, \
- struct timezone *tzp); }
-79 MSTD { int linux_settimeofday(struct l_timeval *tp, \
- struct timezone *tzp); }
-80 MSTD { int linux_getgroups16(l_uint gidsetsize, l_gid16_t *gidset); }
-81 MSTD { int linux_setgroups16(l_uint gidsetsize, l_gid16_t *gidset); }
-82 STD { int linux_old_select(struct l_old_select_argv *ptr); }
-83 STD { int linux_symlink(char *path, char *to); }
-84 UNIMPL ostat
-85 STD { int linux_readlink(char *name, char *buf, l_int count); }
-86 UNIMPL linux_uselib
-87 NOPROTO { int swapon(char *name); }
-88 STD { int linux_reboot(l_int magic1, l_int magic2, l_uint cmd, \
+0 AUE_NULL UNIMPL setup
+1 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit \
+ sys_exit_args void
+2 AUE_NULL MSTD { int linux_fork(void); }
+3 AUE_NULL MNOPROTO { int read(int fd, char *buf, \
+ u_int nbyte); }
+4 AUE_NULL MNOPROTO { int write(int fd, char *buf, \
+ u_int nbyte); }
+5 AUE_NULL STD { int linux_open(char *path, l_int flags, \
+ l_int mode); }
+6 AUE_NULL MNOPROTO { int close(int fd); }
+7 AUE_NULL MSTD { int linux_waitpid(l_pid_t pid, \
+ l_int *status, l_int options); }
+8 AUE_NULL STD { int linux_creat(char *path, l_int mode); }
+9 AUE_NULL STD { int linux_link(char *path, char *to); }
+10 AUE_NULL STD { int linux_unlink(char *path); }
+11 AUE_NULL STD { int linux_execve(char *path, char **argp, \
+ char **envp); }
+12 AUE_NULL STD { int linux_chdir(char *path); }
+13 AUE_NULL STD { int linux_time(l_time_t *tm); }
+14 AUE_NULL STD { int linux_mknod(char *path, l_int mode, \
+ l_dev_t dev); }
+15 AUE_NULL STD { int linux_chmod(char *path, \
+ l_mode_t mode); }
+16 AUE_NULL STD { int linux_lchown16(char *path, \
+ l_uid16_t uid, l_gid16_t gid); }
+17 AUE_NULL UNIMPL break
+18 AUE_NULL UNIMPL stat
+19 AUE_NULL STD { int linux_lseek(l_uint fdes, l_off_t off, \
+ l_int whence); }
+20 AUE_NULL MSTD { int linux_getpid(void); }
+21 AUE_NULL STD { int linux_mount(char *specialfile, \
+ char *dir, char *filesystemtype, \
+ l_ulong rwflag, void *data); }
+22 AUE_NULL STD { int linux_oldumount(char *path); }
+23 AUE_NULL MSTD { int linux_setuid16(l_uid16_t uid); }
+24 AUE_NULL MSTD { int linux_getuid16(void); }
+25 AUE_NULL STD { int linux_stime(void); }
+26 AUE_NULL MSTD { int linux_ptrace(l_long req, l_long pid, \
+ l_long addr, l_long data); }
+27 AUE_NULL STD { int linux_alarm(l_uint secs); }
+28 AUE_NULL UNIMPL fstat
+29 AUE_NULL MSTD { int linux_pause(void); }
+30 AUE_NULL STD { int linux_utime(char *fname, \
+ struct l_utimbuf *times); }
+31 AUE_NULL UNIMPL stty
+32 AUE_NULL UNIMPL gtty
+33 AUE_NULL STD { int linux_access(char *path, l_int flags); }
+34 AUE_NULL MSTD { int linux_nice(l_int inc); }
+35 AUE_NULL UNIMPL ftime
+36 AUE_NULL NOPROTO { int sync(void); }
+37 AUE_NULL MSTD { int linux_kill(l_int pid, l_int signum); }
+38 AUE_NULL STD { int linux_rename(char *from, char *to); }
+39 AUE_NULL STD { int linux_mkdir(char *path, l_int mode); }
+40 AUE_NULL STD { int linux_rmdir(char *path); }
+41 AUE_NULL MNOPROTO { int dup(u_int fd); }
+42 AUE_NULL MSTD { int linux_pipe(l_ulong *pipefds); }
+43 AUE_NULL STD { int linux_times(struct l_times_argv *buf); }
+44 AUE_NULL UNIMPL prof
+45 AUE_NULL STD { int linux_brk(l_ulong dsend); }
+46 AUE_NULL MSTD { int linux_setgid16(l_gid16_t gid); }
+47 AUE_NULL MSTD { int linux_getgid16(void); }
+48 AUE_NULL MSTD { int linux_signal(l_int sig, \
+ l_handler_t handler); }
+49 AUE_NULL MSTD { int linux_geteuid16(void); }
+50 AUE_NULL MSTD { int linux_getegid16(void); }
+51 AUE_NULL MNOPROTO { int acct(char *path); }
+52 AUE_NULL STD { int linux_umount(char *path, l_int flags); }
+53 AUE_NULL UNIMPL lock
+54 AUE_NULL STD { int linux_ioctl(l_uint fd, l_uint cmd, \
+ uintptr_t arg); }
+55 AUE_NULL STD { int linux_fcntl(l_uint fd, l_uint cmd, \
+ uintptr_t arg); }
+56 AUE_NULL UNIMPL mpx
+57 AUE_NULL MNOPROTO { int setpgid(int pid, int pgid); }
+58 AUE_NULL UNIMPL ulimit
+59 AUE_NULL STD { int linux_olduname(void); }
+60 AUE_NULL MNOPROTO { int umask(int newmask); }
+61 AUE_NULL NOPROTO { int chroot(char *path); }
+62 AUE_NULL STD { int linux_ustat(l_dev_t dev, \
+ struct l_ustat *ubuf); }
+63 AUE_NULL MNOPROTO { int dup2(u_int from, u_int to); }
+64 AUE_NULL MNOPROTO { int getppid(void); }
+65 AUE_NULL MNOPROTO { int getpgrp(void); }
+66 AUE_NULL MNOPROTO { int setsid(void); }
+67 AUE_NULL MSTD { int linux_sigaction(l_int sig, \
+ l_osigaction_t *nsa, \
+ l_osigaction_t *osa); }
+68 AUE_NULL MSTD { int linux_sgetmask(void); }
+69 AUE_NULL MSTD { int linux_ssetmask(l_osigset_t mask); }
+70 AUE_NULL MSTD { int linux_setreuid16(l_uid16_t ruid, \
+ l_uid16_t euid); }
+71 AUE_NULL MSTD { int linux_setregid16(l_gid16_t rgid, \
+ l_gid16_t egid); }
+72 AUE_NULL MSTD { int linux_sigsuspend(l_int hist0, \
+ l_int hist1, l_osigset_t mask); }
+73 AUE_NULL MSTD { int linux_sigpending(l_osigset_t *mask); }
+74 AUE_NULL MNOPROTO { int osethostname(char *hostname, \
+ u_int len); } osethostname \
+ sethostname_args int
+75 AUE_NULL MSTD { int linux_setrlimit(l_uint resource, \
+ struct l_rlimit *rlim); }
+76 AUE_NULL MSTD { int linux_old_getrlimit(l_uint resource, \
+ struct l_rlimit *rlim); }
+77 AUE_NULL MSTD { int linux_getrusage(int who, \
+ struct l_rusage *rusage); }
+78 AUE_NULL MSTD { int linux_gettimeofday( \
+ struct l_timeval *tp, \
+ struct timezone *tzp); }
+79 AUE_NULL MSTD { int linux_settimeofday( \
+ struct l_timeval *tp, \
+ struct timezone *tzp); }
+80 AUE_NULL MSTD { int linux_getgroups16(l_uint gidsetsize, \
+ l_gid16_t *gidset); }
+81 AUE_NULL MSTD { int linux_setgroups16(l_uint gidsetsize, \
+ l_gid16_t *gidset); }
+82 AUE_NULL STD { int linux_old_select( \
+ struct l_old_select_argv *ptr); }
+83 AUE_NULL STD { int linux_symlink(char *path, \
+ char *to); }
+84 AUE_NULL UNIMPL ostat
+85 AUE_NULL STD { int linux_readlink(char *name, \
+ char *buf, l_int count); }
+86 AUE_NULL UNIMPL linux_uselib
+87 AUE_NULL NOPROTO { int swapon(char *name); }
+88 AUE_NULL STD { int linux_reboot(l_int magic1, \
+ l_int magic2, l_uint cmd, \
void *arg); }
-89 STD { int linux_readdir(l_uint fd, struct l_dirent *dent, \
- l_uint count); }
-90 STD { int linux_mmap(struct l_mmap_argv *ptr); }
-91 NOPROTO { int munmap(caddr_t addr, int len); }
-92 STD { int linux_truncate(char *path, l_ulong length); }
-93 NOPROTO { int oftruncate(int fd, long length); }
-94 NOPROTO { int fchmod(int fd, int mode); }
-95 NOPROTO { int fchown(int fd, int uid, int gid); }
-96 MNOPROTO { int getpriority(int which, int who); }
-97 MNOPROTO { int setpriority(int which, int who, int prio); }
-98 UNIMPL profil
-99 STD { int linux_statfs(char *path, struct l_statfs_buf *buf); }
-100 STD { int linux_fstatfs(l_uint fd, struct l_statfs_buf *buf); }
-101 UNIMPL ioperm
-102 STD { int linux_socketcall(l_int what, l_ulong args); }
-103 STD { int linux_syslog(l_int type, char *buf, l_int len); }
-104 STD { int linux_setitimer(l_int which, struct l_itimerval *itv, \
- struct l_itimerval *oitv); }
-105 STD { int linux_getitimer(l_int which, struct l_itimerval *itv); }
-106 STD { int linux_newstat(char *path, struct l_newstat *buf); }
-107 STD { int linux_newlstat(char *path, struct l_newstat *buf); }
-108 STD { int linux_newfstat(l_uint fd, struct l_newstat *buf); }
-109 STD { int linux_uname(void); }
-110 UNIMPL iopl
-111 STD { int linux_vhangup(void); }
-112 UNIMPL idle
-113 UNIMPL vm86old
-114 MSTD { int linux_wait4(l_pid_t pid, l_uint *status, \
- l_int options, struct l_rusage *rusage); }
-115 STD { int linux_swapoff(void); }
-116 STD { int linux_sysinfo(struct l_sysinfo *info); }
-117 STD { int linux_ipc(l_uint what, l_int arg1, l_int arg2, \
- l_int arg3, void *ptr, l_long arg5); }
-118 NOPROTO { int fsync(int fd); }
-119 MSTD { int linux_sigreturn(struct l_sigframe *sfp); }
-120 MSTD { int linux_clone(l_int flags, void *stack); }
-121 MNOPROTO { int setdomainname(char *name, int len); }
-122 STD { int linux_newuname(struct l_new_utsname *buf); }
-123 UNIMPL modify_ldt
-124 STD { int linux_adjtimex(void); }
-125 MSTD { int linux_mprotect(caddr_t addr, int len, int prot); }
-126 MSTD { int linux_sigprocmask(l_int how, l_osigset_t *mask, \
- l_osigset_t *omask); }
-127 STD { int linux_create_module(void); }
-128 STD { int linux_init_module(void); }
-129 STD { int linux_delete_module(void); }
-130 STD { int linux_get_kernel_syms(void); }
-131 STD { int linux_quotactl(void); }
-132 NOPROTO { int getpgid(int pid); }
-133 NOPROTO { int fchdir(int fd); }
-134 STD { int linux_bdflush(void); }
-135 STD { int linux_sysfs(l_int option, l_ulong arg1, l_ulong arg2); }
-136 STD { int linux_personality(l_ulong per); }
-137 UNIMPL afs_syscall
-138 STD { int linux_setfsuid16(l_uid16_t uid); }
-139 STD { int linux_setfsgid16(l_gid16_t gid); }
-140 STD { int linux_llseek(l_int fd, l_ulong ohigh, l_ulong olow, \
- l_loff_t *res, l_uint whence); }
-141 STD { int linux_getdents(l_uint fd, void *dent, l_uint count); }
-142 STD { int linux_select(l_int nfds, l_fd_set *readfds, \
- l_fd_set *writefds, l_fd_set *exceptfds, \
- struct l_timeval *timeout); }
-143 NOPROTO { int flock(int fd, int how); }
-144 STD { int linux_msync(l_ulong addr, l_size_t len, l_int fl); }
-145 STD { int linux_readv(int fd, struct iovec32 *iovp, \
- u_int iovcnt); }
-146 STD { int linux_writev(int fd, struct iovec32 *iovp, \
- u_int iovcnt); }
-147 MSTD { int linux_getsid(l_pid_t pid); }
-148 STD { int linux_fdatasync(l_uint fd); }
-149 STD { int linux_sysctl(struct l___sysctl_args *args); }
-150 MNOPROTO { int mlock(const void *addr, size_t len); }
-151 MNOPROTO { int munlock(const void *addr, size_t len); }
-152 MNOPROTO { int mlockall(int how); }
-153 MNOPROTO { int munlockall(void); }
-154 MNOPROTO { int sched_setparam(pid_t pid, \
- const struct sched_param *param); }
-155 MNOPROTO { int sched_getparam(pid_t pid, \
- struct sched_param *param); }
-156 MSTD { int linux_sched_setscheduler(l_pid_t pid, \
- l_int policy, struct l_sched_param *param); }
-157 MSTD { int linux_sched_getscheduler(l_pid_t pid); }
-158 NOPROTO { int sched_yield(void); }
-159 MSTD { int linux_sched_get_priority_max(l_int policy); }
-160 MSTD { int linux_sched_get_priority_min(l_int policy); }
-161 MSTD { int linux_sched_rr_get_interval(l_pid_t pid, \
- struct l_timespec *interval); }
-162 MSTD { int linux_nanosleep(const struct l_timespec *rqtp, \
- struct l_timespec *rmtp); }
-163 STD { int linux_mremap(l_ulong addr, l_ulong old_len, \
- l_ulong new_len, l_ulong flags, \
- l_ulong new_addr); }
-164 MSTD { int linux_setresuid16(l_uid16_t ruid, \
- l_uid16_t euid, l_uid16_t suid); }
-165 MSTD { int linux_getresuid16(l_uid16_t *ruid, \
- l_uid16_t *euid, l_uid16_t *suid); }
-166 UNIMPL vm86
-167 STD { int linux_query_module(void); }
-168 NOPROTO { int poll(struct pollfd*, unsigned int nfds, int timeout); }
-169 STD { int linux_nfsservctl(void); }
-170 MSTD { int linux_setresgid16(l_gid16_t rgid, \
- l_gid16_t egid, l_gid16_t sgid); }
-171 MSTD { int linux_getresgid16(l_gid16_t *rgid, \
- l_gid16_t *egid, l_gid16_t *sgid); }
-172 STD { int linux_prctl(void); }
-173 STD { int linux_rt_sigreturn(struct l_ucontext *ucp); }
-174 MSTD { int linux_rt_sigaction(l_int sig, \
- l_sigaction_t *act, l_sigaction_t *oact, \
- l_size_t sigsetsize); }
-175 MSTD { int linux_rt_sigprocmask(l_int how, \
- l_sigset_t *mask, l_sigset_t *omask, \
- l_size_t sigsetsize); }
-176 STD { int linux_rt_sigpending(void); }
-177 STD { int linux_rt_sigtimedwait(void); }
-178 STD { int linux_rt_sigqueueinfo(void); }
-179 MSTD { int linux_rt_sigsuspend(l_sigset_t *newset, \
- l_size_t sigsetsize); }
-180 STD { int linux_pread(l_uint fd, char *buf, \
- l_size_t nbyte, l_loff_t offset); }
-181 STD { int linux_pwrite(l_uint fd, char *buf, \
- l_size_t nbyte, l_loff_t offset); }
-182 STD { int linux_chown16(char *path, l_uid16_t uid, l_gid16_t gid); }
-183 STD { int linux_getcwd(char *buf, l_ulong bufsize); }
-184 STD { int linux_capget(void); }
-185 STD { int linux_capset(void); }
-186 STD { int linux_sigaltstack(l_stack_t *uss, l_stack_t *uoss); }
-187 STD { int linux_sendfile(void); }
-188 UNIMPL getpmsg
-189 UNIMPL putpmsg
-190 MSTD { int linux_vfork(void); }
-191 MSTD { int linux_getrlimit(l_uint resource, struct l_rlimit *rlim); }
-192 STD { int linux_mmap2(l_ulong addr, l_ulong len, \
- l_ulong prot, l_ulong flags, l_ulong fd, \
- l_ulong pgoff); }
-193 STD { int linux_truncate64(char *path, l_loff_t length); }
-194 STD { int linux_ftruncate64(l_uint fd, l_loff_t length); }
-195 STD { int linux_stat64(char *filename, \
- struct l_stat64 *statbuf, l_long flags); }
-196 STD { int linux_lstat64(char *filename, \
- struct l_stat64 *statbuf, l_long flags); }
-197 STD { int linux_fstat64(l_ulong fd, \
- struct l_stat64 *statbuf, l_long flags); }
-198 STD { int linux_lchown(char *path, l_uid_t uid, \
- l_gid_t gid); }
-199 MSTD { int linux_getuid(void); }
-200 MSTD { int linux_getgid(void); }
-201 MNOPROTO { int geteuid(void); }
-202 MNOPROTO { int getegid(void); }
-203 MNOPROTO { int setreuid(uid_t ruid, uid_t euid); }
-204 MNOPROTO { int setregid(gid_t rgid, gid_t egid); }
-205 MSTD { int linux_getgroups(l_int gidsetsize, l_gid_t *grouplist); }
-206 MSTD { int linux_setgroups(l_int gidsetsize, l_gid_t *grouplist); }
-207 NODEF fchown fchown fchown_args int
-208 MNOPROTO { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
-209 MNOPROTO { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
-210 MNOPROTO { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
-211 MNOPROTO { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
-212 STD { int linux_chown(char *path, l_uid_t uid, l_gid_t gid); }
-213 MNOPROTO { int setuid(uid_t uid); }
-214 MNOPROTO { int setgid(gid_t gid); }
-215 STD { int linux_setfsuid(l_uid_t uid); }
-216 STD { int linux_setfsgid(l_gid_t gid); }
-217 STD { int linux_pivot_root(char *new_root, char *put_old); }
-218 STD { int linux_mincore(l_ulong start, l_size_t len, u_char *vec); }
-219 MNOPROTO { int madvise(void *addr, size_t len, int behav); }
-220 STD { int linux_getdents64(l_uint fd, void *dirent, l_uint count); }
-221 STD { int linux_fcntl64(l_uint fd, l_uint cmd, uintptr_t arg); }
-222 UNIMPL
-223 UNIMPL
-224 MNOPROTO { int linux_getpid(void); } gettid linux_getpid_args void
-225 UNIMPL linux_readahead
-226 STD { int linux_setxattr(void); }
-227 STD { int linux_lsetxattr(void); }
-228 STD { int linux_fsetxattr(void); }
-229 STD { int linux_getxattr(void); }
-230 STD { int linux_lgetxattr(void); }
-231 STD { int linux_fgetxattr(void); }
-232 STD { int linux_listxattr(void); }
-233 STD { int linux_llistxattr(void); }
-234 STD { int linux_flistxattr(void); }
-235 STD { int linux_removexattr(void); }
-236 STD { int linux_lremovexattr(void); }
-237 STD { int linux_fremovexattr(void); }
-238 UNIMPL linux_tkill
-239 UNIMPL linux_sendfile64
-240 UNIMPL linux_futex
-241 UNIMPL linux_sched_setaffinity
-242 UNIMPL linux_sched_getaffinity
-243 UNIMPL linux_set_thread_area
-244 UNIMPL linux_get_thread_area
-245 UNIMPL linux_io_setup
-246 UNIMPL linux_io_destroy
-247 UNIMPL linux_io_getevents
-248 UNIMPL linux_io_submit
-249 UNIMPL linux_io_cancel
-250 STD { int linux_fadvise64(void); }
-251 UNIMPL
-252 MNOPROTO { void sys_exit(int rval); } exit_group sys_exit_args void
-253 UNIMPL linux_lookup_dcookie
-254 UNIMPL linux_epoll_create
-255 UNIMPL linux_epoll_ctl
-256 UNIMPL linux_epoll_wait
-257 UNIMPL linux_remap_file_pages
-258 UNIMPL linux_set_tid_address
-259 UNIMPL linux_timer_create
-260 UNIMPL linux_timer_settime
-261 UNIMPL linux_timer_gettime
-262 UNIMPL linux_timer_getoverrun
-263 UNIMPL linux_timer_delete
-264 UNIMPL linux_clock_settime
-265 UNIMPL linux_clock_gettime
-266 UNIMPL linux_clock_getres
-267 UNIMPL linux_clock_nanosleep
+89 AUE_NULL STD { int linux_readdir(l_uint fd, \
+ struct l_dirent *dent, l_uint count); }
+90 AUE_NULL STD { int linux_mmap(struct l_mmap_argv *ptr); }
+91 AUE_NULL NOPROTO { int munmap(caddr_t addr, int len); }
+92 AUE_NULL STD { int linux_truncate(char *path, \
+ l_ulong length); }
+93 AUE_NULL NOPROTO { int oftruncate(int fd, long length); }
+94 AUE_NULL NOPROTO { int fchmod(int fd, int mode); }
+95 AUE_NULL NOPROTO { int fchown(int fd, int uid, int gid); }
+96 AUE_NULL MNOPROTO { int getpriority(int which, int who); }
+97 AUE_NULL MNOPROTO { int setpriority(int which, int who, \
+ int prio); }
+98 AUE_NULL UNIMPL profil
+99 AUE_NULL STD { int linux_statfs(char *path, \
+ struct l_statfs_buf *buf); }
+100 AUE_NULL STD { int linux_fstatfs(l_uint fd, \
+ struct l_statfs_buf *buf); }
+101 AUE_NULL UNIMPL ioperm
+102 AUE_NULL STD { int linux_socketcall(l_int what, \
+ l_ulong args); }
+103 AUE_NULL STD { int linux_syslog(l_int type, char *buf, \
+ l_int len); }
+104 AUE_NULL STD { int linux_setitimer(l_int which, \
+ struct l_itimerval *itv, \
+ struct l_itimerval *oitv); }
+105 AUE_NULL STD { int linux_getitimer(l_int which, \
+ struct l_itimerval *itv); }
+106 AUE_NULL STD { int linux_newstat(char *path, \
+ struct l_newstat *buf); }
+107 AUE_NULL STD { int linux_newlstat(char *path, \
+ struct l_newstat *buf); }
+108 AUE_NULL STD { int linux_newfstat(l_uint fd, \
+ struct l_newstat *buf); }
+109 AUE_NULL STD { int linux_uname(void); }
+110 AUE_NULL UNIMPL iopl
+111 AUE_NULL STD { int linux_vhangup(void); }
+112 AUE_NULL UNIMPL idle
+113 AUE_NULL UNIMPL vm86old
+114 AUE_NULL MSTD { int linux_wait4(l_pid_t pid, \
+ l_uint *status, l_int options, \
+ struct l_rusage *rusage); }
+115 AUE_NULL STD { int linux_swapoff(void); }
+116 AUE_NULL STD { int linux_sysinfo(struct l_sysinfo *info); }
+117 AUE_NULL STD { int linux_ipc(l_uint what, l_int arg1, \
+ l_int arg2, l_int arg3, void *ptr, \
+ l_long arg5); }
+118 AUE_NULL NOPROTO { int fsync(int fd); }
+119 AUE_NULL MSTD { int linux_sigreturn( \
+ struct l_sigframe *sfp); }
+120 AUE_NULL MSTD { int linux_clone(l_int flags, \
+ void *stack); }
+121 AUE_NULL MNOPROTO { int setdomainname(char *name, int len); }
+122 AUE_NULL STD { int linux_newuname( \
+ struct l_new_utsname *buf); }
+123 AUE_NULL UNIMPL modify_ldt
+124 AUE_NULL STD { int linux_adjtimex(void); }
+125 AUE_NULL MSTD { int linux_mprotect(caddr_t addr, int len, \
+ int prot); }
+126 AUE_NULL MSTD { int linux_sigprocmask(l_int how, \
+ l_osigset_t *mask, l_osigset_t *omask); }
+127 AUE_NULL STD { int linux_create_module(void); }
+128 AUE_NULL STD { int linux_init_module(void); }
+129 AUE_NULL STD { int linux_delete_module(void); }
+130 AUE_NULL STD { int linux_get_kernel_syms(void); }
+131 AUE_NULL STD { int linux_quotactl(void); }
+132 AUE_NULL NOPROTO { int getpgid(int pid); }
+133 AUE_NULL NOPROTO { int fchdir(int fd); }
+134 AUE_NULL STD { int linux_bdflush(void); }
+135 AUE_NULL STD { int linux_sysfs(l_int option, \
+ l_ulong arg1, l_ulong arg2); }
+136 AUE_NULL STD { int linux_personality(l_ulong per); }
+137 AUE_NULL UNIMPL afs_syscall
+138 AUE_NULL STD { int linux_setfsuid16(l_uid16_t uid); }
+139 AUE_NULL STD { int linux_setfsgid16(l_gid16_t gid); }
+140 AUE_NULL STD { int linux_llseek(l_int fd, l_ulong ohigh, \
+ l_ulong olow, l_loff_t *res, \
+ l_uint whence); }
+141 AUE_NULL STD { int linux_getdents(l_uint fd, void *dent, \
+ l_uint count); }
+142 AUE_NULL STD { int linux_select(l_int nfds, \
+ l_fd_set *readfds, l_fd_set *writefds, \
+ l_fd_set *exceptfds, \
+ struct l_timeval *timeout); }
+143 AUE_NULL NOPROTO { int flock(int fd, int how); }
+144 AUE_NULL STD { int linux_msync(l_ulong addr, \
+ l_size_t len, l_int fl); }
+145 AUE_NULL STD { int linux_readv(int fd, \
+ struct iovec32 *iovp, u_int iovcnt); }
+146 AUE_NULL STD { int linux_writev(int fd, \
+ struct iovec32 *iovp, u_int iovcnt); }
+147 AUE_NULL MSTD { int linux_getsid(l_pid_t pid); }
+148 AUE_NULL STD { int linux_fdatasync(l_uint fd); }
+149 AUE_NULL STD { int linux_sysctl( \
+ struct l___sysctl_args *args); }
+150 AUE_NULL MNOPROTO { int mlock(const void *addr, size_t len); }
+151 AUE_NULL MNOPROTO { int munlock(const void *addr, \
+ size_t len); }
+152 AUE_NULL MNOPROTO { int mlockall(int how); }
+153 AUE_NULL MNOPROTO { int munlockall(void); }
+154 AUE_NULL MNOPROTO { int sched_setparam(pid_t pid, \
+ const struct sched_param *param); }
+155 AUE_NULL MNOPROTO { int sched_getparam(pid_t pid, \
+ struct sched_param *param); }
+156 AUE_NULL MSTD { int linux_sched_setscheduler(l_pid_t pid, \
+ l_int policy, \
+ struct l_sched_param *param); }
+157 AUE_NULL MSTD { int linux_sched_getscheduler(l_pid_t pid); }
+158 AUE_NULL NOPROTO { int sched_yield(void); }
+159 AUE_NULL MSTD { int linux_sched_get_priority_max( \
+ l_int policy); }
+160 AUE_NULL MSTD { int linux_sched_get_priority_min( \
+ l_int policy); }
+161 AUE_NULL MSTD { int linux_sched_rr_get_interval( \
+ l_pid_t pid, \
+ struct l_timespec *interval); }
+162 AUE_NULL MSTD { int linux_nanosleep( \
+ const struct l_timespec *rqtp, \
+ struct l_timespec *rmtp); }
+163 AUE_NULL STD { int linux_mremap(l_ulong addr, \
+ l_ulong old_len, l_ulong new_len, \
+ l_ulong flags, l_ulong new_addr); }
+164 AUE_NULL MSTD { int linux_setresuid16(l_uid16_t ruid, \
+ l_uid16_t euid, l_uid16_t suid); }
+165 AUE_NULL MSTD { int linux_getresuid16(l_uid16_t *ruid, \
+ l_uid16_t *euid, l_uid16_t *suid); }
+166 AUE_NULL UNIMPL vm86
+167 AUE_NULL STD { int linux_query_module(void); }
+168 AUE_NULL NOPROTO { int poll(struct pollfd*, \
+ unsigned int nfds, int timeout); }
+169 AUE_NULL STD { int linux_nfsservctl(void); }
+170 AUE_NULL MSTD { int linux_setresgid16(l_gid16_t rgid, \
+ l_gid16_t egid, l_gid16_t sgid); }
+171 AUE_NULL MSTD { int linux_getresgid16(l_gid16_t *rgid, \
+ l_gid16_t *egid, l_gid16_t *sgid); }
+172 AUE_NULL STD { int linux_prctl(void); }
+173 AUE_NULL STD { int linux_rt_sigreturn( \
+ struct l_ucontext *ucp); }
+174 AUE_NULL MSTD { int linux_rt_sigaction(l_int sig, \
+ l_sigaction_t *act, l_sigaction_t *oact, \
+ l_size_t sigsetsize); }
+175 AUE_NULL MSTD { int linux_rt_sigprocmask(l_int how, \
+ l_sigset_t *mask, l_sigset_t *omask, \
+ l_size_t sigsetsize); }
+176 AUE_NULL STD { int linux_rt_sigpending(void); }
+177 AUE_NULL STD { int linux_rt_sigtimedwait(void); }
+178 AUE_NULL STD { int linux_rt_sigqueueinfo(void); }
+179 AUE_NULL MSTD { int linux_rt_sigsuspend( \
+ l_sigset_t *newset, \
+ l_size_t sigsetsize); }
+180 AUE_NULL STD { int linux_pread(l_uint fd, char *buf, \
+ l_size_t nbyte, l_loff_t offset); }
+181 AUE_NULL STD { int linux_pwrite(l_uint fd, char *buf, \
+ l_size_t nbyte, l_loff_t offset); }
+182 AUE_NULL STD { int linux_chown16(char *path, \
+ l_uid16_t uid, l_gid16_t gid); }
+183 AUE_NULL STD { int linux_getcwd(char *buf, \
+ l_ulong bufsize); }
+184 AUE_NULL STD { int linux_capget(void); }
+185 AUE_NULL STD { int linux_capset(void); }
+186 AUE_NULL STD { int linux_sigaltstack(l_stack_t *uss, \
+ l_stack_t *uoss); }
+187 AUE_NULL STD { int linux_sendfile(void); }
+188 AUE_NULL UNIMPL getpmsg
+189 AUE_NULL UNIMPL putpmsg
+190 AUE_NULL MSTD { int linux_vfork(void); }
+191 AUE_NULL MSTD { int linux_getrlimit(l_uint resource, \
+ struct l_rlimit *rlim); }
+192 AUE_NULL STD { int linux_mmap2(l_ulong addr, l_ulong len, \
+ l_ulong prot, l_ulong flags, l_ulong fd, \
+ l_ulong pgoff); }
+193 AUE_NULL STD { int linux_truncate64(char *path, \
+ l_loff_t length); }
+194 AUE_NULL STD { int linux_ftruncate64(l_uint fd, \
+ l_loff_t length); }
+195 AUE_NULL STD { int linux_stat64(char *filename, \
+ struct l_stat64 *statbuf, l_long flags); }
+196 AUE_NULL STD { int linux_lstat64(char *filename, \
+ struct l_stat64 *statbuf, l_long flags); }
+197 AUE_NULL STD { int linux_fstat64(l_ulong fd, \
+ struct l_stat64 *statbuf, l_long flags); }
+198 AUE_NULL STD { int linux_lchown(char *path, l_uid_t uid, \
+ l_gid_t gid); }
+199 AUE_NULL MSTD { int linux_getuid(void); }
+200 AUE_NULL MSTD { int linux_getgid(void); }
+201 AUE_NULL MNOPROTO { int geteuid(void); }
+202 AUE_NULL MNOPROTO { int getegid(void); }
+203 AUE_NULL MNOPROTO { int setreuid(uid_t ruid, uid_t euid); }
+204 AUE_NULL MNOPROTO { int setregid(gid_t rgid, gid_t egid); }
+205 AUE_NULL MSTD { int linux_getgroups(l_int gidsetsize, \
+ l_gid_t *grouplist); }
+206 AUE_NULL MSTD { int linux_setgroups(l_int gidsetsize, \
+ l_gid_t *grouplist); }
+207 AUE_NULL NODEF fchown fchown fchown_args int
+208 AUE_NULL MNOPROTO { int setresuid(uid_t ruid, uid_t euid, \
+ uid_t suid); }
+209 AUE_NULL MNOPROTO { int getresuid(uid_t *ruid, uid_t *euid, \
+ uid_t *suid); }
+210 AUE_NULL MNOPROTO { int setresgid(gid_t rgid, gid_t egid, \
+ gid_t sgid); }
+211 AUE_NULL MNOPROTO { int getresgid(gid_t *rgid, gid_t *egid, \
+ gid_t *sgid); }
+212 AUE_NULL STD { int linux_chown(char *path, l_uid_t uid, \
+ l_gid_t gid); }
+213 AUE_NULL MNOPROTO { int setuid(uid_t uid); }
+214 AUE_NULL MNOPROTO { int setgid(gid_t gid); }
+215 AUE_NULL STD { int linux_setfsuid(l_uid_t uid); }
+216 AUE_NULL STD { int linux_setfsgid(l_gid_t gid); }
+217 AUE_NULL STD { int linux_pivot_root(char *new_root, \
+ char *put_old); }
+218 AUE_NULL STD { int linux_mincore(l_ulong start, \
+ l_size_t len, u_char *vec); }
+219 AUE_NULL MNOPROTO { int madvise(void *addr, size_t len, \
+ int behav); }
+220 AUE_NULL STD { int linux_getdents64(l_uint fd, \
+ void *dirent, l_uint count); }
+221 AUE_NULL STD { int linux_fcntl64(l_uint fd, l_uint cmd, \
+ uintptr_t arg); }
+222 AUE_NULL UNIMPL
+223 AUE_NULL UNIMPL
+224 AUE_NULL MNOPROTO { int linux_getpid(void); } gettid \
+ linux_getpid_args void
+225 AUE_NULL UNIMPL linux_readahead
+226 AUE_NULL STD { int linux_setxattr(void); }
+227 AUE_NULL STD { int linux_lsetxattr(void); }
+228 AUE_NULL STD { int linux_fsetxattr(void); }
+229 AUE_NULL STD { int linux_getxattr(void); }
+230 AUE_NULL STD { int linux_lgetxattr(void); }
+231 AUE_NULL STD { int linux_fgetxattr(void); }
+232 AUE_NULL STD { int linux_listxattr(void); }
+233 AUE_NULL STD { int linux_llistxattr(void); }
+234 AUE_NULL STD { int linux_flistxattr(void); }
+235 AUE_NULL STD { int linux_removexattr(void); }
+236 AUE_NULL STD { int linux_lremovexattr(void); }
+237 AUE_NULL STD { int linux_fremovexattr(void); }
+238 AUE_NULL UNIMPL linux_tkill
+239 AUE_NULL UNIMPL linux_sendfile64
+240 AUE_NULL UNIMPL linux_futex
+241 AUE_NULL UNIMPL linux_sched_setaffinity
+242 AUE_NULL UNIMPL linux_sched_getaffinity
+243 AUE_NULL UNIMPL linux_set_thread_area
+244 AUE_NULL UNIMPL linux_get_thread_area
+245 AUE_NULL UNIMPL linux_io_setup
+246 AUE_NULL UNIMPL linux_io_destroy
+247 AUE_NULL UNIMPL linux_io_getevents
+248 AUE_NULL UNIMPL linux_io_submit
+249 AUE_NULL UNIMPL linux_io_cancel
+250 AUE_NULL STD { int linux_fadvise64(void); }
+251 AUE_NULL UNIMPL
+252 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit_group \
+ sys_exit_args void
+253 AUE_NULL UNIMPL linux_lookup_dcookie
+254 AUE_NULL UNIMPL linux_epoll_create
+255 AUE_NULL UNIMPL linux_epoll_ctl
+256 AUE_NULL UNIMPL linux_epoll_wait
+257 AUE_NULL UNIMPL linux_remap_file_pages
+258 AUE_NULL UNIMPL linux_set_tid_address
+259 AUE_NULL UNIMPL linux_timer_create
+260 AUE_NULL UNIMPL linux_timer_settime
+261 AUE_NULL UNIMPL linux_timer_gettime
+262 AUE_NULL UNIMPL linux_timer_getoverrun
+263 AUE_NULL UNIMPL linux_timer_delete
+264 AUE_NULL UNIMPL linux_clock_settime
+265 AUE_NULL UNIMPL linux_clock_gettime
+266 AUE_NULL UNIMPL linux_clock_getres
+267 AUE_NULL UNIMPL linux_clock_nanosleep
diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master
index 01b9bf2..c7fa7af 100644
--- a/sys/compat/freebsd32/syscalls.master
+++ b/sys/compat/freebsd32/syscalls.master
@@ -7,6 +7,11 @@
; Columns: number [M]type nargs name alt{name,tag,rtyp}/comments
; number system call number, must be in order
+; audit the audit event associated with the system call
+; A value of AUE_NULL means no auditing, but it also means that
+; there is no audit event for the call at this time. For the
+; case where the event exists, but we don't want auditing, the
+; event should be #defined to AUE_NULL in audit_kevents.h.
; type one of [M]STD, [M]OBSOL, [M]UNIMPL, [M]COMPAT, [M]CPT_NOA,
; [M]LIBCOMPAT, [M]NODEF, [M]NOARGS, [M]NOPROTO, [M]NOIMPL,
; [M]NOSTD
@@ -45,578 +50,679 @@
; redistributions should be placed in the reserved range at the end
; of the current calls.
-0 MNOPROTO { int nosys(void); } syscall nosys_args int
-1 MNOPROTO { void sys_exit(int rval); } exit sys_exit_args void
-2 MNOPROTO { int fork(void); }
-3 MNOPROTO { ssize_t read(int fd, void *buf, size_t nbyte); }
-4 MNOPROTO { ssize_t write(int fd, const void *buf, size_t nbyte); }
-5 MNOPROTO { int open(char *path, int flags, int mode); }
-6 MNOPROTO { int close(int fd); }
-7 MSTD { int freebsd32_wait4(int pid, int *status, int options, \
- struct rusage32 *rusage); }
-8 OBSOL old creat
-9 MNOPROTO { int link(char *path, char *link); }
-10 MNOPROTO { int unlink(char *path); }
-11 OBSOL execv
-12 NOPROTO { int chdir(char *path); }
-13 NOPROTO { int fchdir(int fd); }
-14 NOPROTO { int mknod(char *path, int mode, int dev); }
-15 NOPROTO { int chmod(char *path, int mode); }
-16 NOPROTO { int chown(char *path, int uid, int gid); }
-17 MNOPROTO { int obreak(char *nsize); } break obreak_args int
-18 COMPAT4 { int freebsd32_getfsstat(struct statfs32 *buf, \
- long bufsize, int flags); }
-19 OBSOL olseek
-20 MNOPROTO { pid_t getpid(void); }
-21 MNOPROTO { int mount(char *type, char *path, int flags, \
- caddr_t data); }
-22 MNOPROTO { int unmount(char *path, int flags); }
-23 MNOPROTO { int setuid(uid_t uid); }
-24 MNOPROTO { uid_t getuid(void); }
-25 MNOPROTO { uid_t geteuid(void); }
-26 MNOPROTO { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
+0 AUE_NULL MNOPROTO { int nosys(void); } syscall nosys_args int
+1 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit \
+ sys_exit_args void
+2 AUE_NULL MNOPROTO { int fork(void); }
+3 AUE_NULL MNOPROTO { ssize_t read(int fd, void *buf, \
+ size_t nbyte); }
+4 AUE_NULL MNOPROTO { ssize_t write(int fd, const void *buf, \
+ size_t nbyte); }
+5 AUE_NULL MNOPROTO { int open(char *path, int flags, \
+ int mode); }
+6 AUE_NULL MNOPROTO { int close(int fd); }
+7 AUE_NULL MSTD { int freebsd32_wait4(int pid, int *status, \
+ int options, struct rusage32 *rusage); }
+8 AUE_NULL OBSOL old creat
+9 AUE_NULL MNOPROTO { int link(char *path, char *link); }
+10 AUE_NULL MNOPROTO { int unlink(char *path); }
+11 AUE_NULL OBSOL execv
+12 AUE_NULL NOPROTO { int chdir(char *path); }
+13 AUE_NULL NOPROTO { int fchdir(int fd); }
+14 AUE_NULL NOPROTO { int mknod(char *path, int mode, int dev); }
+15 AUE_NULL NOPROTO { int chmod(char *path, int mode); }
+16 AUE_NULL NOPROTO { int chown(char *path, int uid, int gid); }
+17 AUE_NULL MNOPROTO { int obreak(char *nsize); } break \
+ obreak_args int
+18 AUE_NULL COMPAT4 { int freebsd32_getfsstat( \
+ struct statfs32 *buf, long bufsize, \
+ int flags); }
+19 AUE_NULL OBSOL olseek
+20 AUE_NULL MNOPROTO { pid_t getpid(void); }
+21 AUE_NULL MNOPROTO { int mount(char *type, char *path, \
+ int flags, caddr_t data); }
+22 AUE_NULL MNOPROTO { int unmount(char *path, int flags); }
+23 AUE_NULL MNOPROTO { int setuid(uid_t uid); }
+24 AUE_NULL MNOPROTO { uid_t getuid(void); }
+25 AUE_NULL MNOPROTO { uid_t geteuid(void); }
+26 AUE_NULL MNOPROTO { int ptrace(int req, pid_t pid, \
+ caddr_t addr, int data); }
; XXX implement
-27 UNIMPL recvmsg
-28 MNOPROTO { int sendmsg(int s, caddr_t msg, int flags); }
-29 MNOPROTO { int recvfrom(int s, caddr_t buf, size_t len, int flags, \
- caddr_t from, int *fromlenaddr); }
-30 MNOPROTO { int accept(int s, caddr_t name, int *anamelen); }
-31 MNOPROTO { int getpeername(int fdes, caddr_t asa, int *alen); }
-32 MNOPROTO { int getsockname(int fdes, caddr_t asa, int *alen); }
-33 NOPROTO { int access(char *path, int flags); }
-34 NOPROTO { int chflags(char *path, int flags); }
-35 NOPROTO { int fchflags(int fd, int flags); }
-36 NOPROTO { int sync(void); }
-37 MNOPROTO { int kill(int pid, int signum); }
-38 UNIMPL ostat
-39 MNOPROTO { pid_t getppid(void); }
-40 UNIMPL olstat
-41 MNOPROTO { int dup(u_int fd); }
-42 MNOPROTO { int pipe(void); }
-43 MNOPROTO { gid_t getegid(void); }
-44 MNOPROTO { int profil(caddr_t samples, size_t size, size_t offset, \
- u_int scale); }
-45 MNOPROTO { int ktrace(const char *fname, int ops, int facs, int pid); }
-46 UNIMPL osigaction
-47 MNOPROTO { gid_t getgid(void); }
-48 UNIMPL osigprocmask
-49 MNOPROTO { int getlogin(char *namebuf, u_int namelen); }
-50 MNOPROTO { int setlogin(char *namebuf); }
-51 MNOPROTO { int acct(char *path); }
-52 OBSOL osigpending
-53 MSTD { int freebsd32_sigaltstack(struct sigaltstack32 *ss, \
- struct sigaltstack32 *oss); }
-54 MNOPROTO { int ioctl(int fd, u_long com, caddr_t data); }
-55 MNOPROTO { int reboot(int opt); }
-56 NOPROTO { int revoke(char *path); }
-57 NOPROTO { int symlink(char *path, char *link); }
-58 NOPROTO { int readlink(char *path, char *buf, int count); }
-59 STD { int freebsd32_execve(char *fname, u_int32_t *argv, \
- u_int32_t *envv); }
-60 MNOPROTO { int umask(int newmask); } umask umask_args int
-61 NOPROTO { int chroot(char *path); }
-62 OBSOL ofstat
-63 OBSOL ogetkerninfo
-64 OBSOL ogetpagesize
+27 AUE_NULL UNIMPL recvmsg
+28 AUE_NULL MNOPROTO { int sendmsg(int s, caddr_t msg, \
+ int flags); }
+29 AUE_NULL MNOPROTO { int recvfrom(int s, caddr_t buf, \
+ size_t len, int flags, caddr_t from, \
+ int *fromlenaddr); }
+30 AUE_NULL MNOPROTO { int accept(int s, caddr_t name, \
+ int *anamelen); }
+31 AUE_NULL MNOPROTO { int getpeername(int fdes, caddr_t asa, \
+ int *alen); }
+32 AUE_NULL MNOPROTO { int getsockname(int fdes, caddr_t asa, \
+ int *alen); }
+33 AUE_NULL NOPROTO { int access(char *path, int flags); }
+34 AUE_NULL NOPROTO { int chflags(char *path, int flags); }
+35 AUE_NULL NOPROTO { int fchflags(int fd, int flags); }
+36 AUE_NULL NOPROTO { int sync(void); }
+37 AUE_NULL MNOPROTO { int kill(int pid, int signum); }
+38 AUE_NULL UNIMPL ostat
+39 AUE_NULL MNOPROTO { pid_t getppid(void); }
+40 AUE_NULL UNIMPL olstat
+41 AUE_NULL MNOPROTO { int dup(u_int fd); }
+42 AUE_NULL MNOPROTO { int pipe(void); }
+43 AUE_NULL MNOPROTO { gid_t getegid(void); }
+44 AUE_NULL MNOPROTO { int profil(caddr_t samples, size_t size, \
+ size_t offset, u_int scale); }
+45 AUE_NULL MNOPROTO { int ktrace(const char *fname, int ops, \
+ int facs, int pid); }
+46 AUE_NULL UNIMPL osigaction
+47 AUE_NULL MNOPROTO { gid_t getgid(void); }
+48 AUE_NULL UNIMPL osigprocmask
+49 AUE_NULL MNOPROTO { int getlogin(char *namebuf, \
+ u_int namelen); }
+50 AUE_NULL MNOPROTO { int setlogin(char *namebuf); }
+51 AUE_NULL MNOPROTO { int acct(char *path); }
+52 AUE_NULL OBSOL osigpending
+53 AUE_NULL MSTD { int freebsd32_sigaltstack( \
+ struct sigaltstack32 *ss, \
+ struct sigaltstack32 *oss); }
+54 AUE_NULL MNOPROTO { int ioctl(int fd, u_long com, \
+ caddr_t data); }
+55 AUE_NULL MNOPROTO { int reboot(int opt); }
+56 AUE_NULL NOPROTO { int revoke(char *path); }
+57 AUE_NULL NOPROTO { int symlink(char *path, char *link); }
+58 AUE_NULL NOPROTO { int readlink(char *path, char *buf, \
+ int count); }
+59 AUE_NULL STD { int freebsd32_execve(char *fname, \
+ u_int32_t *argv, u_int32_t *envv); }
+60 AUE_NULL MNOPROTO { int umask(int newmask); } umask \
+ umask_args int
+61 AUE_NULL NOPROTO { int chroot(char *path); }
+62 AUE_NULL OBSOL ofstat
+63 AUE_NULL OBSOL ogetkerninfo
+64 AUE_NULL OBSOL ogetpagesize
; XXX implement (not OBSOL at all)
-65 MNOPROTO { int msync(void *addr, size_t len, int flags); }
-66 MNOPROTO { int vfork(void); }
-67 OBSOL vread
-68 OBSOL vwrite
-69 MNOPROTO { int sbrk(int incr); }
-70 MNOPROTO { int sstk(int incr); }
-71 OBSOL ommap
-72 MNOPROTO { int ovadvise(int anom); } vadvise ovadvise_args int
-73 MNOPROTO { int munmap(void *addr, size_t len); }
-74 MNOPROTO { int mprotect(const void *addr, size_t len, int prot); }
-75 MNOPROTO { int madvise(void *addr, size_t len, int behav); }
-76 OBSOL vhangup
-77 OBSOL vlimit
-78 MNOPROTO { int mincore(const void *addr, size_t len, char *vec); }
-79 MNOPROTO { int getgroups(u_int gidsetsize, gid_t *gidset); }
-80 MNOPROTO { int setgroups(u_int gidsetsize, gid_t *gidset); }
-81 MNOPROTO { int getpgrp(void); }
-82 MNOPROTO { int setpgid(int pid, int pgid); }
-83 STD { int freebsd32_setitimer(u_int which, \
- struct itimerval32 *itv, struct itimerval32 *oitv); }
-84 OBSOL owait
+65 AUE_NULL MNOPROTO { int msync(void *addr, size_t len, \
+ int flags); }
+66 AUE_NULL MNOPROTO { int vfork(void); }
+67 AUE_NULL OBSOL vread
+68 AUE_NULL OBSOL vwrite
+69 AUE_NULL MNOPROTO { int sbrk(int incr); }
+70 AUE_NULL MNOPROTO { int sstk(int incr); }
+71 AUE_NULL OBSOL ommap
+72 AUE_NULL MNOPROTO { int ovadvise(int anom); } vadvise \
+ ovadvise_args int
+73 AUE_NULL MNOPROTO { int munmap(void *addr, size_t len); }
+74 AUE_NULL MNOPROTO { int mprotect(const void *addr, \
+ size_t len, int prot); }
+75 AUE_NULL MNOPROTO { int madvise(void *addr, size_t len, \
+ int behav); }
+76 AUE_NULL OBSOL vhangup
+77 AUE_NULL OBSOL vlimit
+78 AUE_NULL MNOPROTO { int mincore(const void *addr, size_t len, \
+ char *vec); }
+79 AUE_NULL MNOPROTO { int getgroups(u_int gidsetsize, \
+ gid_t *gidset); }
+80 AUE_NULL MNOPROTO { int setgroups(u_int gidsetsize, \
+ gid_t *gidset); }
+81 AUE_NULL MNOPROTO { int getpgrp(void); }
+82 AUE_NULL MNOPROTO { int setpgid(int pid, int pgid); }
+83 AUE_NULL STD { int freebsd32_setitimer(u_int which, \
+ struct itimerval32 *itv, \
+ struct itimerval32 *oitv); }
+84 AUE_NULL OBSOL owait
; XXX implement
-85 OBSOL oswapon
-86 STD { int freebsd32_getitimer(u_int which, \
- struct itimerval32 *itv); }
-87 OBSOL ogethostname
-88 OBSOL osethostname
-89 MNOPROTO { int getdtablesize(void); }
-90 MNOPROTO { int dup2(u_int from, u_int to); }
-91 UNIMPL getdopt
-92 MNOPROTO { int fcntl(int fd, int cmd, long arg); }
-93 STD { int freebsd32_select(int nd, fd_set *in, fd_set *ou, \
- fd_set *ex, struct timeval32 *tv); }
+85 AUE_NULL OBSOL oswapon
+86 AUE_NULL STD { int freebsd32_getitimer(u_int which, \
+ struct itimerval32 *itv); }
+87 AUE_NULL OBSOL ogethostname
+88 AUE_NULL OBSOL osethostname
+89 AUE_NULL MNOPROTO { int getdtablesize(void); }
+90 AUE_NULL MNOPROTO { int dup2(u_int from, u_int to); }
+91 AUE_NULL UNIMPL getdopt
+92 AUE_NULL MNOPROTO { int fcntl(int fd, int cmd, long arg); }
+93 AUE_NULL STD { int freebsd32_select(int nd, fd_set *in, \
+ fd_set *ou, fd_set *ex, \
+ struct timeval32 *tv); }
; XXX need to override for big-endian - little-endian should work fine.
-94 UNIMPL setdopt
-95 NOPROTO { int fsync(int fd); }
-96 MNOPROTO { int setpriority(int which, int who, int prio); }
-97 MNOPROTO { int socket(int domain, int type, int protocol); }
-98 MNOPROTO { int connect(int s, caddr_t name, int namelen); }
-99 OBSOL oaccept
-100 MNOPROTO { int getpriority(int which, int who); }
-101 OBSOL osend
-102 OBSOL orecv
-103 OBSOL osigreturn
-104 MNOPROTO { int bind(int s, caddr_t name, int namelen); }
-105 MNOPROTO { int setsockopt(int s, int level, int name, caddr_t val, \
- int valsize); }
-106 MNOPROTO { int listen(int s, int backlog); }
-107 OBSOL vtimes
-108 OBSOL osigvec
-109 OBSOL osigblock
-110 OBSOL osigsetmask
-111 OBSOL osigsuspend
-112 OBSOL osigstack
-113 OBSOL orecvmsg
-114 OBSOL osendmsg
-115 OBSOL vtrace
-116 MSTD { int freebsd32_gettimeofday(struct timeval32 *tp, \
- struct timezone *tzp); }
-117 STD { int freebsd32_getrusage(int who, struct rusage32 *rusage); }
-118 MNOPROTO { int getsockopt(int s, int level, int name, caddr_t val, \
- int *avalsize); }
-119 UNIMPL resuba (BSD/OS 2.x)
-120 STD { int freebsd32_readv(int fd, struct iovec32 *iovp, \
- u_int iovcnt); }
-121 STD { int freebsd32_writev(int fd, struct iovec32 *iovp, \
- u_int iovcnt); }
-122 STD { int freebsd32_settimeofday(struct timeval32 *tv, \
- struct timezone *tzp); }
-123 NOPROTO { int fchown(int fd, int uid, int gid); }
-124 NOPROTO { int fchmod(int fd, int mode); }
-125 OBSOL orecvfrom
-126 MNOPROTO { int setreuid(int ruid, int euid); }
-127 MNOPROTO { int setregid(int rgid, int egid); }
-128 NOPROTO { int rename(char *from, char *to); }
-129 OBSOL otruncate
-130 OBSOL ftruncate
-131 MNOPROTO { int flock(int fd, int how); }
-132 NOPROTO { int mkfifo(char *path, int mode); }
-133 MNOPROTO { int sendto(int s, caddr_t buf, size_t len, int flags, \
- caddr_t to, int tolen); }
-134 MNOPROTO { int shutdown(int s, int how); }
-135 MNOPROTO { int socketpair(int domain, int type, int protocol, \
- int *rsv); }
-136 NOPROTO { int mkdir(char *path, int mode); }
-137 NOPROTO { int rmdir(char *path); }
-138 STD { int freebsd32_utimes(char *path, struct timeval32 *tptr); }
-139 OBSOL 4.2 sigreturn
-140 STD { int freebsd32_adjtime(struct timeval32 *delta, \
- struct timeval32 *olddelta); }
-141 OBSOL ogetpeername
-142 OBSOL ogethostid
-143 OBSOL sethostid
-144 OBSOL getrlimit
-145 OBSOL setrlimit
-146 OBSOL killpg
-147 MNOPROTO { int setsid(void); }
-148 NOPROTO { int quotactl(char *path, int cmd, int uid, caddr_t arg); }
-149 OBSOL oquota
-150 OBSOL ogetsockname
+94 AUE_NULL UNIMPL setdopt
+95 AUE_NULL NOPROTO { int fsync(int fd); }
+96 AUE_NULL MNOPROTO { int setpriority(int which, int who, \
+ int prio); }
+97 AUE_NULL MNOPROTO { int socket(int domain, int type, \
+ int protocol); }
+98 AUE_NULL MNOPROTO { int connect(int s, caddr_t name, \
+ int namelen); }
+99 AUE_NULL OBSOL oaccept
+100 AUE_NULL MNOPROTO { int getpriority(int which, int who); }
+101 AUE_NULL OBSOL osend
+102 AUE_NULL OBSOL orecv
+103 AUE_NULL OBSOL osigreturn
+104 AUE_NULL MNOPROTO { int bind(int s, caddr_t name, \
+ int namelen); }
+105 AUE_NULL MNOPROTO { int setsockopt(int s, int level, \
+ int name, caddr_t val, int valsize); }
+106 AUE_NULL MNOPROTO { int listen(int s, int backlog); }
+107 AUE_NULL OBSOL vtimes
+108 AUE_NULL OBSOL osigvec
+109 AUE_NULL OBSOL osigblock
+110 AUE_NULL OBSOL osigsetmask
+111 AUE_NULL OBSOL osigsuspend
+112 AUE_NULL OBSOL osigstack
+113 AUE_NULL OBSOL orecvmsg
+114 AUE_NULL OBSOL osendmsg
+115 AUE_NULL OBSOL vtrace
+116 AUE_NULL MSTD { int freebsd32_gettimeofday( \
+ struct timeval32 *tp, \
+ struct timezone *tzp); }
+117 AUE_NULL STD { int freebsd32_getrusage(int who, \
+ struct rusage32 *rusage); }
+118 AUE_NULL MNOPROTO { int getsockopt(int s, int level, \
+ int name, caddr_t val, int *avalsize); }
+119 AUE_NULL UNIMPL resuba (BSD/OS 2.x)
+120 AUE_NULL STD { int freebsd32_readv(int fd, \
+ struct iovec32 *iovp, u_int iovcnt); }
+121 AUE_NULL STD { int freebsd32_writev(int fd, \
+ struct iovec32 *iovp, u_int iovcnt); }
+122 AUE_NULL STD { int freebsd32_settimeofday( \
+ struct timeval32 *tv, \
+ struct timezone *tzp); }
+123 AUE_NULL NOPROTO { int fchown(int fd, int uid, int gid); }
+124 AUE_NULL NOPROTO { int fchmod(int fd, int mode); }
+125 AUE_NULL OBSOL orecvfrom
+126 AUE_NULL MNOPROTO { int setreuid(int ruid, int euid); }
+127 AUE_NULL MNOPROTO { int setregid(int rgid, int egid); }
+128 AUE_NULL NOPROTO { int rename(char *from, char *to); }
+129 AUE_NULL OBSOL otruncate
+130 AUE_NULL OBSOL ftruncate
+131 AUE_NULL MNOPROTO { int flock(int fd, int how); }
+132 AUE_NULL NOPROTO { int mkfifo(char *path, int mode); }
+133 AUE_NULL MNOPROTO { int sendto(int s, caddr_t buf, \
+ size_t len, int flags, caddr_t to, \
+ int tolen); }
+134 AUE_NULL MNOPROTO { int shutdown(int s, int how); }
+135 AUE_NULL MNOPROTO { int socketpair(int domain, int type, \
+ int protocol, int *rsv); }
+136 AUE_NULL NOPROTO { int mkdir(char *path, int mode); }
+137 AUE_NULL NOPROTO { int rmdir(char *path); }
+138 AUE_NULL STD { int freebsd32_utimes(char *path, \
+ struct timeval32 *tptr); }
+139 AUE_NULL OBSOL 4.2 sigreturn
+140 AUE_NULL STD { int freebsd32_adjtime( \
+ struct timeval32 *delta, \
+ struct timeval32 *olddelta); }
+141 AUE_NULL OBSOL ogetpeername
+142 AUE_NULL OBSOL ogethostid
+143 AUE_NULL OBSOL sethostid
+144 AUE_NULL OBSOL getrlimit
+145 AUE_NULL OBSOL setrlimit
+146 AUE_NULL OBSOL killpg
+147 AUE_NULL MNOPROTO { int setsid(void); }
+148 AUE_NULL NOPROTO { int quotactl(char *path, int cmd, int uid, \
+ caddr_t arg); }
+149 AUE_NULL OBSOL oquota
+150 AUE_NULL OBSOL ogetsockname
; Syscalls 151-180 inclusive are reserved for vendor-specific
; system calls. (This includes various calls added for compatibity
; with other Unix variants.)
; Some of these calls are now supported by BSD...
-151 UNIMPL sem_lock (BSD/OS 2.x)
-152 UNIMPL sem_wakeup (BSD/OS 2.x)
-153 UNIMPL asyncdaemon (BSD/OS 2.x)
-154 UNIMPL nosys
+151 AUE_NULL UNIMPL sem_lock (BSD/OS 2.x)
+152 AUE_NULL UNIMPL sem_wakeup (BSD/OS 2.x)
+153 AUE_NULL UNIMPL asyncdaemon (BSD/OS 2.x)
+154 AUE_NULL UNIMPL nosys
; 155 is initialized by the NFS code, if present.
; XXX this is a problem!!!
-155 UNIMPL nfssvc
-156 OBSOL ogetdirentries
-157 COMPAT4 { int freebsd32_statfs(char *path, \
- struct statfs32 *buf); }
-158 COMPAT4 { int freebsd32_fstatfs(int fd, struct statfs32 *buf);}
-159 UNIMPL nosys
-160 UNIMPL nosys
-161 NOPROTO { int getfh(char *fname, struct fhandle *fhp); }
-162 MNOPROTO { int getdomainname(char *domainname, int len); }
-163 MNOPROTO { int setdomainname(char *domainname, int len); }
-164 MNOPROTO { int uname(struct utsname *name); }
-165 MNOPROTO { int sysarch(int op, char *parms); }
-166 MNOPROTO { int rtprio(int function, pid_t pid, \
- struct rtprio *rtp); }
-167 UNIMPL nosys
-168 UNIMPL nosys
-169 STD { int freebsd32_semsys(int which, int a2, int a3, int a4, \
- int a5); }
-170 STD { int freebsd32_msgsys(int which, int a2, int a3, int a4, \
- int a5, int a6); }
-171 STD { int freebsd32_shmsys(int which, int a2, int a3, int a4); }
-172 UNIMPL nosys
-173 STD { ssize_t freebsd32_pread(int fd, void *buf, size_t nbyte, \
- int pad, u_int32_t offsetlo, u_int32_t offsethi); }
+155 AUE_NULL UNIMPL nfssvc
+156 AUE_NULL OBSOL ogetdirentries
+157 AUE_NULL COMPAT4 { int freebsd32_statfs(char *path, \
+ struct statfs32 *buf); }
+158 AUE_NULL COMPAT4 { int freebsd32_fstatfs(int fd, \
+ struct statfs32 *buf); }
+159 AUE_NULL UNIMPL nosys
+160 AUE_NULL UNIMPL nosys
+161 AUE_NULL NOPROTO { int getfh(char *fname, \
+ struct fhandle *fhp); }
+162 AUE_NULL MNOPROTO { int getdomainname(char *domainname, \
+ int len); }
+163 AUE_NULL MNOPROTO { int setdomainname(char *domainname, \
+ int len); }
+164 AUE_NULL MNOPROTO { int uname(struct utsname *name); }
+165 AUE_NULL MNOPROTO { int sysarch(int op, char *parms); }
+166 AUE_NULL MNOPROTO { int rtprio(int function, pid_t pid, \
+ struct rtprio *rtp); }
+167 AUE_NULL UNIMPL nosys
+168 AUE_NULL UNIMPL nosys
+169 AUE_NULL STD { int freebsd32_semsys(int which, int a2, \
+ int a3, int a4, int a5); }
+170 AUE_NULL STD { int freebsd32_msgsys(int which, int a2, \
+ int a3, int a4, int a5, int a6); }
+171 AUE_NULL STD { int freebsd32_shmsys(int which, int a2, \
+ int a3, int a4); }
+172 AUE_NULL UNIMPL nosys
+173 AUE_NULL STD { ssize_t freebsd32_pread(int fd, void *buf, \
+ size_t nbyte, int pad, \
+ u_int32_t offsetlo, u_int32_t offsethi); }
; XXX note - bigendian is different
-174 STD { ssize_t freebsd32_pwrite(int fd, const void *buf, \
- size_t nbyte, int pad, u_int32_t offsetlo, \
- u_int32_t offsethi); }
+174 AUE_NULL STD { ssize_t freebsd32_pwrite(int fd, \
+ const void *buf, size_t nbyte, int pad, \
+ u_int32_t offsetlo, u_int32_t offsethi); }
; XXX note - bigendian is different
-175 UNIMPL nosys
-176 MNOPROTO { int ntp_adjtime(struct timex *tp); }
-177 UNIMPL sfork (BSD/OS 2.x)
-178 UNIMPL getdescriptor (BSD/OS 2.x)
-179 UNIMPL setdescriptor (BSD/OS 2.x)
-180 UNIMPL nosys
+175 AUE_NULL UNIMPL nosys
+176 AUE_NULL MNOPROTO { int ntp_adjtime(struct timex *tp); }
+177 AUE_NULL UNIMPL sfork (BSD/OS 2.x)
+178 AUE_NULL UNIMPL getdescriptor (BSD/OS 2.x)
+179 AUE_NULL UNIMPL setdescriptor (BSD/OS 2.x)
+180 AUE_NULL UNIMPL nosys
; Syscalls 181-199 are used by/reserved for BSD
-181 MNOPROTO { int setgid(gid_t gid); }
-182 MNOPROTO { int setegid(gid_t egid); }
-183 MNOPROTO { int seteuid(uid_t euid); }
-184 UNIMPL lfs_bmapv
-185 UNIMPL lfs_markv
-186 UNIMPL lfs_segclean
-187 UNIMPL lfs_segwait
-188 STD { int freebsd32_stat(char *path, struct stat32 *ub); }
-189 MSTD { int freebsd32_fstat(int fd, struct stat32 *ub); }
-190 STD { int freebsd32_lstat(char *path, struct stat32 *ub); }
-191 NOPROTO { int pathconf(char *path, int name); }
-192 MNOPROTO { int fpathconf(int fd, int name); }
-193 UNIMPL nosys
-194 MNOPROTO { int getrlimit(u_int which, struct rlimit *rlp); } \
- getrlimit __getrlimit_args int
-195 MNOPROTO { int setrlimit(u_int which, struct rlimit *rlp); } \
- setrlimit __setrlimit_args int
-196 NOPROTO { int getdirentries(int fd, char *buf, u_int count, \
- long *basep); }
-197 STD { caddr_t freebsd32_mmap(caddr_t addr, size_t len, int prot, \
- int flags, int fd, int pad, u_int32_t poslo, \
- u_int32_t poshi); }
-198 NOPROTO { int nosys(void); } __syscall __syscall_args int
+181 AUE_NULL MNOPROTO { int setgid(gid_t gid); }
+182 AUE_NULL MNOPROTO { int setegid(gid_t egid); }
+183 AUE_NULL MNOPROTO { int seteuid(uid_t euid); }
+184 AUE_NULL UNIMPL lfs_bmapv
+185 AUE_NULL UNIMPL lfs_markv
+186 AUE_NULL UNIMPL lfs_segclean
+187 AUE_NULL UNIMPL lfs_segwait
+188 AUE_NULL STD { int freebsd32_stat(char *path, \
+ struct stat32 *ub); }
+189 AUE_NULL MSTD { int freebsd32_fstat(int fd, \
+ struct stat32 *ub); }
+190 AUE_NULL STD { int freebsd32_lstat(char *path, \
+ struct stat32 *ub); }
+191 AUE_NULL NOPROTO { int pathconf(char *path, int name); }
+192 AUE_NULL MNOPROTO { int fpathconf(int fd, int name); }
+193 AUE_NULL UNIMPL nosys
+194 AUE_NULL MNOPROTO { int getrlimit(u_int which, \
+ struct rlimit *rlp); } getrlimit \
+ __getrlimit_args int
+195 AUE_NULL MNOPROTO { int setrlimit(u_int which, \
+ struct rlimit *rlp); } setrlimit \
+ __setrlimit_args int
+196 AUE_NULL NOPROTO { int getdirentries(int fd, char *buf, \
+ u_int count, long *basep); }
+197 AUE_NULL STD { caddr_t freebsd32_mmap(caddr_t addr, \
+ size_t len, int prot, int flags, int fd, \
+ int pad, u_int32_t poslo, \
+ u_int32_t poshi); }
+198 AUE_NULL NOPROTO { int nosys(void); } __syscall \
+ __syscall_args int
; XXX note - bigendian is different
-199 STD { off_t freebsd32_lseek(int fd, int pad, u_int32_t offsetlo, \
- u_int32_t offsethi, int whence); }
+199 AUE_NULL STD { off_t freebsd32_lseek(int fd, int pad, \
+ u_int32_t offsetlo, u_int32_t offsethi, \
+ int whence); }
; XXX note - bigendian is different
-200 STD { int freebsd32_truncate(char *path, int pad, \
- u_int32_t lengthlo, u_int32_t lengthhi); }
+200 AUE_NULL STD { int freebsd32_truncate(char *path, \
+ int pad, u_int32_t lengthlo, \
+ u_int32_t lengthhi); }
; XXX note - bigendian is different
-201 STD { int freebsd32_ftruncate(int fd, int pad, \
- u_int32_t lengthlo, u_int32_t lengthhi); }
-202 MSTD { int freebsd32_sysctl(int *name, u_int namelen, void *old, \
- u_int32_t *oldlenp, void *new, u_int32_t newlen); }
-203 MNOPROTO { int mlock(const void *addr, size_t len); }
-204 MNOPROTO { int munlock(const void *addr, size_t len); }
-205 NOPROTO { int undelete(char *path); }
-206 NOPROTO { int futimes(int fd, struct timeval *tptr); }
-207 MNOPROTO { int getpgid(pid_t pid); }
-208 UNIMPL newreboot (NetBSD)
-209 MNOPROTO { int poll(struct pollfd *fds, u_int nfds, int timeout); }
+201 AUE_NULL STD { int freebsd32_ftruncate(int fd, int pad, \
+ u_int32_t lengthlo, u_int32_t lengthhi); }
+202 AUE_NULL MSTD { int freebsd32_sysctl(int *name, \
+ u_int namelen, void *old, \
+ u_int32_t *oldlenp, void *new, \
+ u_int32_t newlen); }
+203 AUE_NULL MNOPROTO { int mlock(const void *addr, \
+ size_t len); }
+204 AUE_NULL MNOPROTO { int munlock(const void *addr, \
+ size_t len); }
+205 AUE_NULL NOPROTO { int undelete(char *path); }
+206 AUE_NULL NOPROTO { int futimes(int fd, struct timeval *tptr); }
+207 AUE_NULL MNOPROTO { int getpgid(pid_t pid); }
+208 AUE_NULL UNIMPL newreboot (NetBSD)
+209 AUE_NULL MNOPROTO { int poll(struct pollfd *fds, u_int nfds, \
+ int timeout); }
;
; The following are reserved for loadable syscalls
;
-210 UNIMPL
-211 UNIMPL
-212 UNIMPL
-213 UNIMPL
-214 UNIMPL
-215 UNIMPL
-216 UNIMPL
-217 UNIMPL
-218 UNIMPL
-219 UNIMPL
+210 AUE_NULL UNIMPL
+211 AUE_NULL UNIMPL
+212 AUE_NULL UNIMPL
+213 AUE_NULL UNIMPL
+214 AUE_NULL UNIMPL
+215 AUE_NULL UNIMPL
+216 AUE_NULL UNIMPL
+217 AUE_NULL UNIMPL
+218 AUE_NULL UNIMPL
+219 AUE_NULL UNIMPL
;
; The following were introduced with NetBSD/4.4Lite-2
; They are initialized by thier respective modules/sysinits
; XXX PROBLEM!!
-220 MNOPROTO { int __semctl(int semid, int semnum, int cmd, \
- union semun *arg); }
-221 MNOPROTO { int semget(key_t key, int nsems, int semflg); }
-222 MNOPROTO { int semop(int semid, struct sembuf *sops, u_int nsops); }
-223 UNIMPL semconfig
-224 MNOPROTO { int msgctl(int msqid, int cmd, struct msqid_ds *buf); }
-225 MNOPROTO { int msgget(key_t key, int msgflg); }
-226 MNOPROTO { int msgsnd(int msqid, void *msgp, size_t msgsz, \
- int msgflg); }
-227 MNOPROTO { int msgrcv(int msqid, void *msgp, size_t msgsz, \
- long msgtyp, int msgflg); }
-228 MNOPROTO { int shmat(int shmid, void *shmaddr, int shmflg); }
-229 MNOPROTO { int shmctl(int shmid, int cmd, struct shmid_ds *buf); }
-230 MNOPROTO { int shmdt(void *shmaddr); }
-231 MNOPROTO { int shmget(key_t key, int size, int shmflg); }
+220 AUE_NULL MNOPROTO { int __semctl(int semid, int semnum, \
+ int cmd, union semun *arg); }
+221 AUE_NULL MNOPROTO { int semget(key_t key, int nsems, \
+ int semflg); }
+222 AUE_NULL MNOPROTO { int semop(int semid, struct sembuf *sops, \
+ u_int nsops); }
+223 AUE_NULL UNIMPL semconfig
+224 AUE_NULL MNOPROTO { int msgctl(int msqid, int cmd, \
+ struct msqid_ds *buf); }
+225 AUE_NULL MNOPROTO { int msgget(key_t key, int msgflg); }
+226 AUE_NULL MNOPROTO { int msgsnd(int msqid, void *msgp, \
+ size_t msgsz, int msgflg); }
+227 AUE_NULL MNOPROTO { int msgrcv(int msqid, void *msgp, \
+ size_t msgsz, long msgtyp, int msgflg); }
+228 AUE_NULL MNOPROTO { int shmat(int shmid, void *shmaddr, \
+ int shmflg); }
+229 AUE_NULL MNOPROTO { int shmctl(int shmid, int cmd, \
+ struct shmid_ds *buf); }
+230 AUE_NULL MNOPROTO { int shmdt(void *shmaddr); }
+231 AUE_NULL MNOPROTO { int shmget(key_t key, int size, \
+ int shmflg); }
;
-232 MNOPROTO { int clock_gettime(clockid_t clock_id, struct timespec *tp); }
-233 MNOPROTO { int clock_settime(clockid_t clock_id, \
- const struct timespec *tp); }
-234 MNOPROTO { int clock_getres(clockid_t clock_id, struct timespec *tp); }
-235 UNIMPL timer_create
-236 UNIMPL timer_delete
-237 UNIMPL timer_settime
-238 UNIMPL timer_gettime
-239 UNIMPL timer_getoverrun
-240 MSTD { int freebsd32_nanosleep(const struct timespec *rqtp, \
- struct timespec *rmtp); }
-241 UNIMPL nosys
-242 UNIMPL nosys
-243 UNIMPL nosys
-244 UNIMPL nosys
-245 UNIMPL nosys
-246 UNIMPL nosys
-247 UNIMPL nosys
-248 UNIMPL ntp_gettime
-249 UNIMPL nosys
+232 AUE_NULL MNOPROTO { int clock_gettime(clockid_t clock_id, \
+ struct timespec *tp); }
+233 AUE_NULL MNOPROTO { int clock_settime(clockid_t clock_id, \
+ const struct timespec *tp); }
+234 AUE_NULL MNOPROTO { int clock_getres(clockid_t clock_id, \
+ struct timespec *tp); }
+235 AUE_NULL UNIMPL timer_create
+236 AUE_NULL UNIMPL timer_delete
+237 AUE_NULL UNIMPL timer_settime
+238 AUE_NULL UNIMPL timer_gettime
+239 AUE_NULL UNIMPL timer_getoverrun
+240 AUE_NULL MSTD { int freebsd32_nanosleep( \
+ const struct timespec *rqtp, \
+ struct timespec *rmtp); }
+241 AUE_NULL UNIMPL nosys
+242 AUE_NULL UNIMPL nosys
+243 AUE_NULL UNIMPL nosys
+244 AUE_NULL UNIMPL nosys
+245 AUE_NULL UNIMPL nosys
+246 AUE_NULL UNIMPL nosys
+247 AUE_NULL UNIMPL nosys
+248 AUE_NULL UNIMPL ntp_gettime
+249 AUE_NULL UNIMPL nosys
; syscall numbers initially used in OpenBSD
-250 MNOPROTO { int minherit(void *addr, size_t len, int inherit); }
-251 MNOPROTO { int rfork(int flags); }
-252 MNOPROTO { int openbsd_poll(struct pollfd *fds, u_int nfds, \
- int timeout); }
-253 MNOPROTO { int issetugid(void); }
-254 NOPROTO { int lchown(char *path, int uid, int gid); }
-255 UNIMPL nosys
-256 UNIMPL nosys
-257 UNIMPL nosys
-258 UNIMPL nosys
-259 UNIMPL nosys
-260 UNIMPL nosys
-261 UNIMPL nosys
-262 UNIMPL nosys
-263 UNIMPL nosys
-264 UNIMPL nosys
-265 UNIMPL nosys
-266 UNIMPL nosys
-267 UNIMPL nosys
-268 UNIMPL nosys
-269 UNIMPL nosys
-270 UNIMPL nosys
-271 UNIMPL nosys
-272 NOPROTO { int getdents(int fd, char *buf, size_t count); }
-273 UNIMPL nosys
-274 NOPROTO { int lchmod(char *path, mode_t mode); }
-275 NOPROTO { int lchown(char *path, uid_t uid, gid_t gid); } \
- netbsd_lchown lchown_args int
-276 NOPROTO { int lutimes(char *path, struct timeval *tptr); }
-277 MNOPROTO { int msync(void *addr, size_t len, int flags); } \
- netbsd_msync msync_args int
-278 NOPROTO { int nstat(char *path, struct nstat *ub); }
-279 MNOPROTO { int nfstat(int fd, struct nstat *sb); }
-280 NOPROTO { int nlstat(char *path, struct nstat *ub); }
-281 UNIMPL nosys
-282 UNIMPL nosys
-283 UNIMPL nosys
-284 UNIMPL nosys
-285 UNIMPL nosys
-286 UNIMPL nosys
-287 UNIMPL nosys
-288 UNIMPL nosys
-289 UNIMPL nosys
-290 UNIMPL nosys
-291 UNIMPL nosys
-292 UNIMPL nosys
-293 UNIMPL nosys
-294 UNIMPL nosys
-295 UNIMPL nosys
-296 UNIMPL nosys
+250 AUE_NULL MNOPROTO { int minherit(void *addr, size_t len, \
+ int inherit); }
+251 AUE_NULL MNOPROTO { int rfork(int flags); }
+252 AUE_NULL MNOPROTO { int openbsd_poll(struct pollfd *fds, \
+ u_int nfds, int timeout); }
+253 AUE_NULL MNOPROTO { int issetugid(void); }
+254 AUE_NULL NOPROTO { int lchown(char *path, int uid, int gid); }
+255 AUE_NULL UNIMPL nosys
+256 AUE_NULL UNIMPL nosys
+257 AUE_NULL UNIMPL nosys
+258 AUE_NULL UNIMPL nosys
+259 AUE_NULL UNIMPL nosys
+260 AUE_NULL UNIMPL nosys
+261 AUE_NULL UNIMPL nosys
+262 AUE_NULL UNIMPL nosys
+263 AUE_NULL UNIMPL nosys
+264 AUE_NULL UNIMPL nosys
+265 AUE_NULL UNIMPL nosys
+266 AUE_NULL UNIMPL nosys
+267 AUE_NULL UNIMPL nosys
+268 AUE_NULL UNIMPL nosys
+269 AUE_NULL UNIMPL nosys
+270 AUE_NULL UNIMPL nosys
+271 AUE_NULL UNIMPL nosys
+272 AUE_NULL NOPROTO { int getdents(int fd, char *buf, \
+ size_t count); }
+273 AUE_NULL UNIMPL nosys
+274 AUE_NULL NOPROTO { int lchmod(char *path, mode_t mode); }
+275 AUE_NULL NOPROTO { int lchown(char *path, uid_t uid, \
+ gid_t gid); } netbsd_lchown \
+ lchown_args int
+276 AUE_NULL NOPROTO { int lutimes(char *path, \
+ struct timeval *tptr); }
+277 AUE_NULL MNOPROTO { int msync(void *addr, size_t len, \
+ int flags); } netbsd_msync msync_args int
+278 AUE_NULL NOPROTO { int nstat(char *path, struct nstat *ub); }
+279 AUE_NULL MNOPROTO { int nfstat(int fd, struct nstat *sb); }
+280 AUE_NULL NOPROTO { int nlstat(char *path, struct nstat *ub); }
+281 AUE_NULL UNIMPL nosys
+282 AUE_NULL UNIMPL nosys
+283 AUE_NULL UNIMPL nosys
+284 AUE_NULL UNIMPL nosys
+285 AUE_NULL UNIMPL nosys
+286 AUE_NULL UNIMPL nosys
+287 AUE_NULL UNIMPL nosys
+288 AUE_NULL UNIMPL nosys
+289 AUE_NULL UNIMPL nosys
+290 AUE_NULL UNIMPL nosys
+291 AUE_NULL UNIMPL nosys
+292 AUE_NULL UNIMPL nosys
+293 AUE_NULL UNIMPL nosys
+294 AUE_NULL UNIMPL nosys
+295 AUE_NULL UNIMPL nosys
+296 AUE_NULL UNIMPL nosys
; XXX 297 is 300 in NetBSD
-297 COMPAT4 { int freebsd32_fhstatfs(const struct fhandle *u_fhp, \
- struct statfs32 *buf); }
-298 NOPROTO { int fhopen(const struct fhandle *u_fhp, int flags); }
-299 NOPROTO { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
+297 AUE_NULL COMPAT4 { int freebsd32_fhstatfs( \
+ const struct fhandle *u_fhp, \
+ struct statfs32 *buf); }
+298 AUE_NULL NOPROTO { int fhopen(const struct fhandle *u_fhp, \
+ int flags); }
+299 AUE_NULL NOPROTO { int fhstat(const struct fhandle *u_fhp, \
+ struct stat *sb); }
; syscall numbers for FreeBSD
-300 MNOPROTO { int modnext(int modid); }
-301 MSTD { int freebsd32_modstat(int modid, struct module_stat32* stat); }
-302 MNOPROTO { int modfnext(int modid); }
-303 MNOPROTO { int modfind(const char *name); }
-304 MNOPROTO { int kldload(const char *file); }
-305 MNOPROTO { int kldunload(int fileid); }
-306 MNOPROTO { int kldfind(const char *file); }
-307 MNOPROTO { int kldnext(int fileid); }
-308 MNOPROTO { int kldstat(int fileid, struct kld_file_stat* stat); }
-309 MNOPROTO { int kldfirstmod(int fileid); }
-310 MNOPROTO { int getsid(pid_t pid); }
-311 MNOPROTO { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
-312 MNOPROTO { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
-313 OBSOL signanosleep
-314 UNIMPL aio_return
-315 UNIMPL aio_suspend
-316 UNIMPL aio_cancel
-317 UNIMPL aio_error
-318 UNIMPL aio_read
-319 UNIMPL aio_write
-320 UNIMPL lio_listio
-321 MNOPROTO { int yield(void); }
-322 OBSOL thr_sleep
-323 OBSOL thr_wakeup
-324 MNOPROTO { int mlockall(int how); }
-325 MNOPROTO { int munlockall(void); }
-326 NOPROTO { int __getcwd(u_char *buf, u_int buflen); }
+300 AUE_NULL MNOPROTO { int modnext(int modid); }
+301 AUE_NULL MSTD { int freebsd32_modstat(int modid, \
+ struct module_stat32* stat); }
+302 AUE_NULL MNOPROTO { int modfnext(int modid); }
+303 AUE_NULL MNOPROTO { int modfind(const char *name); }
+304 AUE_NULL MNOPROTO { int kldload(const char *file); }
+305 AUE_NULL MNOPROTO { int kldunload(int fileid); }
+306 AUE_NULL MNOPROTO { int kldfind(const char *file); }
+307 AUE_NULL MNOPROTO { int kldnext(int fileid); }
+308 AUE_NULL MNOPROTO { int kldstat(int fileid, \
+ struct kld_file_stat* stat); }
+309 AUE_NULL MNOPROTO { int kldfirstmod(int fileid); }
+310 AUE_NULL MNOPROTO { int getsid(pid_t pid); }
+311 AUE_NULL MNOPROTO { int setresuid(uid_t ruid, uid_t euid, \
+ uid_t suid); }
+312 AUE_NULL MNOPROTO { int setresgid(gid_t rgid, gid_t egid, \
+ gid_t sgid); }
+313 AUE_NULL OBSOL signanosleep
+314 AUE_NULL UNIMPL aio_return
+315 AUE_NULL UNIMPL aio_suspend
+316 AUE_NULL UNIMPL aio_cancel
+317 AUE_NULL UNIMPL aio_error
+318 AUE_NULL UNIMPL aio_read
+319 AUE_NULL UNIMPL aio_write
+320 AUE_NULL UNIMPL lio_listio
+321 AUE_NULL MNOPROTO { int yield(void); }
+322 AUE_NULL OBSOL thr_sleep
+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); }
-327 MNOPROTO { int sched_setparam (pid_t pid, \
- const struct sched_param *param); }
-328 MNOPROTO { int sched_getparam (pid_t pid, struct sched_param *param); }
+327 AUE_NULL MNOPROTO { int sched_setparam (pid_t pid, \
+ const struct sched_param *param); }
+328 AUE_NULL MNOPROTO { int sched_getparam (pid_t pid, \
+ struct sched_param *param); }
-329 MNOPROTO { int sched_setscheduler (pid_t pid, int policy, \
- const struct sched_param *param); }
-330 MNOPROTO { int sched_getscheduler (pid_t pid); }
+329 AUE_NULL MNOPROTO { int sched_setscheduler (pid_t pid, \
+ int policy, \
+ const struct sched_param *param); }
+330 AUE_NULL MNOPROTO { int sched_getscheduler (pid_t pid); }
-331 MNOPROTO { int sched_yield (void); }
-332 MNOPROTO { int sched_get_priority_max (int policy); }
-333 MNOPROTO { int sched_get_priority_min (int policy); }
-334 MNOPROTO { int sched_rr_get_interval (pid_t pid, \
- struct timespec *interval); }
-335 MNOPROTO { int utrace(const void *addr, size_t len); }
+331 AUE_NULL MNOPROTO { int sched_yield (void); }
+332 AUE_NULL MNOPROTO { int sched_get_priority_max (int policy); }
+333 AUE_NULL MNOPROTO { int sched_get_priority_min (int policy); }
+334 AUE_NULL MNOPROTO { int sched_rr_get_interval (pid_t pid, \
+ struct timespec *interval); }
+335 AUE_NULL MNOPROTO { int utrace(const void *addr, size_t len); }
; XXX note - bigendian is different
-336 MCOMPAT4 { int freebsd32_sendfile(int fd, int s, u_int32_t offsetlo, \
- u_int32_t offsethi, size_t nbytes, struct sf_hdtr *hdtr, \
- off_t *sbytes, int flags); }
-337 NOPROTO { int kldsym(int fileid, int cmd, void *data); }
-338 MNOPROTO { int jail(struct jail *jail); }
-339 UNIMPL pioctl
-340 MNOPROTO { int sigprocmask(int how, const sigset_t *set, \
- sigset_t *oset); }
-341 MNOPROTO { int sigsuspend(const sigset_t *sigmask); }
-342 MCOMPAT4 { int freebsd32_sigaction(int sig, struct sigaction32 *act, \
- struct sigaction32 *oact); }
-343 MNOPROTO { int sigpending(sigset_t *set); }
-344 MCOMPAT4 { int freebsd32_sigreturn( \
+336 AUE_NULL MCOMPAT4 { int freebsd32_sendfile(int fd, int s, \
+ 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, \
+ void *data); }
+338 AUE_NULL MNOPROTO { int jail(struct jail *jail); }
+339 AUE_NULL UNIMPL pioctl
+340 AUE_NULL MNOPROTO { int sigprocmask(int how, \
+ const sigset_t *set, sigset_t *oset); }
+341 AUE_NULL MNOPROTO { int sigsuspend(const sigset_t *sigmask); }
+342 AUE_NULL MCOMPAT4 { int freebsd32_sigaction(int sig, \
+ struct sigaction32 *act, \
+ struct sigaction32 *oact); }
+343 AUE_NULL MNOPROTO { int sigpending(sigset_t *set); }
+344 AUE_NULL MCOMPAT4 { int freebsd32_sigreturn( \
const struct freebsd4_freebsd32_ucontext *sigcntxp); }
; XXX implement
-345 UNIMPL sigtimedwait
+345 AUE_NULL UNIMPL sigtimedwait
; XXX implement
-346 UNIMPL sigwaitinfo
-347 MNOPROTO { int __acl_get_file(const char *path, acl_type_t type, \
- struct acl *aclp); }
-348 MNOPROTO { int __acl_set_file(const char *path, acl_type_t type, \
- struct acl *aclp); }
-349 MNOPROTO { int __acl_get_fd(int filedes, acl_type_t type, \
- struct acl *aclp); }
-350 MNOPROTO { int __acl_set_fd(int filedes, acl_type_t type, \
- struct acl *aclp); }
-351 MNOPROTO { int __acl_delete_file(const char *path, acl_type_t type); }
-352 MNOPROTO { int __acl_delete_fd(int filedes, acl_type_t type); }
-353 MNOPROTO { int __acl_aclcheck_file(const char *path, acl_type_t type, \
- struct acl *aclp); }
-354 MNOPROTO { int __acl_aclcheck_fd(int filedes, acl_type_t type, \
- struct acl *aclp); }
-355 NOPROTO { int extattrctl(const char *path, int cmd, \
- const char *filename, int attrnamespace, \
- const char *attrname); }
-356 NOPROTO { int extattr_set_file(const char *path, \
- int attrnamespace, const char *attrname, \
- void *data, size_t nbytes); }
-357 NOPROTO { ssize_t extattr_get_file(const char *path, \
- int attrnamespace, const char *attrname, \
- void *data, size_t nbytes); }
-358 NOPROTO { int extattr_delete_file(const char *path, \
- int attrnamespace, const char *attrname); }
-359 UNIMPL aio_waitcomplete
-360 MNOPROTO { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
-361 MNOPROTO { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
-362 MNOPROTO { int kqueue(void); }
-363 MSTD { int freebsd32_kevent(int fd, \
- const struct kevent32 *changelist, int nchanges, \
- struct kevent32 *eventlist, int nevents, \
- const struct timespec32 *timeout); }
-364 UNIMPL __cap_get_proc
-365 UNIMPL __cap_set_proc
-366 UNIMPL __cap_get_fd
-367 UNIMPL __cap_get_file
-368 UNIMPL __cap_set_fd
-369 UNIMPL __cap_set_file
-370 UNIMPL lkmressys
-371 NOPROTO { int extattr_set_fd(int fd, int attrnamespace, \
- const char *attrname, void *data, size_t nbytes); }
-372 NOPROTO { ssize_t extattr_get_fd(int fd, int attrnamespace, \
- const char *attrname, void *data, size_t nbytes); }
-373 NOPROTO { int extattr_delete_fd(int fd, int attrnamespace, \
- const char *attrname); }
-374 MNOPROTO { int __setugid(int flag); }
-375 UNIMPL nfsclnt
-376 NOPROTO { int eaccess(char *path, int flags); }
-377 UNIMPL afs_syscall
-378 MNOPROTO { int nmount(struct iovec *iovp, unsigned int iovcnt, \
- int flags); }
-379 NOPROTO { int kse_exit(void); }
-380 NOPROTO { int kse_wakeup(struct kse_mailbox *mbx); }
-381 NOPROTO { int kse_create(struct kse_mailbox *mbx, int newgroup); }
-382 NOPROTO { int kse_thr_interrupt(struct kse_thr_mailbox *tmbx); }
-383 NOPROTO { int kse_release(void); }
-384 UNIMPL __mac_get_proc
-385 UNIMPL __mac_set_proc
-386 UNIMPL __mac_get_fd
-387 UNIMPL __mac_get_file
-388 UNIMPL __mac_set_fd
-389 UNIMPL __mac_set_file
-390 NOPROTO { int kenv(int what, const char *name, char *value, int len); }
-391 NOPROTO { int lchflags(const char *path, int flags); }
-392 MNOPROTO { int uuidgen(struct uuid *store, int count); }
-393 MSTD { int freebsd32_sendfile(int fd, int s, u_int32_t offsetlo, \
- u_int32_t offsethi, size_t nbytes, struct sf_hdtr *hdtr, \
- off_t *sbytes, int flags); }
-394 UNIMPL mac_syscall
-395 NOPROTO { int getfsstat(struct statfs *buf, long bufsize, \
- int flags); }
-396 NOPROTO { int statfs(char *path, struct statfs *buf); }
-397 NOPROTO { int fstatfs(int fd, struct statfs *buf); }
-398 NOPROTO { int fhstatfs(const struct fhandle *u_fhp, \
- struct statfs *buf); }
-399 UNIMPL nosys
+346 AUE_NULL UNIMPL sigwaitinfo
+347 AUE_NULL MNOPROTO { int __acl_get_file(const char *path, \
+ acl_type_t type, struct acl *aclp); }
+348 AUE_NULL MNOPROTO { int __acl_set_file(const char *path, \
+ acl_type_t type, struct acl *aclp); }
+349 AUE_NULL MNOPROTO { int __acl_get_fd(int filedes, \
+ acl_type_t type, struct acl *aclp); }
+350 AUE_NULL MNOPROTO { int __acl_set_fd(int filedes, \
+ acl_type_t type, struct acl *aclp); }
+351 AUE_NULL MNOPROTO { int __acl_delete_file(const char *path, \
+ acl_type_t type); }
+352 AUE_NULL MNOPROTO { int __acl_delete_fd(int filedes, \
+ acl_type_t type); }
+353 AUE_NULL MNOPROTO { int __acl_aclcheck_file(const char *path, \
+ acl_type_t type, struct acl *aclp); }
+354 AUE_NULL MNOPROTO { int __acl_aclcheck_fd(int filedes, \
+ acl_type_t type, struct acl *aclp); }
+355 AUE_NULL NOPROTO { int extattrctl(const char *path, int cmd, \
+ const char *filename, int attrnamespace, \
+ const char *attrname); }
+356 AUE_NULL NOPROTO { int extattr_set_file(const char *path, \
+ int attrnamespace, const char *attrname, \
+ void *data, size_t nbytes); }
+357 AUE_NULL NOPROTO { ssize_t extattr_get_file(const char *path, \
+ int attrnamespace, const char *attrname, \
+ void *data, size_t nbytes); }
+358 AUE_NULL NOPROTO { int extattr_delete_file(const char *path, \
+ int attrnamespace, \
+ const char *attrname); }
+359 AUE_NULL UNIMPL aio_waitcomplete
+360 AUE_NULL MNOPROTO { int getresuid(uid_t *ruid, uid_t *euid, \
+ uid_t *suid); }
+361 AUE_NULL MNOPROTO { int getresgid(gid_t *rgid, gid_t *egid, \
+ gid_t *sgid); }
+362 AUE_NULL MNOPROTO { int kqueue(void); }
+363 AUE_NULL MSTD { int freebsd32_kevent(int fd, \
+ const struct kevent32 *changelist, \
+ int nchanges, \
+ struct kevent32 *eventlist, int nevents, \
+ const struct timespec32 *timeout); }
+364 AUE_NULL UNIMPL __cap_get_proc
+365 AUE_NULL UNIMPL __cap_set_proc
+366 AUE_NULL UNIMPL __cap_get_fd
+367 AUE_NULL UNIMPL __cap_get_file
+368 AUE_NULL UNIMPL __cap_set_fd
+369 AUE_NULL UNIMPL __cap_set_file
+370 AUE_NULL UNIMPL lkmressys
+371 AUE_NULL NOPROTO { int extattr_set_fd(int fd, \
+ int attrnamespace, const char *attrname, \
+ void *data, size_t nbytes); }
+372 AUE_NULL NOPROTO { ssize_t extattr_get_fd(int fd, \
+ int attrnamespace, const char *attrname, \
+ void *data, size_t nbytes); }
+373 AUE_NULL NOPROTO { int extattr_delete_fd(int fd, \
+ int attrnamespace, \
+ 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); }
+377 AUE_NULL UNIMPL afs_syscall
+378 AUE_NULL MNOPROTO { 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, \
+ int newgroup); }
+382 AUE_NULL NOPROTO { int kse_thr_interrupt( \
+ struct kse_thr_mailbox *tmbx); }
+383 AUE_NULL NOPROTO { 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, \
+ char *value, int len); }
+391 AUE_NULL NOPROTO { 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, \
+ u_int32_t offsetlo, u_int32_t offsethi, \
+ 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, \
+ long bufsize, int flags); }
+396 AUE_NULL NOPROTO { 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, \
+ struct statfs *buf); }
+399 AUE_NULL UNIMPL nosys
; XXX implement these?
-400 UNIMPL ksem_close
-401 UNIMPL ksem_post
-402 UNIMPL ksem_wait
-403 UNIMPL ksem_trywait
-404 UNIMPL ksem_init
-405 UNIMPL ksem_open
-406 UNIMPL ksem_unlink
-407 UNIMPL ksem_getvalue
-408 UNIMPL ksem_destroy
-409 UNIMPL __mac_get_pid
-410 UNIMPL __mac_get_link
-411 UNIMPL __mac_set_link
-412 UNIMPL extattr_set_link
-413 UNIMPL extattr_get_link
-414 UNIMPL extattr_delete_link
-415 UNIMPL __mac_execve
-416 MSTD { int freebsd32_sigaction(int sig, struct sigaction32 *act, \
- struct sigaction32 *oact); }
-417 MSTD { int freebsd32_sigreturn( \
+400 AUE_NULL UNIMPL ksem_close
+401 AUE_NULL UNIMPL ksem_post
+402 AUE_NULL UNIMPL ksem_wait
+403 AUE_NULL UNIMPL ksem_trywait
+404 AUE_NULL UNIMPL ksem_init
+405 AUE_NULL UNIMPL ksem_open
+406 AUE_NULL UNIMPL ksem_unlink
+407 AUE_NULL UNIMPL ksem_getvalue
+408 AUE_NULL UNIMPL ksem_destroy
+409 AUE_NULL UNIMPL __mac_get_pid
+410 AUE_NULL UNIMPL __mac_get_link
+411 AUE_NULL UNIMPL __mac_set_link
+412 AUE_NULL UNIMPL extattr_set_link
+413 AUE_NULL UNIMPL extattr_get_link
+414 AUE_NULL UNIMPL extattr_delete_link
+415 AUE_NULL UNIMPL __mac_execve
+416 AUE_NULL MSTD { int freebsd32_sigaction(int sig, \
+ struct sigaction32 *act, \
+ struct sigaction32 *oact); }
+417 AUE_NULL MSTD { int freebsd32_sigreturn( \
const struct freebsd32_ucontext *sigcntxp); }
-418 UNIMPL __xstat
-419 UNIMPL __xfstat
-420 UNIMPL __xlstat
+418 AUE_NULL UNIMPL __xstat
+419 AUE_NULL UNIMPL __xfstat
+420 AUE_NULL UNIMPL __xlstat
; XXX implement
-421 UNIMPL getcontext
+421 AUE_NULL UNIMPL getcontext
; XXX implement
-422 UNIMPL setcontext
+422 AUE_NULL UNIMPL setcontext
; XXX implement
-423 UNIMPL swapcontext
-424 UNIMPL swapoff
-425 UNIMPL __acl_get_link
-426 UNIMPL __acl_set_link
-427 UNIMPL __acl_delete_link
-428 UNIMPL __acl_aclcheck_link
+423 AUE_NULL UNIMPL swapcontext
+424 AUE_NULL UNIMPL swapoff
+425 AUE_NULL UNIMPL __acl_get_link
+426 AUE_NULL UNIMPL __acl_set_link
+427 AUE_NULL UNIMPL __acl_delete_link
+428 AUE_NULL UNIMPL __acl_aclcheck_link
; XXX implement
-429 UNIMPL sigwait
-430 MNOPROTO { int thr_create(ucontext_t *ctx, long *id, int flag s); }
-431 MNOPROTO { void thr_exit(long *state); }
-432 MNOPROTO { int thr_self(long *id); }
-433 MNOPROTO { int thr_kill(long id, int sig); }
-434 MNOPROTO { int _umtx_lock(struct umtx *umtx); }
-435 MNOPROTO { int _umtx_unlock(struct umtx *umtx); }
-436 MNOPROTO { int jail_attach(int jid); }
-437 UNIMPL extattr_list_fd
-438 UNIMPL extattr_list_file
-439 UNIMPL extattr_list_link
-440 UNIMPL kse_switchin
-441 UNIMPL ksem_timedwait
-442 MNOPROTO { int thr_suspend(const struct timespec *timeout); }
-443 MNOPROTO { int thr_wake(long id); }
-444 MNOPROTO { int kldunloadf(int fileid, int flags); }
-445 UNIMPL audit
-446 UNIMPL auditon
-447 UNIMPL getauid
-448 UNIMPL setauid
-449 UNIMPL getaudit
-450 UNIMPL setaudit
-451 UNIMPL getaudit_addr
-452 UNIMPL setaudit_addr
-453 UNIMPL auditctl
-454 UNIMPL _umtx_op
+429 AUE_NULL UNIMPL sigwait
+430 AUE_NULL MNOPROTO { int thr_create(ucontext_t *ctx, long *id, \
+ int flag s); }
+431 AUE_NULL MNOPROTO { void thr_exit(long *state); }
+432 AUE_NULL MNOPROTO { int thr_self(long *id); }
+433 AUE_NULL MNOPROTO { int thr_kill(long id, int sig); }
+434 AUE_NULL MNOPROTO { int _umtx_lock(struct umtx *umtx); }
+435 AUE_NULL MNOPROTO { int _umtx_unlock(struct umtx *umtx); }
+436 AUE_NULL MNOPROTO { int jail_attach(int jid); }
+437 AUE_NULL UNIMPL extattr_list_fd
+438 AUE_NULL UNIMPL extattr_list_file
+439 AUE_NULL UNIMPL extattr_list_link
+440 AUE_NULL UNIMPL kse_switchin
+441 AUE_NULL UNIMPL ksem_timedwait
+442 AUE_NULL MNOPROTO { int thr_suspend( \
+ const struct timespec *timeout); }
+443 AUE_NULL MNOPROTO { int thr_wake(long id); }
+444 AUE_NULL MNOPROTO { int kldunloadf(int fileid, int flags); }
+445 AUE_NULL UNIMPL audit
+446 AUE_NULL UNIMPL auditon
+447 AUE_NULL UNIMPL getauid
+448 AUE_NULL UNIMPL setauid
+449 AUE_NULL UNIMPL getaudit
+450 AUE_NULL UNIMPL setaudit
+451 AUE_NULL UNIMPL getaudit_addr
+452 AUE_NULL UNIMPL setaudit_addr
+453 AUE_NULL UNIMPL auditctl
+454 AUE_NULL UNIMPL _umtx_op
diff --git a/sys/compat/svr4/syscalls.master b/sys/compat/svr4/syscalls.master
index 6343597..da0e7cf 100644
--- a/sys/compat/svr4/syscalls.master
+++ b/sys/compat/svr4/syscalls.master
@@ -6,6 +6,11 @@
; Columns: number type nargs name alt{name,tag,rtyp}/comments
; number system call number, must be in order
+; audit the audit event associated with the system call
+; A value of AUE_NULL means no auditing, but it also means that
+; there is no audit event for the call at this time. For the
+; case where the event exists, but we don't want auditing, the
+; event should be #defined to AUE_NULL in audit_kevents.h.
; type one of STD, OBSOL, UNIMPL, COMPAT
; name psuedo-prototype of syscall routine
; If one of the following alts is different, then all appear:
@@ -33,296 +38,363 @@
#include <compat/svr4/svr4_signal.h>
#include <compat/svr4/svr4_proto.h>
-0 UNIMPL unused
-1 NOPROTO { void sys_exit(int rval); } exit sys_exit_args void
-2 MNOPROTO { int fork(void); }
-3 MNOPROTO { int read(int fd, char *buf, u_int nbyte); }
-4 MNOPROTO { int write(int fd, char *buf, u_int nbyte); }
-5 STD { int svr4_sys_open(char *path, int flags, int mode); }
-6 MNOPROTO { int close(int fd); }
-7 STD { int svr4_sys_wait(int *status); }
-8 STD { int svr4_sys_creat(char *path, int mode); }
-9 NOPROTO { int link(char *path, char *link); }
-10 NOPROTO { int unlink(char *path); }
-11 STD { int svr4_sys_execv(char *path, char **argp); }
-12 NOPROTO { int chdir(char *path); }
-13 STD { int svr4_sys_time(time_t *t); }
-14 STD { int svr4_sys_mknod(char* path, int mode, int dev); }
-15 NOPROTO { int chmod(char *path, int mode); }
-16 NOPROTO { int chown(char *path, uid_t uid, gid_t gid); }
-17 STD { int svr4_sys_break(caddr_t nsize); }
-18 STD { int svr4_sys_stat(char* path, struct svr4_stat* ub); }
-19 NOPROTO { int lseek(int filedes, off_t *offset, int whence); }
-20 MNOPROTO { pid_t getpid(void); }
-21 UNIMPL old_mount
-22 UNIMPL sysv_umount
-23 MNOPROTO { int setuid(uid_t uid); }
-24 MNOPROTO { uid_t getuid(void); }
-25 UNIMPL stime
-26 UNIMPL ptrace
-27 STD { int svr4_sys_alarm(unsigned sec); }
-28 STD { int svr4_sys_fstat(int fd, struct svr4_stat *sb); }
-29 MSTD { int svr4_sys_pause(void); }
-30 STD { int svr4_sys_utime(char *path, struct svr4_utimbuf *ubuf); }
-31 UNIMPL stty
-32 UNIMPL gtty
-33 STD { int svr4_sys_access(char *path, int flags); }
-34 MSTD { int svr4_sys_nice(int prio); }
-35 UNIMPL statfs
-36 NOPROTO { int sync(void); }
-37 MSTD { int svr4_sys_kill(int pid, int signum); }
-38 UNIMPL fstatfs
-39 MSTD { int svr4_sys_pgrpsys(int cmd, int pid, int pgid); }
-40 UNIMPL xenix
-41 MNOPROTO { int dup(u_int fd); }
-42 MNOPROTO { int pipe(void); }
-43 STD { int svr4_sys_times(struct tms *tp); }
-44 UNIMPL profil
-45 UNIMPL plock
-46 MNOPROTO { int setgid(gid_t gid); }
-47 MNOPROTO { gid_t getgid(void); }
-48 MSTD { int svr4_sys_signal(int signum, svr4_sig_t handler); }
+0 AUE_NULL UNIMPL unused
+1 AUE_NULL NOPROTO { 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, \
+ 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); }
+17 AUE_NULL STD { int svr4_sys_break(caddr_t nsize); }
+18 AUE_NULL STD { int svr4_sys_stat(char* path, \
+ struct svr4_stat* ub); }
+19 AUE_NULL NOPROTO { int lseek(int filedes, off_t *offset, \
+ int whence); }
+20 AUE_NULL MNOPROTO { pid_t getpid(void); }
+21 AUE_NULL UNIMPL old_mount
+22 AUE_NULL UNIMPL sysv_umount
+23 AUE_NULL MNOPROTO { int setuid(uid_t uid); }
+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, \
+ struct svr4_stat *sb); }
+29 AUE_NULL MSTD { int svr4_sys_pause(void); }
+30 AUE_NULL STD { 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, \
+ int flags); }
+34 AUE_NULL MSTD { int svr4_sys_nice(int prio); }
+35 AUE_NULL UNIMPL statfs
+36 AUE_NULL NOPROTO { 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, \
+ int pgid); }
+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); }
+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); }
#if defined(NOTYET)
-49 STD { int svr4_sys_msgsys(int what, int a2, int a3, int a4, \
+49 AUE_NULL STD { int svr4_sys_msgsys(int what, int a2, \
+ int a3, int a4, \
int a5); }
#else
-49 UNIMPL msgsys
+49 AUE_NULL UNIMPL msgsys
#endif
-50 STD { int svr4_sys_sysarch(int op, void *a1); }
-51 UNIMPL acct
-52 UNIMPL shmsys
-53 UNIMPL semsys
-54 STD { int svr4_sys_ioctl(int fd, u_long com, caddr_t data); }
-55 UNIMPL uadmin
-56 UNIMPL exch
-57 STD { int svr4_sys_utssys(void *a1, void *a2, int sel, void *a3); }
-58 NOPROTO { int fsync(int fd); }
-59 STD { int svr4_sys_execve(char *path, char **argp, char **envp); }
-60 MNOPROTO { int umask(int newmask); }
-61 NOPROTO { int chroot(char *path); }
-62 MSTD { int svr4_sys_fcntl(int fd, int cmd, char *arg); }
-63 MSTD { int svr4_sys_ulimit(int cmd, long newlimit); }
-64 UNIMPL reserved
-65 UNIMPL reserved
-66 UNIMPL reserved
-67 UNIMPL reserved
-68 UNIMPL reserved
-69 UNIMPL reserved
-70 UNIMPL advfs
-71 UNIMPL unadvfs
-72 UNIMPL rmount
-73 UNIMPL rumount
-74 UNIMPL rfstart
-75 UNIMPL sigret
-76 UNIMPL rdebug
-77 UNIMPL rfstop
-78 UNIMPL rfsys
-79 NOPROTO { int rmdir(char *path); }
-80 NOPROTO { int mkdir(char *path, int mode); }
-81 STD { int svr4_sys_getdents(int fd, char *buf, int nbytes); }
-82 UNIMPL libattach
-83 UNIMPL libdetach
-84 UNIMPL sysfs
-85 STD { int svr4_sys_getmsg(int fd, struct svr4_strbuf *ctl, \
- struct svr4_strbuf *dat, int *flags); }
-86 STD { int svr4_sys_putmsg(int fd, struct svr4_strbuf *ctl, \
- struct svr4_strbuf *dat, int flags); }
-87 STD { int svr4_sys_poll(struct pollfd *fds, unsigned int nfds, \
- int timeout); }
-88 STD { int svr4_sys_lstat(char *path, struct svr4_stat *ub); }
-89 NOPROTO { int symlink(char *path, char *link); }
-90 NOPROTO { int readlink(char *path, char *buf, int count); }
-91 MNOPROTO { int getgroups(u_int gidsetsize, gid_t *gidset); }
-92 MNOPROTO { int setgroups(u_int gidsetsize, gid_t *gidset); }
-93 NOPROTO { int fchmod(int fd, int mode); }
-94 NOPROTO { int fchown(int fd, int uid, int gid); }
-95 MSTD { int svr4_sys_sigprocmask(int how, svr4_sigset_t *set, \
- svr4_sigset_t *oset); }
-96 MSTD { int svr4_sys_sigsuspend(svr4_sigset_t *ss); }
-97 MSTD { int svr4_sys_sigaltstack(struct svr4_sigaltstack *nss, \
- struct svr4_sigaltstack *oss); }
-98 MSTD { int svr4_sys_sigaction(int signum, \
- struct svr4_sigaction *nsa, struct svr4_sigaction *osa); }
-99 MSTD { int svr4_sys_sigpending(int what, svr4_sigset_t *mask); }
-100 STD { int svr4_sys_context(int func, struct svr4_ucontext *uc); }
-101 UNIMPL evsys
-102 UNIMPL evtrapret
-103 STD { int svr4_sys_statvfs(char *path, struct svr4_statvfs *fs); }
-104 STD { int svr4_sys_fstatvfs(int fd, struct svr4_statvfs *fs); }
-105 UNIMPL whoknows
-106 UNIMPL nfssvc
-107 STD { int svr4_sys_waitsys(int grp, int id, \
- union svr4_siginfo *info, int options); }
-108 UNIMPL sigsendsys
-109 STD { int svr4_sys_hrtsys(int cmd, int fun, int sub, void *rv1, \
- void *rv2); }
-110 UNIMPL acancel
-111 UNIMPL async
-112 UNIMPL priocntlsys
-113 STD { int svr4_sys_pathconf(char *path, int name); }
-114 UNIMPL mincore
-115 STD { caddr_t svr4_sys_mmap( caddr_t addr, svr4_size_t len, \
- int prot, int flags, int fd, svr4_off_t pos); }
-116 MNOPROTO { int mprotect(void *addr, int len, int prot); }
-117 MNOPROTO { int munmap(void *addr, int len); }
-118 STD { int svr4_sys_fpathconf(int fd, int name); }
-119 MNOPROTO { int vfork(void); }
-120 NOPROTO { int fchdir(int fd); }
-121 NOPROTO { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
-122 NOPROTO { int writev(int fd, struct iovec *iovp, u_int iovcnt); }
-123 STD { int svr4_sys_xstat(int two, char *path, \
- struct svr4_xstat *ub); }
-124 STD { int svr4_sys_lxstat(int two, char *path, \
- struct svr4_xstat *ub); }
-125 STD { int svr4_sys_fxstat(int two, int fd, struct svr4_xstat *sb); }
-126 STD { int svr4_sys_xmknod(int two, char *path, svr4_mode_t mode, \
- svr4_dev_t dev); }
-127 UNIMPL clocal
-128 MSTD { int svr4_sys_setrlimit(int which, \
- const struct svr4_rlimit *rlp); }
-129 MSTD { int svr4_sys_getrlimit(int which, \
- struct svr4_rlimit *rlp); }
-130 NOPROTO { int lchown(char *path, uid_t uid, gid_t gid); }
-131 STD { int svr4_sys_memcntl(void * addr, svr4_size_t len, int cmd, \
- void * arg, int attr, int mask); }
-132 UNIMPL getpmsg
-133 UNIMPL putpmsg
-134 NOPROTO { int rename(char *from, char *to); }
-135 STD { int svr4_sys_uname(struct svr4_utsname* name, int dummy); }
-136 MNOPROTO { int setegid(gid_t egid); }
-137 STD { int svr4_sys_sysconfig(int name); }
-138 MNOPROTO { int adjtime(struct timeval *delta, \
- struct timeval *olddelta); }
-139 STD { long svr4_sys_systeminfo(int what, char *buf, long len); }
-140 UNIMPL notused
-141 MNOPROTO { int seteuid(uid_t euid); }
-142 UNIMPL vtrace
+50 AUE_NULL STD { int svr4_sys_sysarch(int op, void *a1); }
+51 AUE_NULL UNIMPL acct
+52 AUE_NULL UNIMPL shmsys
+53 AUE_NULL UNIMPL semsys
+54 AUE_NULL STD { int svr4_sys_ioctl(int fd, u_long com, \
+ 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, \
+ int sel, void *a3); }
+58 AUE_NULL NOPROTO { int fsync(int fd); }
+59 AUE_NULL STD { 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); }
+62 AUE_NULL MSTD { int svr4_sys_fcntl(int fd, int cmd, \
+ char *arg); }
+63 AUE_NULL MSTD { int svr4_sys_ulimit(int cmd, \
+ long newlimit); }
+64 AUE_NULL UNIMPL reserved
+65 AUE_NULL UNIMPL reserved
+66 AUE_NULL UNIMPL reserved
+67 AUE_NULL UNIMPL reserved
+68 AUE_NULL UNIMPL reserved
+69 AUE_NULL UNIMPL reserved
+70 AUE_NULL UNIMPL advfs
+71 AUE_NULL UNIMPL unadvfs
+72 AUE_NULL UNIMPL rmount
+73 AUE_NULL UNIMPL rumount
+74 AUE_NULL UNIMPL rfstart
+75 AUE_NULL UNIMPL sigret
+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); }
+81 AUE_NULL STD { int svr4_sys_getdents(int fd, char *buf, \
+ int nbytes); }
+82 AUE_NULL UNIMPL libattach
+83 AUE_NULL UNIMPL libdetach
+84 AUE_NULL UNIMPL sysfs
+85 AUE_NULL STD { int svr4_sys_getmsg(int fd, \
+ struct svr4_strbuf *ctl, \
+ struct svr4_strbuf *dat, int *flags); }
+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, \
+ unsigned int nfds, int timeout); }
+88 AUE_NULL STD { 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, \
+ 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); }
+95 AUE_NULL MSTD { int svr4_sys_sigprocmask(int how, \
+ svr4_sigset_t *set, \
+ svr4_sigset_t *oset); }
+96 AUE_NULL MSTD { int svr4_sys_sigsuspend( \
+ svr4_sigset_t *ss); }
+97 AUE_NULL MSTD { int svr4_sys_sigaltstack( \
+ struct svr4_sigaltstack *nss, \
+ struct svr4_sigaltstack *oss); }
+98 AUE_NULL MSTD { int svr4_sys_sigaction(int signum, \
+ struct svr4_sigaction *nsa, \
+ 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, \
+ struct svr4_ucontext *uc); }
+101 AUE_NULL UNIMPL evsys
+102 AUE_NULL UNIMPL evtrapret
+103 AUE_NULL STD { int svr4_sys_statvfs(char *path, \
+ struct svr4_statvfs *fs); }
+104 AUE_NULL STD { 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, \
+ 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, \
+ int name); }
+114 AUE_NULL UNIMPL mincore
+115 AUE_NULL STD { 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); }
+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, \
+ u_int iovcnt); }
+122 AUE_NULL NOPROTO { int writev(int fd, struct iovec *iovp, \
+ u_int iovcnt); }
+123 AUE_NULL STD { int svr4_sys_xstat(int two, char *path, \
+ struct svr4_xstat *ub); }
+124 AUE_NULL STD { int svr4_sys_lxstat(int two, char *path, \
+ struct svr4_xstat *ub); }
+125 AUE_NULL STD { int svr4_sys_fxstat(int two, int fd, \
+ struct svr4_xstat *sb); }
+126 AUE_NULL STD { 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, \
+ gid_t gid); }
+131 AUE_NULL STD { 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( \
+ 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); }
+138 AUE_NULL MNOPROTO { int adjtime(struct timeval *delta, \
+ struct timeval *olddelta); }
+139 AUE_NULL STD { long svr4_sys_systeminfo(int what, \
+ char *buf, long len); }
+140 AUE_NULL UNIMPL notused
+141 AUE_NULL MNOPROTO { int seteuid(uid_t euid); }
+142 AUE_NULL UNIMPL vtrace
; fork1
-143 MUNIMPL { int fork(void); }
-144 UNIMPL sigtimedwait
-145 UNIMPL lwp_info
-146 UNIMPL yield
-147 UNIMPL lwp_sema_wait
-148 UNIMPL lwp_sema_post
-149 UNIMPL lwp_sema_trywait
-150 UNIMPL notused
-151 UNIMPL notused
-152 UNIMPL modctl
-153 STD { int svr4_sys_fchroot(int fd); }
-154 STD { int svr4_sys_utimes(char *path, struct timeval *tptr); }
-155 STD { int svr4_sys_vhangup(void); }
-156 STD { int svr4_sys_gettimeofday(struct timeval *tp); }
-157 MNOPROTO { int getitimer(u_int which, struct itimerval *itv); }
-158 MNOPROTO { int setitimer(u_int which, struct itimerval *itv, \
- struct itimerval *oitv); }
-159 UNIMPL lwp_create
-160 UNIMPL lwp_exit
-161 UNIMPL lwp_suspend
-162 UNIMPL lwp_continue
-163 UNIMPL lwp_kill
-164 UNIMPL lwp_self
-165 UNIMPL lwp_getprivate
-166 UNIMPL lwp_setprivate
-167 UNIMPL lwp_wait
-168 UNIMPL lwp_mutex_unlock
-169 UNIMPL lwp_mutex_lock
-170 UNIMPL lwp_cond_wait
-171 UNIMPL lwp_cond_signal
-172 UNIMPL lwp_cond_broadcast
-173 UNIMPL { ssize_t svr4_sys_pread(int fd, void *buf, size_t nbyte, \
- svr4_off_t off); }
-174 UNIMPL { ssize_t svr4_sys_pwrite(int fd, const void *buf, \
- size_t nbyte, svr4_off_t off); }
-175 STD { svr4_off64_t svr4_sys_llseek(int fd, long offset1, \
- long offset2, int whence); }
-176 UNIMPL inst_sync
-177 UNIMPL whoknows
-178 UNIMPL kaio
-179 UNIMPL whoknows
-180 UNIMPL whoknows
-181 UNIMPL whoknows
-182 UNIMPL whoknows
-183 UNIMPL whoknows
-184 UNIMPL tsolsys
-185 STD { int svr4_sys_acl(char *path, int cmd, int num, \
- struct svr4_aclent *buf); }
-186 STD { int svr4_sys_auditsys(int code, int a1, int a2, int a3, \
- int a4, int a5); }
-187 UNIMPL processor_bind
-188 UNIMPL processor_info
-189 UNIMPL p_online
-190 UNIMPL sigqueue
-191 UNIMPL clock_gettime
-192 UNIMPL clock_settime
-193 UNIMPL clock_getres
-194 UNIMPL timer_create
-195 UNIMPL timer_delete
-196 UNIMPL timer_settime
-197 UNIMPL timer_gettime
-198 UNIMPL timer_overrun
-199 MNOPROTO { int nanosleep(const struct timespec *rqtp, \
- struct timespec *rmtp); }
-200 STD { int svr4_sys_facl(int fd, int cmd, int num, \
- struct svr4_aclent *buf); }
-201 UNIMPL door
-202 MNOPROTO { int setreuid(int ruid, int euid); }
-203 MNOPROTO { int setregid(int rgid, int egid); }
-204 UNIMPL install_utrap
-205 UNIMPL signotify
-206 UNIMPL schedctl
-207 UNIMPL pset
-208 UNIMPL whoknows
-209 STD { int svr4_sys_resolvepath(const char *path, char *buf, \
- size_t bufsiz); }
-210 UNIMPL signotifywait
-211 UNIMPL lwp_sigredirect
-212 UNIMPL lwp_alarm
-213 STD { int svr4_sys_getdents64(int fd, struct svr4_dirent64 *dp, \
- int nbytes); }
-;213 UNIMPL getdents64
-214 STD { caddr_t svr4_sys_mmap64(void *addr, svr4_size_t len, \
- int prot, int flags, int fd, svr4_off64_t pos); }
-215 STD { int svr4_sys_stat64(char *path, struct svr4_stat64 *sb); }
-216 STD { int svr4_sys_lstat64(char *path, struct svr4_stat64 *sb); }
-217 STD { int svr4_sys_fstat64(int fd, struct svr4_stat64 *sb); }
-218 STD { int svr4_sys_statvfs64(char *path, \
- struct svr4_statvfs64 *fs); }
-219 STD { int svr4_sys_fstatvfs64(int fd, struct svr4_statvfs64 *fs); }
-220 MSTD { int svr4_sys_setrlimit64(int which, \
- const struct svr4_rlimit64 *rlp); }
-221 MSTD { int svr4_sys_getrlimit64(int which, \
- struct svr4_rlimit64 *rlp); }
-222 UNIMPL pread64
-223 UNIMPL pwrite64
-224 STD { int svr4_sys_creat64(char *path, int mode); }
-225 STD { int svr4_sys_open64(char *path, int flags, int mode); }
-226 UNIMPL rpcsys
-227 UNIMPL whoknows
-228 UNIMPL whoknows
-229 UNIMPL whoknows
-230 STD { int svr4_sys_socket(int domain, int type, int protocol); }
-231 NOPROTO { int socketpair(int domain, int type, int protocol, \
- int *rsv); }
-232 NOPROTO { int bind(int s, const struct sockaddr *name, int namelen); }
-233 NOPROTO { int listen(int s, int backlog); }
-234 NOPROTO { int accept(int s, struct sockaddr *name, int *anamelen); }
-235 NOPROTO { int connect(int s, const struct sockaddr *name, \
- int namelen); }
-236 NOPROTO { int shutdown(int s, int how); }
-237 STD { int svr4_sys_recv(int s, caddr_t buf, int len, int flags); }
-238 NOPROTO { ssize_t recvfrom(int s, void *buf, size_t len, int flags, \
- struct sockaddr *from, int *fromlenaddr); }
-239 NOPROTO { ssize_t recvmsg(int s, struct msghdr *msg, int flags); }
-240 STD { int svr4_sys_send(int s, caddr_t buf, int len, int flags); }
-241 NOPROTO { ssize_t sendmsg(int s, const struct msghdr *msg, int flags); }
-242 STD { ssize_t svr4_sys_sendto(int s, void *buf, size_t len, \
- int flags, struct sockaddr *to, int tolen); }
-243 NOPROTO { int getpeername(int fdes, struct sockaddr *asa, int *alen); }
-244 NOPROTO { int getsockname(int fdes, struct sockaddr *asa, int *alen); }
-245 NOPROTO { int getsockopt(int s, int level, int name, void *val, \
- int *avalsize); }
-246 NOPROTO { int setsockopt(int s, int level, int name, const void *val, \
- int valsize); }
-247 UNIMPL sockconfig
-248 UNIMPL { int ntp_gettime(struct ntptimeval *ntvp); }
-249 MUNIMPL { int ntp_adjtime(struct timex *tp); }
+143 AUE_NULL MUNIMPL { int fork(void); }
+144 AUE_NULL UNIMPL sigtimedwait
+145 AUE_NULL UNIMPL lwp_info
+146 AUE_NULL UNIMPL yield
+147 AUE_NULL UNIMPL lwp_sema_wait
+148 AUE_NULL UNIMPL lwp_sema_post
+149 AUE_NULL UNIMPL lwp_sema_trywait
+150 AUE_NULL UNIMPL notused
+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, \
+ struct timeval *tptr); }
+155 AUE_NULL STD { int svr4_sys_vhangup(void); }
+156 AUE_NULL STD { int svr4_sys_gettimeofday( \
+ struct timeval *tp); }
+157 AUE_NULL MNOPROTO { int getitimer(u_int which, \
+ struct itimerval *itv); }
+158 AUE_NULL MNOPROTO { int setitimer(u_int which, \
+ struct itimerval *itv, \
+ struct itimerval *oitv); }
+159 AUE_NULL UNIMPL lwp_create
+160 AUE_NULL UNIMPL lwp_exit
+161 AUE_NULL UNIMPL lwp_suspend
+162 AUE_NULL UNIMPL lwp_continue
+163 AUE_NULL UNIMPL lwp_kill
+164 AUE_NULL UNIMPL lwp_self
+165 AUE_NULL UNIMPL lwp_getprivate
+166 AUE_NULL UNIMPL lwp_setprivate
+167 AUE_NULL UNIMPL lwp_wait
+168 AUE_NULL UNIMPL lwp_mutex_unlock
+169 AUE_NULL UNIMPL lwp_mutex_lock
+170 AUE_NULL UNIMPL lwp_cond_wait
+171 AUE_NULL UNIMPL lwp_cond_signal
+172 AUE_NULL UNIMPL lwp_cond_broadcast
+173 AUE_NULL UNIMPL { ssize_t svr4_sys_pread(int fd, void *buf, \
+ size_t nbyte, svr4_off_t off); }
+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, \
+ long offset1, long offset2, int whence); }
+176 AUE_NULL UNIMPL inst_sync
+177 AUE_NULL UNIMPL whoknows
+178 AUE_NULL UNIMPL kaio
+179 AUE_NULL UNIMPL whoknows
+180 AUE_NULL UNIMPL whoknows
+181 AUE_NULL UNIMPL whoknows
+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, \
+ int num, struct svr4_aclent *buf); }
+186 AUE_NULL STD { 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
+189 AUE_NULL UNIMPL p_online
+190 AUE_NULL UNIMPL sigqueue
+191 AUE_NULL UNIMPL clock_gettime
+192 AUE_NULL UNIMPL clock_settime
+193 AUE_NULL UNIMPL clock_getres
+194 AUE_NULL UNIMPL timer_create
+195 AUE_NULL UNIMPL timer_delete
+196 AUE_NULL UNIMPL timer_settime
+197 AUE_NULL UNIMPL timer_gettime
+198 AUE_NULL UNIMPL timer_overrun
+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, \
+ int num, struct svr4_aclent *buf); }
+201 AUE_NULL UNIMPL door
+202 AUE_NULL MNOPROTO { int setreuid(int ruid, int euid); }
+203 AUE_NULL MNOPROTO { int setregid(int rgid, int egid); }
+204 AUE_NULL UNIMPL install_utrap
+205 AUE_NULL UNIMPL signotify
+206 AUE_NULL UNIMPL schedctl
+207 AUE_NULL UNIMPL pset
+208 AUE_NULL UNIMPL whoknows
+209 AUE_NULL STD { int svr4_sys_resolvepath(const char *path, \
+ char *buf, size_t bufsiz); }
+210 AUE_NULL UNIMPL signotifywait
+211 AUE_NULL UNIMPL lwp_sigredirect
+212 AUE_NULL UNIMPL lwp_alarm
+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, \
+ svr4_size_t len, int prot, int flags, \
+ int fd, svr4_off64_t pos); }
+215 AUE_NULL STD { int svr4_sys_stat64(char *path, \
+ struct svr4_stat64 *sb); }
+216 AUE_NULL STD { int svr4_sys_lstat64(char *path, \
+ struct svr4_stat64 *sb); }
+217 AUE_NULL STD { int svr4_sys_fstat64(int fd, \
+ struct svr4_stat64 *sb); }
+218 AUE_NULL STD { int svr4_sys_statvfs64(char *path, \
+ struct svr4_statvfs64 *fs); }
+219 AUE_NULL STD { 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); }
+221 AUE_NULL MSTD { int svr4_sys_getrlimit64(int which, \
+ struct svr4_rlimit64 *rlp); }
+222 AUE_NULL UNIMPL pread64
+223 AUE_NULL UNIMPL pwrite64
+224 AUE_NULL STD { int svr4_sys_creat64(char *path, \
+ int mode); }
+225 AUE_NULL STD { 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, \
+ int protocol); }
+231 AUE_NULL NOPROTO { int socketpair(int domain, int type, \
+ int protocol, int *rsv); }
+232 AUE_NULL NOPROTO { 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, \
+ int *anamelen); }
+235 AUE_NULL NOPROTO { 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, \
+ int len, int flags); }
+238 AUE_NULL NOPROTO { 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, \
+ int flags); }
+240 AUE_NULL STD { int svr4_sys_send(int s, caddr_t buf, \
+ int len, int flags); }
+241 AUE_NULL NOPROTO { ssize_t sendmsg(int s, \
+ const struct msghdr *msg, int flags); }
+242 AUE_NULL STD { 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, \
+ struct sockaddr *asa, int *alen); }
+244 AUE_NULL NOPROTO { int getsockname(int fdes, \
+ struct sockaddr *asa, int *alen); }
+245 AUE_NULL NOPROTO { int getsockopt(int s, int level, int name, \
+ void *val, int *avalsize); }
+246 AUE_NULL NOPROTO { 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); }
+249 AUE_NULL MUNIMPL { int ntp_adjtime(struct timex *tp); }
diff --git a/sys/i386/ibcs2/syscalls.master b/sys/i386/ibcs2/syscalls.master
index 1046bf8..a4e3d57 100644
--- a/sys/i386/ibcs2/syscalls.master
+++ b/sys/i386/ibcs2/syscalls.master
@@ -6,6 +6,11 @@
; Columns: number type nargs name alt{name,tag,rtyp}/comments
; number system call number, must be in order
+; audit the audit event associated with the system call
+; A value of AUE_NULL means no auditing, but it also means that
+; there is no audit event for the call at this time. For the
+; case where the event exists, but we don't want auditing, the
+; event should be #defined to AUE_NULL in audit_kevents.h.
; type one of STD, OBSOL, UNIMPL, COMPAT
; name psuedo-prototype of syscall routine
; If one of the following alts is different, then all appear:
@@ -30,141 +35,173 @@
; #ifdef's, etc. may be included, and are copied to the output files.
-0 NOPROTO { int nosys(void); } syscall nosys_args int
-1 MNOPROTO { void sys_exit(int rval); } exit sys_exit_args void
-2 MNOPROTO { int fork(void); }
-3 STD { int ibcs2_read(int fd, char *buf, u_int nbytes); }
-4 MNOPROTO { int write(int fd, char *buf, u_int nbytes); }
-5 STD { int ibcs2_open(char *path, int flags, int mode); }
-6 MNOPROTO { int close(int fd); }
-7 MSTD { int ibcs2_wait(int a1, int a2, int a3); }
-8 STD { int ibcs2_creat(char *path, int mode); }
-9 NOPROTO { int link(char *path, char *link); }
-10 STD { int ibcs2_unlink(char *path); }
-11 STD { int ibcs2_execv(char *path, char **argp); }
-12 STD { int ibcs2_chdir(char *path); }
-13 STD { int ibcs2_time(ibcs2_time_t *tp); }
-14 STD { int ibcs2_mknod(char* path, int mode, int dev); }
-15 STD { int ibcs2_chmod(char *path, int mode); }
-16 STD { int ibcs2_chown(char *path, int uid, int gid); }
-17 NOPROTO { int obreak(caddr_t nsize); }
-18 STD { int ibcs2_stat(char* path, struct ibcs2_stat *st); }
-19 STD { long ibcs2_lseek(int fd, long offset, int whence); }
-20 MNOPROTO { pid_t getpid(void); }
-21 STD { int ibcs2_mount(char *special, char *dir, int flags, \
- int fstype, char *data, int len); }
-22 STD { int ibcs2_umount(char *name); }
-23 MSTD { int ibcs2_setuid(int uid); }
-24 MNOPROTO { uid_t getuid(void); }
-25 STD { int ibcs2_stime(long *timep); }
-26 MNOPROTO { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
-27 STD { int ibcs2_alarm(unsigned sec); }
-28 STD { int ibcs2_fstat(int fd, struct ibcs2_stat *st); }
-29 MSTD { int ibcs2_pause(void); }
-30 STD { int ibcs2_utime(char *path, struct ibcs2_utimbuf *buf); }
-31 STD { int ibcs2_stty(int fd, struct sgttyb *buf); }
-32 STD { int ibcs2_gtty(int fd, struct sgttyb *buf); }
-33 STD { int ibcs2_access(char *path, int flags); }
-34 MSTD { int ibcs2_nice(int incr); }
-35 STD { int ibcs2_statfs(char *path, struct ibcs2_statfs *buf, \
- int len, int fstype); }
-36 NOPROTO { int sync(void); }
-37 MSTD { int ibcs2_kill(int pid, int signo); }
-38 STD { int ibcs2_fstatfs(int fd, struct ibcs2_statfs *buf, \
- int len, int fstype); }
-39 MSTD { int ibcs2_pgrpsys(int type, caddr_t dummy, int pid, \
- int pgid); }
-40 STD { int ibcs2_xenix(int a1, int a2, int a3, int a4, int a5); }
-41 MNOPROTO { int dup(u_int fd); }
-42 MNOPROTO { int pipe(void); }
-43 STD { int ibcs2_times(struct tms *tp); }
-44 MNOPROTO { int profil(caddr_t samples, u_int size, u_int offset, \
- u_int scale); }
-45 STD { int ibcs2_plock(int cmd); }
-46 MSTD { int ibcs2_setgid(int gid); }
-47 MNOPROTO { gid_t getgid(void); }
-48 STD { int ibcs2_sigsys(int sig, ibcs2_sig_t fp); }
-49 STD { int ibcs2_msgsys(int which, int a2, int a3, int a4, int a5, \
- int a6); }
-50 STD { int ibcs2_sysi86(int cmd, int *arg); }
-51 UNIMPL ibcs2_acct
-52 STD { int ibcs2_shmsys(int which, int a2, int a3, int a4); }
-53 STD { int ibcs2_semsys(int which, int a2, int a3, int a4, int a5); }
-54 STD { int ibcs2_ioctl(int fd, int cmd, caddr_t data); }
-55 STD { int ibcs2_uadmin(int cmd, int func, caddr_t data); }
-56 UNIMPL nosys
-57 STD { int ibcs2_utssys(int a1, int a2, int flag); }
-58 NOPROTO { int fsync(int fd); }
-59 STD { int ibcs2_execve(char *path, char **argp, char **envp); }
-60 MNOPROTO { int umask(int newmask); }
-61 NOPROTO { int chroot(char *path); }
-62 MSTD { int ibcs2_fcntl(int fd, int cmd, char *arg); }
-63 MSTD { long ibcs2_ulimit(int cmd, int newlimit); }
-64 UNIMPL reserved for unix/pc
-65 UNIMPL reserved for unix/pc
-66 UNIMPL reserved for unix/pc
-67 UNIMPL reserved for unix/pc
-68 UNIMPL reserved for unix/pc
-69 UNIMPL reserved for unix/pc
-70 OBSOL rfs_advfs
-71 OBSOL rfs_unadvfs
-72 OBSOL rfs_rmount
-73 OBSOL rfs_rumount
-74 OBSOL rfs_rfstart
-75 OBSOL rfs_sigret
-76 OBSOL rfs_rdebug
-77 OBSOL rfs_rfstop
-78 UNIMPL rfs_rfsys
-79 STD { int ibcs2_rmdir(char *path); }
-80 STD { int ibcs2_mkdir(char *path, int mode); }
-81 STD { int ibcs2_getdents(int fd, char *buf, int nbytes); }
-82 UNIMPL nosys
-83 UNIMPL nosys
-84 STD { int ibcs2_sysfs(int cmd, caddr_t d1, char *buf); }
-85 STD { int ibcs2_getmsg(int fd, struct ibcs2_stropts *ctl, \
- struct ibcs2_stropts *dat, int *flags); }
-86 STD { int ibcs2_putmsg(int fd, struct ibcs2_stropts *ctl, \
- struct ibcs2_stropts *dat, int flags); }
-87 STD { int ibcs2_poll(struct ibcs2_poll *fds, long nfds, \
- int timeout); }
-88 UNIMPL nosys
-89 STD { int ibcs2_secure(int cmd, int a1, int a2, int a3, int a4, \
- int a5); }
-90 STD { int ibcs2_symlink(char *path, char *link); }
-91 STD { int ibcs2_lstat(char *path, struct ibcs2_stat *st); }
-92 STD { int ibcs2_readlink(char *path, char *buf, int count); }
-93 UNIMPL nosys
-94 UNIMPL nosys
-95 UNIMPL nosys
-96 UNIMPL nosys
-97 UNIMPL nosys
-98 UNIMPL nosys
-99 UNIMPL nosys
-100 UNIMPL nosys
-101 UNIMPL nosys
-102 UNIMPL nosys
-103 MNOPROTO { int sigreturn(struct sigcontext *sigcntxp); }
-104 UNIMPL nosys
-105 STD { int ibcs2_isc(void); }
-106 UNIMPL nosys
-107 UNIMPL nosys
-108 UNIMPL nosys
-109 UNIMPL nosys
-110 UNIMPL nosys
-111 UNIMPL nosys
-112 UNIMPL nosys
-113 UNIMPL nosys
-114 UNIMPL nosys
-115 UNIMPL nosys
-116 UNIMPL nosys
-117 UNIMPL nosys
-118 UNIMPL nosys
-119 UNIMPL nosys
-120 UNIMPL nosys
-121 UNIMPL nosys
-122 UNIMPL nosys
-123 UNIMPL nosys
-124 UNIMPL nosys
-125 UNIMPL nosys
-126 UNIMPL nosys
-127 UNIMPL nosys
+0 AUE_NULL NOPROTO { int nosys(void); } syscall nosys_args int
+1 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit \
+ sys_exit_args void
+2 AUE_NULL MNOPROTO { int fork(void); }
+3 AUE_NULL STD { int ibcs2_read(int fd, char *buf, \
+ 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, \
+ 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, \
+ int dev); }
+15 AUE_NULL STD { int ibcs2_chmod(char *path, int mode); }
+16 AUE_NULL STD { 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, \
+ struct ibcs2_stat *st); }
+19 AUE_NULL STD { 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, \
+ int flags, int fstype, char *data, \
+ int len); }
+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); }
+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, \
+ struct ibcs2_stat *st); }
+29 AUE_NULL MSTD { int ibcs2_pause(void); }
+30 AUE_NULL STD { int ibcs2_utime(char *path, \
+ struct ibcs2_utimbuf *buf); }
+31 AUE_NULL STD { int ibcs2_stty(int fd, \
+ struct sgttyb *buf); }
+32 AUE_NULL STD { int ibcs2_gtty(int fd, \
+ struct sgttyb *buf); }
+33 AUE_NULL STD { 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, \
+ struct ibcs2_statfs *buf, int len, \
+ int fstype); }
+36 AUE_NULL NOPROTO { int sync(void); }
+37 AUE_NULL MSTD { int ibcs2_kill(int pid, int signo); }
+38 AUE_NULL STD { 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, \
+ 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); }
+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); }
+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); }
+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); }
+51 AUE_NULL UNIMPL ibcs2_acct
+52 AUE_NULL STD { int ibcs2_shmsys(int which, int a2, \
+ int a3, int a4); }
+53 AUE_NULL STD { int ibcs2_semsys(int which, int a2, \
+ 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, \
+ caddr_t data); }
+56 AUE_NULL UNIMPL nosys
+57 AUE_NULL STD { 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, \
+ char **envp); }
+60 AUE_NULL MNOPROTO { int umask(int newmask); }
+61 AUE_NULL NOPROTO { 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); }
+64 AUE_NULL UNIMPL reserved for unix/pc
+65 AUE_NULL UNIMPL reserved for unix/pc
+66 AUE_NULL UNIMPL reserved for unix/pc
+67 AUE_NULL UNIMPL reserved for unix/pc
+68 AUE_NULL UNIMPL reserved for unix/pc
+69 AUE_NULL UNIMPL reserved for unix/pc
+70 AUE_NULL OBSOL rfs_advfs
+71 AUE_NULL OBSOL rfs_unadvfs
+72 AUE_NULL OBSOL rfs_rmount
+73 AUE_NULL OBSOL rfs_rumount
+74 AUE_NULL OBSOL rfs_rfstart
+75 AUE_NULL OBSOL rfs_sigret
+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); }
+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, \
+ char *buf); }
+85 AUE_NULL STD { int ibcs2_getmsg(int fd, \
+ struct ibcs2_stropts *ctl, \
+ struct ibcs2_stropts *dat, int *flags); }
+86 AUE_NULL STD { 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, \
+ int a3, int a4, int a5); }
+90 AUE_NULL STD { int ibcs2_symlink(char *path, \
+ char *link); }
+91 AUE_NULL STD { int ibcs2_lstat(char *path, \
+ struct ibcs2_stat *st); }
+92 AUE_NULL STD { int ibcs2_readlink(char *path, char *buf, \
+ int count); }
+93 AUE_NULL UNIMPL nosys
+94 AUE_NULL UNIMPL nosys
+95 AUE_NULL UNIMPL nosys
+96 AUE_NULL UNIMPL nosys
+97 AUE_NULL UNIMPL nosys
+98 AUE_NULL UNIMPL nosys
+99 AUE_NULL UNIMPL nosys
+100 AUE_NULL UNIMPL nosys
+101 AUE_NULL UNIMPL nosys
+102 AUE_NULL UNIMPL nosys
+103 AUE_NULL MNOPROTO { int sigreturn( \
+ struct sigcontext *sigcntxp); }
+104 AUE_NULL UNIMPL nosys
+105 AUE_NULL STD { int ibcs2_isc(void); }
+106 AUE_NULL UNIMPL nosys
+107 AUE_NULL UNIMPL nosys
+108 AUE_NULL UNIMPL nosys
+109 AUE_NULL UNIMPL nosys
+110 AUE_NULL UNIMPL nosys
+111 AUE_NULL UNIMPL nosys
+112 AUE_NULL UNIMPL nosys
+113 AUE_NULL UNIMPL nosys
+114 AUE_NULL UNIMPL nosys
+115 AUE_NULL UNIMPL nosys
+116 AUE_NULL UNIMPL nosys
+117 AUE_NULL UNIMPL nosys
+118 AUE_NULL UNIMPL nosys
+119 AUE_NULL UNIMPL nosys
+120 AUE_NULL UNIMPL nosys
+121 AUE_NULL UNIMPL nosys
+122 AUE_NULL UNIMPL nosys
+123 AUE_NULL UNIMPL nosys
+124 AUE_NULL UNIMPL nosys
+125 AUE_NULL UNIMPL nosys
+126 AUE_NULL UNIMPL nosys
+127 AUE_NULL UNIMPL nosys
diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master
index 4d05eaa..0d1229a 100644
--- a/sys/i386/linux/syscalls.master
+++ b/sys/i386/linux/syscalls.master
@@ -6,6 +6,11 @@
; Columns: number type nargs name alt{name,tag,rtyp}/comments
; number system call number, must be in order
+; audit the audit event associated with the system call
+; A value of AUE_NULL means no auditing, but it also means that
+; there is no audit event for the call at this time. For the
+; case where the event exists, but we don't want auditing, the
+; event should be #defined to AUE_NULL in audit_kevents.h.
; type one of STD, OBSOL, UNIMPL, COMPAT
; name psuedo-prototype of syscall routine
; If one of the following alts is different, then all appear:
@@ -15,11 +20,11 @@
; for UNIMPL/OBSOL, name continues with comments
; types:
-; STD always included
+; AUE_NULL STD always included
; COMPAT included on COMPAT #ifdef
; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
; OBSOL obsolete, not included in system, only specifies name
-; UNIMPL not implemented, placeholder only
+; AUE_NULL UNIMPL not implemented, placeholder only
#include "opt_compat.h"
#include <sys/param.h>
@@ -34,314 +39,393 @@
; #ifdef's, etc. may be included, and are copied to the output files.
-0 UNIMPL setup
-1 MNOPROTO { void sys_exit(int rval); } exit sys_exit_args void
-2 MSTD { int linux_fork(void); }
-3 MNOPROTO { int read(int fd, char *buf, u_int nbyte); }
-4 MNOPROTO { int write(int fd, char *buf, u_int nbyte); }
-5 STD { int linux_open(char *path, l_int flags, l_int mode); }
-6 MNOPROTO { int close(int fd); }
-7 MSTD { int linux_waitpid(l_pid_t pid, l_int *status, l_int options); }
-8 STD { int linux_creat(char *path, l_int mode); }
-9 STD { int linux_link(char *path, char *to); }
-10 STD { int linux_unlink(char *path); }
-11 STD { int linux_execve(char *path, char **argp, char **envp); }
-12 STD { int linux_chdir(char *path); }
-13 STD { int linux_time(l_time_t *tm); }
-14 STD { int linux_mknod(char *path, l_int mode, l_dev_t dev); }
-15 STD { int linux_chmod(char *path, l_mode_t mode); }
-16 STD { int linux_lchown16(char *path, l_uid16_t uid, \
- l_gid16_t gid); }
-17 UNIMPL break
-18 STD { int linux_stat(char *path, struct ostat *up); }
-19 STD { int linux_lseek(l_uint fdes, l_off_t off, l_int whence); }
-20 MSTD { int linux_getpid(void); }
-21 STD { int linux_mount(char *specialfile, char *dir, \
- char *filesystemtype, l_ulong rwflag, \
- void *data); }
-22 STD { int linux_oldumount(char *path); }
-23 MSTD { int linux_setuid16(l_uid16_t uid); }
-24 MSTD { int linux_getuid16(void); }
-25 STD { int linux_stime(void); }
-26 MSTD { int linux_ptrace(l_long req, l_long pid, l_long addr, \
- l_long data); }
-27 STD { int linux_alarm(l_uint secs); }
-28 STD { int linux_fstat(l_uint fd, struct ostat *up); }
-29 MSTD { int linux_pause(void); }
-30 STD { int linux_utime(char *fname, struct l_utimbuf *times); }
-31 UNIMPL stty
-32 UNIMPL gtty
-33 STD { int linux_access(char *path, l_int flags); }
-34 MSTD { int linux_nice(l_int inc); }
-35 UNIMPL ftime
-36 NOPROTO { int sync(void); }
-37 MSTD { int linux_kill(l_int pid, l_int signum); }
-38 STD { int linux_rename(char *from, char *to); }
-39 STD { int linux_mkdir(char *path, l_int mode); }
-40 STD { int linux_rmdir(char *path); }
-41 MNOPROTO { int dup(u_int fd); }
-42 MSTD { int linux_pipe(l_ulong *pipefds); }
-43 STD { int linux_times(struct l_times_argv *buf); }
-44 UNIMPL prof
-45 STD { int linux_brk(l_ulong dsend); }
-46 MSTD { int linux_setgid16(l_gid16_t gid); }
-47 MSTD { int linux_getgid16(void); }
-48 MSTD { int linux_signal(l_int sig, l_handler_t handler); }
-49 MSTD { int linux_geteuid16(void); }
-50 MSTD { int linux_getegid16(void); }
-51 MNOPROTO { int acct(char *path); }
-52 STD { int linux_umount(char *path, l_int flags); }
-53 UNIMPL lock
-54 STD { int linux_ioctl(l_uint fd, l_uint cmd, l_ulong arg); }
-55 MSTD { int linux_fcntl(l_uint fd, l_uint cmd, l_ulong arg); }
-56 UNIMPL mpx
-57 MNOPROTO { int setpgid(int pid, int pgid); }
-58 UNIMPL ulimit
-59 STD { int linux_olduname(void); }
-60 MNOPROTO { int umask(int newmask); }
-61 NOPROTO { int chroot(char *path); }
-62 STD { int linux_ustat(l_dev_t dev, struct l_ustat *ubuf); }
-63 MNOPROTO { int dup2(u_int from, u_int to); }
-64 MNOPROTO { int getppid(void); }
-65 MNOPROTO { int getpgrp(void); }
-66 MNOPROTO { int setsid(void); }
-67 MSTD { int linux_sigaction(l_int sig, l_osigaction_t *nsa, \
- l_osigaction_t *osa); }
-68 MSTD { int linux_sgetmask(void); }
-69 MSTD { int linux_ssetmask(l_osigset_t mask); }
-70 MSTD { int linux_setreuid16(l_uid16_t ruid, l_uid16_t euid); }
-71 MSTD { int linux_setregid16(l_gid16_t rgid, l_gid16_t egid); }
-72 MSTD { int linux_sigsuspend(l_int hist0, l_int hist1, \
- l_osigset_t mask); }
-73 MSTD { int linux_sigpending(l_osigset_t *mask); }
-74 MNOPROTO { int osethostname(char *hostname, u_int len); } \
- osethostname sethostname_args int
-75 MSTD { int linux_setrlimit(l_uint resource, struct l_rlimit *rlim); }
-76 MSTD { int linux_old_getrlimit(l_uint resource, \
- struct l_rlimit *rlim); }
-77 MNOPROTO { int getrusage(int who, struct rusage *rusage); }
-78 MNOPROTO { int gettimeofday(struct timeval *tp, struct timezone *tzp); }
-79 MNOPROTO { int settimeofday(struct timeval *tp, struct timezone *tzp); }
-80 MSTD { int linux_getgroups16(l_uint gidsetsize, l_gid16_t *gidset); }
-81 MSTD { int linux_setgroups16(l_uint gidsetsize, l_gid16_t *gidset); }
-82 STD { int linux_old_select(struct l_old_select_argv *ptr); }
-83 STD { int linux_symlink(char *path, char *to); }
-84 NOPROTO { int ostat(char *path, struct ostat *up); }
-85 STD { int linux_readlink(char *name, char *buf, l_int count); }
-86 STD { int linux_uselib(char *library); }
-87 NOPROTO { int swapon(char *name); }
-88 STD { int linux_reboot(l_int magic1, l_int magic2, l_uint cmd, \
- void *arg); }
-89 STD { int linux_readdir(l_uint fd, struct l_dirent *dent, \
- l_uint count); }
-90 STD { int linux_mmap(struct l_mmap_argv *ptr); }
-91 NOPROTO { int munmap(caddr_t addr, int len); }
-92 STD { int linux_truncate(char *path, l_ulong length); }
-93 NOPROTO { int oftruncate(int fd, long length); }
-94 NOPROTO { int fchmod(int fd, int mode); }
-95 NOPROTO { int fchown(int fd, int uid, int gid); }
-96 MNOPROTO { int getpriority(int which, int who); }
-97 MNOPROTO { int setpriority(int which, int who, int prio); }
-98 UNIMPL profil
-99 STD { int linux_statfs(char *path, struct l_statfs_buf *buf); }
-100 STD { int linux_fstatfs(l_uint fd, struct l_statfs_buf *buf); }
-101 STD { int linux_ioperm(l_ulong start, l_ulong length, \
- l_int enable); }
-102 STD { int linux_socketcall(l_int what, l_ulong args); }
-103 STD { int linux_syslog(l_int type, char *buf, l_int len); }
-104 STD { int linux_setitimer(l_int which, struct l_itimerval *itv, \
- struct l_itimerval *oitv); }
-105 STD { int linux_getitimer(l_int which, struct l_itimerval *itv); }
-106 STD { int linux_newstat(char *path, struct l_newstat *buf); }
-107 STD { int linux_newlstat(char *path, struct l_newstat *buf); }
-108 STD { int linux_newfstat(l_uint fd, struct l_newstat *buf); }
-109 STD { int linux_uname(void); }
-110 STD { int linux_iopl(l_ulong level); }
-111 STD { int linux_vhangup(void); }
-112 UNIMPL idle
-113 STD { int linux_vm86old(void); }
-114 MSTD { int linux_wait4(l_pid_t pid, l_uint *status, \
- l_int options, struct l_rusage *rusage); }
-115 STD { int linux_swapoff(void); }
-116 STD { int linux_sysinfo(struct l_sysinfo *info); }
-117 STD { int linux_ipc(l_uint what, l_int arg1, l_int arg2, \
- l_int arg3, void *ptr, l_long arg5); }
-118 NOPROTO { int fsync(int fd); }
-119 MSTD { int linux_sigreturn(struct l_sigframe *sfp); }
-120 MSTD { int linux_clone(l_int flags, void *stack); }
-121 MNOPROTO { int setdomainname(char *name, int len); }
-122 STD { int linux_newuname(struct l_new_utsname *buf); }
-123 STD { int linux_modify_ldt(l_int func, void *ptr, \
- l_ulong bytecount); }
-124 STD { int linux_adjtimex(void); }
-125 NOPROTO { int mprotect(caddr_t addr, int len, int prot); }
-126 MSTD { int linux_sigprocmask(l_int how, l_osigset_t *mask, \
- l_osigset_t *omask); }
-127 STD { int linux_create_module(void); }
-128 STD { int linux_init_module(void); }
-129 STD { int linux_delete_module(void); }
-130 STD { int linux_get_kernel_syms(void); }
-131 STD { int linux_quotactl(void); }
-132 NOPROTO { int getpgid(int pid); }
-133 NOPROTO { int fchdir(int fd); }
-134 STD { int linux_bdflush(void); }
-135 STD { int linux_sysfs(l_int option, l_ulong arg1, l_ulong arg2); }
-136 STD { int linux_personality(l_ulong per); }
-137 UNIMPL afs_syscall
-138 STD { int linux_setfsuid16(l_uid16_t uid); }
-139 STD { int linux_setfsgid16(l_gid16_t gid); }
-140 STD { int linux_llseek(l_int fd, l_ulong ohigh, l_ulong olow, \
- l_loff_t *res, l_uint whence); }
-141 STD { int linux_getdents(l_uint fd, void *dent, l_uint count); }
-142 STD { int linux_select(l_int nfds, l_fd_set *readfds, \
- l_fd_set *writefds, l_fd_set *exceptfds, \
- struct l_timeval *timeout); }
-143 NOPROTO { int flock(int fd, int how); }
-144 STD { int linux_msync(l_ulong addr, l_size_t len, l_int fl); }
-145 NOPROTO { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
-146 NOPROTO { int writev(int fd, struct iovec *iovp, u_int iovcnt); }
-147 MSTD { int linux_getsid(l_pid_t pid); }
-148 STD { int linux_fdatasync(l_uint fd); }
-149 STD { int linux_sysctl(struct l___sysctl_args *args); }
-150 MNOPROTO { int mlock(const void *addr, size_t len); }
-151 MNOPROTO { int munlock(const void *addr, size_t len); }
-152 MNOPROTO { int mlockall(int how); }
-153 MNOPROTO { int munlockall(void); }
-154 MNOPROTO { int sched_setparam(pid_t pid, \
- const struct sched_param *param); }
-155 MNOPROTO { int sched_getparam(pid_t pid, \
- struct sched_param *param); }
-156 MSTD { int linux_sched_setscheduler(l_pid_t pid, \
- l_int policy, struct l_sched_param *param); }
-157 MSTD { int linux_sched_getscheduler(l_pid_t pid); }
-158 NOPROTO { int sched_yield(void); }
-159 MSTD { int linux_sched_get_priority_max(l_int policy); }
-160 MSTD { int linux_sched_get_priority_min(l_int policy); }
-161 MNOPROTO { int sched_rr_get_interval(l_pid_t pid, \
- struct l_timespec *interval); }
-162 MNOPROTO { int nanosleep(const struct timespec *rqtp, \
- struct timespec *rmtp); }
-163 STD { int linux_mremap(l_ulong addr, l_ulong old_len, \
- l_ulong new_len, l_ulong flags, \
- l_ulong new_addr); }
-164 MSTD { int linux_setresuid16(l_uid16_t ruid, \
- l_uid16_t euid, l_uid16_t suid); }
-165 MSTD { int linux_getresuid16(l_uid16_t *ruid, \
- l_uid16_t *euid, l_uid16_t *suid); }
-166 STD { int linux_vm86(void); }
-167 STD { int linux_query_module(void); }
-168 NOPROTO { int poll(struct pollfd*, unsigned int nfds, long timeout); }
-169 STD { int linux_nfsservctl(void); }
-170 MSTD { int linux_setresgid16(l_gid16_t rgid, \
- l_gid16_t egid, l_gid16_t sgid); }
-171 MSTD { int linux_getresgid16(l_gid16_t *rgid, \
- l_gid16_t *egid, l_gid16_t *sgid); }
-172 STD { int linux_prctl(void); }
-173 STD { int linux_rt_sigreturn(struct l_ucontext *ucp); }
-174 MSTD { int linux_rt_sigaction(l_int sig, \
- l_sigaction_t *act, l_sigaction_t *oact, \
- l_size_t sigsetsize); }
-175 MSTD { int linux_rt_sigprocmask(l_int how, \
- l_sigset_t *mask, l_sigset_t *omask, \
- l_size_t sigsetsize); }
-176 STD { int linux_rt_sigpending(void); }
-177 STD { int linux_rt_sigtimedwait(void); }
-178 STD { int linux_rt_sigqueueinfo(void); }
-179 MSTD { int linux_rt_sigsuspend(l_sigset_t *newset, \
- l_size_t sigsetsize); }
-180 STD { int linux_pread(l_uint fd, char *buf, \
- l_size_t nbyte, l_loff_t offset); }
-181 STD { int linux_pwrite(l_uint fd, char *buf, \
- l_size_t nbyte, l_loff_t offset); }
-182 STD { int linux_chown16(char *path, l_uid16_t uid, l_gid16_t gid); }
-183 STD { int linux_getcwd(char *buf, l_ulong bufsize); }
-184 STD { int linux_capget(void); }
-185 STD { int linux_capset(void); }
-186 STD { int linux_sigaltstack(l_stack_t *uss, l_stack_t *uoss); }
-187 STD { int linux_sendfile(void); }
-188 UNIMPL getpmsg
-189 UNIMPL putpmsg
-190 MSTD { int linux_vfork(void); }
-191 MSTD { int linux_getrlimit(l_uint resource, struct l_rlimit *rlim); }
-192 STD { int linux_mmap2(l_ulong addr, l_ulong len, \
- l_ulong prot, l_ulong flags, l_ulong fd, \
- l_ulong pgoff); }
-193 STD { int linux_truncate64(char *path, l_loff_t length); }
-194 STD { int linux_ftruncate64(l_uint fd, l_loff_t length); }
-195 STD { int linux_stat64(char *filename, \
- struct l_stat64 *statbuf, l_long flags); }
-196 STD { int linux_lstat64(char *filename, \
- struct l_stat64 *statbuf, l_long flags); }
-197 STD { int linux_fstat64(l_ulong fd, \
- struct l_stat64 *statbuf, l_long flags); }
-198 STD { int linux_lchown(char *path, l_uid_t uid, \
- l_gid_t gid); }
-199 MSTD { int linux_getuid(void); }
-200 MSTD { int linux_getgid(void); }
-201 MNOPROTO { int geteuid(void); }
-202 MNOPROTO { int getegid(void); }
-203 MNOPROTO { int setreuid(uid_t ruid, uid_t euid); }
-204 MNOPROTO { int setregid(gid_t rgid, gid_t egid); }
-205 MSTD { int linux_getgroups(l_int gidsetsize, l_gid_t *grouplist); }
-206 MSTD { int linux_setgroups(l_int gidsetsize, l_gid_t *grouplist); }
-207 NODEF fchown fchown fchown_args int
-208 MNOPROTO { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
-209 MNOPROTO { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
-210 MNOPROTO { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
-211 MNOPROTO { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
-212 STD { int linux_chown(char *path, l_uid_t uid, l_gid_t gid); }
-213 MNOPROTO { int setuid(uid_t uid); }
-214 MNOPROTO { int setgid(gid_t gid); }
-215 STD { int linux_setfsuid(l_uid_t uid); }
-216 STD { int linux_setfsgid(l_gid_t gid); }
-217 STD { int linux_pivot_root(char *new_root, char *put_old); }
-218 STD { int linux_mincore(l_ulong start, l_size_t len, u_char *vec); }
-219 MNOPROTO { int madvise(void *addr, size_t len, int behav); }
-220 STD { int linux_getdents64(l_uint fd, void *dirent, l_uint count); }
-221 MSTD { int linux_fcntl64(l_uint fd, l_uint cmd, l_ulong arg); }
-222 UNIMPL
-223 UNIMPL
-224 STD { long linux_gettid(void); }
-225 UNIMPL linux_readahead
-226 STD { int linux_setxattr(void); }
-227 STD { int linux_lsetxattr(void); }
-228 STD { int linux_fsetxattr(void); }
-229 STD { int linux_getxattr(void); }
-230 STD { int linux_lgetxattr(void); }
-231 STD { int linux_fgetxattr(void); }
-232 STD { int linux_listxattr(void); }
-233 STD { int linux_llistxattr(void); }
-234 STD { int linux_flistxattr(void); }
-235 STD { int linux_removexattr(void); }
-236 STD { int linux_lremovexattr(void); }
-237 STD { int linux_fremovexattr(void); }
-238 STD { int linux_tkill(int tid, int sig); }
-239 UNIMPL linux_sendfile64
-240 UNIMPL linux_futex
-241 UNIMPL linux_sched_setaffinity
-242 UNIMPL linux_sched_getaffinity
-243 STD { int linux_set_thread_area(void *entry); }
-244 UNIMPL linux_get_thread_area
-245 UNIMPL linux_io_setup
-246 UNIMPL linux_io_destroy
-247 UNIMPL linux_io_getevents
-248 UNIMPL linux_io_submit
-249 UNIMPL linux_io_cancel
-250 STD { int linux_fadvise64(void); }
-251 UNIMPL
-252 MNOPROTO { void sys_exit(int rval); } exit_group sys_exit_args void
-253 UNIMPL linux_lookup_dcookie
-254 UNIMPL linux_epoll_create
-255 UNIMPL linux_epoll_ctl
-256 UNIMPL linux_epoll_wait
-257 UNIMPL linux_remap_file_pages
-258 UNIMPL linux_set_tid_address
-259 UNIMPL linux_timer_create
-260 UNIMPL linux_timer_settime
-261 UNIMPL linux_timer_gettime
-262 UNIMPL linux_timer_getoverrun
-263 UNIMPL linux_timer_delete
-264 UNIMPL linux_clock_settime
-265 UNIMPL linux_clock_gettime
-266 UNIMPL linux_clock_getres
-267 UNIMPL linux_clock_nanosleep
+0 AUE_NULL UNIMPL setup
+1 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit \
+ sys_exit_args void
+2 AUE_NULL MSTD { int linux_fork(void); }
+3 AUE_NULL MNOPROTO { int read(int fd, char *buf, \
+ u_int nbyte); }
+4 AUE_NULL MNOPROTO { int write(int fd, char *buf, \
+ u_int nbyte); }
+5 AUE_NULL STD { int linux_open(char *path, l_int flags, \
+ l_int mode); }
+6 AUE_NULL MNOPROTO { int close(int fd); }
+7 AUE_NULL MSTD { int linux_waitpid(l_pid_t pid, \
+ l_int *status, l_int options); }
+8 AUE_NULL STD { int linux_creat(char *path, \
+ l_int mode); }
+9 AUE_NULL STD { int linux_link(char *path, char *to); }
+10 AUE_NULL STD { int linux_unlink(char *path); }
+11 AUE_NULL STD { int linux_execve(char *path, char **argp, \
+ char **envp); }
+12 AUE_NULL STD { int linux_chdir(char *path); }
+13 AUE_NULL STD { int linux_time(l_time_t *tm); }
+14 AUE_NULL STD { int linux_mknod(char *path, l_int mode, \
+ l_dev_t dev); }
+15 AUE_NULL STD { int linux_chmod(char *path, \
+ l_mode_t mode); }
+16 AUE_NULL STD { int linux_lchown16(char *path, \
+ l_uid16_t uid, l_gid16_t gid); }
+17 AUE_NULL UNIMPL break
+18 AUE_NULL STD { int linux_stat(char *path, \
+ struct ostat *up); }
+19 AUE_NULL STD { int linux_lseek(l_uint fdes, l_off_t off, \
+ l_int whence); }
+20 AUE_NULL MSTD { int linux_getpid(void); }
+21 AUE_NULL STD { int linux_mount(char *specialfile, \
+ char *dir, char *filesystemtype, \
+ l_ulong rwflag, void *data); }
+22 AUE_NULL STD { int linux_oldumount(char *path); }
+23 AUE_NULL MSTD { int linux_setuid16(l_uid16_t uid); }
+24 AUE_NULL MSTD { int linux_getuid16(void); }
+25 AUE_NULL STD { int linux_stime(void); }
+26 AUE_NULL MSTD { int linux_ptrace(l_long req, l_long pid, \
+ l_long addr, l_long data); }
+27 AUE_NULL STD { int linux_alarm(l_uint secs); }
+28 AUE_NULL STD { 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, \
+ struct l_utimbuf *times); }
+31 AUE_NULL UNIMPL stty
+32 AUE_NULL UNIMPL gtty
+33 AUE_NULL STD { int linux_access(char *path, l_int flags); }
+34 AUE_NULL MSTD { int linux_nice(l_int inc); }
+35 AUE_NULL UNIMPL ftime
+36 AUE_NULL NOPROTO { int sync(void); }
+37 AUE_NULL MSTD { int linux_kill(l_int pid, l_int signum); }
+38 AUE_NULL STD { int linux_rename(char *from, char *to); }
+39 AUE_NULL STD { int linux_mkdir(char *path, l_int mode); }
+40 AUE_NULL STD { int linux_rmdir(char *path); }
+41 AUE_NULL MNOPROTO { int dup(u_int fd); }
+42 AUE_NULL MSTD { int linux_pipe(l_ulong *pipefds); }
+43 AUE_NULL STD { int linux_times(struct l_times_argv *buf); }
+44 AUE_NULL UNIMPL prof
+45 AUE_NULL STD { int linux_brk(l_ulong dsend); }
+46 AUE_NULL MSTD { int linux_setgid16(l_gid16_t gid); }
+47 AUE_NULL MSTD { int linux_getgid16(void); }
+48 AUE_NULL MSTD { int linux_signal(l_int sig, \
+ l_handler_t handler); }
+49 AUE_NULL MSTD { int linux_geteuid16(void); }
+50 AUE_NULL MSTD { int linux_getegid16(void); }
+51 AUE_NULL MNOPROTO { int acct(char *path); }
+52 AUE_NULL STD { int linux_umount(char *path, l_int flags); }
+53 AUE_NULL UNIMPL lock
+54 AUE_NULL STD { int linux_ioctl(l_uint fd, l_uint cmd, \
+ l_ulong arg); }
+55 AUE_NULL MSTD { int linux_fcntl(l_uint fd, l_uint cmd, \
+ l_ulong arg); }
+56 AUE_NULL UNIMPL mpx
+57 AUE_NULL MNOPROTO { int setpgid(int pid, int pgid); }
+58 AUE_NULL UNIMPL ulimit
+59 AUE_NULL STD { int linux_olduname(void); }
+60 AUE_NULL MNOPROTO { int umask(int newmask); }
+61 AUE_NULL NOPROTO { int chroot(char *path); }
+62 AUE_NULL STD { int linux_ustat(l_dev_t dev, \
+ struct l_ustat *ubuf); }
+63 AUE_NULL MNOPROTO { int dup2(u_int from, u_int to); }
+64 AUE_NULL MNOPROTO { int getppid(void); }
+65 AUE_NULL MNOPROTO { int getpgrp(void); }
+66 AUE_NULL MNOPROTO { int setsid(void); }
+67 AUE_NULL MSTD { int linux_sigaction(l_int sig, \
+ l_osigaction_t *nsa, \
+ l_osigaction_t *osa); }
+68 AUE_NULL MSTD { int linux_sgetmask(void); }
+69 AUE_NULL MSTD { int linux_ssetmask(l_osigset_t mask); }
+70 AUE_NULL MSTD { int linux_setreuid16(l_uid16_t ruid, \
+ l_uid16_t euid); }
+71 AUE_NULL MSTD { int linux_setregid16(l_gid16_t rgid, \
+ l_gid16_t egid); }
+72 AUE_NULL MSTD { int linux_sigsuspend(l_int hist0, \
+ l_int hist1, l_osigset_t mask); }
+73 AUE_NULL MSTD { int linux_sigpending(l_osigset_t *mask); }
+74 AUE_NULL MNOPROTO { int osethostname(char *hostname, \
+ u_int len); } osethostname \
+ sethostname_args int
+75 AUE_NULL MSTD { int linux_setrlimit(l_uint resource, \
+ struct l_rlimit *rlim); }
+76 AUE_NULL MSTD { int linux_old_getrlimit(l_uint resource, \
+ struct l_rlimit *rlim); }
+77 AUE_NULL MNOPROTO { int getrusage(int who, \
+ struct rusage *rusage); }
+78 AUE_NULL MNOPROTO { int gettimeofday(struct timeval *tp, \
+ struct timezone *tzp); }
+79 AUE_NULL MNOPROTO { int settimeofday(struct timeval *tp, \
+ struct timezone *tzp); }
+80 AUE_NULL MSTD { int linux_getgroups16(l_uint gidsetsize, \
+ l_gid16_t *gidset); }
+81 AUE_NULL MSTD { int linux_setgroups16(l_uint gidsetsize, \
+ l_gid16_t *gidset); }
+82 AUE_NULL STD { int linux_old_select( \
+ struct l_old_select_argv *ptr); }
+83 AUE_NULL STD { int linux_symlink(char *path, char *to); }
+84 AUE_NULL NOPROTO { int ostat(char *path, struct ostat *up); }
+85 AUE_NULL STD { 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, \
+ 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, \
+ l_ulong length); }
+93 AUE_NULL NOPROTO { int oftruncate(int fd, long length); }
+94 AUE_NULL NOPROTO { int fchmod(int fd, int mode); }
+95 AUE_NULL NOPROTO { int fchown(int fd, int uid, int gid); }
+96 AUE_NULL MNOPROTO { int getpriority(int which, int who); }
+97 AUE_NULL MNOPROTO { int setpriority(int which, int who, \
+ int prio); }
+98 AUE_NULL UNIMPL profil
+99 AUE_NULL STD { int linux_statfs(char *path, \
+ struct l_statfs_buf *buf); }
+100 AUE_NULL STD { int linux_fstatfs(l_uint fd, \
+ struct l_statfs_buf *buf); }
+101 AUE_NULL STD { int linux_ioperm(l_ulong start, \
+ l_ulong length, l_int enable); }
+102 AUE_NULL STD { int linux_socketcall(l_int what, \
+ l_ulong args); }
+103 AUE_NULL STD { int linux_syslog(l_int type, char *buf, \
+ l_int len); }
+104 AUE_NULL STD { int linux_setitimer(l_int which, \
+ struct l_itimerval *itv, \
+ struct l_itimerval *oitv); }
+105 AUE_NULL STD { int linux_getitimer(l_int which, \
+ struct l_itimerval *itv); }
+106 AUE_NULL STD { int linux_newstat(char *path, \
+ struct l_newstat *buf); }
+107 AUE_NULL STD { int linux_newlstat(char *path, \
+ struct l_newstat *buf); }
+108 AUE_NULL STD { int linux_newfstat(l_uint fd, \
+ struct l_newstat *buf); }
+109 AUE_NULL STD { int linux_uname(void); }
+110 AUE_NULL STD { int linux_iopl(l_ulong level); }
+111 AUE_NULL STD { int linux_vhangup(void); }
+112 AUE_NULL UNIMPL idle
+113 AUE_NULL STD { 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); }
+117 AUE_NULL STD { int linux_ipc(l_uint what, l_int arg1, \
+ l_int arg2, l_int arg3, void *ptr, \
+ l_long arg5); }
+118 AUE_NULL NOPROTO { int fsync(int fd); }
+119 AUE_NULL MSTD { int linux_sigreturn( \
+ struct l_sigframe *sfp); }
+120 AUE_NULL MSTD { int linux_clone(l_int flags, void *stack); }
+121 AUE_NULL MNOPROTO { int setdomainname(char *name, int len); }
+122 AUE_NULL STD { int linux_newuname( \
+ struct l_new_utsname *buf); }
+123 AUE_NULL STD { 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, \
+ int prot); }
+126 AUE_NULL MSTD { int linux_sigprocmask(l_int how, \
+ l_osigset_t *mask, l_osigset_t *omask); }
+127 AUE_NULL STD { int linux_create_module(void); }
+128 AUE_NULL STD { int linux_init_module(void); }
+129 AUE_NULL STD { int linux_delete_module(void); }
+130 AUE_NULL STD { int linux_get_kernel_syms(void); }
+131 AUE_NULL STD { int linux_quotactl(void); }
+132 AUE_NULL NOPROTO { int getpgid(int pid); }
+133 AUE_NULL NOPROTO { int fchdir(int fd); }
+134 AUE_NULL STD { int linux_bdflush(void); }
+135 AUE_NULL STD { int linux_sysfs(l_int option, \
+ l_ulong arg1, l_ulong arg2); }
+136 AUE_NULL STD { int linux_personality(l_ulong per); }
+137 AUE_NULL UNIMPL afs_syscall
+138 AUE_NULL STD { int linux_setfsuid16(l_uid16_t uid); }
+139 AUE_NULL STD { int linux_setfsgid16(l_gid16_t gid); }
+140 AUE_NULL STD { int linux_llseek(l_int fd, l_ulong ohigh, \
+ l_ulong olow, l_loff_t *res, \
+ l_uint whence); }
+141 AUE_NULL STD { int linux_getdents(l_uint fd, void *dent, \
+ l_uint count); }
+142 AUE_NULL STD { int linux_select(l_int nfds, \
+ l_fd_set *readfds, l_fd_set *writefds, \
+ l_fd_set *exceptfds, \
+ struct l_timeval *timeout); }
+143 AUE_NULL NOPROTO { int flock(int fd, int how); }
+144 AUE_NULL STD { int linux_msync(l_ulong addr, \
+ l_size_t len, l_int fl); }
+145 AUE_NULL NOPROTO { int readv(int fd, struct iovec *iovp, \
+ u_int iovcnt); }
+146 AUE_NULL NOPROTO { 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( \
+ struct l___sysctl_args *args); }
+150 AUE_NULL MNOPROTO { int mlock(const void *addr, size_t len); }
+151 AUE_NULL MNOPROTO { int munlock(const void *addr, size_t len); }
+152 AUE_NULL MNOPROTO { int mlockall(int how); }
+153 AUE_NULL MNOPROTO { int munlockall(void); }
+154 AUE_NULL MNOPROTO { int sched_setparam(pid_t pid, \
+ const struct sched_param *param); }
+155 AUE_NULL MNOPROTO { int sched_getparam(pid_t pid, \
+ struct sched_param *param); }
+156 AUE_NULL MSTD { int linux_sched_setscheduler(l_pid_t pid, \
+ l_int policy, \
+ struct l_sched_param *param); }
+157 AUE_NULL MSTD { int linux_sched_getscheduler(l_pid_t pid); }
+158 AUE_NULL NOPROTO { int sched_yield(void); }
+159 AUE_NULL MSTD { int linux_sched_get_priority_max( \
+ l_int policy); }
+160 AUE_NULL MSTD { int linux_sched_get_priority_min( \
+ l_int policy); }
+161 AUE_NULL MNOPROTO { int sched_rr_get_interval(l_pid_t pid, \
+ struct l_timespec *interval); }
+162 AUE_NULL MNOPROTO { int nanosleep( \
+ const struct timespec *rqtp, \
+ struct timespec *rmtp); }
+163 AUE_NULL STD { int linux_mremap(l_ulong addr, \
+ l_ulong old_len, l_ulong new_len, \
+ l_ulong flags, l_ulong new_addr); }
+164 AUE_NULL MSTD { int linux_setresuid16(l_uid16_t ruid, \
+ l_uid16_t euid, l_uid16_t suid); }
+165 AUE_NULL MSTD { int linux_getresuid16(l_uid16_t *ruid, \
+ l_uid16_t *euid, l_uid16_t *suid); }
+166 AUE_NULL STD { int linux_vm86(void); }
+167 AUE_NULL STD { int linux_query_module(void); }
+168 AUE_NULL NOPROTO { int poll(struct pollfd*, \
+ unsigned int nfds, long timeout); }
+169 AUE_NULL STD { int linux_nfsservctl(void); }
+170 AUE_NULL MSTD { int linux_setresgid16(l_gid16_t rgid, \
+ l_gid16_t egid, l_gid16_t sgid); }
+171 AUE_NULL MSTD { int linux_getresgid16(l_gid16_t *rgid, \
+ l_gid16_t *egid, l_gid16_t *sgid); }
+172 AUE_NULL STD { int linux_prctl(void); }
+173 AUE_NULL STD { int linux_rt_sigreturn( \
+ struct l_ucontext *ucp); }
+174 AUE_NULL MSTD { int linux_rt_sigaction(l_int sig, \
+ l_sigaction_t *act, l_sigaction_t *oact, \
+ l_size_t sigsetsize); }
+175 AUE_NULL MSTD { int linux_rt_sigprocmask(l_int how, \
+ l_sigset_t *mask, l_sigset_t *omask, \
+ l_size_t sigsetsize); }
+176 AUE_NULL STD { int linux_rt_sigpending(void); }
+177 AUE_NULL STD { int linux_rt_sigtimedwait(void); }
+178 AUE_NULL STD { int linux_rt_sigqueueinfo(void); }
+179 AUE_NULL MSTD { int linux_rt_sigsuspend( \
+ l_sigset_t *newset, \
+ l_size_t sigsetsize); }
+180 AUE_NULL STD { int linux_pread(l_uint fd, char *buf, \
+ l_size_t nbyte, l_loff_t offset); }
+181 AUE_NULL STD { int linux_pwrite(l_uint fd, char *buf, \
+ l_size_t nbyte, l_loff_t offset); }
+182 AUE_NULL STD { int linux_chown16(char *path, \
+ l_uid16_t uid, l_gid16_t gid); }
+183 AUE_NULL STD { int linux_getcwd(char *buf, \
+ l_ulong bufsize); }
+184 AUE_NULL STD { int linux_capget(void); }
+185 AUE_NULL STD { int linux_capset(void); }
+186 AUE_NULL STD { int linux_sigaltstack(l_stack_t *uss, \
+ l_stack_t *uoss); }
+187 AUE_NULL STD { int linux_sendfile(void); }
+188 AUE_NULL UNIMPL getpmsg
+189 AUE_NULL UNIMPL putpmsg
+190 AUE_NULL MSTD { int linux_vfork(void); }
+191 AUE_NULL MSTD { int linux_getrlimit(l_uint resource, \
+ struct l_rlimit *rlim); }
+192 AUE_NULL STD { int linux_mmap2(l_ulong addr, l_ulong len, \
+ l_ulong prot, l_ulong flags, l_ulong fd, \
+ l_ulong pgoff); }
+193 AUE_NULL STD { int linux_truncate64(char *path, \
+ l_loff_t length); }
+194 AUE_NULL STD { int linux_ftruncate64(l_uint fd, \
+ l_loff_t length); }
+195 AUE_NULL STD { int linux_stat64(char *filename, \
+ struct l_stat64 *statbuf, l_long flags); }
+196 AUE_NULL STD { int linux_lstat64(char *filename, \
+ struct l_stat64 *statbuf, l_long flags); }
+197 AUE_NULL STD { int linux_fstat64(l_ulong fd, \
+ struct l_stat64 *statbuf, l_long flags); }
+198 AUE_NULL STD { int linux_lchown(char *path, l_uid_t uid, \
+ l_gid_t gid); }
+199 AUE_NULL MSTD { int linux_getuid(void); }
+200 AUE_NULL MSTD { int linux_getgid(void); }
+201 AUE_NULL MNOPROTO { int geteuid(void); }
+202 AUE_NULL MNOPROTO { int getegid(void); }
+203 AUE_NULL MNOPROTO { int setreuid(uid_t ruid, uid_t euid); }
+204 AUE_NULL MNOPROTO { int setregid(gid_t rgid, gid_t egid); }
+205 AUE_NULL MSTD { int linux_getgroups(l_int gidsetsize, \
+ l_gid_t *grouplist); }
+206 AUE_NULL MSTD { int linux_setgroups(l_int gidsetsize, \
+ l_gid_t *grouplist); }
+207 AUE_NULL NODEF fchown fchown fchown_args int
+208 AUE_NULL MNOPROTO { int setresuid(uid_t ruid, uid_t euid, \
+ uid_t suid); }
+209 AUE_NULL MNOPROTO { int getresuid(uid_t *ruid, uid_t *euid, \
+ uid_t *suid); }
+210 AUE_NULL MNOPROTO { int setresgid(gid_t rgid, gid_t egid, \
+ gid_t sgid); }
+211 AUE_NULL MNOPROTO { int getresgid(gid_t *rgid, gid_t *egid, \
+ gid_t *sgid); }
+212 AUE_NULL STD { int linux_chown(char *path, l_uid_t uid, \
+ l_gid_t gid); }
+213 AUE_NULL MNOPROTO { int setuid(uid_t uid); }
+214 AUE_NULL MNOPROTO { int setgid(gid_t gid); }
+215 AUE_NULL STD { int linux_setfsuid(l_uid_t uid); }
+216 AUE_NULL STD { int linux_setfsgid(l_gid_t gid); }
+217 AUE_NULL STD { int linux_pivot_root(char *new_root, \
+ char *put_old); }
+218 AUE_NULL STD { int linux_mincore(l_ulong start, \
+ l_size_t len, u_char *vec); }
+219 AUE_NULL MNOPROTO { int madvise(void *addr, size_t len, \
+ int behav); }
+220 AUE_NULL STD { int linux_getdents64(l_uint fd, \
+ void *dirent, l_uint count); }
+221 AUE_NULL MSTD { int linux_fcntl64(l_uint fd, l_uint cmd, \
+ l_ulong arg); }
+222 AUE_NULL UNIMPL
+223 AUE_NULL UNIMPL
+224 AUE_NULL STD { 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); }
+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); }
+244 AUE_NULL UNIMPL linux_get_thread_area
+245 AUE_NULL UNIMPL linux_io_setup
+246 AUE_NULL UNIMPL linux_io_destroy
+247 AUE_NULL UNIMPL linux_io_getevents
+248 AUE_NULL UNIMPL linux_io_submit
+249 AUE_NULL UNIMPL linux_io_cancel
+250 AUE_NULL STD { int linux_fadvise64(void); }
+251 AUE_NULL UNIMPL
+252 AUE_NULL MNOPROTO { void sys_exit(int rval); } exit_group \
+ sys_exit_args void
+253 AUE_NULL UNIMPL linux_lookup_dcookie
+254 AUE_NULL UNIMPL linux_epoll_create
+255 AUE_NULL UNIMPL linux_epoll_ctl
+256 AUE_NULL UNIMPL linux_epoll_wait
+257 AUE_NULL UNIMPL linux_remap_file_pages
+258 AUE_NULL UNIMPL linux_set_tid_address
+259 AUE_NULL UNIMPL linux_timer_create
+260 AUE_NULL UNIMPL linux_timer_settime
+261 AUE_NULL UNIMPL linux_timer_gettime
+262 AUE_NULL UNIMPL linux_timer_getoverrun
+263 AUE_NULL UNIMPL linux_timer_delete
+264 AUE_NULL UNIMPL linux_clock_settime
+265 AUE_NULL UNIMPL linux_clock_gettime
+266 AUE_NULL UNIMPL linux_clock_getres
+267 AUE_NULL UNIMPL linux_clock_nanosleep
diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh
index 4097fa6..f6f64e0 100644
--- a/sys/kern/makesyscalls.sh
+++ b/sys/kern/makesyscalls.sh
@@ -199,7 +199,7 @@ s/\$//g
exit 1
}
function parseline() {
- f=3 # toss number and type
+ f=4 # toss number, type, audit event
argc= 0;
argssize = "0"
if ($NF != "}") {
@@ -213,9 +213,10 @@ s/\$//g
rettype="int"
end=NF
}
- if ($2 == "NODEF") {
- funcname=$3
- argssize = "AS(" $5 ")"
+ if ($3 == "NODEF") {
+ auditev="AUE_NULL"
+ funcname=$4
+ argssize = "AS(" $6 ")"
return
}
if ($f != "{")
@@ -238,9 +239,9 @@ s/\$//g
funcalias = funcname
if (argalias == "") {
argalias = funcname "_args"
- if ($2 == "COMPAT")
+ if ($3 == "COMPAT")
argalias = "o" argalias
- if ($2 == "COMPAT4")
+ if ($3 == "COMPAT4")
argalias = "freebsd4_" argalias
}
f++
@@ -274,50 +275,57 @@ s/\$//g
if (argc != 0)
argssize = "AS(" argalias ")"
}
- { comment = $3
- if (NF < 6)
- for (i = 4; i <= NF; i++)
+ { comment = $4
+ if (NF < 7)
+ for (i = 5; i <= NF; i++)
comment = comment " " $i
}
+ #
+ # The AUE_ audit event identifier.
+ #
+ {
+ auditev = $2;
+ }
+
# The 'M' type prefix
#
{
mpsafe = "SYF_MPSAFE | ";
- if ($2 == "MSTD") {
- $2 = "STD";
- } else if ($2 == "MNODEF") {
- $2 = "NODEF";
- } else if ($2 == "MNOARGS") {
- $2 = "NOARGS";
- } else if ($2 == "MNOPROTO") {
- $2 = "NOPROTO";
- } else if ($2 == "MNOIMPL") {
- $2 = "NOIMPL";
- } else if ($2 == "MNOSTD") {
- $2 = "NOSTD";
- } else if ($2 == "MCOMPAT") {
- $2 = "COMPAT";
- } else if ($2 == "MCOMPAT4") {
- $2 = "COMPAT4";
- } else if ($2 == "MCPT_NOA") {
- $2 = "CPT_NOA";
- } else if ($2 == "MLIBCOMPAT") {
- $2 = "LIBCOMPAT";
- } else if ($2 == "MOBSOL") {
- $2 = "OBSOL";
- } else if ($2 == "MUNIMPL") {
- $2 = "UNIMPL";
+ if ($3 == "MSTD") {
+ $3 = "STD";
+ } else if ($3 == "MNODEF") {
+ $3 = "NODEF";
+ } else if ($3 == "MNOARGS") {
+ $3 = "NOARGS";
+ } else if ($3 == "MNOPROTO") {
+ $3 = "NOPROTO";
+ } else if ($3 == "MNOIMPL") {
+ $3 = "NOIMPL";
+ } else if ($3 == "MNOSTD") {
+ $3 = "NOSTD";
+ } else if ($3 == "MCOMPAT") {
+ $3 = "COMPAT";
+ } else if ($3 == "MCOMPAT4") {
+ $3 = "COMPAT4";
+ } else if ($3 == "MCPT_NOA") {
+ $3 = "CPT_NOA";
+ } else if ($3 == "MLIBCOMPAT") {
+ $3 = "LIBCOMPAT";
+ } else if ($3 == "MOBSOL") {
+ $3 = "OBSOL";
+ } else if ($3 == "MUNIMPL") {
+ $3 = "UNIMPL";
} else {
mpsafe = "";
}
}
- $2 == "STD" || $2 == "NODEF" || $2 == "NOARGS" || $2 == "NOPROTO" \
- || $2 == "NOIMPL" || $2 == "NOSTD" {
+ $3 == "STD" || $3 == "NODEF" || $3 == "NOARGS" || $3 == "NOPROTO" \
+ || $3 == "NOIMPL" || $3 == "NOSTD" {
parseline()
if ((!nosys || funcname != "nosys") && \
(funcname != "lkmnosys") && (funcname != "lkmressys")) {
- if (argc != 0 && $2 != "NOARGS" && $2 != "NOPROTO") {
+ if (argc != 0 && $3 != "NOARGS" && $3 != "NOPROTO") {
printf("struct %s {\n", argalias) > sysarg
for (i = 1; i <= argc; i++)
printf("\tchar %s_l_[PADL_(%s)]; " \
@@ -327,12 +335,12 @@ s/\$//g
argname[i], argtype[i]) > sysarg
printf("};\n") > sysarg
}
- else if ($2 != "NOARGS" && $2 != "NOPROTO" && \
- $2 != "NODEF")
+ else if ($3 != "NOARGS" && $3 != "NOPROTO" && \
+ $3 != "NODEF")
printf("struct %s {\n\tregister_t dummy;\n};\n",
argalias) > sysarg
}
- if (($2 != "NOPROTO" && $2 != "NODEF" && \
+ if (($3 != "NOPROTO" && $3 != "NODEF" && \
(funcname != "nosys" || !nosys)) || \
(funcname == "lkmnosys" && !lkmnosys) || \
funcname == "lkmressys") {
@@ -346,21 +354,21 @@ s/\$//g
lkmnosys = 1
printf("\t{ %s%s, (sy_call_t *)", mpsafe, argssize) > sysent
column = 8 + 2 + length(mpsafe) + length(argssize) + 15
- if ($2 == "NOIMPL") {
- printf("%s },", "nosys") > sysent
+ if ($3 == "NOIMPL") {
+ printf("%s },", "nosys, AUE_NULL") > sysent
column = column + length("nosys") + 3
- } else if ($2 == "NOSTD") {
- printf("%s },", "lkmressys") > sysent
+ } else if ($3 == "NOSTD") {
+ printf("%s },", "lkmressys, AUE_NULL") > sysent
column = column + length("lkmressys") + 3
} else {
- printf("%s },", funcname) > sysent
- column = column + length(funcname) + 3
+ printf("%s, %s },", funcname, auditev) > sysent
+ column = column + length(funcname) + length(auditev) + 3
}
align_sysent_comment(column)
printf("/* %d = %s */\n", syscall, funcalias) > sysent
printf("\t\"%s\",\t\t\t/* %d = %s */\n",
funcalias, syscall, funcalias) > sysnames
- if ($2 != "NODEF") {
+ if ($3 != "NODEF") {
printf("#define\t%s%s\t%d\n", syscallprefix,
funcalias, syscall) > syshdr
printf(" \\\n\t%s.o", funcalias) > sysmk
@@ -368,14 +376,14 @@ s/\$//g
syscall++
next
}
- $2 == "COMPAT" || $2 == "COMPAT4" || $2 == "CPT_NOA" {
- if ($2 == "COMPAT" || $2 == "CPT_NOA") {
+ $3 == "COMPAT" || $3 == "COMPAT4" || $3 == "CPT_NOA" {
+ if ($3 == "COMPAT" || $3 == "CPT_NOA") {
ncompat++
out = syscompat
outdcl = syscompatdcl
wrap = "compat"
prefix = "o"
- } else if ($2 == "COMPAT4") {
+ } else if ($3 == "COMPAT4") {
ncompat4++
out = syscompat4
outdcl = syscompat4dcl
@@ -383,7 +391,7 @@ s/\$//g
prefix = "freebsd4_"
}
parseline()
- if (argc != 0 && $2 != "CPT_NOA") {
+ if (argc != 0 && $3 != "CPT_NOA") {
printf("struct %s {\n", argalias) > out
for (i = 1; i <= argc; i++)
printf("\tchar %s_l_[PADL_(%s)]; %s %s; " \
@@ -393,15 +401,15 @@ s/\$//g
argname[i], argtype[i]) > out
printf("};\n") > out
}
- else if($2 != "CPT_NOA")
+ else if($3 != "CPT_NOA")
printf("struct %s {\n\tregister_t dummy;\n};\n",
argalias) > sysarg
printf("%s\t%s%s(struct thread *, struct %s *);\n",
rettype, prefix, funcname, argalias) > outdcl
- printf("\t{ %s(%s%s,%s) },",
- wrap, mpsafe, argssize, funcname) > sysent
+ printf("\t{ %s(%s%s,%s), %s },",
+ wrap, mpsafe, argssize, funcname, auditev) > sysent
align_sysent_comment(8 + 9 + length(mpsafe) + \
- length(argssize) + 1 + length(funcname) + 4)
+ length(argssize) + 1 + length(funcname) + length(auditev) + 4)
printf("/* %d = old %s */\n", syscall, funcalias) > sysent
printf("\t\"old.%s\",\t\t/* %d = old %s */\n",
funcalias, syscall, funcalias) > sysnames
@@ -410,14 +418,14 @@ s/\$//g
syscall++
next
}
- $2 == "LIBCOMPAT" {
+ $3 == "LIBCOMPAT" {
ncompat++
parseline()
printf("%s\to%s();\n", rettype, funcname) > syscompatdcl
- printf("\t{ compat(%s%s,%s) },",
- mpsafe, argssize, funcname) > sysent
+ printf("\t{ compat(%s%s,%s), %s },",
+ mpsafe, argssize, funcname, auditev) > sysent
align_sysent_comment(8 + 9 + length(mpsafe) + \
- length(argssize) + 1 + length(funcname) + 4)
+ length(argssize) + 1 + length(funcname) + length(auditev) + 4)
printf("/* %d = old %s */\n", syscall, funcalias) > sysent
printf("\t\"old.%s\",\t\t/* %d = old %s */\n",
funcalias, syscall, funcalias) > sysnames
@@ -427,19 +435,19 @@ s/\$//g
syscall++
next
}
- $2 == "OBSOL" {
- printf("\t{ 0, (sy_call_t *)nosys },") > sysent
+ $3 == "OBSOL" {
+ printf("\t{ 0, (sy_call_t *)nosys, AUE_NULL },") > sysent
align_sysent_comment(34)
printf("/* %d = obsolete %s */\n", syscall, comment) > sysent
printf("\t\"obs_%s\",\t\t\t/* %d = obsolete %s */\n",
- $3, syscall, comment) > sysnames
+ $4, syscall, comment) > sysnames
printf("\t\t\t\t/* %d is obsolete %s */\n",
syscall, comment) > syshdr
syscall++
next
}
- $2 == "UNIMPL" {
- printf("\t{ 0, (sy_call_t *)nosys },\t\t\t/* %d = %s */\n",
+ $3 == "UNIMPL" {
+ printf("\t{ 0, (sy_call_t *)nosys, AUE_NULL },\t\t\t/* %d = %s */\n",
syscall, comment) > sysent
printf("\t\"#%d\",\t\t\t/* %d = %s */\n",
syscall, syscall, comment) > sysnames
@@ -447,7 +455,7 @@ s/\$//g
next
}
{
- printf "%s: line %d: unrecognized keyword %s\n", infile, NR, $2
+ printf "%s: line %d: unrecognized keyword %s\n", infile, NR, $3
exit 1
}
END {
@@ -455,6 +463,7 @@ s/\$//g
if (ncompat != 0 || ncompat4 != 0)
printf "#include \"opt_compat.h\"\n\n" > syssw
+ printf "#include \<bsm/audit_kevents.h\>\n" > syssw
if (ncompat != 0) {
printf "\n#ifdef %s\n", compat > sysinc
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 780ddc8..e2b9957 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -6,6 +6,11 @@
; Columns: number [M]type nargs name alt{name,tag,rtyp}/comments
; number system call number, must be in order
+; audit the audit event associated with the system call
+; A value of AUE_NULL means no auditing, but it also means that
+; there is no audit event for the call at this time. For the
+; case where the event exists, but we don't want auditing, the
+; event should be #defined to AUE_NULL in audit_kevents.h.
; type one of [M]STD, [M]OBSOL, [M]UNIMPL, [M]COMPAT, [M]CPT_NOA,
; [M]LIBCOMPAT, [M]NODEF, [M]NOARGS, [M]NOPROTO, [M]NOIMPL,
; [M]NOSTD, [M]COMPAT4
@@ -45,607 +50,746 @@
; redistributions should be placed in the reserved range at the end
; of the current calls.
-0 MSTD { int nosys(void); } syscall nosys_args int
-1 MSTD { void sys_exit(int rval); } exit sys_exit_args void
-2 MSTD { int fork(void); }
-3 MSTD { ssize_t read(int fd, void *buf, size_t nbyte); }
-4 MSTD { ssize_t write(int fd, const void *buf, size_t nbyte); }
-5 MSTD { int open(char *path, int flags, int mode); }
+0 AUE_NULL MSTD { int nosys(void); } syscall nosys_args int
+1 AUE_NULL MSTD { void sys_exit(int rval); } exit \
+ sys_exit_args void
+2 AUE_NULL MSTD { int fork(void); }
+3 AUE_NULL MSTD { ssize_t read(int fd, void *buf, \
+ size_t nbyte); }
+4 AUE_NULL MSTD { ssize_t write(int fd, const void *buf, \
+ size_t nbyte); }
+5 AUE_NULL MSTD { int open(char *path, int flags, int mode); }
; XXX should be { int open(const char *path, int flags, ...); }
; but we're not ready for `const' or varargs.
; XXX man page says `mode_t mode'.
-6 MSTD { int close(int fd); }
-7 MSTD { int wait4(int pid, int *status, int options, \
- struct rusage *rusage); } wait4 wait_args int
-8 MCOMPAT { int creat(char *path, int mode); }
-9 MSTD { int link(char *path, char *link); }
-10 MSTD { int unlink(char *path); }
-11 OBSOL execv
-12 MSTD { int chdir(char *path); }
-13 MSTD { int fchdir(int fd); }
-14 MSTD { int mknod(char *path, int mode, int dev); }
-15 MSTD { int chmod(char *path, int mode); }
-16 MSTD { int chown(char *path, int uid, int gid); }
-17 MSTD { int obreak(char *nsize); } break obreak_args int
-18 MCOMPAT4 { int getfsstat(struct ostatfs *buf, long bufsize, int flags); }
-19 MCOMPAT { long lseek(int fd, long offset, int whence); }
-20 MSTD { pid_t getpid(void); }
-21 STD { int mount(char *type, char *path, int flags, caddr_t data); }
+6 AUE_NULL MSTD { int close(int fd); }
+7 AUE_NULL MSTD { int wait4(int pid, int *status, \
+ int options, struct rusage *rusage); } \
+ wait4 wait_args int
+8 AUE_NULL MCOMPAT { int creat(char *path, int mode); }
+9 AUE_NULL MSTD { int link(char *path, char *link); }
+10 AUE_NULL MSTD { int unlink(char *path); }
+11 AUE_NULL OBSOL execv
+12 AUE_NULL MSTD { int chdir(char *path); }
+13 AUE_NULL MSTD { int fchdir(int fd); }
+14 AUE_NULL MSTD { int mknod(char *path, int mode, int dev); }
+15 AUE_NULL MSTD { int chmod(char *path, int mode); }
+16 AUE_NULL MSTD { int chown(char *path, int uid, int gid); }
+17 AUE_NULL MSTD { int obreak(char *nsize); } break \
+ obreak_args int
+18 AUE_NULL MCOMPAT4 { int getfsstat(struct ostatfs *buf, \
+ long bufsize, int flags); }
+19 AUE_NULL MCOMPAT { long lseek(int fd, long offset, \
+ int whence); }
+20 AUE_NULL MSTD { pid_t getpid(void); }
+21 AUE_NULL STD { int mount(char *type, char *path, \
+ int flags, caddr_t data); }
; XXX `path' should have type `const char *' but we're not ready for that.
-22 STD { int unmount(char *path, int flags); }
-23 MSTD { int setuid(uid_t uid); }
-24 MSTD { uid_t getuid(void); }
-25 MSTD { uid_t geteuid(void); }
-26 MSTD { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
-27 MSTD { int recvmsg(int s, struct msghdr *msg, int flags); }
-28 MSTD { int sendmsg(int s, struct msghdr *msg, int flags); }
-29 MSTD { int recvfrom(int s, caddr_t buf, size_t len, int flags, \
- struct sockaddr * __restrict from, \
- __socklen_t * __restrict fromlenaddr); }
-30 MSTD { int accept(int s, struct sockaddr * __restrict name, \
- __socklen_t * __restrict anamelen); }
-31 MSTD { int getpeername(int fdes, struct sockaddr * __restrict asa, \
- __socklen_t * __restrict alen); }
-32 MSTD { int getsockname(int fdes, struct sockaddr * __restrict asa, \
- __socklen_t * __restrict alen); }
-33 MSTD { int access(char *path, int flags); }
-34 MSTD { int chflags(char *path, int flags); }
-35 MSTD { int fchflags(int fd, int flags); }
-36 MSTD { int sync(void); }
-37 MSTD { int kill(int pid, int signum); }
-38 MCOMPAT { int stat(char *path, struct ostat *ub); }
-39 MSTD { pid_t getppid(void); }
-40 MCOMPAT { int lstat(char *path, struct ostat *ub); }
-41 MSTD { int dup(u_int fd); }
-42 MSTD { int pipe(void); }
-43 MSTD { gid_t getegid(void); }
-44 MSTD { int profil(caddr_t samples, size_t size, size_t offset, \
- u_int scale); }
-45 MSTD { int ktrace(const char *fname, int ops, int facs, int pid); }
-46 MCOMPAT { int sigaction(int signum, struct osigaction *nsa, \
- struct osigaction *osa); }
-47 MSTD { gid_t getgid(void); }
-48 MCOMPAT { int sigprocmask(int how, osigset_t mask); }
+22 AUE_NULL STD { int unmount(char *path, int flags); }
+23 AUE_NULL MSTD { int setuid(uid_t uid); }
+24 AUE_NULL MSTD { uid_t getuid(void); }
+25 AUE_NULL MSTD { uid_t geteuid(void); }
+26 AUE_NULL MSTD { int ptrace(int req, pid_t pid, \
+ caddr_t addr, int data); }
+27 AUE_NULL MSTD { int recvmsg(int s, struct msghdr *msg, \
+ int flags); }
+28 AUE_NULL MSTD { int sendmsg(int s, struct msghdr *msg, \
+ int flags); }
+29 AUE_NULL MSTD { int recvfrom(int s, caddr_t buf, \
+ size_t len, int flags, \
+ struct sockaddr * __restrict from, \
+ __socklen_t * __restrict fromlenaddr); }
+30 AUE_NULL MSTD { int accept(int s, \
+ struct sockaddr * __restrict name, \
+ __socklen_t * __restrict anamelen); }
+31 AUE_NULL MSTD { int getpeername(int fdes, \
+ struct sockaddr * __restrict asa, \
+ __socklen_t * __restrict alen); }
+32 AUE_NULL MSTD { int getsockname(int fdes, \
+ struct sockaddr * __restrict asa, \
+ __socklen_t * __restrict alen); }
+33 AUE_NULL MSTD { int access(char *path, int flags); }
+34 AUE_NULL MSTD { int chflags(char *path, int flags); }
+35 AUE_NULL MSTD { int fchflags(int fd, int flags); }
+36 AUE_NULL MSTD { int sync(void); }
+37 AUE_NULL MSTD { int kill(int pid, int signum); }
+38 AUE_NULL MCOMPAT { int stat(char *path, struct ostat *ub); }
+39 AUE_NULL MSTD { pid_t getppid(void); }
+40 AUE_NULL MCOMPAT { int lstat(char *path, struct ostat *ub); }
+41 AUE_NULL MSTD { int dup(u_int fd); }
+42 AUE_NULL MSTD { int pipe(void); }
+43 AUE_NULL MSTD { gid_t getegid(void); }
+44 AUE_NULL MSTD { int profil(caddr_t samples, size_t size, \
+ size_t offset, u_int scale); }
+45 AUE_NULL MSTD { int ktrace(const char *fname, int ops, \
+ int facs, int pid); }
+46 AUE_NULL MCOMPAT { int sigaction(int signum, \
+ struct osigaction *nsa, \
+ struct osigaction *osa); }
+47 AUE_NULL MSTD { gid_t getgid(void); }
+48 AUE_NULL MCOMPAT { int sigprocmask(int how, osigset_t mask); }
; XXX note nonstandard (bogus) calling convention - the libc stub passes
; us the mask, not a pointer to it, and we return the old mask as the
; (int) return value.
-49 MSTD { int getlogin(char *namebuf, u_int namelen); }
-50 MSTD { int setlogin(char *namebuf); }
-51 MSTD { int acct(char *path); }
-52 MCOMPAT { int sigpending(void); }
-53 MSTD { int sigaltstack(stack_t *ss, stack_t *oss); }
-54 MSTD { int ioctl(int fd, u_long com, caddr_t data); }
-55 MSTD { int reboot(int opt); }
-56 MSTD { int revoke(char *path); }
-57 MSTD { int symlink(char *path, char *link); }
-58 MSTD { int readlink(char *path, char *buf, int count); }
-59 MSTD { int execve(char *fname, char **argv, char **envv); }
-60 MSTD { int umask(int newmask); } umask umask_args int
-61 MSTD { int chroot(char *path); }
-62 MCOMPAT { int fstat(int fd, struct ostat *sb); }
-63 MCOMPAT { int getkerninfo(int op, char *where, size_t *size, \
- int arg); } getkerninfo getkerninfo_args int
-64 MCOMPAT { int getpagesize(void); } getpagesize getpagesize_args int
-65 MSTD { int msync(void *addr, size_t len, int flags); }
-66 MSTD { int vfork(void); }
-67 OBSOL vread
-68 OBSOL vwrite
-69 MSTD { int sbrk(int incr); }
-70 MSTD { int sstk(int incr); }
-71 MCOMPAT { int mmap(void *addr, int len, int prot, int flags, int fd, \
- long pos); }
-72 MSTD { int ovadvise(int anom); } vadvise ovadvise_args int
-73 MSTD { int munmap(void *addr, size_t len); }
-74 MSTD { int mprotect(const void *addr, size_t len, int prot); }
-75 MSTD { int madvise(void *addr, size_t len, int behav); }
-76 OBSOL vhangup
-77 OBSOL vlimit
-78 MSTD { int mincore(const void *addr, size_t len, char *vec); }
-79 MSTD { int getgroups(u_int gidsetsize, gid_t *gidset); }
-80 MSTD { int setgroups(u_int gidsetsize, gid_t *gidset); }
-81 MSTD { int getpgrp(void); }
-82 MSTD { int setpgid(int pid, int pgid); }
-83 MSTD { int setitimer(u_int which, struct itimerval *itv, \
- struct itimerval *oitv); }
-84 MCOMPAT { int wait(void); }
-85 MSTD { int swapon(char *name); }
-86 MSTD { int getitimer(u_int which, struct itimerval *itv); }
-87 MCOMPAT { int gethostname(char *hostname, u_int len); } \
- gethostname gethostname_args int
-88 MCOMPAT { int sethostname(char *hostname, u_int len); } \
- sethostname sethostname_args int
-89 MSTD { int getdtablesize(void); }
-90 MSTD { int dup2(u_int from, u_int to); }
-91 UNIMPL getdopt
-92 MSTD { int fcntl(int fd, int cmd, long arg); }
+49 AUE_NULL MSTD { int getlogin(char *namebuf, u_int \
+ namelen); }
+50 AUE_NULL MSTD { int setlogin(char *namebuf); }
+51 AUE_NULL MSTD { int acct(char *path); }
+52 AUE_NULL MCOMPAT { int sigpending(void); }
+53 AUE_NULL MSTD { int sigaltstack(stack_t *ss, \
+ stack_t *oss); }
+54 AUE_NULL MSTD { int ioctl(int fd, u_long com, \
+ caddr_t data); }
+55 AUE_NULL MSTD { int reboot(int opt); }
+56 AUE_NULL MSTD { int revoke(char *path); }
+57 AUE_NULL MSTD { int symlink(char *path, char *link); }
+58 AUE_NULL MSTD { int readlink(char *path, char *buf, \
+ int count); }
+59 AUE_NULL MSTD { int execve(char *fname, char **argv, \
+ char **envv); }
+60 AUE_NULL MSTD { int umask(int newmask); } umask umask_args \
+ int
+61 AUE_NULL MSTD { int chroot(char *path); }
+62 AUE_NULL MCOMPAT { int fstat(int fd, struct ostat *sb); }
+63 AUE_NULL MCOMPAT { int getkerninfo(int op, char *where, \
+ size_t *size, int arg); } getkerninfo \
+ getkerninfo_args int
+64 AUE_NULL MCOMPAT { int getpagesize(void); } getpagesize \
+ getpagesize_args int
+65 AUE_NULL MSTD { int msync(void *addr, size_t len, \
+ int flags); }
+66 AUE_NULL MSTD { int vfork(void); }
+67 AUE_NULL OBSOL vread
+68 AUE_NULL OBSOL vwrite
+69 AUE_NULL MSTD { int sbrk(int incr); }
+70 AUE_NULL MSTD { int sstk(int incr); }
+71 AUE_NULL MCOMPAT { int mmap(void *addr, int len, int prot, \
+ int flags, int fd, long pos); }
+72 AUE_NULL MSTD { int ovadvise(int anom); } vadvise \
+ ovadvise_args int
+73 AUE_NULL MSTD { int munmap(void *addr, size_t len); }
+74 AUE_NULL MSTD { int mprotect(const void *addr, size_t len, \
+ int prot); }
+75 AUE_NULL MSTD { int madvise(void *addr, size_t len, \
+ int behav); }
+76 AUE_NULL OBSOL vhangup
+77 AUE_NULL OBSOL vlimit
+78 AUE_NULL MSTD { int mincore(const void *addr, size_t len, \
+ char *vec); }
+79 AUE_NULL MSTD { int getgroups(u_int gidsetsize, \
+ gid_t *gidset); }
+80 AUE_NULL MSTD { int setgroups(u_int gidsetsize, \
+ gid_t *gidset); }
+81 AUE_NULL MSTD { int getpgrp(void); }
+82 AUE_NULL MSTD { int setpgid(int pid, int pgid); }
+83 AUE_NULL MSTD { int setitimer(u_int which, struct \
+ itimerval *itv, struct itimerval *oitv); }
+84 AUE_NULL MCOMPAT { int wait(void); }
+85 AUE_NULL MSTD { int swapon(char *name); }
+86 AUE_NULL MSTD { int getitimer(u_int which, \
+ struct itimerval *itv); }
+87 AUE_NULL MCOMPAT { int gethostname(char *hostname, \
+ u_int len); } gethostname \
+ gethostname_args int
+88 AUE_NULL MCOMPAT { int sethostname(char *hostname, \
+ u_int len); } sethostname \
+ sethostname_args int
+89 AUE_NULL MSTD { int getdtablesize(void); }
+90 AUE_NULL MSTD { int dup2(u_int from, u_int to); }
+91 AUE_NULL UNIMPL getdopt
+92 AUE_NULL MSTD { int fcntl(int fd, int cmd, long arg); }
; XXX should be { int fcntl(int fd, int cmd, ...); }
; but we're not ready for varargs.
-93 MSTD { int select(int nd, fd_set *in, fd_set *ou, \
- fd_set *ex, struct timeval *tv); }
-94 UNIMPL setdopt
-95 MSTD { int fsync(int fd); }
-96 MSTD { int setpriority(int which, int who, int prio); }
-97 MSTD { int socket(int domain, int type, int protocol); }
-98 MSTD { int connect(int s, caddr_t name, int namelen); }
-99 MCPT_NOA { int accept(int s, caddr_t name, int *anamelen); } \
- accept accept_args int
-100 MSTD { int getpriority(int which, int who); }
-101 MCOMPAT { int send(int s, caddr_t buf, int len, int flags); }
-102 MCOMPAT { int recv(int s, caddr_t buf, int len, int flags); }
-103 MCOMPAT { int sigreturn(struct osigcontext *sigcntxp); }
-104 MSTD { int bind(int s, caddr_t name, int namelen); }
-105 MSTD { int setsockopt(int s, int level, int name, caddr_t val, \
- int valsize); }
-106 MSTD { int listen(int s, int backlog); }
-107 OBSOL vtimes
-108 MCOMPAT { int sigvec(int signum, struct sigvec *nsv, \
- struct sigvec *osv); }
-109 MCOMPAT { int sigblock(int mask); }
-110 MCOMPAT { int sigsetmask(int mask); }
-111 MCOMPAT { int sigsuspend(osigset_t mask); }
+93 AUE_NULL MSTD { int select(int nd, fd_set *in, fd_set *ou, \
+ fd_set *ex, struct timeval *tv); }
+94 AUE_NULL UNIMPL setdopt
+95 AUE_NULL MSTD { int fsync(int fd); }
+96 AUE_NULL MSTD { int setpriority(int which, int who, \
+ int prio); }
+97 AUE_NULL MSTD { int socket(int domain, int type, \
+ int protocol); }
+98 AUE_NULL MSTD { int connect(int s, caddr_t name, \
+ int namelen); }
+99 AUE_NULL MCPT_NOA { int accept(int s, caddr_t name, \
+ int *anamelen); } accept accept_args int
+100 AUE_NULL MSTD { int getpriority(int which, int who); }
+101 AUE_NULL MCOMPAT { int send(int s, caddr_t buf, int len, \
+ int flags); }
+102 AUE_NULL MCOMPAT { int recv(int s, caddr_t buf, int len, \
+ int flags); }
+103 AUE_NULL MCOMPAT { int sigreturn( \
+ struct osigcontext *sigcntxp); }
+104 AUE_NULL MSTD { int bind(int s, caddr_t name, \
+ int namelen); }
+105 AUE_NULL MSTD { int setsockopt(int s, int level, int name, \
+ caddr_t val, int valsize); }
+106 AUE_NULL MSTD { int listen(int s, int backlog); }
+107 AUE_NULL OBSOL vtimes
+108 AUE_NULL MCOMPAT { int sigvec(int signum, struct sigvec *nsv, \
+ struct sigvec *osv); }
+109 AUE_NULL MCOMPAT { int sigblock(int mask); }
+110 AUE_NULL MCOMPAT { int sigsetmask(int mask); }
+111 AUE_NULL MCOMPAT { int sigsuspend(osigset_t mask); }
; XXX note nonstandard (bogus) calling convention - the libc stub passes
; us the mask, not a pointer to it.
-112 MCOMPAT { int sigstack(struct sigstack *nss, struct sigstack *oss); }
-113 MCOMPAT { int recvmsg(int s, struct omsghdr *msg, int flags); }
-114 MCOMPAT { int sendmsg(int s, caddr_t msg, int flags); }
-115 OBSOL vtrace
-116 MSTD { int gettimeofday(struct timeval *tp, struct timezone *tzp); }
-117 MSTD { int getrusage(int who, struct rusage *rusage); }
-118 MSTD { int getsockopt(int s, int level, int name, caddr_t val, \
- int *avalsize); }
-119 UNIMPL resuba (BSD/OS 2.x)
-120 MSTD { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
-121 MSTD { int writev(int fd, struct iovec *iovp, u_int iovcnt); }
-122 MSTD { int settimeofday(struct timeval *tv, struct timezone *tzp); }
-123 MSTD { int fchown(int fd, int uid, int gid); }
-124 MSTD { int fchmod(int fd, int mode); }
-125 MCPT_NOA { int recvfrom(int s, caddr_t buf, size_t len, int flags, \
- caddr_t from, int *fromlenaddr); } \
- recvfrom recvfrom_args int
-126 MSTD { int setreuid(int ruid, int euid); }
-127 MSTD { int setregid(int rgid, int egid); }
-128 MSTD { int rename(char *from, char *to); }
-129 MCOMPAT { int truncate(char *path, long length); }
-130 MCOMPAT { int ftruncate(int fd, long length); }
-131 MSTD { int flock(int fd, int how); }
-132 MSTD { int mkfifo(char *path, int mode); }
-133 MSTD { int sendto(int s, caddr_t buf, size_t len, int flags, \
- caddr_t to, int tolen); }
-134 MSTD { int shutdown(int s, int how); }
-135 MSTD { int socketpair(int domain, int type, int protocol, \
- int *rsv); }
-136 MSTD { int mkdir(char *path, int mode); }
-137 MSTD { int rmdir(char *path); }
-138 MSTD { int utimes(char *path, struct timeval *tptr); }
-139 OBSOL 4.2 sigreturn
-140 MSTD { int adjtime(struct timeval *delta, \
- struct timeval *olddelta); }
-141 MCOMPAT { int getpeername(int fdes, caddr_t asa, int *alen); }
-142 MCOMPAT { long gethostid(void); }
-143 MCOMPAT { int sethostid(long hostid); }
-144 MCOMPAT { int getrlimit(u_int which, struct orlimit *rlp); }
-145 MCOMPAT { int setrlimit(u_int which, struct orlimit *rlp); }
-146 MCOMPAT { int killpg(int pgid, int signum); }
-147 MSTD { int setsid(void); }
-148 MSTD { int quotactl(char *path, int cmd, int uid, caddr_t arg); }
-149 MCOMPAT { int quota(void); }
-150 MCPT_NOA { int getsockname(int fdec, caddr_t asa, int *alen); }\
- getsockname getsockname_args int
+112 AUE_NULL MCOMPAT { int sigstack(struct sigstack *nss, \
+ struct sigstack *oss); }
+113 AUE_NULL MCOMPAT { int recvmsg(int s, struct omsghdr *msg, \
+ int flags); }
+114 AUE_NULL MCOMPAT { int sendmsg(int s, caddr_t msg, \
+ int flags); }
+115 AUE_NULL OBSOL vtrace
+116 AUE_NULL MSTD { int gettimeofday(struct timeval *tp, \
+ struct timezone *tzp); }
+117 AUE_NULL MSTD { int getrusage(int who, \
+ struct rusage *rusage); }
+118 AUE_NULL MSTD { 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 MSTD { int readv(int fd, struct iovec *iovp, \
+ u_int iovcnt); }
+121 AUE_NULL MSTD { int writev(int fd, struct iovec *iovp, \
+ u_int iovcnt); }
+122 AUE_NULL MSTD { int settimeofday(struct timeval *tv, \
+ struct timezone *tzp); }
+123 AUE_NULL MSTD { int fchown(int fd, int uid, int gid); }
+124 AUE_NULL MSTD { int fchmod(int fd, int mode); }
+125 AUE_NULL MCPT_NOA { int recvfrom(int s, caddr_t buf, \
+ size_t len, int flags, caddr_t from, int \
+ *fromlenaddr); } recvfrom recvfrom_args \
+ int
+126 AUE_NULL MSTD { int setreuid(int ruid, int euid); }
+127 AUE_NULL MSTD { int setregid(int rgid, int egid); }
+128 AUE_NULL MSTD { int rename(char *from, char *to); }
+129 AUE_NULL MCOMPAT { int truncate(char *path, long length); }
+130 AUE_NULL MCOMPAT { int ftruncate(int fd, long length); }
+131 AUE_NULL MSTD { int flock(int fd, int how); }
+132 AUE_NULL MSTD { int mkfifo(char *path, int mode); }
+133 AUE_NULL MSTD { int sendto(int s, caddr_t buf, size_t len, \
+ int flags, caddr_t to, int tolen); }
+134 AUE_NULL MSTD { int shutdown(int s, int how); }
+135 AUE_NULL MSTD { int socketpair(int domain, int type, \
+ int protocol, int *rsv); }
+136 AUE_NULL MSTD { int mkdir(char *path, int mode); }
+137 AUE_NULL MSTD { int rmdir(char *path); }
+138 AUE_NULL MSTD { int utimes(char *path, \
+ struct timeval *tptr); }
+139 AUE_NULL OBSOL 4.2 sigreturn
+140 AUE_NULL MSTD { int adjtime(struct timeval *delta, \
+ struct timeval *olddelta); }
+141 AUE_NULL MCOMPAT { int getpeername(int fdes, caddr_t asa, \
+ int *alen); }
+142 AUE_NULL MCOMPAT { long gethostid(void); }
+143 AUE_NULL MCOMPAT { int sethostid(long hostid); }
+144 AUE_NULL MCOMPAT { int getrlimit(u_int which, struct \
+ orlimit *rlp); }
+145 AUE_NULL MCOMPAT { int setrlimit(u_int which, \
+ struct orlimit *rlp); }
+146 AUE_NULL MCOMPAT { int killpg(int pgid, int signum); }
+147 AUE_NULL MSTD { int setsid(void); }
+148 AUE_NULL MSTD { int quotactl(char *path, int cmd, int uid, \
+ caddr_t arg); }
+149 AUE_NULL MCOMPAT { int quota(void); }
+150 AUE_NULL MCPT_NOA { int getsockname(int fdec, \
+ caddr_t asa, int *alen); } getsockname \
+ getsockname_args int
; Syscalls 151-180 inclusive are reserved for vendor-specific
; system calls. (This includes various calls added for compatibity
; with other Unix variants.)
; Some of these calls are now supported by BSD...
-151 UNIMPL sem_lock (BSD/OS 2.x)
-152 UNIMPL sem_wakeup (BSD/OS 2.x)
-153 UNIMPL asyncdaemon (BSD/OS 2.x)
-154 UNIMPL nosys
+151 AUE_NULL UNIMPL sem_lock (BSD/OS 2.x)
+152 AUE_NULL UNIMPL sem_wakeup (BSD/OS 2.x)
+153 AUE_NULL UNIMPL asyncdaemon (BSD/OS 2.x)
+154 AUE_NULL UNIMPL nosys
; 155 is initialized by the NFS code, if present.
-155 MNOIMPL { int nfssvc(int flag, caddr_t argp); }
-156 COMPAT { int getdirentries(int fd, char *buf, u_int count, \
- long *basep); }
-157 MCOMPAT4 { int statfs(char *path, struct ostatfs *buf); }
-158 MCOMPAT4 { int fstatfs(int fd, struct ostatfs *buf); }
-159 UNIMPL nosys
-160 MSTD { int lgetfh(char *fname, struct fhandle *fhp); }
-161 MSTD { int getfh(char *fname, struct fhandle *fhp); }
-162 MSTD { int getdomainname(char *domainname, int len); }
-163 MSTD { int setdomainname(char *domainname, int len); }
-164 MSTD { int uname(struct utsname *name); }
-165 MSTD { int sysarch(int op, char *parms); }
-166 MSTD { int rtprio(int function, pid_t pid, struct rtprio *rtp); }
-167 UNIMPL nosys
-168 UNIMPL nosys
+155 AUE_NULL MNOIMPL { int nfssvc(int flag, caddr_t argp); }
+156 AUE_NULL COMPAT { int getdirentries(int fd, char *buf, \
+ u_int count, long *basep); }
+157 AUE_NULL MCOMPAT4 { int statfs(char *path, \
+ struct ostatfs *buf); }
+158 AUE_NULL MCOMPAT4 { int fstatfs(int fd, \
+ struct ostatfs *buf); }
+159 AUE_NULL UNIMPL nosys
+160 AUE_NULL MSTD { int lgetfh(char *fname, \
+ struct fhandle *fhp); }
+161 AUE_NULL MSTD { int getfh(char *fname, \
+ struct fhandle *fhp); }
+162 AUE_NULL MSTD { int getdomainname(char *domainname, \
+ int len); }
+163 AUE_NULL MSTD { int setdomainname(char *domainname, \
+ int len); }
+164 AUE_NULL MSTD { int uname(struct utsname *name); }
+165 AUE_NULL MSTD { int sysarch(int op, char *parms); }
+166 AUE_NULL MSTD { int rtprio(int function, pid_t pid, \
+ struct rtprio *rtp); }
+167 AUE_NULL UNIMPL nosys
+168 AUE_NULL UNIMPL nosys
; 169 is initialized by the SYSVSEM code if present or loaded
-169 MNOSTD { int semsys(int which, int a2, int a3, int a4, int a5); }
+169 AUE_NULL MNOSTD { int semsys(int which, int a2, int a3, \
+ int a4, int a5); }
; 169 is initialized by the SYSVMSG code if present or loaded
; XXX should be { int semsys(int which, ...); }
-170 MNOSTD { int msgsys(int which, int a2, int a3, int a4, int a5, \
- int a6); }
+170 AUE_NULL MNOSTD { int msgsys(int which, int a2, int a3, \
+ int a4, int a5, int a6); }
; 169 is initialized by the SYSVSHM code if present or loaded
; XXX should be { int msgsys(int which, ...); }
-171 MNOSTD { int shmsys(int which, int a2, int a3, int a4); }
+171 AUE_NULL MNOSTD { int shmsys(int which, int a2, int a3, \
+ int a4); }
; XXX should be { int shmsys(int which, ...); }
-172 UNIMPL nosys
-173 MSTD { ssize_t pread(int fd, void *buf, size_t nbyte, \
- int pad, off_t offset); }
-174 MSTD { ssize_t pwrite(int fd, const void *buf, \
- size_t nbyte, int pad, off_t offset); }
-175 UNIMPL nosys
-176 MSTD { int ntp_adjtime(struct timex *tp); }
-177 UNIMPL sfork (BSD/OS 2.x)
-178 UNIMPL getdescriptor (BSD/OS 2.x)
-179 UNIMPL setdescriptor (BSD/OS 2.x)
-180 UNIMPL nosys
+172 AUE_NULL UNIMPL nosys
+173 AUE_NULL MSTD { ssize_t pread(int fd, void *buf, \
+ size_t nbyte, int pad, off_t offset); }
+174 AUE_NULL MSTD { ssize_t pwrite(int fd, const void *buf, \
+ size_t nbyte, int pad, off_t offset); }
+175 AUE_NULL UNIMPL nosys
+176 AUE_NULL MSTD { int ntp_adjtime(struct timex *tp); }
+177 AUE_NULL UNIMPL sfork (BSD/OS 2.x)
+178 AUE_NULL UNIMPL getdescriptor (BSD/OS 2.x)
+179 AUE_NULL UNIMPL setdescriptor (BSD/OS 2.x)
+180 AUE_NULL UNIMPL nosys
; Syscalls 181-199 are used by/reserved for BSD
-181 MSTD { int setgid(gid_t gid); }
-182 MSTD { int setegid(gid_t egid); }
-183 MSTD { int seteuid(uid_t euid); }
-184 UNIMPL lfs_bmapv
-185 UNIMPL lfs_markv
-186 UNIMPL lfs_segclean
-187 UNIMPL lfs_segwait
-188 MSTD { int stat(char *path, struct stat *ub); }
-189 MSTD { int fstat(int fd, struct stat *sb); }
-190 MSTD { int lstat(char *path, struct stat *ub); }
-191 MSTD { int pathconf(char *path, int name); }
-192 MSTD { int fpathconf(int fd, int name); }
-193 UNIMPL nosys
-194 MSTD { int getrlimit(u_int which, struct rlimit *rlp); } \
- getrlimit __getrlimit_args int
-195 MSTD { int setrlimit(u_int which, struct rlimit *rlp); } \
- setrlimit __setrlimit_args int
-196 MSTD { int getdirentries(int fd, char *buf, u_int count, \
- long *basep); }
-197 MSTD { caddr_t mmap(caddr_t addr, size_t len, int prot, \
- int flags, int fd, int pad, off_t pos); }
-198 MSTD { int nosys(void); } __syscall __syscall_args int
-199 MSTD { off_t lseek(int fd, int pad, off_t offset, int whence); }
-200 MSTD { int truncate(char *path, int pad, off_t length); }
-201 MSTD { int ftruncate(int fd, int pad, off_t length); }
-202 MSTD { int __sysctl(int *name, u_int namelen, void *old, \
- size_t *oldlenp, void *new, size_t newlen); } \
- __sysctl sysctl_args int
-203 MSTD { int mlock(const void *addr, size_t len); }
-204 MSTD { int munlock(const void *addr, size_t len); }
-205 MSTD { int undelete(char *path); }
-206 MSTD { int futimes(int fd, struct timeval *tptr); }
-207 MSTD { int getpgid(pid_t pid); }
-208 UNIMPL newreboot (NetBSD)
-209 MSTD { int poll(struct pollfd *fds, u_int nfds, int timeout); }
+181 AUE_NULL MSTD { int setgid(gid_t gid); }
+182 AUE_NULL MSTD { int setegid(gid_t egid); }
+183 AUE_NULL MSTD { int seteuid(uid_t euid); }
+184 AUE_NULL UNIMPL lfs_bmapv
+185 AUE_NULL UNIMPL lfs_markv
+186 AUE_NULL UNIMPL lfs_segclean
+187 AUE_NULL UNIMPL lfs_segwait
+188 AUE_NULL MSTD { int stat(char *path, struct stat *ub); }
+189 AUE_NULL MSTD { int fstat(int fd, struct stat *sb); }
+190 AUE_NULL MSTD { int lstat(char *path, struct stat *ub); }
+191 AUE_NULL MSTD { int pathconf(char *path, int name); }
+192 AUE_NULL MSTD { int fpathconf(int fd, int name); }
+193 AUE_NULL UNIMPL nosys
+194 AUE_NULL MSTD { int getrlimit(u_int which, \
+ struct rlimit *rlp); } getrlimit \
+ __getrlimit_args int
+195 AUE_NULL MSTD { int setrlimit(u_int which, \
+ struct rlimit *rlp); } setrlimit \
+ __setrlimit_args int
+196 AUE_NULL MSTD { int getdirentries(int fd, char *buf, \
+ u_int count, long *basep); }
+197 AUE_NULL MSTD { caddr_t mmap(caddr_t addr, size_t len, \
+ int prot, int flags, int fd, int pad, \
+ off_t pos); }
+198 AUE_NULL MSTD { int nosys(void); } __syscall \
+ __syscall_args int
+199 AUE_NULL MSTD { off_t lseek(int fd, int pad, off_t offset, \
+ int whence); }
+200 AUE_NULL MSTD { int truncate(char *path, int pad, \
+ off_t length); }
+201 AUE_NULL MSTD { int ftruncate(int fd, int pad, \
+ off_t length); }
+202 AUE_NULL MSTD { int __sysctl(int *name, u_int namelen, \
+ void *old, size_t *oldlenp, void *new, \
+ size_t newlen); } __sysctl sysctl_args int
+203 AUE_NULL MSTD { int mlock(const void *addr, size_t len); }
+204 AUE_NULL MSTD { int munlock(const void *addr, size_t len); }
+205 AUE_NULL MSTD { int undelete(char *path); }
+206 AUE_NULL MSTD { int futimes(int fd, struct timeval *tptr); }
+207 AUE_NULL MSTD { int getpgid(pid_t pid); }
+208 AUE_NULL UNIMPL newreboot (NetBSD)
+209 AUE_NULL MSTD { int poll(struct pollfd *fds, u_int nfds, \
+ int timeout); }
;
; The following are reserved for loadable syscalls
;
-210 NODEF lkmnosys lkmnosys nosys_args int
-211 NODEF lkmnosys lkmnosys nosys_args int
-212 NODEF lkmnosys lkmnosys nosys_args int
-213 NODEF lkmnosys lkmnosys nosys_args int
-214 NODEF lkmnosys lkmnosys nosys_args int
-215 NODEF lkmnosys lkmnosys nosys_args int
-216 NODEF lkmnosys lkmnosys nosys_args int
-217 NODEF lkmnosys lkmnosys nosys_args int
-218 NODEF lkmnosys lkmnosys nosys_args int
-219 NODEF lkmnosys lkmnosys nosys_args int
+210 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
+211 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
+212 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
+213 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
+214 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
+215 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
+216 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
+217 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
+218 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
+219 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
;
; The following were introduced with NetBSD/4.4Lite-2
; They are initialized by their respective modules/sysinits
-220 MNOSTD { int __semctl(int semid, int semnum, int cmd, \
- union semun *arg); }
-221 MNOSTD { int semget(key_t key, int nsems, int semflg); }
-222 MNOSTD { int semop(int semid, struct sembuf *sops, size_t nsops); }
-223 UNIMPL semconfig
-224 MNOSTD { int msgctl(int msqid, int cmd, struct msqid_ds *buf); }
-225 MNOSTD { int msgget(key_t key, int msgflg); }
-226 MNOSTD { int msgsnd(int msqid, const void *msgp, size_t msgsz, \
- int msgflg); }
-227 MNOSTD { int msgrcv(int msqid, void *msgp, size_t msgsz, \
- long msgtyp, int msgflg); }
-228 MNOSTD { int shmat(int shmid, const void *shmaddr, int shmflg); }
-229 MNOSTD { int shmctl(int shmid, int cmd, struct shmid_ds *buf); }
-230 MNOSTD { int shmdt(const void *shmaddr); }
-231 MNOSTD { int shmget(key_t key, size_t size, int shmflg); }
+220 AUE_NULL MNOSTD { int __semctl(int semid, int semnum, \
+ int cmd, union semun *arg); }
+221 AUE_NULL MNOSTD { int semget(key_t key, int nsems, \
+ int semflg); }
+222 AUE_NULL MNOSTD { int semop(int semid, struct sembuf *sops, \
+ size_t nsops); }
+223 AUE_NULL UNIMPL semconfig
+224 AUE_NULL MNOSTD { int msgctl(int msqid, int cmd, \
+ struct msqid_ds *buf); }
+225 AUE_NULL MNOSTD { int msgget(key_t key, int msgflg); }
+226 AUE_NULL MNOSTD { int msgsnd(int msqid, const void *msgp, \
+ size_t msgsz, int msgflg); }
+227 AUE_NULL MNOSTD { int msgrcv(int msqid, void *msgp, \
+ size_t msgsz, long msgtyp, int msgflg); }
+228 AUE_NULL MNOSTD { int shmat(int shmid, const void *shmaddr, \
+ int shmflg); }
+229 AUE_NULL MNOSTD { int shmctl(int shmid, int cmd, \
+ struct shmid_ds *buf); }
+230 AUE_NULL MNOSTD { int shmdt(const void *shmaddr); }
+231 AUE_NULL MNOSTD { int shmget(key_t key, size_t size, \
+ int shmflg); }
;
-232 MSTD { int clock_gettime(clockid_t clock_id, struct timespec *tp); }
-233 MSTD { int clock_settime(clockid_t clock_id, \
- const struct timespec *tp); }
-234 MSTD { int clock_getres(clockid_t clock_id, struct timespec *tp); }
-235 UNIMPL timer_create
-236 UNIMPL timer_delete
-237 UNIMPL timer_settime
-238 UNIMPL timer_gettime
-239 UNIMPL timer_getoverrun
-240 MSTD { int nanosleep(const struct timespec *rqtp, \
- struct timespec *rmtp); }
-241 UNIMPL nosys
-242 UNIMPL nosys
-243 UNIMPL nosys
-244 UNIMPL nosys
-245 UNIMPL nosys
-246 UNIMPL nosys
-247 UNIMPL nosys
-248 MSTD { int ntp_gettime(struct ntptimeval *ntvp); }
-249 UNIMPL nosys
+232 AUE_NULL MSTD { int clock_gettime(clockid_t clock_id, \
+ struct timespec *tp); }
+233 AUE_NULL MSTD { int clock_settime(clockid_t clock_id, \
+ const struct timespec *tp); }
+234 AUE_NULL MSTD { int clock_getres(clockid_t clock_id, \
+ struct timespec *tp); }
+235 AUE_NULL UNIMPL timer_create
+236 AUE_NULL UNIMPL timer_delete
+237 AUE_NULL UNIMPL timer_settime
+238 AUE_NULL UNIMPL timer_gettime
+239 AUE_NULL UNIMPL timer_getoverrun
+240 AUE_NULL MSTD { int nanosleep(const struct timespec *rqtp, \
+ struct timespec *rmtp); }
+241 AUE_NULL UNIMPL nosys
+242 AUE_NULL UNIMPL nosys
+243 AUE_NULL UNIMPL nosys
+244 AUE_NULL UNIMPL nosys
+245 AUE_NULL UNIMPL nosys
+246 AUE_NULL UNIMPL nosys
+247 AUE_NULL UNIMPL nosys
+248 AUE_NULL MSTD { int ntp_gettime(struct ntptimeval *ntvp); }
+249 AUE_NULL UNIMPL nosys
; syscall numbers initially used in OpenBSD
-250 MSTD { int minherit(void *addr, size_t len, int inherit); }
-251 MSTD { int rfork(int flags); }
-252 MSTD { int openbsd_poll(struct pollfd *fds, u_int nfds, \
- int timeout); }
-253 MSTD { int issetugid(void); }
-254 MSTD { int lchown(char *path, int uid, int gid); }
-255 UNIMPL nosys
-256 UNIMPL nosys
-257 UNIMPL nosys
-258 UNIMPL nosys
-259 UNIMPL nosys
-260 UNIMPL nosys
-261 UNIMPL nosys
-262 UNIMPL nosys
-263 UNIMPL nosys
-264 UNIMPL nosys
-265 UNIMPL nosys
-266 UNIMPL nosys
-267 UNIMPL nosys
-268 UNIMPL nosys
-269 UNIMPL nosys
-270 UNIMPL nosys
-271 UNIMPL nosys
-272 MSTD { int getdents(int fd, char *buf, size_t count); }
-273 UNIMPL nosys
-274 MSTD { int lchmod(char *path, mode_t mode); }
-275 NOPROTO { int lchown(char *path, uid_t uid, gid_t gid); } \
- netbsd_lchown lchown_args int
-276 MSTD { int lutimes(char *path, struct timeval *tptr); }
-277 MNOPROTO { int msync(void *addr, size_t len, int flags); } \
- netbsd_msync msync_args int
-278 MSTD { int nstat(char *path, struct nstat *ub); }
-279 MSTD { int nfstat(int fd, struct nstat *sb); }
-280 MSTD { int nlstat(char *path, struct nstat *ub); }
-281 UNIMPL nosys
-282 UNIMPL nosys
-283 UNIMPL nosys
-284 UNIMPL nosys
-285 UNIMPL nosys
-286 UNIMPL nosys
-287 UNIMPL nosys
-288 UNIMPL nosys
-289 UNIMPL nosys
-290 UNIMPL nosys
-291 UNIMPL nosys
-292 UNIMPL nosys
-293 UNIMPL nosys
-294 UNIMPL nosys
-295 UNIMPL nosys
-296 UNIMPL nosys
+250 AUE_NULL MSTD { int minherit(void *addr, size_t len, \
+ int inherit); }
+251 AUE_NULL MSTD { int rfork(int flags); }
+252 AUE_NULL MSTD { int openbsd_poll(struct pollfd *fds, \
+ u_int nfds, int timeout); }
+253 AUE_NULL MSTD { int issetugid(void); }
+254 AUE_NULL MSTD { int lchown(char *path, int uid, int gid); }
+255 AUE_NULL UNIMPL nosys
+256 AUE_NULL UNIMPL nosys
+257 AUE_NULL UNIMPL nosys
+258 AUE_NULL UNIMPL nosys
+259 AUE_NULL UNIMPL nosys
+260 AUE_NULL UNIMPL nosys
+261 AUE_NULL UNIMPL nosys
+262 AUE_NULL UNIMPL nosys
+263 AUE_NULL UNIMPL nosys
+264 AUE_NULL UNIMPL nosys
+265 AUE_NULL UNIMPL nosys
+266 AUE_NULL UNIMPL nosys
+267 AUE_NULL UNIMPL nosys
+268 AUE_NULL UNIMPL nosys
+269 AUE_NULL UNIMPL nosys
+270 AUE_NULL UNIMPL nosys
+271 AUE_NULL UNIMPL nosys
+272 AUE_NULL MSTD { int getdents(int fd, char *buf, \
+ size_t count); }
+273 AUE_NULL UNIMPL nosys
+274 AUE_NULL MSTD { int lchmod(char *path, mode_t mode); }
+275 AUE_NULL NOPROTO { int lchown(char *path, uid_t uid, \
+ gid_t gid); } netbsd_lchown lchown_args \
+ int
+276 AUE_NULL MSTD { 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 MSTD { int nstat(char *path, struct nstat *ub); }
+279 AUE_NULL MSTD { int nfstat(int fd, struct nstat *sb); }
+280 AUE_NULL MSTD { int nlstat(char *path, struct nstat *ub); }
+281 AUE_NULL UNIMPL nosys
+282 AUE_NULL UNIMPL nosys
+283 AUE_NULL UNIMPL nosys
+284 AUE_NULL UNIMPL nosys
+285 AUE_NULL UNIMPL nosys
+286 AUE_NULL UNIMPL nosys
+287 AUE_NULL UNIMPL nosys
+288 AUE_NULL UNIMPL nosys
+289 AUE_NULL UNIMPL nosys
+290 AUE_NULL UNIMPL nosys
+291 AUE_NULL UNIMPL nosys
+292 AUE_NULL UNIMPL nosys
+293 AUE_NULL UNIMPL nosys
+294 AUE_NULL UNIMPL nosys
+295 AUE_NULL UNIMPL nosys
+296 AUE_NULL UNIMPL nosys
; XXX 297 is 300 in NetBSD
-297 MCOMPAT4 { int fhstatfs(const struct fhandle *u_fhp, \
- struct ostatfs *buf); }
-298 MSTD { int fhopen(const struct fhandle *u_fhp, int flags); }
-299 MSTD { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
+297 AUE_NULL MCOMPAT4 { int fhstatfs( \
+ const struct fhandle *u_fhp, \
+ struct ostatfs *buf); }
+298 AUE_NULL MSTD { int fhopen(const struct fhandle *u_fhp, \
+ int flags); }
+299 AUE_NULL MSTD { int fhstat(const struct fhandle *u_fhp, \
+ struct stat *sb); }
; syscall numbers for FreeBSD
-300 MSTD { int modnext(int modid); }
-301 MSTD { int modstat(int modid, struct module_stat* stat); }
-302 MSTD { int modfnext(int modid); }
-303 MSTD { int modfind(const char *name); }
-304 MSTD { int kldload(const char *file); }
-305 MSTD { int kldunload(int fileid); }
-306 MSTD { int kldfind(const char *file); }
-307 MSTD { int kldnext(int fileid); }
-308 MSTD { int kldstat(int fileid, struct kld_file_stat* stat); }
-309 MSTD { int kldfirstmod(int fileid); }
-310 MSTD { int getsid(pid_t pid); }
-311 MSTD { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
-312 MSTD { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
-313 OBSOL signanosleep
-314 NOSTD { int aio_return(struct aiocb *aiocbp); }
-315 NOSTD { int aio_suspend(struct aiocb * const * aiocbp, int nent, \
- const struct timespec *timeout); }
-316 NOSTD { int aio_cancel(int fd, struct aiocb *aiocbp); }
-317 NOSTD { int aio_error(struct aiocb *aiocbp); }
-318 NOSTD { int aio_read(struct aiocb *aiocbp); }
-319 NOSTD { int aio_write(struct aiocb *aiocbp); }
-320 NOSTD { int lio_listio(int mode, struct aiocb * const *acb_list, \
- int nent, struct sigevent *sig); }
-321 MSTD { int yield(void); }
-322 OBSOL thr_sleep
-323 OBSOL thr_wakeup
-324 MSTD { int mlockall(int how); }
-325 MSTD { int munlockall(void); }
-326 MSTD { int __getcwd(u_char *buf, u_int buflen); }
+300 AUE_NULL MSTD { int modnext(int modid); }
+301 AUE_NULL MSTD { int modstat(int modid, \
+ struct module_stat *stat); }
+302 AUE_NULL MSTD { int modfnext(int modid); }
+303 AUE_NULL MSTD { int modfind(const char *name); }
+304 AUE_NULL MSTD { int kldload(const char *file); }
+305 AUE_NULL MSTD { int kldunload(int fileid); }
+306 AUE_NULL MSTD { int kldfind(const char *file); }
+307 AUE_NULL MSTD { int kldnext(int fileid); }
+308 AUE_NULL MSTD { int kldstat(int fileid, struct \
+ kld_file_stat* stat); }
+309 AUE_NULL MSTD { int kldfirstmod(int fileid); }
+310 AUE_NULL MSTD { int getsid(pid_t pid); }
+311 AUE_NULL MSTD { int setresuid(uid_t ruid, uid_t euid, \
+ uid_t suid); }
+312 AUE_NULL MSTD { int setresgid(gid_t rgid, gid_t egid, \
+ gid_t sgid); }
+313 AUE_NULL OBSOL signanosleep
+314 AUE_NULL NOSTD { int aio_return(struct aiocb *aiocbp); }
+315 AUE_NULL NOSTD { int aio_suspend( \
+ struct aiocb * const * aiocbp, int nent, \
+ const struct timespec *timeout); }
+316 AUE_NULL NOSTD { int aio_cancel(int fd, \
+ struct aiocb *aiocbp); }
+317 AUE_NULL NOSTD { int aio_error(struct aiocb *aiocbp); }
+318 AUE_NULL NOSTD { int aio_read(struct aiocb *aiocbp); }
+319 AUE_NULL NOSTD { int aio_write(struct aiocb *aiocbp); }
+320 AUE_NULL NOSTD { int lio_listio(int mode, \
+ struct aiocb * const *acb_list, \
+ int nent, struct sigevent *sig); }
+321 AUE_NULL MSTD { int yield(void); }
+322 AUE_NULL OBSOL thr_sleep
+323 AUE_NULL OBSOL thr_wakeup
+324 AUE_NULL MSTD { int mlockall(int how); }
+325 AUE_NULL MSTD { int munlockall(void); }
+326 AUE_NULL MSTD { int __getcwd(u_char *buf, u_int buflen); }
-327 MSTD { int sched_setparam (pid_t pid, \
- const struct sched_param *param); }
-328 MSTD { int sched_getparam (pid_t pid, struct sched_param *param); }
+327 AUE_NULL MSTD { int sched_setparam (pid_t pid, \
+ const struct sched_param *param); }
+328 AUE_NULL MSTD { int sched_getparam (pid_t pid, struct \
+ sched_param *param); }
-329 MSTD { int sched_setscheduler (pid_t pid, int policy, \
- const struct sched_param *param); }
-330 MSTD { int sched_getscheduler (pid_t pid); }
+329 AUE_NULL MSTD { int sched_setscheduler (pid_t pid, int \
+ policy, const struct sched_param \
+ *param); }
+330 AUE_NULL MSTD { int sched_getscheduler (pid_t pid); }
-331 MSTD { int sched_yield (void); }
-332 MSTD { int sched_get_priority_max (int policy); }
-333 MSTD { int sched_get_priority_min (int policy); }
-334 MSTD { int sched_rr_get_interval (pid_t pid, \
- struct timespec *interval); }
-335 MSTD { int utrace(const void *addr, size_t len); }
-336 MCOMPAT4 { int sendfile(int fd, int s, off_t offset, size_t nbytes, \
- struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
-337 MSTD { int kldsym(int fileid, int cmd, void *data); }
-338 MSTD { int jail(struct jail *jail); }
-339 UNIMPL pioctl
-340 MSTD { int sigprocmask(int how, const sigset_t *set, \
- sigset_t *oset); }
-341 MSTD { int sigsuspend(const sigset_t *sigmask); }
-342 MCOMPAT4 { int sigaction(int sig, const struct sigaction *act, \
- struct sigaction *oact); }
-343 MSTD { int sigpending(sigset_t *set); }
-344 MCOMPAT4 { int sigreturn(const struct ucontext4 *sigcntxp); }
-345 MSTD { int sigtimedwait(const sigset_t *set, \
- siginfo_t *info, const struct timespec *timeout); }
-346 MSTD { int sigwaitinfo(const sigset_t *set, siginfo_t *info); }
-347 MSTD { int __acl_get_file(const char *path, \
- acl_type_t type, struct acl *aclp); }
-348 MSTD { int __acl_set_file(const char *path, \
- acl_type_t type, struct acl *aclp); }
-349 MSTD { int __acl_get_fd(int filedes, acl_type_t type, \
- struct acl *aclp); }
-350 MSTD { int __acl_set_fd(int filedes, acl_type_t type, \
- struct acl *aclp); }
-351 MSTD { int __acl_delete_file(const char *path, acl_type_t type); }
-352 MSTD { int __acl_delete_fd(int filedes, acl_type_t type); }
-353 MSTD { int __acl_aclcheck_file(const char *path, \
- acl_type_t type, struct acl *aclp); }
-354 MSTD { int __acl_aclcheck_fd(int filedes, acl_type_t type, \
- struct acl *aclp); }
-355 STD { int extattrctl(const char *path, int cmd, \
- const char *filename, int attrnamespace, \
- const char *attrname); }
-356 STD { int extattr_set_file(const char *path, \
- int attrnamespace, const char *attrname, \
- void *data, size_t nbytes); }
-357 STD { ssize_t extattr_get_file(const char *path, \
- int attrnamespace, const char *attrname, \
- void *data, size_t nbytes); }
-358 STD { int extattr_delete_file(const char *path, \
- int attrnamespace, const char *attrname); }
-359 NOSTD { int aio_waitcomplete(struct aiocb **aiocbp, \
- struct timespec *timeout); }
-360 MSTD { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
-361 MSTD { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
-362 MSTD { int kqueue(void); }
-363 MSTD { int kevent(int fd, \
- struct kevent *changelist, int nchanges, \
- struct kevent *eventlist, int nevents, \
- const struct timespec *timeout); }
-364 UNIMPL __cap_get_proc
-365 UNIMPL __cap_set_proc
-366 UNIMPL __cap_get_fd
-367 UNIMPL __cap_get_file
-368 UNIMPL __cap_set_fd
-369 UNIMPL __cap_set_file
-370 NODEF lkmressys lkmressys nosys_args int
-371 STD { int extattr_set_fd(int fd, int attrnamespace, \
- const char *attrname, void *data, \
- size_t nbytes); }
-372 STD { ssize_t extattr_get_fd(int fd, int attrnamespace, \
- const char *attrname, void *data, size_t nbytes); }
-373 STD { int extattr_delete_fd(int fd, int attrnamespace, \
- const char *attrname); }
-374 MSTD { int __setugid(int flag); }
-375 NOIMPL { int nfsclnt(int flag, caddr_t argp); }
-376 MSTD { int eaccess(char *path, int flags); }
-377 UNIMPL afs_syscall
-378 STD { int nmount(struct iovec *iovp, unsigned int iovcnt, \
- int flags); }
-379 MSTD { int kse_exit(void); }
-380 MSTD { int kse_wakeup(struct kse_mailbox *mbx); }
-381 MSTD { int kse_create(struct kse_mailbox *mbx, \
- int newgroup); }
-382 MSTD { int kse_thr_interrupt(struct kse_thr_mailbox *tmbx, int cmd, \
- long data); }
-383 MSTD { int kse_release(struct timespec *timeout); }
-384 MSTD { int __mac_get_proc(struct mac *mac_p); }
-385 MSTD { int __mac_set_proc(struct mac *mac_p); }
-386 MSTD { int __mac_get_fd(int fd, struct mac *mac_p); }
-387 MSTD { int __mac_get_file(const char *path_p, \
- struct mac *mac_p); }
-388 MSTD { int __mac_set_fd(int fd, struct mac *mac_p); }
-389 MSTD { int __mac_set_file(const char *path_p, \
- struct mac *mac_p); }
-390 MSTD { int kenv(int what, const char *name, char *value, \
- int len); }
-391 MSTD { int lchflags(const char *path, int flags); }
-392 MSTD { int uuidgen(struct uuid *store, int count); }
-393 MSTD { int sendfile(int fd, int s, off_t offset, size_t nbytes, \
- struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
-394 MSTD { int mac_syscall(const char *policy, int call, \
- void *arg); }
-395 MSTD { int getfsstat(struct statfs *buf, long bufsize, \
- int flags); }
-396 MSTD { int statfs(char *path, struct statfs *buf); }
-397 MSTD { int fstatfs(int fd, struct statfs *buf); }
-398 MSTD { int fhstatfs(const struct fhandle *u_fhp, \
- struct statfs *buf); }
-399 UNIMPL nosys
-400 MNOSTD { int ksem_close(semid_t id); }
-401 MNOSTD { int ksem_post(semid_t id); }
-402 MNOSTD { int ksem_wait(semid_t id); }
-403 MNOSTD { int ksem_trywait(semid_t id); }
-404 MNOSTD { int ksem_init(semid_t *idp, unsigned int value); }
-405 MNOSTD { int ksem_open(semid_t *idp, const char *name, \
- int oflag, mode_t mode, unsigned int value); }
-406 MNOSTD { int ksem_unlink(const char *name); }
-407 MNOSTD { int ksem_getvalue(semid_t id, int *val); }
-408 MNOSTD { int ksem_destroy(semid_t id); }
-409 MSTD { int __mac_get_pid(pid_t pid, struct mac *mac_p); }
-410 MSTD { int __mac_get_link(const char *path_p, \
- struct mac *mac_p); }
-411 MSTD { int __mac_set_link(const char *path_p, \
- struct mac *mac_p); }
-412 STD { int extattr_set_link(const char *path, \
- int attrnamespace, const char *attrname, \
- void *data, size_t nbytes); }
-413 STD { ssize_t extattr_get_link(const char *path, \
- int attrnamespace, const char *attrname, \
- void *data, size_t nbytes); }
-414 STD { int extattr_delete_link(const char *path, \
- int attrnamespace, const char *attrname); }
-415 MSTD { int __mac_execve(char *fname, char **argv, \
- char **envv, struct mac *mac_p); }
-416 MSTD { int sigaction(int sig, const struct sigaction *act, \
- struct sigaction *oact); }
-417 MSTD { int sigreturn(const struct __ucontext *sigcntxp); }
-418 UNIMPL __xstat
-419 UNIMPL __xfstat
-420 UNIMPL __xlstat
-421 MSTD { int getcontext(struct __ucontext *ucp); }
-422 MSTD { int setcontext(const struct __ucontext *ucp); }
-423 MSTD { int swapcontext(struct __ucontext *oucp, \
- const struct __ucontext *ucp); }
-424 MSTD { int swapoff(const char *name); }
-425 MSTD { int __acl_get_link(const char *path, \
- acl_type_t type, struct acl *aclp); }
-426 MSTD { int __acl_set_link(const char *path, \
- acl_type_t type, struct acl *aclp); }
-427 MSTD { int __acl_delete_link(const char *path, \
- acl_type_t type); }
-428 MSTD { int __acl_aclcheck_link(const char *path, \
- acl_type_t type, struct acl *aclp); }
-429 MSTD { int sigwait(const sigset_t *set, int *sig); }
-430 MSTD { int thr_create(ucontext_t *ctx, long *id, int flags); }
-431 MSTD { void thr_exit(long *state); }
-432 MSTD { int thr_self(long *id); }
-433 MSTD { int thr_kill(long id, int sig); }
-434 MSTD { int _umtx_lock(struct umtx *umtx); }
-435 MSTD { int _umtx_unlock(struct umtx *umtx); }
-436 MSTD { int jail_attach(int jid); }
-437 STD { ssize_t extattr_list_fd(int fd, int attrnamespace, \
- void *data, size_t nbytes); }
-438 STD { ssize_t extattr_list_file(const char *path, \
- int attrnamespace, void *data, size_t nbytes); }
-439 STD { ssize_t extattr_list_link(const char *path, \
- int attrnamespace, void *data, size_t nbytes); }
-440 MSTD { int kse_switchin(struct kse_thr_mailbox *tmbx, \
- int flags); }
-441 MNOSTD { int ksem_timedwait(semid_t id, struct timespec *abstime); }
-442 MSTD { int thr_suspend(const struct timespec *timeout); }
-443 MSTD { int thr_wake(long id); }
-444 MSTD { int kldunloadf(int fileid, int flags); }
-445 MNOSTD { int audit(const void *record, u_int length); }
-446 MNOSTD { int auditon(int cmd, void *data, u_int length); }
-447 MNOSTD { int getauid(uid_t *auid); }
-448 MNOSTD { int setauid(uid_t *auid); }
-449 MNOSTD { int getaudit(struct auditinfo *auditinfo); }
-450 MNOSTD { int setaudit(struct auditinfo *auditinfo); }
-451 MNOSTD { int getaudit_addr(struct auditinfo_addr \
- *auditinfo_addr, u_int length); }
-452 MNOSTD { int setaudit_addr(struct auditinfo_addr \
- *auditinfo_addr, u_int length); }
-453 MNOSTD { int auditctl(int cmd, char *path); }
-454 MSTD { int _umtx_op(struct umtx *umtx, int op, long id, void *uaddr,\
- void *uaddr2); }
-455 MSTD { int thr_new(struct thr_param *param, int param_size); }
+331 AUE_NULL MSTD { int sched_yield (void); }
+332 AUE_NULL MSTD { int sched_get_priority_max (int policy); }
+333 AUE_NULL MSTD { int sched_get_priority_min (int policy); }
+334 AUE_NULL MSTD { int sched_rr_get_interval (pid_t pid, \
+ struct timespec *interval); }
+335 AUE_NULL MSTD { int utrace(const void *addr, size_t len); }
+336 AUE_NULL MCOMPAT4 { int sendfile(int fd, int s, \
+ off_t offset, size_t nbytes, \
+ struct sf_hdtr *hdtr, off_t *sbytes, \
+ int flags); }
+337 AUE_NULL MSTD { int kldsym(int fileid, int cmd, \
+ void *data); }
+338 AUE_NULL MSTD { int jail(struct jail *jail); }
+339 AUE_NULL UNIMPL pioctl
+340 AUE_NULL MSTD { int sigprocmask(int how, \
+ const sigset_t *set, sigset_t *oset); }
+341 AUE_NULL MSTD { int sigsuspend(const sigset_t *sigmask); }
+342 AUE_NULL MCOMPAT4 { int sigaction(int sig, const \
+ struct sigaction *act, \
+ struct sigaction *oact); }
+343 AUE_NULL MSTD { int sigpending(sigset_t *set); }
+344 AUE_NULL MCOMPAT4 { int sigreturn( \
+ const struct ucontext4 *sigcntxp); }
+345 AUE_NULL MSTD { int sigtimedwait(const sigset_t *set, \
+ siginfo_t *info, \
+ const struct timespec *timeout); }
+346 AUE_NULL MSTD { int sigwaitinfo(const sigset_t *set, \
+ siginfo_t *info); }
+347 AUE_NULL MSTD { int __acl_get_file(const char *path, \
+ acl_type_t type, struct acl *aclp); }
+348 AUE_NULL MSTD { int __acl_set_file(const char *path, \
+ acl_type_t type, struct acl *aclp); }
+349 AUE_NULL MSTD { int __acl_get_fd(int filedes, \
+ acl_type_t type, struct acl *aclp); }
+350 AUE_NULL MSTD { int __acl_set_fd(int filedes, \
+ acl_type_t type, struct acl *aclp); }
+351 AUE_NULL MSTD { int __acl_delete_file(const char *path, \
+ acl_type_t type); }
+352 AUE_NULL MSTD { int __acl_delete_fd(int filedes, \
+ acl_type_t type); }
+353 AUE_NULL MSTD { int __acl_aclcheck_file(const char *path, \
+ acl_type_t type, struct acl *aclp); }
+354 AUE_NULL MSTD { int __acl_aclcheck_fd(int filedes, \
+ acl_type_t type, struct acl *aclp); }
+355 AUE_NULL STD { int extattrctl(const char *path, int cmd, \
+ const char *filename, int attrnamespace, \
+ const char *attrname); }
+356 AUE_NULL STD { int extattr_set_file(const char *path, \
+ int attrnamespace, const char *attrname, \
+ void *data, size_t nbytes); }
+357 AUE_NULL STD { ssize_t extattr_get_file(const char *path, \
+ int attrnamespace, const char *attrname, \
+ void *data, size_t nbytes); }
+358 AUE_NULL STD { int extattr_delete_file(const char *path, \
+ int attrnamespace, \
+ const char *attrname); }
+359 AUE_NULL NOSTD { int aio_waitcomplete( \
+ struct aiocb **aiocbp, \
+ struct timespec *timeout); }
+360 AUE_NULL MSTD { int getresuid(uid_t *ruid, uid_t *euid, \
+ uid_t *suid); }
+361 AUE_NULL MSTD { int getresgid(gid_t *rgid, gid_t *egid, \
+ gid_t *sgid); }
+362 AUE_NULL MSTD { int kqueue(void); }
+363 AUE_NULL MSTD { int kevent(int fd, \
+ struct kevent *changelist, int nchanges, \
+ struct kevent *eventlist, int nevents, \
+ const struct timespec *timeout); }
+364 AUE_NULL UNIMPL __cap_get_proc
+365 AUE_NULL UNIMPL __cap_set_proc
+366 AUE_NULL UNIMPL __cap_get_fd
+367 AUE_NULL UNIMPL __cap_get_file
+368 AUE_NULL UNIMPL __cap_set_fd
+369 AUE_NULL UNIMPL __cap_set_file
+370 AUE_NULL NODEF lkmressys lkmressys nosys_args int
+371 AUE_NULL STD { int extattr_set_fd(int fd, \
+ int attrnamespace, const char *attrname, \
+ void *data, size_t nbytes); }
+372 AUE_NULL STD { ssize_t extattr_get_fd(int fd, \
+ int attrnamespace, const char *attrname, \
+ void *data, size_t nbytes); }
+373 AUE_NULL STD { int extattr_delete_fd(int fd, \
+ int attrnamespace, \
+ const char *attrname); }
+374 AUE_NULL MSTD { int __setugid(int flag); }
+375 AUE_NULL NOIMPL { int nfsclnt(int flag, caddr_t argp); }
+376 AUE_NULL MSTD { int eaccess(char *path, int flags); }
+377 AUE_NULL UNIMPL afs_syscall
+378 AUE_NULL STD { int nmount(struct iovec *iovp, \
+ unsigned int iovcnt, int flags); }
+379 AUE_NULL MSTD { int kse_exit(void); }
+380 AUE_NULL MSTD { int kse_wakeup(struct kse_mailbox *mbx); }
+381 AUE_NULL MSTD { int kse_create(struct kse_mailbox *mbx, \
+ int newgroup); }
+382 AUE_NULL MSTD { int kse_thr_interrupt( \
+ struct kse_thr_mailbox *tmbx, int cmd, \
+ long data); }
+383 AUE_NULL MSTD { int kse_release(struct timespec *timeout); }
+384 AUE_NULL MSTD { int __mac_get_proc(struct mac *mac_p); }
+385 AUE_NULL MSTD { int __mac_set_proc(struct mac *mac_p); }
+386 AUE_NULL MSTD { int __mac_get_fd(int fd, \
+ struct mac *mac_p); }
+387 AUE_NULL MSTD { int __mac_get_file(const char *path_p, \
+ struct mac *mac_p); }
+388 AUE_NULL MSTD { int __mac_set_fd(int fd, \
+ struct mac *mac_p); }
+389 AUE_NULL MSTD { int __mac_set_file(const char *path_p, \
+ struct mac *mac_p); }
+390 AUE_NULL MSTD { int kenv(int what, const char *name, \
+ char *value, int len); }
+391 AUE_NULL MSTD { int lchflags(const char *path, int flags); }
+392 AUE_NULL MSTD { int uuidgen(struct uuid *store, \
+ int count); }
+393 AUE_NULL MSTD { int sendfile(int fd, int s, off_t offset, \
+ size_t nbytes, struct sf_hdtr *hdtr, \
+ off_t *sbytes, int flags); }
+394 AUE_NULL MSTD { int mac_syscall(const char *policy, \
+ int call, void *arg); }
+395 AUE_NULL MSTD { int getfsstat(struct statfs *buf, \
+ long bufsize, int flags); }
+396 AUE_NULL MSTD { int statfs(char *path, \
+ struct statfs *buf); }
+397 AUE_NULL MSTD { int fstatfs(int fd, struct statfs *buf); }
+398 AUE_NULL MSTD { int fhstatfs(const struct fhandle *u_fhp, \
+ struct statfs *buf); }
+399 AUE_NULL UNIMPL nosys
+400 AUE_NULL MNOSTD { int ksem_close(semid_t id); }
+401 AUE_NULL MNOSTD { int ksem_post(semid_t id); }
+402 AUE_NULL MNOSTD { int ksem_wait(semid_t id); }
+403 AUE_NULL MNOSTD { int ksem_trywait(semid_t id); }
+404 AUE_NULL MNOSTD { int ksem_init(semid_t *idp, \
+ unsigned int value); }
+405 AUE_NULL MNOSTD { int ksem_open(semid_t *idp, \
+ const char *name, int oflag, \
+ mode_t mode, unsigned int value); }
+406 AUE_NULL MNOSTD { int ksem_unlink(const char *name); }
+407 AUE_NULL MNOSTD { int ksem_getvalue(semid_t id, int *val); }
+408 AUE_NULL MNOSTD { int ksem_destroy(semid_t id); }
+409 AUE_NULL MSTD { int __mac_get_pid(pid_t pid, \
+ struct mac *mac_p); }
+410 AUE_NULL MSTD { int __mac_get_link(const char *path_p, \
+ struct mac *mac_p); }
+411 AUE_NULL MSTD { int __mac_set_link(const char *path_p, \
+ struct mac *mac_p); }
+412 AUE_NULL STD { int extattr_set_link(const char *path, \
+ int attrnamespace, const char *attrname, \
+ void *data, size_t nbytes); }
+413 AUE_NULL STD { ssize_t extattr_get_link(const char *path, \
+ int attrnamespace, const char *attrname, \
+ void *data, size_t nbytes); }
+414 AUE_NULL STD { int extattr_delete_link(const char *path, \
+ int attrnamespace, \
+ const char *attrname); }
+415 AUE_NULL MSTD { int __mac_execve(char *fname, char **argv, \
+ char **envv, struct mac *mac_p); }
+416 AUE_NULL MSTD { int sigaction(int sig, \
+ const struct sigaction *act, \
+ struct sigaction *oact); }
+417 AUE_NULL MSTD { int sigreturn( \
+ const struct __ucontext *sigcntxp); }
+418 AUE_NULL UNIMPL __xstat
+419 AUE_NULL UNIMPL __xfstat
+420 AUE_NULL UNIMPL __xlstat
+421 AUE_NULL MSTD { int getcontext(struct __ucontext *ucp); }
+422 AUE_NULL MSTD { int setcontext( \
+ const struct __ucontext *ucp); }
+423 AUE_NULL MSTD { int swapcontext(struct __ucontext *oucp, \
+ const struct __ucontext *ucp); }
+424 AUE_NULL MSTD { int swapoff(const char *name); }
+425 AUE_NULL MSTD { int __acl_get_link(const char *path, \
+ acl_type_t type, struct acl *aclp); }
+426 AUE_NULL MSTD { int __acl_set_link(const char *path, \
+ acl_type_t type, struct acl *aclp); }
+427 AUE_NULL MSTD { int __acl_delete_link(const char *path, \
+ acl_type_t type); }
+428 AUE_NULL MSTD { int __acl_aclcheck_link(const char *path, \
+ acl_type_t type, struct acl *aclp); }
+429 AUE_NULL MSTD { int sigwait(const sigset_t *set, \
+ int *sig); }
+430 AUE_NULL MSTD { int thr_create(ucontext_t *ctx, long *id, \
+ int flags); }
+431 AUE_NULL MSTD { void thr_exit(long *state); }
+432 AUE_NULL MSTD { int thr_self(long *id); }
+433 AUE_NULL MSTD { int thr_kill(long id, int sig); }
+434 AUE_NULL MSTD { int _umtx_lock(struct umtx *umtx); }
+435 AUE_NULL MSTD { int _umtx_unlock(struct umtx *umtx); }
+436 AUE_NULL MSTD { int jail_attach(int jid); }
+437 AUE_NULL STD { ssize_t extattr_list_fd(int fd, \
+ int attrnamespace, void *data, \
+ size_t nbytes); }
+438 AUE_NULL STD { ssize_t extattr_list_file( \
+ const char *path, int attrnamespace, \
+ void *data, size_t nbytes); }
+439 AUE_NULL STD { ssize_t extattr_list_link( \
+ const char *path, int attrnamespace, \
+ void *data, size_t nbytes); }
+440 AUE_NULL MSTD { int kse_switchin( \
+ struct kse_thr_mailbox *tmbx, \
+ int flags); }
+441 AUE_NULL MNOSTD { int ksem_timedwait(semid_t id, \
+ struct timespec *abstime); }
+442 AUE_NULL MSTD { int thr_suspend( \
+ const struct timespec *timeout); }
+443 AUE_NULL MSTD { int thr_wake(long id); }
+444 AUE_NULL MSTD { int kldunloadf(int fileid, int flags); }
+445 AUE_NULL MNOSTD { int audit(const void *record, \
+ u_int length); }
+446 AUE_NULL MNOSTD { int auditon(int cmd, void *data, \
+ u_int length); }
+447 AUE_NULL MNOSTD { int getauid(uid_t *auid); }
+448 AUE_NULL MNOSTD { int setauid(uid_t *auid); }
+449 AUE_NULL MNOSTD { int getaudit(struct auditinfo *auditinfo); }
+450 AUE_NULL MNOSTD { int setaudit(struct auditinfo *auditinfo); }
+451 AUE_NULL MNOSTD { int getaudit_addr( \
+ struct auditinfo_addr *auditinfo_addr, \
+ u_int length); }
+452 AUE_NULL MNOSTD { int setaudit_addr( \
+ struct auditinfo_addr *auditinfo_addr, \
+ u_int length); }
+453 AUE_NULL MNOSTD { int auditctl(int cmd, char *path); }
+454 AUE_NULL MSTD { int _umtx_op(struct umtx *umtx, int op, \
+ long id, void *uaddr, void *uaddr2); }
+455 AUE_NULL MSTD { int thr_new(struct thr_param *param, \
+ int param_size); }
; Please copy any additions and changes to the following compatability tables:
; sys/compat/freebsd32/syscalls.master
OpenPOWER on IntegriCloud