Thu Mar 8 21:55:45 2012 UTC ()
Add entry for _ksem_timedwait.


(joerg)
diff -r1.92 -r1.93 src/sys/compat/netbsd32/syscalls.master
diff -r1.257 -r1.258 src/sys/kern/syscalls.master

cvs diff -r1.92 -r1.93 src/sys/compat/netbsd32/syscalls.master (switch to unified diff)

--- src/sys/compat/netbsd32/syscalls.master 2012/02/19 17:08:02 1.92
+++ src/sys/compat/netbsd32/syscalls.master 2012/03/08 21:55:45 1.93
@@ -1,1038 +1,1039 @@ @@ -1,1038 +1,1039 @@
1 $NetBSD: syscalls.master,v 1.92 2012/02/19 17:08:02 rmind Exp $ 1 $NetBSD: syscalls.master,v 1.93 2012/03/08 21:55:45 joerg Exp $
2 2
3; from: NetBSD: syscalls.master,v 1.81 1998/07/05 08:49:50 jonathan Exp 3; from: NetBSD: syscalls.master,v 1.81 1998/07/05 08:49:50 jonathan Exp
4; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 4; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
5 5
6; NetBSD system call name/number "master" file. 6; NetBSD system call name/number "master" file.
7; (See syscalls.conf to see what it is processed into.) 7; (See syscalls.conf to see what it is processed into.)
8; 8;
9; Fields: number type [type-dependent ...] 9; Fields: number type [type-dependent ...]
10; number system call number, must be in order 10; number system call number, must be in order
11; type one of STD, OBSOL, UNIMPL, IGNORED, NODEF, NOARGS, or one of 11; type one of STD, OBSOL, UNIMPL, IGNORED, NODEF, NOARGS, or one of
12; the compatibility options defined in syscalls.conf. 12; the compatibility options defined in syscalls.conf.
13; 13;
14; types: 14; types:
15; STD always included 15; STD always included
16; OBSOL obsolete, not included in system 16; OBSOL obsolete, not included in system
17; IGNORED syscall is a null op, but always succeeds 17; IGNORED syscall is a null op, but always succeeds
18; UNIMPL unimplemented, not included in system 18; UNIMPL unimplemented, not included in system
19; EXCL implemented, but not included in system 19; EXCL implemented, but not included in system
20; NODEF included, but don't define the syscall number 20; NODEF included, but don't define the syscall number
21; NOARGS included, but don't define the syscall args structure 21; NOARGS included, but don't define the syscall args structure
22; INDIR included, but don't define the syscall args structure, 22; INDIR included, but don't define the syscall args structure,
23; and allow it to be "really" varargs. 23; and allow it to be "really" varargs.
24; 24;
25; The compat options are defined in the syscalls.conf file, and the 25; The compat options are defined in the syscalls.conf file, and the
26; compat option name is prefixed to the syscall name. Other than 26; compat option name is prefixed to the syscall name. Other than
27; that, they're like NODEF (for 'compat' options), or STD (for 27; that, they're like NODEF (for 'compat' options), or STD (for
28; 'libcompat' options). 28; 'libcompat' options).
29; 29;
30; The type-dependent arguments are as follows: 30; The type-dependent arguments are as follows:
31; For STD, NODEF, NOARGS, and compat syscalls: 31; For STD, NODEF, NOARGS, and compat syscalls:
32; { pseudo-proto } [alias] 32; { pseudo-proto } [alias]
33; For other syscalls: 33; For other syscalls:
34; [comment] 34; [comment]
35; 35;
36; #ifdef's, etc. may be included, and are copied to the output files. 36; #ifdef's, etc. may be included, and are copied to the output files.
37; #include's are copied to the syscall names and switch definition files only. 37; #include's are copied to the syscall names and switch definition files only.
38 38
39#if defined(_KERNEL_OPT) 39#if defined(_KERNEL_OPT)
40#include "opt_compat_netbsd.h" 40#include "opt_compat_netbsd.h"
41#include "opt_ntp.h" 41#include "opt_ntp.h"
42#include "opt_sysv.h" 42#include "opt_sysv.h"
43#include "opt_compat_43.h" 43#include "opt_compat_43.h"
44#include "opt_posix.h" 44#include "opt_posix.h"
45#endif 45#endif
46 46
47#include <sys/param.h> 47#include <sys/param.h>
48#include <sys/systm.h> 48#include <sys/systm.h>
49#include <sys/signal.h> 49#include <sys/signal.h>
50#include <sys/mount.h> 50#include <sys/mount.h>
51#include <sys/syscallargs.h> 51#include <sys/syscallargs.h>
52 52
53#include <compat/netbsd32/netbsd32.h> 53#include <compat/netbsd32/netbsd32.h>
54#include <compat/netbsd32/netbsd32_syscallargs.h> 54#include <compat/netbsd32/netbsd32_syscallargs.h>
55 55
56%% 56%%
57 57
58; Reserved/unimplemented system calls in the range 0-150 inclusive 58; Reserved/unimplemented system calls in the range 0-150 inclusive
59; are reserved for use in future Berkeley releases. 59; are reserved for use in future Berkeley releases.
60; Additional system calls implemented in vendor and other 60; Additional system calls implemented in vendor and other
61; redistributions should be placed in the reserved range at the end 61; redistributions should be placed in the reserved range at the end
62; of the current calls. 62; of the current calls.
63 63
640 INDIR { int|netbsd32||syscall(int code, \ 640 INDIR { int|netbsd32||syscall(int code, \
65 ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } 65 ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); }
661 STD { void|netbsd32||exit(int rval); } 661 STD { void|netbsd32||exit(int rval); }
672 NOARGS { int|sys||fork(void); } 672 NOARGS { int|sys||fork(void); }
683 STD { netbsd32_ssize_t|netbsd32||read(int fd, \ 683 STD { netbsd32_ssize_t|netbsd32||read(int fd, \
69 netbsd32_voidp buf, netbsd32_size_t nbyte); } 69 netbsd32_voidp buf, netbsd32_size_t nbyte); }
704 STD { netbsd32_ssize_t|netbsd32||write(int fd, \ 704 STD { netbsd32_ssize_t|netbsd32||write(int fd, \
71 netbsd32_voidp buf, netbsd32_size_t nbyte); } 71 netbsd32_voidp buf, netbsd32_size_t nbyte); }
725 STD { int|netbsd32||open(netbsd32_charp path, int flags, \ 725 STD { int|netbsd32||open(netbsd32_charp path, int flags, \
73 ... mode_t mode); } 73 ... mode_t mode); }
746 STD { int|netbsd32||close(int fd); } 746 STD { int|netbsd32||close(int fd); }
757 COMPAT_50 { int|netbsd32||wait4(int pid, netbsd32_intp status, \ 757 COMPAT_50 { int|netbsd32||wait4(int pid, netbsd32_intp status, \
76 int options, netbsd32_rusage50p_t rusage); } 76 int options, netbsd32_rusage50p_t rusage); }
778 COMPAT_43 { int|netbsd32||ocreat(netbsd32_charp path, \ 778 COMPAT_43 { int|netbsd32||ocreat(netbsd32_charp path, \
78 mode_t mode); } 78 mode_t mode); }
799 STD { int|netbsd32||link(netbsd32_charp path, \ 799 STD { int|netbsd32||link(netbsd32_charp path, \
80 netbsd32_charp link); } 80 netbsd32_charp link); }
8110 STD { int|netbsd32||unlink(netbsd32_charp path); } 8110 STD { int|netbsd32||unlink(netbsd32_charp path); }
8211 OBSOL execv 8211 OBSOL execv
8312 STD { int|netbsd32||chdir(netbsd32_charp path); } 8312 STD { int|netbsd32||chdir(netbsd32_charp path); }
8413 STD { int|netbsd32||fchdir(int fd); } 8413 STD { int|netbsd32||fchdir(int fd); }
8514 COMPAT_50 { int|netbsd32||mknod(netbsd32_charp path, mode_t mode, \ 8514 COMPAT_50 { int|netbsd32||mknod(netbsd32_charp path, mode_t mode, \
86 uint32_t dev); } 86 uint32_t dev); }
8715 STD { int|netbsd32||chmod(netbsd32_charp path, mode_t mode); } 8715 STD { int|netbsd32||chmod(netbsd32_charp path, mode_t mode); }
8816 STD { int|netbsd32||chown(netbsd32_charp path, uid_t uid, \ 8816 STD { int|netbsd32||chown(netbsd32_charp path, uid_t uid, \
89 gid_t gid); } 89 gid_t gid); }
9017 STD { int|netbsd32||break(netbsd32_charp nsize); } 9017 STD { int|netbsd32||break(netbsd32_charp nsize); }
9118 COMPAT_20 { int|netbsd32||getfsstat(netbsd32_statfsp_t buf, \ 9118 COMPAT_20 { int|netbsd32||getfsstat(netbsd32_statfsp_t buf, \
92 netbsd32_long bufsize, int flags); } 92 netbsd32_long bufsize, int flags); }
9319 COMPAT_43 { netbsd32_long|netbsd32||olseek(int fd, \ 9319 COMPAT_43 { netbsd32_long|netbsd32||olseek(int fd, \
94 netbsd32_long offset, int whence); } 94 netbsd32_long offset, int whence); }
9520 NOARGS { pid_t|sys||getpid(void); } 9520 NOARGS { pid_t|sys||getpid(void); }
9621 STD { int|netbsd32||mount(netbsd32_charp type, \ 9621 STD { int|netbsd32||mount(netbsd32_charp type, \
97 netbsd32_charp path, int flags, \ 97 netbsd32_charp path, int flags, \
98 netbsd32_voidp data); } 98 netbsd32_voidp data); }
9922 STD { int|netbsd32||unmount(netbsd32_charp path, \ 9922 STD { int|netbsd32||unmount(netbsd32_charp path, \
100 int flags); } 100 int flags); }
10123 STD { int|netbsd32||setuid(uid_t uid); } 10123 STD { int|netbsd32||setuid(uid_t uid); }
10224 NOARGS { uid_t|sys||getuid(void); } 10224 NOARGS { uid_t|sys||getuid(void); }
10325 NOARGS { uid_t|sys||geteuid(void); } 10325 NOARGS { uid_t|sys||geteuid(void); }
10426 STD { int|netbsd32||ptrace(int req, pid_t pid, \ 10426 STD { int|netbsd32||ptrace(int req, pid_t pid, \
105 netbsd32_voidp addr, int data); } 105 netbsd32_voidp addr, int data); }
10627 STD { netbsd32_ssize_t|netbsd32||recvmsg(int s, \ 10627 STD { netbsd32_ssize_t|netbsd32||recvmsg(int s, \
107 netbsd32_msghdrp_t msg, int flags); } 107 netbsd32_msghdrp_t msg, int flags); }
10828 STD { netbsd32_ssize_t|netbsd32||sendmsg(int s, \ 10828 STD { netbsd32_ssize_t|netbsd32||sendmsg(int s, \
109 netbsd32_msghdrp_t msg, int flags); } 109 netbsd32_msghdrp_t msg, int flags); }
11029 STD { netbsd32_ssize_t|netbsd32||recvfrom(int s, \ 11029 STD { netbsd32_ssize_t|netbsd32||recvfrom(int s, \
111 netbsd32_voidp buf, netbsd32_size_t len, \ 111 netbsd32_voidp buf, netbsd32_size_t len, \
112 int flags, netbsd32_sockaddrp_t from, \ 112 int flags, netbsd32_sockaddrp_t from, \
113 netbsd32_intp fromlenaddr); } 113 netbsd32_intp fromlenaddr); }
11430 STD { int|netbsd32||accept(int s, \ 11430 STD { int|netbsd32||accept(int s, \
115 netbsd32_sockaddrp_t name, \ 115 netbsd32_sockaddrp_t name, \
116 netbsd32_intp anamelen); } 116 netbsd32_intp anamelen); }
11731 STD { int|netbsd32||getpeername(int fdes, \ 11731 STD { int|netbsd32||getpeername(int fdes, \
118 netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 118 netbsd32_sockaddrp_t asa, netbsd32_intp alen); }
11932 STD { int|netbsd32||getsockname(int fdes, \ 11932 STD { int|netbsd32||getsockname(int fdes, \
120 netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 120 netbsd32_sockaddrp_t asa, netbsd32_intp alen); }
12133 STD { int|netbsd32||access(netbsd32_charp path, int flags); } 12133 STD { int|netbsd32||access(netbsd32_charp path, int flags); }
12234 STD { int|netbsd32||chflags(netbsd32_charp path, \ 12234 STD { int|netbsd32||chflags(netbsd32_charp path, \
123 netbsd32_u_long flags); } 123 netbsd32_u_long flags); }
12435 STD { int|netbsd32||fchflags(int fd, \ 12435 STD { int|netbsd32||fchflags(int fd, \
125 netbsd32_u_long flags); } 125 netbsd32_u_long flags); }
12636 NOARGS { void|sys||sync(void); } 12636 NOARGS { void|sys||sync(void); }
12737 STD { int|netbsd32||kill(int pid, int signum); } 12737 STD { int|netbsd32||kill(int pid, int signum); }
12838 COMPAT_43 { int|netbsd32||stat43(netbsd32_charp path, \ 12838 COMPAT_43 { int|netbsd32||stat43(netbsd32_charp path, \
129 netbsd32_stat43p_t ub); } 129 netbsd32_stat43p_t ub); }
13039 NOARGS { pid_t|sys||getppid(void); } 13039 NOARGS { pid_t|sys||getppid(void); }
13140 COMPAT_43 { int|netbsd32||lstat43(netbsd32_charp path, \ 13140 COMPAT_43 { int|netbsd32||lstat43(netbsd32_charp path, \
132 netbsd32_stat43p_t ub); } 132 netbsd32_stat43p_t ub); }
13341 STD { int|netbsd32||dup(int fd); } 13341 STD { int|netbsd32||dup(int fd); }
13442 NOARGS { int|sys||pipe(void); } 13442 NOARGS { int|sys||pipe(void); }
13543 NOARGS { gid_t|sys||getegid(void); } 13543 NOARGS { gid_t|sys||getegid(void); }
13644 STD { int|netbsd32||profil(netbsd32_voidp samples, \ 13644 STD { int|netbsd32||profil(netbsd32_voidp samples, \
137 netbsd32_size_t size, netbsd32_u_long offset, \ 137 netbsd32_size_t size, netbsd32_u_long offset, \
138 u_int scale); } 138 u_int scale); }
13945 STD { int|netbsd32||ktrace(netbsd32_charp fname, int ops, \ 13945 STD { int|netbsd32||ktrace(netbsd32_charp fname, int ops, \
140 int facs, int pid); } 140 int facs, int pid); }
14146 STD { int|netbsd32||sigaction(int signum, \ 14146 STD { int|netbsd32||sigaction(int signum, \
142 netbsd32_sigactionp_t nsa, \ 142 netbsd32_sigactionp_t nsa, \
143 netbsd32_sigactionp_t osa); } 143 netbsd32_sigactionp_t osa); }
14447 NOARGS { gid_t|sys||getgid(void); } 14447 NOARGS { gid_t|sys||getgid(void); }
14548 COMPAT_13 { int|netbsd32||sigprocmask(int how, \ 14548 COMPAT_13 { int|netbsd32||sigprocmask(int how, \
146 int mask); } sigprocmask13 146 int mask); } sigprocmask13
14749 STD { int|netbsd32||__getlogin(netbsd32_charp namebuf, \ 14749 STD { int|netbsd32||__getlogin(netbsd32_charp namebuf, \
148 u_int namelen); } 148 u_int namelen); }
14950 STD { int|netbsd32||setlogin(netbsd32_charp namebuf); } 14950 STD { int|netbsd32||setlogin(netbsd32_charp namebuf); }
15051 STD { int|netbsd32||acct(netbsd32_charp path); } 15051 STD { int|netbsd32||acct(netbsd32_charp path); }
15152 COMPAT_13 { int|sys||sigpending(void); } sigpending13 15152 COMPAT_13 { int|sys||sigpending(void); } sigpending13
15253 COMPAT_13 { int|netbsd32||sigaltstack13( \ 15253 COMPAT_13 { int|netbsd32||sigaltstack13( \
153 netbsd32_sigaltstack13p_t nss, \ 153 netbsd32_sigaltstack13p_t nss, \
154 netbsd32_sigaltstack13p_t oss); } 154 netbsd32_sigaltstack13p_t oss); }
15554 STD { int|netbsd32||ioctl(int fd, netbsd32_u_long com, \ 15554 STD { int|netbsd32||ioctl(int fd, netbsd32_u_long com, \
156 ... netbsd32_voidp data); } 156 ... netbsd32_voidp data); }
15755 COMPAT_12 { int|netbsd32||reboot(int opt); } 15755 COMPAT_12 { int|netbsd32||reboot(int opt); }
15856 STD { int|netbsd32||revoke(netbsd32_charp path); } 15856 STD { int|netbsd32||revoke(netbsd32_charp path); }
15957 STD { int|netbsd32||symlink(netbsd32_charp path, \ 15957 STD { int|netbsd32||symlink(netbsd32_charp path, \
160 netbsd32_charp link); } 160 netbsd32_charp link); }
16158 STD { int|netbsd32||readlink(netbsd32_charp path, \ 16158 STD { int|netbsd32||readlink(netbsd32_charp path, \
162 netbsd32_charp buf, netbsd32_size_t count); } 162 netbsd32_charp buf, netbsd32_size_t count); }
16359 STD { int|netbsd32||execve(netbsd32_charp path, \ 16359 STD { int|netbsd32||execve(netbsd32_charp path, \
164 netbsd32_charpp argp, netbsd32_charpp envp); } 164 netbsd32_charpp argp, netbsd32_charpp envp); }
16560 STD { mode_t|netbsd32||umask(mode_t newmask); } 16560 STD { mode_t|netbsd32||umask(mode_t newmask); }
16661 STD { int|netbsd32||chroot(netbsd32_charp path); } 16661 STD { int|netbsd32||chroot(netbsd32_charp path); }
16762 COMPAT_43 { int|netbsd32||fstat43(int fd, netbsd32_stat43p_t sb); } 16762 COMPAT_43 { int|netbsd32||fstat43(int fd, netbsd32_stat43p_t sb); }
16863 COMPAT_43 { int|netbsd32||ogetkerninfo(int op, \ 16863 COMPAT_43 { int|netbsd32||ogetkerninfo(int op, \
169 netbsd32_charp where, netbsd32_intp size, \ 169 netbsd32_charp where, netbsd32_intp size, \
170 int arg); } 170 int arg); }
17164 COMPAT_43 { int|sys||getpagesize(void); } ogetpagesize 17164 COMPAT_43 { int|sys||getpagesize(void); } ogetpagesize
17265 COMPAT_12 { int|netbsd32||msync(netbsd32_voidp addr, \ 17265 COMPAT_12 { int|netbsd32||msync(netbsd32_voidp addr, \
173 netbsd32_size_t len); } 173 netbsd32_size_t len); }
174; XXX COMPAT_??? for 4.4BSD-compatible vfork(2)? 174; XXX COMPAT_??? for 4.4BSD-compatible vfork(2)?
17566 NOARGS { int|sys||vfork(void); } 17566 NOARGS { int|sys||vfork(void); }
17667 OBSOL vread 17667 OBSOL vread
17768 OBSOL vwrite 17768 OBSOL vwrite
17869 STD { int|netbsd32||sbrk(netbsd32_intptr_t incr); } 17869 STD { int|netbsd32||sbrk(netbsd32_intptr_t incr); }
17970 STD { int|netbsd32||sstk(int incr); } 17970 STD { int|netbsd32||sstk(int incr); }
18071 COMPAT_43 { int|netbsd32||ommap(netbsd32_voidp addr, \ 18071 COMPAT_43 { int|netbsd32||ommap(netbsd32_voidp addr, \
181 netbsd32_size_t len, int prot, int flags, int fd, \ 181 netbsd32_size_t len, int prot, int flags, int fd, \
182 netbsd32_long pos); } 182 netbsd32_long pos); }
18372 STD { int|netbsd32||ovadvise(int anom); } vadvise 18372 STD { int|netbsd32||ovadvise(int anom); } vadvise
18473 STD { int|netbsd32||munmap(netbsd32_voidp addr, \ 18473 STD { int|netbsd32||munmap(netbsd32_voidp addr, \
185 netbsd32_size_t len); } 185 netbsd32_size_t len); }
18674 STD { int|netbsd32||mprotect(netbsd32_voidp addr, \ 18674 STD { int|netbsd32||mprotect(netbsd32_voidp addr, \
187 netbsd32_size_t len, int prot); } 187 netbsd32_size_t len, int prot); }
18875 STD { int|netbsd32||madvise(netbsd32_voidp addr, \ 18875 STD { int|netbsd32||madvise(netbsd32_voidp addr, \
189 netbsd32_size_t len, int behav); } 189 netbsd32_size_t len, int behav); }
19076 OBSOL vhangup 19076 OBSOL vhangup
19177 OBSOL vlimit 19177 OBSOL vlimit
19278 STD { int|netbsd32||mincore(netbsd32_voidp addr, \ 19278 STD { int|netbsd32||mincore(netbsd32_voidp addr, \
193 netbsd32_size_t len, netbsd32_charp vec); } 193 netbsd32_size_t len, netbsd32_charp vec); }
19479 STD { int|netbsd32||getgroups(int gidsetsize, \ 19479 STD { int|netbsd32||getgroups(int gidsetsize, \
195 netbsd32_gid_tp gidset); } 195 netbsd32_gid_tp gidset); }
19680 STD { int|netbsd32||setgroups(int gidsetsize, \ 19680 STD { int|netbsd32||setgroups(int gidsetsize, \
197 netbsd32_gid_tp gidset); } 197 netbsd32_gid_tp gidset); }
19881 NOARGS { int|sys||getpgrp(void); } 19881 NOARGS { int|sys||getpgrp(void); }
19982 STD { int|netbsd32||setpgid(int pid, int pgid); } 19982 STD { int|netbsd32||setpgid(int pid, int pgid); }
20083 COMPAT_50 { int|netbsd32||setitimer(int which, \ 20083 COMPAT_50 { int|netbsd32||setitimer(int which, \
201 netbsd32_itimerval50p_t itv, \ 201 netbsd32_itimerval50p_t itv, \
202 netbsd32_itimerval50p_t oitv); } 202 netbsd32_itimerval50p_t oitv); }
20384 COMPAT_43 { int|sys||wait(void); } owait 20384 COMPAT_43 { int|sys||wait(void); } owait
20485 COMPAT_12 { int|netbsd32||oswapon(netbsd32_charp name); } 20485 COMPAT_12 { int|netbsd32||oswapon(netbsd32_charp name); }
20586 COMPAT_50 { int|netbsd32||getitimer(int which, \ 20586 COMPAT_50 { int|netbsd32||getitimer(int which, \
206 netbsd32_itimerval50p_t itv); } 206 netbsd32_itimerval50p_t itv); }
20787 COMPAT_43 { int|netbsd32||ogethostname(netbsd32_charp hostname, \ 20787 COMPAT_43 { int|netbsd32||ogethostname(netbsd32_charp hostname, \
208 u_int len); } 208 u_int len); }
20988 COMPAT_43 { int|netbsd32||osethostname(netbsd32_charp hostname, \ 20988 COMPAT_43 { int|netbsd32||osethostname(netbsd32_charp hostname, \
210 u_int len); } 210 u_int len); }
21189 COMPAT_43 { int|sys||getdtablesize(void); } ogetdtablesize 21189 COMPAT_43 { int|sys||getdtablesize(void); } ogetdtablesize
21290 STD { int|netbsd32||dup2(int from, int to); } 21290 STD { int|netbsd32||dup2(int from, int to); }
21391 UNIMPL getdopt 21391 UNIMPL getdopt
21492 STD { int|netbsd32||fcntl(int fd, int cmd, \ 21492 STD { int|netbsd32||fcntl(int fd, int cmd, \
215 ... netbsd32_voidp arg); } 215 ... netbsd32_voidp arg); }
21693 COMPAT_50 { int|netbsd32||select(int nd, netbsd32_fd_setp_t in, \ 21693 COMPAT_50 { int|netbsd32||select(int nd, netbsd32_fd_setp_t in, \
217 netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \ 217 netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \
218 netbsd32_timeval50p_t tv); } 218 netbsd32_timeval50p_t tv); }
21994 UNIMPL setdopt 21994 UNIMPL setdopt
22095 STD { int|netbsd32||fsync(int fd); } 22095 STD { int|netbsd32||fsync(int fd); }
22196 STD { int|netbsd32||setpriority(int which, int who, \ 22196 STD { int|netbsd32||setpriority(int which, int who, \
222 int prio); } 222 int prio); }
22397 COMPAT_30 { int|netbsd32||socket(int domain, int type, \ 22397 COMPAT_30 { int|netbsd32||socket(int domain, int type, \
224 int protocol); } 224 int protocol); }
22598 STD { int|netbsd32||connect(int s, \ 22598 STD { int|netbsd32||connect(int s, \
226 netbsd32_sockaddrp_t name, int namelen); } 226 netbsd32_sockaddrp_t name, int namelen); }
22799 COMPAT_43 { int|netbsd32||oaccept(int s, netbsd32_voidp name, \ 22799 COMPAT_43 { int|netbsd32||oaccept(int s, netbsd32_voidp name, \
228 netbsd32_intp anamelen); } 228 netbsd32_intp anamelen); }
229100 STD { int|netbsd32||getpriority(int which, int who); } 229100 STD { int|netbsd32||getpriority(int which, int who); }
230101 COMPAT_43 { int|netbsd32||osend(int s, netbsd32_voidp buf, \ 230101 COMPAT_43 { int|netbsd32||osend(int s, netbsd32_voidp buf, \
231 int len, int flags); } 231 int len, int flags); }
232102 COMPAT_43 { int|netbsd32||orecv(int s, netbsd32_voidp buf, \ 232102 COMPAT_43 { int|netbsd32||orecv(int s, netbsd32_voidp buf, \
233 int len, int flags); } 233 int len, int flags); }
234103 COMPAT_13 { int|netbsd32||sigreturn( \ 234103 COMPAT_13 { int|netbsd32||sigreturn( \
235 netbsd32_sigcontextp_t sigcntxp); } sigreturn13 235 netbsd32_sigcontextp_t sigcntxp); } sigreturn13
236104 STD { int|netbsd32||bind(int s, netbsd32_sockaddrp_t name, \ 236104 STD { int|netbsd32||bind(int s, netbsd32_sockaddrp_t name, \
237 int namelen); } 237 int namelen); }
238105 STD { int|netbsd32||setsockopt(int s, int level, int name, \ 238105 STD { int|netbsd32||setsockopt(int s, int level, int name, \
239 netbsd32_voidp val, int valsize); } 239 netbsd32_voidp val, int valsize); }
240106 STD { int|netbsd32||listen(int s, int backlog); } 240106 STD { int|netbsd32||listen(int s, int backlog); }
241107 OBSOL vtimes 241107 OBSOL vtimes
242108 COMPAT_43 { int|netbsd32||osigvec(int signum, \ 242108 COMPAT_43 { int|netbsd32||osigvec(int signum, \
243 netbsd32_sigvecp_t nsv, netbsd32_sigvecp_t osv); } 243 netbsd32_sigvecp_t nsv, netbsd32_sigvecp_t osv); }
244109 COMPAT_43 { int|netbsd32||sigblock(int mask); } 244109 COMPAT_43 { int|netbsd32||sigblock(int mask); }
245110 COMPAT_43 { int|netbsd32||sigsetmask(int mask); } 245110 COMPAT_43 { int|netbsd32||sigsetmask(int mask); }
246111 COMPAT_13 { int|netbsd32||sigsuspend(int mask); } sigsuspend13 246111 COMPAT_13 { int|netbsd32||sigsuspend(int mask); } sigsuspend13
247112 COMPAT_43 { int|netbsd32||osigstack(netbsd32_sigstackp_t nss, \ 247112 COMPAT_43 { int|netbsd32||osigstack(netbsd32_sigstackp_t nss, \
248 netbsd32_sigstackp_t oss); } 248 netbsd32_sigstackp_t oss); }
249113 COMPAT_43 { int|netbsd32||orecvmsg(int s, \ 249113 COMPAT_43 { int|netbsd32||orecvmsg(int s, \
250 netbsd32_omsghdrp_t msg, int flags); } 250 netbsd32_omsghdrp_t msg, int flags); }
251114 COMPAT_43 { int|netbsd32||osendmsg(int s, netbsd32_voidp msg, \ 251114 COMPAT_43 { int|netbsd32||osendmsg(int s, netbsd32_voidp msg, \
252 int flags); } 252 int flags); }
253115 OBSOL vtrace 253115 OBSOL vtrace
254116 COMPAT_50 { int|netbsd32||gettimeofday(netbsd32_timeval50p_t tp, \ 254116 COMPAT_50 { int|netbsd32||gettimeofday(netbsd32_timeval50p_t tp, \
255 netbsd32_timezonep_t tzp); } 255 netbsd32_timezonep_t tzp); }
256117 COMPAT_50 { int|netbsd32||getrusage(int who, \ 256117 COMPAT_50 { int|netbsd32||getrusage(int who, \
257 netbsd32_rusage50p_t rusage); } 257 netbsd32_rusage50p_t rusage); }
258118 STD { int|netbsd32||getsockopt(int s, int level, int name, \ 258118 STD { int|netbsd32||getsockopt(int s, int level, int name, \
259 netbsd32_voidp val, netbsd32_intp avalsize); } 259 netbsd32_voidp val, netbsd32_intp avalsize); }
260119 OBSOL resuba 260119 OBSOL resuba
261120 STD { netbsd32_ssize_t|netbsd32||readv(int fd, \ 261120 STD { netbsd32_ssize_t|netbsd32||readv(int fd, \
262 netbsd32_iovecp_t iovp, int iovcnt); } 262 netbsd32_iovecp_t iovp, int iovcnt); }
263121 STD { netbsd32_ssize_t|netbsd32||writev(int fd, \ 263121 STD { netbsd32_ssize_t|netbsd32||writev(int fd, \
264 netbsd32_iovecp_t iovp, int iovcnt); } 264 netbsd32_iovecp_t iovp, int iovcnt); }
265122 COMPAT_50 { int|netbsd32||settimeofday(netbsd32_timeval50p_t tv, \ 265122 COMPAT_50 { int|netbsd32||settimeofday(netbsd32_timeval50p_t tv, \
266 netbsd32_timezonep_t tzp); } 266 netbsd32_timezonep_t tzp); }
267123 STD { int|netbsd32||fchown(int fd, uid_t uid, gid_t gid); } 267123 STD { int|netbsd32||fchown(int fd, uid_t uid, gid_t gid); }
268124 STD { int|netbsd32||fchmod(int fd, mode_t mode); } 268124 STD { int|netbsd32||fchmod(int fd, mode_t mode); }
269125 COMPAT_43 { int|netbsd32||orecvfrom(int s, netbsd32_voidp buf, \ 269125 COMPAT_43 { int|netbsd32||orecvfrom(int s, netbsd32_voidp buf, \
270 netbsd32_size_t len, int flags, \ 270 netbsd32_size_t len, int flags, \
271 netbsd32_voidp from, netbsd32_intp fromlenaddr); } 271 netbsd32_voidp from, netbsd32_intp fromlenaddr); }
272126 STD { int|netbsd32||setreuid(uid_t ruid, uid_t euid); } 272126 STD { int|netbsd32||setreuid(uid_t ruid, uid_t euid); }
273127 STD { int|netbsd32||setregid(gid_t rgid, gid_t egid); } 273127 STD { int|netbsd32||setregid(gid_t rgid, gid_t egid); }
274128 STD { int|netbsd32||rename(netbsd32_charp from, \ 274128 STD { int|netbsd32||rename(netbsd32_charp from, \
275 netbsd32_charp to); } 275 netbsd32_charp to); }
276129 COMPAT_43 { int|netbsd32||otruncate(netbsd32_charp path, \ 276129 COMPAT_43 { int|netbsd32||otruncate(netbsd32_charp path, \
277 netbsd32_long length); } 277 netbsd32_long length); }
278130 COMPAT_43 { int|netbsd32||oftruncate(int fd, \ 278130 COMPAT_43 { int|netbsd32||oftruncate(int fd, \
279 netbsd32_long length); } 279 netbsd32_long length); }
280131 STD { int|netbsd32||flock(int fd, int how); } 280131 STD { int|netbsd32||flock(int fd, int how); }
281132 STD { int|netbsd32||mkfifo(netbsd32_charp path, \ 281132 STD { int|netbsd32||mkfifo(netbsd32_charp path, \
282 mode_t mode); } 282 mode_t mode); }
283133 STD { netbsd32_ssize_t|netbsd32||sendto(int s, \ 283133 STD { netbsd32_ssize_t|netbsd32||sendto(int s, \
284 netbsd32_voidp buf, netbsd32_size_t len, \ 284 netbsd32_voidp buf, netbsd32_size_t len, \
285 int flags, netbsd32_sockaddrp_t to, int tolen); } 285 int flags, netbsd32_sockaddrp_t to, int tolen); }
286134 STD { int|netbsd32||shutdown(int s, int how); } 286134 STD { int|netbsd32||shutdown(int s, int how); }
287135 STD { int|netbsd32||socketpair(int domain, int type, \ 287135 STD { int|netbsd32||socketpair(int domain, int type, \
288 int protocol, netbsd32_intp rsv); } 288 int protocol, netbsd32_intp rsv); }
289136 STD { int|netbsd32||mkdir(netbsd32_charp path, \ 289136 STD { int|netbsd32||mkdir(netbsd32_charp path, \
290 mode_t mode); } 290 mode_t mode); }
291137 STD { int|netbsd32||rmdir(netbsd32_charp path); } 291137 STD { int|netbsd32||rmdir(netbsd32_charp path); }
292138 COMPAT_50 { int|netbsd32||utimes(netbsd32_charp path, \ 292138 COMPAT_50 { int|netbsd32||utimes(netbsd32_charp path, \
293 netbsd32_timeval50p_t tptr); } 293 netbsd32_timeval50p_t tptr); }
294139 OBSOL 4.2 sigreturn 294139 OBSOL 4.2 sigreturn
295140 COMPAT_50 { int|netbsd32||adjtime(netbsd32_timeval50p_t delta, \ 295140 COMPAT_50 { int|netbsd32||adjtime(netbsd32_timeval50p_t delta, \
296 netbsd32_timeval50p_t olddelta); } 296 netbsd32_timeval50p_t olddelta); }
297141 COMPAT_43 { int|netbsd32||ogetpeername(int fdes, \ 297141 COMPAT_43 { int|netbsd32||ogetpeername(int fdes, \
298 netbsd32_voidp asa, netbsd32_intp alen); } 298 netbsd32_voidp asa, netbsd32_intp alen); }
299142 COMPAT_43 { int32_t|sys||gethostid(void); } ogethostid 299142 COMPAT_43 { int32_t|sys||gethostid(void); } ogethostid
300143 COMPAT_43 { int|netbsd32||sethostid(int32_t hostid); } 300143 COMPAT_43 { int|netbsd32||sethostid(int32_t hostid); }
301144 COMPAT_43 { int|netbsd32||ogetrlimit(int which, \ 301144 COMPAT_43 { int|netbsd32||ogetrlimit(int which, \
302 netbsd32_orlimitp_t rlp); } 302 netbsd32_orlimitp_t rlp); }
303145 COMPAT_43 { int|netbsd32||osetrlimit(int which, \ 303145 COMPAT_43 { int|netbsd32||osetrlimit(int which, \
304 netbsd32_orlimitp_t rlp); } 304 netbsd32_orlimitp_t rlp); }
305146 COMPAT_43 { int|netbsd32||killpg(int pgid, int signum); } 305146 COMPAT_43 { int|netbsd32||killpg(int pgid, int signum); }
306147 NOARGS { int|sys||setsid(void); } 306147 NOARGS { int|sys||setsid(void); }
307148 COMPAT_50 { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \ 307148 COMPAT_50 { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \
308 int uid, netbsd32_voidp arg); } 308 int uid, netbsd32_voidp arg); }
309149 COMPAT_43 { int|sys||quota(void); } oquota 309149 COMPAT_43 { int|sys||quota(void); } oquota
310150 COMPAT_43 { int|netbsd32||ogetsockname(int fdec, \ 310150 COMPAT_43 { int|netbsd32||ogetsockname(int fdec, \
311 netbsd32_voidp asa, netbsd32_intp alen); } 311 netbsd32_voidp asa, netbsd32_intp alen); }
312 312
313; Syscalls 151-180 inclusive are reserved for vendor-specific 313; Syscalls 151-180 inclusive are reserved for vendor-specific
314; system calls. (This includes various calls added for compatibity 314; system calls. (This includes various calls added for compatibity
315; with other Unix variants.) 315; with other Unix variants.)
316; Some of these calls are now supported by BSD... 316; Some of these calls are now supported by BSD...
317151 UNIMPL 317151 UNIMPL
318152 UNIMPL 318152 UNIMPL
319153 UNIMPL 319153 UNIMPL
320154 UNIMPL 320154 UNIMPL
321155 UNIMPL netbsd32_nfssvc 321155 UNIMPL netbsd32_nfssvc
322156 COMPAT_43 { int|netbsd32||ogetdirentries(int fd, \ 322156 COMPAT_43 { int|netbsd32||ogetdirentries(int fd, \
323 netbsd32_charp buf, u_int count, \ 323 netbsd32_charp buf, u_int count, \
324 netbsd32_longp basep); } 324 netbsd32_longp basep); }
325157 COMPAT_20 { int|netbsd32||statfs(netbsd32_charp path, \ 325157 COMPAT_20 { int|netbsd32||statfs(netbsd32_charp path, \
326 netbsd32_statfsp_t buf); } 326 netbsd32_statfsp_t buf); }
327158 COMPAT_20 { int|netbsd32||fstatfs(int fd, \ 327158 COMPAT_20 { int|netbsd32||fstatfs(int fd, \
328 netbsd32_statfsp_t buf); } 328 netbsd32_statfsp_t buf); }
329159 UNIMPL 329159 UNIMPL
330160 UNIMPL 330160 UNIMPL
331161 COMPAT_30 { int|netbsd32||getfh(netbsd32_charp fname, \ 331161 COMPAT_30 { int|netbsd32||getfh(netbsd32_charp fname, \
332 netbsd32_compat_30_fhandlep_t fhp); } 332 netbsd32_compat_30_fhandlep_t fhp); }
333162 COMPAT_09 { int|netbsd32||ogetdomainname( \ 333162 COMPAT_09 { int|netbsd32||ogetdomainname( \
334 netbsd32_charp domainname, int len); } 334 netbsd32_charp domainname, int len); }
335163 COMPAT_09 { int|netbsd32||osetdomainname( \ 335163 COMPAT_09 { int|netbsd32||osetdomainname( \
336 netbsd32_charp domainname, int len); } 336 netbsd32_charp domainname, int len); }
337164 COMPAT_09 { int|netbsd32||uname(netbsd32_outsnamep_t name); } 337164 COMPAT_09 { int|netbsd32||uname(netbsd32_outsnamep_t name); }
338165 STD { int|netbsd32||sysarch(int op, netbsd32_voidp parms); } 338165 STD { int|netbsd32||sysarch(int op, netbsd32_voidp parms); }
339166 UNIMPL 339166 UNIMPL
340167 UNIMPL 340167 UNIMPL
341168 UNIMPL 341168 UNIMPL
342#if defined(SYSVSEM) || !defined(_KERNEL_OPT) 342#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
343169 COMPAT_10 { int|netbsd32||semsys(int which, int a2, int a3, \ 343169 COMPAT_10 { int|netbsd32||semsys(int which, int a2, int a3, \
344 int a4, int a5); } osemsys 344 int a4, int a5); } osemsys
345#else 345#else
346169 EXCL netbsd32_semsys 346169 EXCL netbsd32_semsys
347#endif 347#endif
348#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 348#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
349170 COMPAT_10 { int|netbsd32||msgsys(int which, int a2, int a3, \ 349170 COMPAT_10 { int|netbsd32||msgsys(int which, int a2, int a3, \
350 int a4, int a5, int a6); } omsgsys 350 int a4, int a5, int a6); } omsgsys
351#else 351#else
352170 EXCL netbsd32_msgsys 352170 EXCL netbsd32_msgsys
353#endif 353#endif
354#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 354#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
355171 COMPAT_10 { int|netbsd32||shmsys(int which, int a2, int a3, \ 355171 COMPAT_10 { int|netbsd32||shmsys(int which, int a2, int a3, \
356 int a4); } oshmsys 356 int a4); } oshmsys
357#else 357#else
358171 EXCL netbsd32_shmsys 358171 EXCL netbsd32_shmsys
359#endif 359#endif
360172 UNIMPL 360172 UNIMPL
361173 STD { netbsd32_ssize_t|netbsd32||pread(int fd, \ 361173 STD { netbsd32_ssize_t|netbsd32||pread(int fd, \
362 netbsd32_voidp buf, netbsd32_size_t nbyte, \ 362 netbsd32_voidp buf, netbsd32_size_t nbyte, \
363 int PAD, off_t offset); } 363 int PAD, off_t offset); }
364174 STD { netbsd32_ssize_t|netbsd32||pwrite(int fd, \ 364174 STD { netbsd32_ssize_t|netbsd32||pwrite(int fd, \
365 netbsd32_voidp buf, netbsd32_size_t nbyte, \ 365 netbsd32_voidp buf, netbsd32_size_t nbyte, \
366 int PAD, off_t offset); } 366 int PAD, off_t offset); }
367#if defined(NTP) || !defined(_KERNEL_OPT) 367#if defined(NTP) || !defined(_KERNEL_OPT)
368175 COMPAT_30 { int|netbsd32||ntp_gettime( \ 368175 COMPAT_30 { int|netbsd32||ntp_gettime( \
369 netbsd32_ntptimeval50p_t ntvp); } 369 netbsd32_ntptimeval50p_t ntvp); }
370176 STD { int|netbsd32||ntp_adjtime(netbsd32_timexp_t tp); } 370176 STD { int|netbsd32||ntp_adjtime(netbsd32_timexp_t tp); }
371#else 371#else
372175 EXCL ntp_gettime 372175 EXCL ntp_gettime
373176 EXCL ntp_adjtime 373176 EXCL ntp_adjtime
374#endif 374#endif
375177 UNIMPL 375177 UNIMPL
376178 UNIMPL 376178 UNIMPL
377179 UNIMPL 377179 UNIMPL
378180 UNIMPL 378180 UNIMPL
379 379
380; Syscalls 180-199 are used by/reserved for BSD 380; Syscalls 180-199 are used by/reserved for BSD
381181 STD { int|netbsd32||setgid(gid_t gid); } 381181 STD { int|netbsd32||setgid(gid_t gid); }
382182 STD { int|netbsd32||setegid(gid_t egid); } 382182 STD { int|netbsd32||setegid(gid_t egid); }
383183 STD { int|netbsd32||seteuid(uid_t euid); } 383183 STD { int|netbsd32||seteuid(uid_t euid); }
384184 EXCL netbsd32_lfs_bmapv 384184 EXCL netbsd32_lfs_bmapv
385185 EXCL netbsd32_lfs_markv 385185 EXCL netbsd32_lfs_markv
386186 EXCL netbsd32_lfs_segclean 386186 EXCL netbsd32_lfs_segclean
387187 EXCL netbsd32_lfs_segwait 387187 EXCL netbsd32_lfs_segwait
388188 COMPAT_12 { int|netbsd32||stat12(netbsd32_charp path, \ 388188 COMPAT_12 { int|netbsd32||stat12(netbsd32_charp path, \
389 netbsd32_stat12p_t ub); } 389 netbsd32_stat12p_t ub); }
390189 COMPAT_12 { int|netbsd32||fstat12(int fd, netbsd32_stat12p_t sb); } 390189 COMPAT_12 { int|netbsd32||fstat12(int fd, netbsd32_stat12p_t sb); }
391190 COMPAT_12 { int|netbsd32||lstat12(netbsd32_charp path, \ 391190 COMPAT_12 { int|netbsd32||lstat12(netbsd32_charp path, \
392 netbsd32_stat12p_t ub); } 392 netbsd32_stat12p_t ub); }
393191 STD { netbsd32_long|netbsd32||pathconf(netbsd32_charp path, \ 393191 STD { netbsd32_long|netbsd32||pathconf(netbsd32_charp path, \
394 int name); } 394 int name); }
395192 STD { netbsd32_long|netbsd32||fpathconf(int fd, int name); } 395192 STD { netbsd32_long|netbsd32||fpathconf(int fd, int name); }
396193 UNIMPL 396193 UNIMPL
397194 STD { int|netbsd32||getrlimit(int which, \ 397194 STD { int|netbsd32||getrlimit(int which, \
398 netbsd32_rlimitp_t rlp); } 398 netbsd32_rlimitp_t rlp); }
399195 STD { int|netbsd32||setrlimit(int which, \ 399195 STD { int|netbsd32||setrlimit(int which, \
400 netbsd32_rlimitp_t rlp); } 400 netbsd32_rlimitp_t rlp); }
401196 COMPAT_12 { int|netbsd32||getdirentries(int fd, \ 401196 COMPAT_12 { int|netbsd32||getdirentries(int fd, \
402 netbsd32_charp buf, u_int count, \ 402 netbsd32_charp buf, u_int count, \
403 netbsd32_longp basep); } 403 netbsd32_longp basep); }
404197 STD { netbsd32_voidp|netbsd32||mmap(netbsd32_voidp addr, \ 404197 STD { netbsd32_voidp|netbsd32||mmap(netbsd32_voidp addr, \
405 netbsd32_size_t len, int prot, int flags, int fd, \ 405 netbsd32_size_t len, int prot, int flags, int fd, \
406 netbsd32_long PAD, off_t pos); } 406 netbsd32_long PAD, off_t pos); }
407198 INDIR { quad_t|netbsd32||___syscall(quad_t code, \ 407198 INDIR { quad_t|netbsd32||___syscall(quad_t code, \
408 ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } 408 ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); }
409199 STD { off_t|netbsd32||lseek(int fd, int PAD, off_t offset, \ 409199 STD { off_t|netbsd32||lseek(int fd, int PAD, off_t offset, \
410 int whence); } 410 int whence); }
411200 STD { int|netbsd32||truncate(netbsd32_charp path, int PAD, \ 411200 STD { int|netbsd32||truncate(netbsd32_charp path, int PAD, \
412 off_t length); } 412 off_t length); }
413201 STD { int|netbsd32||ftruncate(int fd, int PAD, \ 413201 STD { int|netbsd32||ftruncate(int fd, int PAD, \
414 off_t length); } 414 off_t length); }
415202 STD { int|netbsd32||__sysctl(netbsd32_intp name, \ 415202 STD { int|netbsd32||__sysctl(netbsd32_intp name, \
416 u_int namelen, netbsd32_voidp old, \ 416 u_int namelen, netbsd32_voidp old, \
417 netbsd32_size_tp oldlenp, netbsd32_voidp new, \ 417 netbsd32_size_tp oldlenp, netbsd32_voidp new, \
418 netbsd32_size_t newlen); } 418 netbsd32_size_t newlen); }
419203 STD { int|netbsd32||mlock(netbsd32_voidp addr, \ 419203 STD { int|netbsd32||mlock(netbsd32_voidp addr, \
420 netbsd32_size_t len); } 420 netbsd32_size_t len); }
421204 STD { int|netbsd32||munlock(netbsd32_voidp addr, \ 421204 STD { int|netbsd32||munlock(netbsd32_voidp addr, \
422 netbsd32_size_t len); } 422 netbsd32_size_t len); }
423205 STD { int|netbsd32||undelete(netbsd32_charp path); } 423205 STD { int|netbsd32||undelete(netbsd32_charp path); }
424206 COMPAT_50 { int|netbsd32||futimes(int fd, \ 424206 COMPAT_50 { int|netbsd32||futimes(int fd, \
425 netbsd32_timeval50p_t tptr); } 425 netbsd32_timeval50p_t tptr); }
426207 STD { int|netbsd32||getpgid(pid_t pid); } 426207 STD { int|netbsd32||getpgid(pid_t pid); }
427208 STD { int|netbsd32||reboot(int opt, \ 427208 STD { int|netbsd32||reboot(int opt, \
428 netbsd32_charp bootstr); } 428 netbsd32_charp bootstr); }
429209 STD { int|netbsd32||poll(netbsd32_pollfdp_t fds, \ 429209 STD { int|netbsd32||poll(netbsd32_pollfdp_t fds, \
430 u_int nfds, int timeout); } 430 u_int nfds, int timeout); }
431210 UNIMPL 431210 UNIMPL
432211 UNIMPL 432211 UNIMPL
433212 UNIMPL 433212 UNIMPL
434213 UNIMPL 434213 UNIMPL
435214 UNIMPL 435214 UNIMPL
436215 UNIMPL 436215 UNIMPL
437216 UNIMPL 437216 UNIMPL
438217 UNIMPL 438217 UNIMPL
439218 UNIMPL 439218 UNIMPL
440219 UNIMPL 440219 UNIMPL
441; System calls 220-300 are reserved for use by NetBSD 441; System calls 220-300 are reserved for use by NetBSD
442#if defined(SYSVSEM) || !defined(_KERNEL_OPT) 442#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
443220 COMPAT_14 { int|netbsd32||__semctl(int semid, int semnum, \ 443220 COMPAT_14 { int|netbsd32||__semctl(int semid, int semnum, \
444 int cmd, netbsd32_semunu_t arg); } 444 int cmd, netbsd32_semunu_t arg); }
445221 STD { int|netbsd32||semget(netbsd32_key_t key, int nsems, \ 445221 STD { int|netbsd32||semget(netbsd32_key_t key, int nsems, \
446 int semflg); } 446 int semflg); }
447222 STD { int|netbsd32||semop(int semid, \ 447222 STD { int|netbsd32||semop(int semid, \
448 netbsd32_sembufp_t sops, netbsd32_size_t nsops); } 448 netbsd32_sembufp_t sops, netbsd32_size_t nsops); }
449223 STD { int|netbsd32||semconfig(int flag); } 449223 STD { int|netbsd32||semconfig(int flag); }
450#else 450#else
451220 EXCL compat_14_netbsd32_semctl 451220 EXCL compat_14_netbsd32_semctl
452221 EXCL netbsd32_semget 452221 EXCL netbsd32_semget
453222 EXCL netbsd32_semop 453222 EXCL netbsd32_semop
454223 EXCL netbsd32_semconfig 454223 EXCL netbsd32_semconfig
455#endif 455#endif
456#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 456#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
457224 COMPAT_14 { int|netbsd32||msgctl(int msqid, int cmd, \ 457224 COMPAT_14 { int|netbsd32||msgctl(int msqid, int cmd, \
458 netbsd32_msqid_ds14p_t buf); } 458 netbsd32_msqid_ds14p_t buf); }
459225 STD { int|netbsd32||msgget(netbsd32_key_t key, int msgflg); } 459225 STD { int|netbsd32||msgget(netbsd32_key_t key, int msgflg); }
460226 STD { int|netbsd32||msgsnd(int msqid, netbsd32_voidp msgp, \ 460226 STD { int|netbsd32||msgsnd(int msqid, netbsd32_voidp msgp, \
461 netbsd32_size_t msgsz, int msgflg); } 461 netbsd32_size_t msgsz, int msgflg); }
462227 STD { netbsd32_ssize_t|netbsd32||msgrcv(int msqid, \ 462227 STD { netbsd32_ssize_t|netbsd32||msgrcv(int msqid, \
463 netbsd32_voidp msgp, netbsd32_size_t msgsz, \ 463 netbsd32_voidp msgp, netbsd32_size_t msgsz, \
464 netbsd32_long msgtyp, int msgflg); } 464 netbsd32_long msgtyp, int msgflg); }
465#else 465#else
466224 EXCL compat_14_netbsd32_msgctl 466224 EXCL compat_14_netbsd32_msgctl
467225 EXCL netbsd32_msgget 467225 EXCL netbsd32_msgget
468226 EXCL netbsd32_msgsnd 468226 EXCL netbsd32_msgsnd
469227 EXCL netbsd32_msgrcv 469227 EXCL netbsd32_msgrcv
470#endif 470#endif
471#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 471#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
472228 STD { netbsd32_voidp|netbsd32||shmat(int shmid, \ 472228 STD { netbsd32_voidp|netbsd32||shmat(int shmid, \
473 netbsd32_voidp shmaddr, int shmflg); } 473 netbsd32_voidp shmaddr, int shmflg); }
474229 COMPAT_14 { int|netbsd32||shmctl(int shmid, int cmd, \ 474229 COMPAT_14 { int|netbsd32||shmctl(int shmid, int cmd, \
475 netbsd32_shmid_dsp_t buf); } 475 netbsd32_shmid_dsp_t buf); }
476230 STD { int|netbsd32||shmdt(netbsd32_voidp shmaddr); } 476230 STD { int|netbsd32||shmdt(netbsd32_voidp shmaddr); }
477231 STD { int|netbsd32||shmget(netbsd32_key_t key, \ 477231 STD { int|netbsd32||shmget(netbsd32_key_t key, \
478 netbsd32_size_t size, int shmflg); } 478 netbsd32_size_t size, int shmflg); }
479#else 479#else
480228 EXCL netbsd32_shmat 480228 EXCL netbsd32_shmat
481229 EXCL compat_14_netbsd32_shmctl 481229 EXCL compat_14_netbsd32_shmctl
482230 EXCL netbsd32_shmdt 482230 EXCL netbsd32_shmdt
483231 EXCL netbsd32_shmget 483231 EXCL netbsd32_shmget
484#endif 484#endif
485232 COMPAT_50 { int|netbsd32||clock_gettime( \ 485232 COMPAT_50 { int|netbsd32||clock_gettime( \
486 netbsd32_clockid_t clock_id, \ 486 netbsd32_clockid_t clock_id, \
487 netbsd32_timespec50p_t tp); } 487 netbsd32_timespec50p_t tp); }
488233 COMPAT_50 { int|netbsd32||clock_settime( \ 488233 COMPAT_50 { int|netbsd32||clock_settime( \
489 netbsd32_clockid_t clock_id, \ 489 netbsd32_clockid_t clock_id, \
490 netbsd32_timespec50p_t tp); } 490 netbsd32_timespec50p_t tp); }
491234 COMPAT_50 { int|netbsd32||clock_getres( \ 491234 COMPAT_50 { int|netbsd32||clock_getres( \
492 netbsd32_clockid_t clock_id, \ 492 netbsd32_clockid_t clock_id, \
493 netbsd32_timespec50p_t tp); } 493 netbsd32_timespec50p_t tp); }
494235 STD { int|netbsd32||timer_create( \ 494235 STD { int|netbsd32||timer_create( \
495 netbsd32_clockid_t clock_id, \ 495 netbsd32_clockid_t clock_id, \
496 netbsd32_sigeventp_t evp, \ 496 netbsd32_sigeventp_t evp, \
497 netbsd32_timerp_t timerid); } 497 netbsd32_timerp_t timerid); }
498236 STD { int|netbsd32||timer_delete(netbsd32_timer_t timerid); } 498236 STD { int|netbsd32||timer_delete(netbsd32_timer_t timerid); }
499237 COMPAT_50 { int|netbsd32||timer_settime(netbsd32_timer_t timerid, \ 499237 COMPAT_50 { int|netbsd32||timer_settime(netbsd32_timer_t timerid, \
500 int flags, \ 500 int flags, \
501 netbsd32_itimerspec50p_t value, \ 501 netbsd32_itimerspec50p_t value, \
502 netbsd32_itimerspec50p_t ovalue); } 502 netbsd32_itimerspec50p_t ovalue); }
503238 COMPAT_50 { int|netbsd32||timer_gettime(netbsd32_timer_t timerid, \ 503238 COMPAT_50 { int|netbsd32||timer_gettime(netbsd32_timer_t timerid, \
504 netbsd32_itimerspec50p_t value); } 504 netbsd32_itimerspec50p_t value); }
505239 STD { int|netbsd32||timer_getoverrun( \ 505239 STD { int|netbsd32||timer_getoverrun( \
506 netbsd32_timer_t timerid); } 506 netbsd32_timer_t timerid); }
507; 507;
508; Syscalls 240-269 are reserved for other IEEE Std1003.1b syscalls 508; Syscalls 240-269 are reserved for other IEEE Std1003.1b syscalls
509; 509;
510240 COMPAT_50 { int|netbsd32||nanosleep(netbsd32_timespec50p_t rqtp, \ 510240 COMPAT_50 { int|netbsd32||nanosleep(netbsd32_timespec50p_t rqtp, \
511 netbsd32_timespec50p_t rmtp); } 511 netbsd32_timespec50p_t rmtp); }
512241 STD { int|netbsd32||fdatasync(int fd); } 512241 STD { int|netbsd32||fdatasync(int fd); }
513242 STD { int|netbsd32||mlockall(int flags); } 513242 STD { int|netbsd32||mlockall(int flags); }
514243 NOARGS { int|sys||munlockall(void); } 514243 NOARGS { int|sys||munlockall(void); }
515244 COMPAT_50 { int|netbsd32||__sigtimedwait(netbsd32_sigsetp_t set, \ 515244 COMPAT_50 { int|netbsd32||__sigtimedwait(netbsd32_sigsetp_t set, \
516 netbsd32_siginfop_t info, \ 516 netbsd32_siginfop_t info, \
517 netbsd32_timespec50p_t timeout); } 517 netbsd32_timespec50p_t timeout); }
518245 UNIMPL 518245 UNIMPL
519246 UNIMPL 519246 UNIMPL
520#if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL_OPT) && defined(_LIBC)) 520#if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL_OPT) && defined(_LIBC))
521247 STD { int|netbsd32||_ksem_init(unsigned int value, \ 521247 STD { int|netbsd32||_ksem_init(unsigned int value, \
522 netbsd32_semidp_t idp); } 522 netbsd32_semidp_t idp); }
523248 STD { int|netbsd32||_ksem_open(netbsd32_charp name, \ 523248 STD { int|netbsd32||_ksem_open(netbsd32_charp name, \
524 int oflag, mode_t mode, unsigned int value, \ 524 int oflag, mode_t mode, unsigned int value, \
525 netbsd32_semidp_t idp); } 525 netbsd32_semidp_t idp); }
526249 STD { int|netbsd32||_ksem_unlink(netbsd32_charp name); } 526249 STD { int|netbsd32||_ksem_unlink(netbsd32_charp name); }
527250 STD { int|netbsd32||_ksem_close(netbsd32_intptr_t id); } 527250 STD { int|netbsd32||_ksem_close(netbsd32_intptr_t id); }
528251 STD { int|netbsd32||_ksem_post(netbsd32_intptr_t id); } 528251 STD { int|netbsd32||_ksem_post(netbsd32_intptr_t id); }
529252 STD { int|netbsd32||_ksem_wait(netbsd32_intptr_t id); } 529252 STD { int|netbsd32||_ksem_wait(netbsd32_intptr_t id); }
530253 STD { int|netbsd32||_ksem_trywait(netbsd32_intptr_t id); } 530253 STD { int|netbsd32||_ksem_trywait(netbsd32_intptr_t id); }
531254 STD { int|netbsd32||_ksem_getvalue(netbsd32_intptr_t id, \ 531254 STD { int|netbsd32||_ksem_getvalue(netbsd32_intptr_t id, \
532 netbsd32_intp value); } 532 netbsd32_intp value); }
533255 STD { int|netbsd32||_ksem_destroy(netbsd32_intptr_t id); } 533255 STD { int|netbsd32||_ksem_destroy(netbsd32_intptr_t id); }
534256 UNIMPL sys__ksem_timedwait 534256 STD { int|netbsd32||_ksem_timedwait(intptr_t id, \
 535 const netbsd32_timespecp_t abstime); }
535#else 536#else
536247 EXCL sys__ksem_init 537247 EXCL sys__ksem_init
537248 EXCL sys__ksem_open 538248 EXCL sys__ksem_open
538249 EXCL sys__ksem_unlink 539249 EXCL sys__ksem_unlink
539250 EXCL sys__ksem_close 540250 EXCL sys__ksem_close
540251 EXCL sys__ksem_post 541251 EXCL sys__ksem_post
541252 EXCL sys__ksem_wait 542252 EXCL sys__ksem_wait
542253 EXCL sys__ksem_trywait 543253 EXCL sys__ksem_trywait
543254 EXCL sys__ksem_getvalue 544254 EXCL sys__ksem_getvalue
544255 EXCL sys__ksem_destroy 545255 EXCL sys__ksem_destroy
545256 UNIMPL sys__ksem_timedwait 546256 EXCL sys__ksem_timedwait
546#endif 547#endif
547257 UNIMPL 548257 UNIMPL
548258 UNIMPL 549258 UNIMPL
549259 UNIMPL 550259 UNIMPL
550260 UNIMPL 551260 UNIMPL
551261 UNIMPL 552261 UNIMPL
552262 UNIMPL 553262 UNIMPL
553263 UNIMPL 554263 UNIMPL
554264 UNIMPL 555264 UNIMPL
555265 UNIMPL 556265 UNIMPL
556266 UNIMPL 557266 UNIMPL
557267 UNIMPL 558267 UNIMPL
558268 UNIMPL 559268 UNIMPL
559269 UNIMPL 560269 UNIMPL
560270 STD { int|netbsd32||__posix_rename(netbsd32_charp from, \ 561270 STD { int|netbsd32||__posix_rename(netbsd32_charp from, \
561 netbsd32_charp to); } 562 netbsd32_charp to); }
562271 STD { int|netbsd32||swapctl(int cmd, netbsd32_voidp arg, \ 563271 STD { int|netbsd32||swapctl(int cmd, netbsd32_voidp arg, \
563 int misc); } 564 int misc); }
564272 COMPAT_30 { int|netbsd32||getdents(int fd, netbsd32_charp buf, \ 565272 COMPAT_30 { int|netbsd32||getdents(int fd, netbsd32_charp buf, \
565 netbsd32_size_t count); } 566 netbsd32_size_t count); }
566273 STD { int|netbsd32||minherit(netbsd32_voidp addr, \ 567273 STD { int|netbsd32||minherit(netbsd32_voidp addr, \
567 netbsd32_size_t len, int inherit); } 568 netbsd32_size_t len, int inherit); }
568274 STD { int|netbsd32||lchmod(netbsd32_charp path, \ 569274 STD { int|netbsd32||lchmod(netbsd32_charp path, \
569 mode_t mode); } 570 mode_t mode); }
570275 STD { int|netbsd32||lchown(netbsd32_charp path, uid_t uid, \ 571275 STD { int|netbsd32||lchown(netbsd32_charp path, uid_t uid, \
571 gid_t gid); } 572 gid_t gid); }
572276 COMPAT_50 { int|netbsd32||lutimes(netbsd32_charp path, \ 573276 COMPAT_50 { int|netbsd32||lutimes(netbsd32_charp path, \
573 netbsd32_timeval50p_t tptr); } 574 netbsd32_timeval50p_t tptr); }
574277 STD { int|netbsd32|13|msync(netbsd32_voidp addr, \ 575277 STD { int|netbsd32|13|msync(netbsd32_voidp addr, \
575 netbsd32_size_t len, int flags); } 576 netbsd32_size_t len, int flags); }
576278 COMPAT_30 { int|netbsd32|13|stat(netbsd32_charp path, \ 577278 COMPAT_30 { int|netbsd32|13|stat(netbsd32_charp path, \
577 netbsd32_stat13p_t ub); } 578 netbsd32_stat13p_t ub); }
578279 COMPAT_30 { int|netbsd32|13|fstat(int fd, \ 579279 COMPAT_30 { int|netbsd32|13|fstat(int fd, \
579 netbsd32_stat13p_t sb); } 580 netbsd32_stat13p_t sb); }
580280 COMPAT_30 { int|netbsd32|13|lstat(netbsd32_charp path, \ 581280 COMPAT_30 { int|netbsd32|13|lstat(netbsd32_charp path, \
581 netbsd32_stat13p_t ub); } 582 netbsd32_stat13p_t ub); }
582281 STD { int|netbsd32|14|sigaltstack(\ 583281 STD { int|netbsd32|14|sigaltstack(\
583 netbsd32_sigaltstackp_t nss, \ 584 netbsd32_sigaltstackp_t nss, \
584 netbsd32_sigaltstackp_t oss); } 585 netbsd32_sigaltstackp_t oss); }
585282 NOARGS { int|sys|14|vfork(void); } 586282 NOARGS { int|sys|14|vfork(void); }
586283 STD { int|netbsd32||__posix_chown(netbsd32_charp path, \ 587283 STD { int|netbsd32||__posix_chown(netbsd32_charp path, \
587 uid_t uid, gid_t gid); } 588 uid_t uid, gid_t gid); }
588284 STD { int|netbsd32||__posix_fchown(int fd, uid_t uid, \ 589284 STD { int|netbsd32||__posix_fchown(int fd, uid_t uid, \
589 gid_t gid); } 590 gid_t gid); }
590285 STD { int|netbsd32||__posix_lchown(netbsd32_charp path, \ 591285 STD { int|netbsd32||__posix_lchown(netbsd32_charp path, \
591 uid_t uid, gid_t gid); } 592 uid_t uid, gid_t gid); }
592286 STD { pid_t|netbsd32||getsid(pid_t pid); } 593286 STD { pid_t|netbsd32||getsid(pid_t pid); }
593287 STD { int|netbsd32||__clone(int flags, \ 594287 STD { int|netbsd32||__clone(int flags, \
594 netbsd32_voidp stack); } 595 netbsd32_voidp stack); }
595288 STD { int|netbsd32||fktrace(int fd, int ops, int facs, \ 596288 STD { int|netbsd32||fktrace(int fd, int ops, int facs, \
596 int pid); } 597 int pid); }
597289 STD { netbsd32_ssize_t|netbsd32||preadv(int fd, \ 598289 STD { netbsd32_ssize_t|netbsd32||preadv(int fd, \
598 netbsd32_iovecp_t iovp, int iovcnt, int PAD, \ 599 netbsd32_iovecp_t iovp, int iovcnt, int PAD, \
599 off_t offset); } 600 off_t offset); }
600290 STD { netbsd32_ssize_t|netbsd32||pwritev(int fd, \ 601290 STD { netbsd32_ssize_t|netbsd32||pwritev(int fd, \
601 netbsd32_iovecp_t iovp, int iovcnt, int PAD, \ 602 netbsd32_iovecp_t iovp, int iovcnt, int PAD, \
602 off_t offset); } 603 off_t offset); }
603291 STD { int|netbsd32|14|sigaction(int signum, \ 604291 STD { int|netbsd32|14|sigaction(int signum, \
604 netbsd32_sigactionp_t nsa, \ 605 netbsd32_sigactionp_t nsa, \
605 netbsd32_sigactionp_t osa); } 606 netbsd32_sigactionp_t osa); }
606292 STD { int|netbsd32|14|sigpending(netbsd32_sigsetp_t set); } 607292 STD { int|netbsd32|14|sigpending(netbsd32_sigsetp_t set); }
607293 STD { int|netbsd32|14|sigprocmask(int how, \ 608293 STD { int|netbsd32|14|sigprocmask(int how, \
608 netbsd32_sigsetp_t set, \ 609 netbsd32_sigsetp_t set, \
609 netbsd32_sigsetp_t oset); } 610 netbsd32_sigsetp_t oset); }
610294 STD { int|netbsd32|14|sigsuspend(netbsd32_sigsetp_t set); } 611294 STD { int|netbsd32|14|sigsuspend(netbsd32_sigsetp_t set); }
611295 COMPAT_16 { int|netbsd32|14|sigreturn( \ 612295 COMPAT_16 { int|netbsd32|14|sigreturn( \
612 netbsd32_sigcontextp_t sigcntxp); } 613 netbsd32_sigcontextp_t sigcntxp); }
613296 STD { int|netbsd32||__getcwd(netbsd32_charp bufp, \ 614296 STD { int|netbsd32||__getcwd(netbsd32_charp bufp, \
614 netbsd32_size_t length); } 615 netbsd32_size_t length); }
615297 STD { int|netbsd32||fchroot(int fd); } 616297 STD { int|netbsd32||fchroot(int fd); }
616298 COMPAT_30 { int|netbsd32||fhopen(netbsd32_fhandlep_t fhp, \ 617298 COMPAT_30 { int|netbsd32||fhopen(netbsd32_fhandlep_t fhp, \
617 int flags); } 618 int flags); }
618299 COMPAT_30 { int|netbsd32||fhstat(netbsd32_fhandlep_t fhp, \ 619299 COMPAT_30 { int|netbsd32||fhstat(netbsd32_fhandlep_t fhp, \
619 netbsd32_stat13p_t sb); } 620 netbsd32_stat13p_t sb); }
620300 COMPAT_20 { int|netbsd32||fhstatfs(netbsd32_fhandlep_t fhp, \ 621300 COMPAT_20 { int|netbsd32||fhstatfs(netbsd32_fhandlep_t fhp, \
621 netbsd32_stat50p_t buf); } 622 netbsd32_stat50p_t buf); }
622#if defined(SYSVSEM) || !defined(_KERNEL_OPT) 623#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
623301 COMPAT_50 { int|netbsd32|14|semctl(int semid, int semnum, \ 624301 COMPAT_50 { int|netbsd32|14|semctl(int semid, int semnum, \
624 int cmd, ... netbsd32_semun50p_t arg); } 625 int cmd, ... netbsd32_semun50p_t arg); }
625#else 626#else
626301 EXCL __semctl14 627301 EXCL __semctl14
627#endif 628#endif
628#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 629#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
629302 COMPAT_50 { int|netbsd32|13|msgctl(int msqid, int cmd, \ 630302 COMPAT_50 { int|netbsd32|13|msgctl(int msqid, int cmd, \
630 netbsd32_msqid_ds50p_t buf); } 631 netbsd32_msqid_ds50p_t buf); }
631#else 632#else
632302 EXCL __msgctl13 633302 EXCL __msgctl13
633#endif 634#endif
634#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 635#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
635303 COMPAT_50 { int|netbsd32|13|shmctl(int shmid, int cmd, \ 636303 COMPAT_50 { int|netbsd32|13|shmctl(int shmid, int cmd, \
636 netbsd32_shmid_ds50p_t buf); } 637 netbsd32_shmid_ds50p_t buf); }
637#else 638#else
638303 EXCL __shmctl13 639303 EXCL __shmctl13
639#endif 640#endif
640304 STD { int|netbsd32||lchflags(netbsd32_charp path, \ 641304 STD { int|netbsd32||lchflags(netbsd32_charp path, \
641 netbsd32_u_long flags); } 642 netbsd32_u_long flags); }
642305 NOARGS { int|sys||issetugid(void); } 643305 NOARGS { int|sys||issetugid(void); }
643306 STD { int|netbsd32||utrace(netbsd32_charp label, \ 644306 STD { int|netbsd32||utrace(netbsd32_charp label, \
644 netbsd32_voidp addr, netbsd32_size_t len); } 645 netbsd32_voidp addr, netbsd32_size_t len); }
645307 STD { int|netbsd32||getcontext(netbsd32_ucontextp ucp); } 646307 STD { int|netbsd32||getcontext(netbsd32_ucontextp ucp); }
646308 STD { int|netbsd32||setcontext(netbsd32_ucontextp ucp, \ 647308 STD { int|netbsd32||setcontext(netbsd32_ucontextp ucp, \
647 uint32_t flags, netbsd32_lwpidp new_lwp); } 648 uint32_t flags, netbsd32_lwpidp new_lwp); }
648309 STD { int|netbsd32||_lwp_create(netbsd32_ucontextp ucp, \ 649309 STD { int|netbsd32||_lwp_create(netbsd32_ucontextp ucp, \
649 netbsd32_u_long flags, netbsd32_lwpidp new_lwp); } 650 netbsd32_u_long flags, netbsd32_lwpidp new_lwp); }
650310 NOARGS { int|sys||_lwp_exit(void); } 651310 NOARGS { int|sys||_lwp_exit(void); }
651311 NOARGS { lwpid_t|sys||_lwp_self(void); } 652311 NOARGS { lwpid_t|sys||_lwp_self(void); }
652312 STD { int|netbsd32||_lwp_wait(lwpid_t wait_for, \ 653312 STD { int|netbsd32||_lwp_wait(lwpid_t wait_for, \
653 netbsd32_lwpidp departed); } 654 netbsd32_lwpidp departed); }
654313 STD { int|netbsd32||_lwp_suspend(lwpid_t target); } 655313 STD { int|netbsd32||_lwp_suspend(lwpid_t target); }
655314 STD { int|netbsd32||_lwp_continue(lwpid_t target); } 656314 STD { int|netbsd32||_lwp_continue(lwpid_t target); }
656315 STD { int|netbsd32||_lwp_wakeup(lwpid_t target); } 657315 STD { int|netbsd32||_lwp_wakeup(lwpid_t target); }
657316 NOARGS { netbsd32_voidp|sys||_lwp_getprivate(void); } 658316 NOARGS { netbsd32_voidp|sys||_lwp_getprivate(void); }
658317 STD { void|netbsd32||_lwp_setprivate(netbsd32_voidp ptr); } 659317 STD { void|netbsd32||_lwp_setprivate(netbsd32_voidp ptr); }
659318 STD { int|netbsd32||_lwp_kill(lwpid_t target, int signo); } 660318 STD { int|netbsd32||_lwp_kill(lwpid_t target, int signo); }
660319 STD { int|netbsd32||_lwp_detach(lwpid_t target); } 661319 STD { int|netbsd32||_lwp_detach(lwpid_t target); }
661320 COMPAT_50 { int|netbsd32||_lwp_park(netbsd32_timespec50p_t ts, \ 662320 COMPAT_50 { int|netbsd32||_lwp_park(netbsd32_timespec50p_t ts, \
662 lwpid_t unpark, netbsd32_voidp hint, \ 663 lwpid_t unpark, netbsd32_voidp hint, \
663 netbsd32_voidp unparkhint); } 664 netbsd32_voidp unparkhint); }
664321 STD { int|netbsd32||_lwp_unpark(lwpid_t target, \ 665321 STD { int|netbsd32||_lwp_unpark(lwpid_t target, \
665 netbsd32_voidp hint); } 666 netbsd32_voidp hint); }
666322 STD { netbsd32_size_t|netbsd32||_lwp_unpark_all( \ 667322 STD { netbsd32_size_t|netbsd32||_lwp_unpark_all( \
667 netbsd32_lwpidp targets, netbsd32_size_t ntargets, \ 668 netbsd32_lwpidp targets, netbsd32_size_t ntargets, \
668 netbsd32_voidp hint); } 669 netbsd32_voidp hint); }
669323 STD { int|netbsd32||_lwp_setname(lwpid_t target, \ 670323 STD { int|netbsd32||_lwp_setname(lwpid_t target, \
670 netbsd32_charp name); } 671 netbsd32_charp name); }
671324 STD { int|netbsd32||_lwp_getname(lwpid_t target, \ 672324 STD { int|netbsd32||_lwp_getname(lwpid_t target, \
672 netbsd32_charp name, netbsd32_size_t len); } 673 netbsd32_charp name, netbsd32_size_t len); }
673325 STD { int|netbsd32||_lwp_ctl(int features, \ 674325 STD { int|netbsd32||_lwp_ctl(int features, \
674 netbsd32_pointer_t address); } 675 netbsd32_pointer_t address); }
675326 UNIMPL 676326 UNIMPL
676327 UNIMPL 677327 UNIMPL
677328 UNIMPL 678328 UNIMPL
678329 UNIMPL 679329 UNIMPL
679330 OBSOL netbsd32_sa_register 680330 OBSOL netbsd32_sa_register
680331 OBSOL netbsd32_sa_stacks 681331 OBSOL netbsd32_sa_stacks
681332 OBSOL sa_enable 682332 OBSOL sa_enable
682333 OBSOL netbsd32_sa_setconcurrency 683333 OBSOL netbsd32_sa_setconcurrency
683334 OBSOL sa_yield 684334 OBSOL sa_yield
684335 OBSOL netbsd32_sa_preempt 685335 OBSOL netbsd32_sa_preempt
685336 OBSOL sys_sa_unblockyield 686336 OBSOL sys_sa_unblockyield
686337 UNIMPL 687337 UNIMPL
687338 UNIMPL 688338 UNIMPL
688339 UNIMPL 689339 UNIMPL
689340 STD { int|netbsd32||__sigaction_sigtramp(int signum, \ 690340 STD { int|netbsd32||__sigaction_sigtramp(int signum, \
690 netbsd32_sigactionp_t nsa, \ 691 netbsd32_sigactionp_t nsa, \
691 netbsd32_sigactionp_t osa, \ 692 netbsd32_sigactionp_t osa, \
692 netbsd32_voidp tramp, int vers); } 693 netbsd32_voidp tramp, int vers); }
693341 UNIMPL 694341 UNIMPL
694342 UNIMPL 695342 UNIMPL
695343 STD { int|netbsd32||rasctl(netbsd32_voidp addr, \ 696343 STD { int|netbsd32||rasctl(netbsd32_voidp addr, \
696 netbsd32_size_t len, int op); } 697 netbsd32_size_t len, int op); }
697344 NOARGS { int|sys||kqueue(void); } 698344 NOARGS { int|sys||kqueue(void); }
698345 COMPAT_50 { int|netbsd32||kevent(int fd, \ 699345 COMPAT_50 { int|netbsd32||kevent(int fd, \
699 netbsd32_keventp_t changelist, \ 700 netbsd32_keventp_t changelist, \
700 netbsd32_size_t nchanges, \ 701 netbsd32_size_t nchanges, \
701 netbsd32_keventp_t eventlist, \ 702 netbsd32_keventp_t eventlist, \
702 netbsd32_size_t nevents, \ 703 netbsd32_size_t nevents, \
703 netbsd32_timespec50p_t timeout); } 704 netbsd32_timespec50p_t timeout); }
704; Scheduling system calls. 705; Scheduling system calls.
705346 STD { int|netbsd32||_sched_setparam(pid_t pid, lwpid_t lid, \ 706346 STD { int|netbsd32||_sched_setparam(pid_t pid, lwpid_t lid, \
706 int policy, const netbsd32_sched_paramp_t params); } 707 int policy, const netbsd32_sched_paramp_t params); }
707347 STD { int|netbsd32||_sched_getparam(pid_t pid, lwpid_t lid, \ 708347 STD { int|netbsd32||_sched_getparam(pid_t pid, lwpid_t lid, \
708 netbsd32_intp policy, \ 709 netbsd32_intp policy, \
709 netbsd32_sched_paramp_t params); } 710 netbsd32_sched_paramp_t params); }
710348 STD { int|netbsd32||_sched_setaffinity(pid_t pid, \ 711348 STD { int|netbsd32||_sched_setaffinity(pid_t pid, \
711 lwpid_t lid, netbsd32_size_t size, \ 712 lwpid_t lid, netbsd32_size_t size, \
712 const netbsd32_cpusetp_t cpuset); } 713 const netbsd32_cpusetp_t cpuset); }
713349 STD { int|netbsd32||_sched_getaffinity(pid_t pid, \ 714349 STD { int|netbsd32||_sched_getaffinity(pid_t pid, \
714 lwpid_t lid, netbsd32_size_t size, \ 715 lwpid_t lid, netbsd32_size_t size, \
715 netbsd32_cpusetp_t cpuset); } 716 netbsd32_cpusetp_t cpuset); }
716350 NOARGS { int|sys||sched_yield(void); } 717350 NOARGS { int|sys||sched_yield(void); }
717351 UNIMPL 718351 UNIMPL
718352 UNIMPL 719352 UNIMPL
719353 UNIMPL 720353 UNIMPL
720354 STD { int|netbsd32||fsync_range(int fd, int flags, \ 721354 STD { int|netbsd32||fsync_range(int fd, int flags, \
721 off_t start, off_t length); } 722 off_t start, off_t length); }
722355 STD { int|netbsd32||uuidgen(netbsd32_uuidp_t store, \ 723355 STD { int|netbsd32||uuidgen(netbsd32_uuidp_t store, \
723 int count); } 724 int count); }
724356 STD { int|netbsd32||getvfsstat(netbsd32_statvfsp_t buf, \ 725356 STD { int|netbsd32||getvfsstat(netbsd32_statvfsp_t buf, \
725 netbsd32_size_t bufsize, int flags); } 726 netbsd32_size_t bufsize, int flags); }
726357 STD { int|netbsd32||statvfs1(netbsd32_charp path, \ 727357 STD { int|netbsd32||statvfs1(netbsd32_charp path, \
727 netbsd32_statvfsp_t buf, int flags); } 728 netbsd32_statvfsp_t buf, int flags); }
728358 STD { int|netbsd32||fstatvfs1(int fd, \ 729358 STD { int|netbsd32||fstatvfs1(int fd, \
729 netbsd32_statvfsp_t buf, int flags); } 730 netbsd32_statvfsp_t buf, int flags); }
730359 COMPAT_30 { int|netbsd32||fhstatvfs1(netbsd32_fhandlep_t fhp, \ 731359 COMPAT_30 { int|netbsd32||fhstatvfs1(netbsd32_fhandlep_t fhp, \
731 netbsd32_statvfsp_t buf, int flags); } 732 netbsd32_statvfsp_t buf, int flags); }
732360 STD { int|netbsd32||extattrctl(netbsd32_charp path, \ 733360 STD { int|netbsd32||extattrctl(netbsd32_charp path, \
733 int cmd, netbsd32_charp filename, \ 734 int cmd, netbsd32_charp filename, \
734 int attrnamespace, netbsd32_charp attrname); } 735 int attrnamespace, netbsd32_charp attrname); }
735361 STD { int|netbsd32||extattr_set_file(netbsd32_charp path, \ 736361 STD { int|netbsd32||extattr_set_file(netbsd32_charp path, \
736 int attrnamespace, netbsd32_charp attrname, \ 737 int attrnamespace, netbsd32_charp attrname, \
737 netbsd32_voidp data, netbsd32_size_t nbytes); } 738 netbsd32_voidp data, netbsd32_size_t nbytes); }
738362 STD { int|netbsd32||extattr_get_file(netbsd32_charp path, \ 739362 STD { int|netbsd32||extattr_get_file(netbsd32_charp path, \
739 int attrnamespace, netbsd32_charp attrname, \ 740 int attrnamespace, netbsd32_charp attrname, \
740 netbsd32_voidp data, netbsd32_size_t nbytes); } 741 netbsd32_voidp data, netbsd32_size_t nbytes); }
741363 STD { int|netbsd32||extattr_delete_file( \ 742363 STD { int|netbsd32||extattr_delete_file( \
742 netbsd32_charp path, int attrnamespace, \ 743 netbsd32_charp path, int attrnamespace, \
743 netbsd32_charp attrname); } 744 netbsd32_charp attrname); }
744364 STD { int|netbsd32||extattr_set_fd(int fd, \ 745364 STD { int|netbsd32||extattr_set_fd(int fd, \
745 int attrnamespace, netbsd32_charp attrname, \ 746 int attrnamespace, netbsd32_charp attrname, \
746 netbsd32_voidp data, netbsd32_size_t nbytes); } 747 netbsd32_voidp data, netbsd32_size_t nbytes); }
747365 STD { int|netbsd32||extattr_get_fd(int fd, \ 748365 STD { int|netbsd32||extattr_get_fd(int fd, \
748 int attrnamespace, netbsd32_charp attrname, \ 749 int attrnamespace, netbsd32_charp attrname, \
749 netbsd32_voidp data, netbsd32_size_t nbytes); } 750 netbsd32_voidp data, netbsd32_size_t nbytes); }
750366 STD { int|netbsd32||extattr_delete_fd(int fd, \ 751366 STD { int|netbsd32||extattr_delete_fd(int fd, \
751 int attrnamespace, netbsd32_charp attrname); } 752 int attrnamespace, netbsd32_charp attrname); }
752367 STD { int|netbsd32||extattr_set_link(netbsd32_charp path, \ 753367 STD { int|netbsd32||extattr_set_link(netbsd32_charp path, \
753 int attrnamespace, netbsd32_charp attrname, \ 754 int attrnamespace, netbsd32_charp attrname, \
754 netbsd32_voidp data, netbsd32_size_t nbytes); } 755 netbsd32_voidp data, netbsd32_size_t nbytes); }
755368 STD { int|netbsd32||extattr_get_link(netbsd32_charp path, \ 756368 STD { int|netbsd32||extattr_get_link(netbsd32_charp path, \
756 int attrnamespace, netbsd32_charp attrname, \ 757 int attrnamespace, netbsd32_charp attrname, \
757 netbsd32_voidp data, netbsd32_size_t nbytes); } 758 netbsd32_voidp data, netbsd32_size_t nbytes); }
758369 STD { int|netbsd32||extattr_delete_link( \ 759369 STD { int|netbsd32||extattr_delete_link( \
759 netbsd32_charp path, int attrnamespace, \ 760 netbsd32_charp path, int attrnamespace, \
760 netbsd32_charp attrname); } 761 netbsd32_charp attrname); }
761370 STD { int|netbsd32||extattr_list_fd(int fd, \ 762370 STD { int|netbsd32||extattr_list_fd(int fd, \
762 int attrnamespace, netbsd32_voidp data, \ 763 int attrnamespace, netbsd32_voidp data, \
763 netbsd32_size_t nbytes); } 764 netbsd32_size_t nbytes); }
764371 STD { int|netbsd32||extattr_list_file(netbsd32_charp path, \ 765371 STD { int|netbsd32||extattr_list_file(netbsd32_charp path, \
765 int attrnamespace, netbsd32_voidp data, \ 766 int attrnamespace, netbsd32_voidp data, \
766 netbsd32_size_t nbytes); } 767 netbsd32_size_t nbytes); }
767372 STD { int|netbsd32||extattr_list_link(netbsd32_charp path, \ 768372 STD { int|netbsd32||extattr_list_link(netbsd32_charp path, \
768 int attrnamespace, netbsd32_voidp data, \ 769 int attrnamespace, netbsd32_voidp data, \
769 netbsd32_size_t nbytes); } 770 netbsd32_size_t nbytes); }
770373 COMPAT_50 { int|netbsd32||pselect(int nd, netbsd32_fd_setp_t in, \ 771373 COMPAT_50 { int|netbsd32||pselect(int nd, netbsd32_fd_setp_t in, \
771 netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \ 772 netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \
772 netbsd32_timespec50p_t ts, \ 773 netbsd32_timespec50p_t ts, \
773 netbsd32_sigsetp_t mask); } 774 netbsd32_sigsetp_t mask); }
774374 COMPAT_50 { int|netbsd32||pollts(netbsd32_pollfdp_t fds, \ 775374 COMPAT_50 { int|netbsd32||pollts(netbsd32_pollfdp_t fds, \
775 u_int nfds, netbsd32_timespec50p_t ts, \ 776 u_int nfds, netbsd32_timespec50p_t ts, \
776 netbsd32_sigsetp_t mask); } 777 netbsd32_sigsetp_t mask); }
777375 STD { int|netbsd32||setxattr(netbsd32_charp path, \ 778375 STD { int|netbsd32||setxattr(netbsd32_charp path, \
778 netbsd32_charp name, netbsd32_voidp value, \ 779 netbsd32_charp name, netbsd32_voidp value, \
779 netbsd32_size_t size, int flags); } 780 netbsd32_size_t size, int flags); }
780376 STD { int|netbsd32||lsetxattr(netbsd32_charp path, \ 781376 STD { int|netbsd32||lsetxattr(netbsd32_charp path, \
781 netbsd32_charp name, netbsd32_voidp value, \ 782 netbsd32_charp name, netbsd32_voidp value, \
782 netbsd32_size_t size, int flags); } 783 netbsd32_size_t size, int flags); }
783377 STD { int|netbsd32||fsetxattr(int fd, \ 784377 STD { int|netbsd32||fsetxattr(int fd, \
784 netbsd32_charp name, netbsd32_voidp value, \ 785 netbsd32_charp name, netbsd32_voidp value, \
785 netbsd32_size_t size, int flags); } 786 netbsd32_size_t size, int flags); }
786378 STD { int|netbsd32||getxattr(netbsd32_charp path, \ 787378 STD { int|netbsd32||getxattr(netbsd32_charp path, \
787 netbsd32_charp name, netbsd32_voidp value, \ 788 netbsd32_charp name, netbsd32_voidp value, \
788 netbsd32_size_t size); } 789 netbsd32_size_t size); }
789379 STD { int|netbsd32||lgetxattr(netbsd32_charp path, \ 790379 STD { int|netbsd32||lgetxattr(netbsd32_charp path, \
790 netbsd32_charp name, netbsd32_voidp value, \ 791 netbsd32_charp name, netbsd32_voidp value, \
791 netbsd32_size_t size); } 792 netbsd32_size_t size); }
792380 STD { int|netbsd32||fgetxattr(int fd, \ 793380 STD { int|netbsd32||fgetxattr(int fd, \
793 netbsd32_charp name, netbsd32_voidp value, \ 794 netbsd32_charp name, netbsd32_voidp value, \
794 netbsd32_size_t size); } 795 netbsd32_size_t size); }
795381 STD { int|netbsd32||listxattr(netbsd32_charp path, \ 796381 STD { int|netbsd32||listxattr(netbsd32_charp path, \
796 netbsd32_charp list, netbsd32_size_t size); } 797 netbsd32_charp list, netbsd32_size_t size); }
797382 STD { int|netbsd32||llistxattr(netbsd32_charp path, \ 798382 STD { int|netbsd32||llistxattr(netbsd32_charp path, \
798 netbsd32_charp list, netbsd32_size_t size); } 799 netbsd32_charp list, netbsd32_size_t size); }
799383 STD { int|netbsd32||flistxattr(int fd, \ 800383 STD { int|netbsd32||flistxattr(int fd, \
800 netbsd32_charp list, netbsd32_size_t size); } 801 netbsd32_charp list, netbsd32_size_t size); }
801384 STD { int|netbsd32||removexattr(netbsd32_charp path, \ 802384 STD { int|netbsd32||removexattr(netbsd32_charp path, \
802 netbsd32_charp name); } 803 netbsd32_charp name); }
803385 STD { int|netbsd32||lremovexattr(netbsd32_charp path, \ 804385 STD { int|netbsd32||lremovexattr(netbsd32_charp path, \
804 netbsd32_charp name); } 805 netbsd32_charp name); }
805386 STD { int|netbsd32||fremovexattr(int fd, \ 806386 STD { int|netbsd32||fremovexattr(int fd, \
806 netbsd32_charp name); } 807 netbsd32_charp name); }
807387 COMPAT_50 { int|netbsd32|30|stat(netbsd32_charp path, \ 808387 COMPAT_50 { int|netbsd32|30|stat(netbsd32_charp path, \
808 netbsd32_stat50p_t ub); } 809 netbsd32_stat50p_t ub); }
809388 COMPAT_50 { int|netbsd32|30|fstat(int fd, \ 810388 COMPAT_50 { int|netbsd32|30|fstat(int fd, \
810 netbsd32_stat50p_t sb); } 811 netbsd32_stat50p_t sb); }
811389 COMPAT_50 { int|netbsd32|30|lstat( \ 812389 COMPAT_50 { int|netbsd32|30|lstat( \
812 netbsd32_charp path, netbsd32_stat50p_t ub); } 813 netbsd32_charp path, netbsd32_stat50p_t ub); }
813390 STD { int|netbsd32|30|getdents(int fd, \ 814390 STD { int|netbsd32|30|getdents(int fd, \
814 netbsd32_charp buf, netbsd32_size_t count); } 815 netbsd32_charp buf, netbsd32_size_t count); }
815391 IGNORED old posix fadvise 816391 IGNORED old posix fadvise
816392 COMPAT_30 { int|netbsd32|30|fhstat( \ 817392 COMPAT_30 { int|netbsd32|30|fhstat( \
817 netbsd32_fhandlep_t fhp, \ 818 netbsd32_fhandlep_t fhp, \
818 netbsd32_stat50p_t sb); } 819 netbsd32_stat50p_t sb); }
819#if defined(NTP) || !defined(_KERNEL_OPT) 820#if defined(NTP) || !defined(_KERNEL_OPT)
820393 COMPAT_50 { int|netbsd32||ntp_gettime( \ 821393 COMPAT_50 { int|netbsd32||ntp_gettime( \
821 netbsd32_ntptimeval50p_t ntvp); } 822 netbsd32_ntptimeval50p_t ntvp); }
822#else 823#else
823393 EXCL __ntp_gettime30 824393 EXCL __ntp_gettime30
824#endif 825#endif
825394 STD { int|netbsd32|30|socket(int domain, int type, \ 826394 STD { int|netbsd32|30|socket(int domain, int type, \
826 int protocol); } 827 int protocol); }
827395 STD { int|netbsd32|30|getfh(netbsd32_charp fname, \ 828395 STD { int|netbsd32|30|getfh(netbsd32_charp fname, \
828 netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } 829 netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); }
829396 STD { int|netbsd32|40|fhopen(netbsd32_pointer_t fhp, \ 830396 STD { int|netbsd32|40|fhopen(netbsd32_pointer_t fhp, \
830 netbsd32_size_t fh_size, int flags); } 831 netbsd32_size_t fh_size, int flags); }
831397 STD { int|netbsd32|40|fhstatvfs1( \ 832397 STD { int|netbsd32|40|fhstatvfs1( \
832 netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\ 833 netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\
833 netbsd32_statvfsp_t buf, int flags); } 834 netbsd32_statvfsp_t buf, int flags); }
834398 COMPAT_50 { int|netbsd32|40|fhstat( \ 835398 COMPAT_50 { int|netbsd32|40|fhstat( \
835 netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\ 836 netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\
836 netbsd32_stat50p_t sb); } 837 netbsd32_stat50p_t sb); }
837 838
838; Asynchronous I/O system calls 839; Asynchronous I/O system calls
839399 UNIMPL sys_aio_cancel 840399 UNIMPL sys_aio_cancel
840400 UNIMPL sys_aio_error 841400 UNIMPL sys_aio_error
841401 UNIMPL sys_aio_fsync 842401 UNIMPL sys_aio_fsync
842402 UNIMPL sys_aio_read 843402 UNIMPL sys_aio_read
843403 UNIMPL sys_aio_return 844403 UNIMPL sys_aio_return
844404 UNIMPL sys_aio_suspend 845404 UNIMPL sys_aio_suspend
845405 UNIMPL sys_aio_write 846405 UNIMPL sys_aio_write
846406 UNIMPL sys_lio_listio 847406 UNIMPL sys_lio_listio
847 848
848407 UNIMPL 849407 UNIMPL
849408 UNIMPL 850408 UNIMPL
850409 UNIMPL 851409 UNIMPL
851 852
852410 STD { int|netbsd32||__mount50(netbsd32_charp type, \ 853410 STD { int|netbsd32||__mount50(netbsd32_charp type, \
853 netbsd32_charp path, int flags, \ 854 netbsd32_charp path, int flags, \
854 netbsd32_voidp data, netbsd32_size_t data_len); } 855 netbsd32_voidp data, netbsd32_size_t data_len); }
855411 STD { netbsd32_voidp|netbsd32||mremap( \ 856411 STD { netbsd32_voidp|netbsd32||mremap( \
856 netbsd32_voidp old_address, \ 857 netbsd32_voidp old_address, \
857 netbsd32_size_t old_size, \ 858 netbsd32_size_t old_size, \
858 netbsd32_voidp new_address, \ 859 netbsd32_voidp new_address, \
859 netbsd32_size_t new_size, int flags); } 860 netbsd32_size_t new_size, int flags); }
860 861
861412 UNIMPL 862412 UNIMPL
862413 UNIMPL 863413 UNIMPL
863414 UNIMPL 864414 UNIMPL
864415 UNIMPL 865415 UNIMPL
865 866
866416 STD { int|netbsd32|50|posix_fadvise(int fd, int PAD, \ 867416 STD { int|netbsd32|50|posix_fadvise(int fd, int PAD, \
867 off_t offset, off_t len, int advice); } 868 off_t offset, off_t len, int advice); }
868417 STD { int|netbsd32|50|select(int nd, \ 869417 STD { int|netbsd32|50|select(int nd, \
869 netbsd32_fd_setp_t in, netbsd32_fd_setp_t ou, \ 870 netbsd32_fd_setp_t in, netbsd32_fd_setp_t ou, \
870 netbsd32_fd_setp_t ex, netbsd32_timevalp_t tv); } 871 netbsd32_fd_setp_t ex, netbsd32_timevalp_t tv); }
871418 STD { int|netbsd32|50|gettimeofday( \ 872418 STD { int|netbsd32|50|gettimeofday( \
872 netbsd32_timevalp_t tp, netbsd32_voidp tzp); } 873 netbsd32_timevalp_t tp, netbsd32_voidp tzp); }
873419 STD { int|netbsd32|50|settimeofday( \ 874419 STD { int|netbsd32|50|settimeofday( \
874 const netbsd32_timevalp_t tv, \ 875 const netbsd32_timevalp_t tv, \
875 const netbsd32_voidp tzp); } 876 const netbsd32_voidp tzp); }
876420 STD { int|netbsd32|50|utimes(const netbsd32_charp path, \ 877420 STD { int|netbsd32|50|utimes(const netbsd32_charp path, \
877 const netbsd32_timevalp_t tptr); } 878 const netbsd32_timevalp_t tptr); }
878421 STD { int|netbsd32|50|adjtime( \ 879421 STD { int|netbsd32|50|adjtime( \
879 const netbsd32_timevalp_t delta, \ 880 const netbsd32_timevalp_t delta, \
880 netbsd32_timevalp_t olddelta); } 881 netbsd32_timevalp_t olddelta); }
881422 EXCL __lfs_segwait50 882422 EXCL __lfs_segwait50
882423 STD { int|netbsd32|50|futimes(int fd, \ 883423 STD { int|netbsd32|50|futimes(int fd, \
883 const netbsd32_timevalp_t tptr); } 884 const netbsd32_timevalp_t tptr); }
884424 STD { int|netbsd32|50|lutimes(const netbsd32_charp path, \ 885424 STD { int|netbsd32|50|lutimes(const netbsd32_charp path, \
885 const netbsd32_timevalp_t tptr); } 886 const netbsd32_timevalp_t tptr); }
886425 STD { int|netbsd32|50|setitimer(int which, \ 887425 STD { int|netbsd32|50|setitimer(int which, \
887 const netbsd32_itimervalp_t itv, \ 888 const netbsd32_itimervalp_t itv, \
888 netbsd32_itimervalp_t oitv); } 889 netbsd32_itimervalp_t oitv); }
889426 STD { int|netbsd32|50|getitimer(int which, \ 890426 STD { int|netbsd32|50|getitimer(int which, \
890 netbsd32_itimervalp_t itv); } 891 netbsd32_itimervalp_t itv); }
891427 STD { int|netbsd32|50|clock_gettime(clockid_t clock_id, \ 892427 STD { int|netbsd32|50|clock_gettime(clockid_t clock_id, \
892 netbsd32_timespecp_t tp); } 893 netbsd32_timespecp_t tp); }
893428 STD { int|netbsd32|50|clock_settime(clockid_t clock_id, \ 894428 STD { int|netbsd32|50|clock_settime(clockid_t clock_id, \
894 const netbsd32_timespecp_t tp); } 895 const netbsd32_timespecp_t tp); }
895429 STD { int|netbsd32|50|clock_getres(clockid_t clock_id, \ 896429 STD { int|netbsd32|50|clock_getres(clockid_t clock_id, \
896 netbsd32_timespecp_t tp); } 897 netbsd32_timespecp_t tp); }
897430 STD { int|netbsd32|50|nanosleep( \ 898430 STD { int|netbsd32|50|nanosleep( \
898 const netbsd32_timespecp_t rqtp, \ 899 const netbsd32_timespecp_t rqtp, \
899 netbsd32_timespecp_t rmtp); } 900 netbsd32_timespecp_t rmtp); }
900431 STD { int|netbsd32|50|__sigtimedwait( \ 901431 STD { int|netbsd32|50|__sigtimedwait( \
901 const netbsd32_sigsetp_t set, \ 902 const netbsd32_sigsetp_t set, \
902 netbsd32_siginfop_t info, \ 903 netbsd32_siginfop_t info, \
903 netbsd32_timespecp_t timeout); } 904 netbsd32_timespecp_t timeout); }
904432 UNIMPL netbsd32___mq_timedsend50 905432 UNIMPL netbsd32___mq_timedsend50
905433 UNIMPL netbsd32___mq_timedreceive50 906433 UNIMPL netbsd32___mq_timedreceive50
906434 STD { int|netbsd32|50|_lwp_park( \ 907434 STD { int|netbsd32|50|_lwp_park( \
907 const netbsd32_timespecp_t ts, \ 908 const netbsd32_timespecp_t ts, \
908 lwpid_t unpark, const netbsd32_voidp hint, \ 909 lwpid_t unpark, const netbsd32_voidp hint, \
909 const netbsd32_voidp unparkhint); } 910 const netbsd32_voidp unparkhint); }
910435 STD { int|netbsd32|50|kevent(int fd, \ 911435 STD { int|netbsd32|50|kevent(int fd, \
911 const netbsd32_keventp_t changelist, \ 912 const netbsd32_keventp_t changelist, \
912 netbsd32_size_t nchanges, \ 913 netbsd32_size_t nchanges, \
913 netbsd32_keventp_t eventlist, \ 914 netbsd32_keventp_t eventlist, \
914 netbsd32_size_t nevents, \ 915 netbsd32_size_t nevents, \
915 const netbsd32_timespecp_t timeout); } 916 const netbsd32_timespecp_t timeout); }
916436 STD { int|netbsd32|50|pselect(int nd, \ 917436 STD { int|netbsd32|50|pselect(int nd, \
917 netbsd32_fd_setp_t in, \ 918 netbsd32_fd_setp_t in, \
918 netbsd32_fd_setp_t ou, \ 919 netbsd32_fd_setp_t ou, \
919 netbsd32_fd_setp_t ex, \ 920 netbsd32_fd_setp_t ex, \
920 const netbsd32_timespecp_t ts, \ 921 const netbsd32_timespecp_t ts, \
921 const netbsd32_sigsetp_t mask); } 922 const netbsd32_sigsetp_t mask); }
922437 STD { int|netbsd32|50|pollts(netbsd32_pollfdp_t fds, \ 923437 STD { int|netbsd32|50|pollts(netbsd32_pollfdp_t fds, \
923 u_int nfds, const netbsd32_timespecp_t ts, \ 924 u_int nfds, const netbsd32_timespecp_t ts, \
924 const netbsd32_sigsetp_t mask); } 925 const netbsd32_sigsetp_t mask); }
925438 UNIMPL netbsd32___aio_suspend50 926438 UNIMPL netbsd32___aio_suspend50
926439 STD { int|netbsd32|50|stat(const netbsd32_charp path, \ 927439 STD { int|netbsd32|50|stat(const netbsd32_charp path, \
927 netbsd32_statp_t ub); } 928 netbsd32_statp_t ub); }
928440 STD { int|netbsd32|50|fstat(int fd, netbsd32_statp_t sb); } 929440 STD { int|netbsd32|50|fstat(int fd, netbsd32_statp_t sb); }
929441 STD { int|netbsd32|50|lstat(const netbsd32_charp path, \ 930441 STD { int|netbsd32|50|lstat(const netbsd32_charp path, \
930 netbsd32_statp_t ub); } 931 netbsd32_statp_t ub); }
931#if defined(SYSVSEM) || !defined(_KERNEL_OPT) 932#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
932442 STD { int|netbsd32|50|__semctl(int semid, int semnum, \ 933442 STD { int|netbsd32|50|__semctl(int semid, int semnum, \
933 int cmd, ... netbsd32_semunp_t arg); } 934 int cmd, ... netbsd32_semunp_t arg); }
934#else 935#else
935442 EXCL ____semctl50 936442 EXCL ____semctl50
936#endif 937#endif
937#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 938#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
938443 STD { int|netbsd32|50|shmctl(int shmid, int cmd, \ 939443 STD { int|netbsd32|50|shmctl(int shmid, int cmd, \
939 netbsd32_shmid_dsp_t buf); } 940 netbsd32_shmid_dsp_t buf); }
940#else 941#else
941443 EXCL ____shmctl50 942443 EXCL ____shmctl50
942#endif 943#endif
943#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 944#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
944444 STD { int|netbsd32|50|msgctl(int msqid, int cmd, \ 945444 STD { int|netbsd32|50|msgctl(int msqid, int cmd, \
945 netbsd32_msqid_dsp_t buf); } 946 netbsd32_msqid_dsp_t buf); }
946#else 947#else
947444 EXCL ____msgctl50 948444 EXCL ____msgctl50
948#endif 949#endif
949445 STD { int|netbsd32|50|getrusage(int who, \ 950445 STD { int|netbsd32|50|getrusage(int who, \
950 netbsd32_rusagep_t rusage); } 951 netbsd32_rusagep_t rusage); }
951446 STD { int|netbsd32|50|timer_settime(timer_t timerid, \ 952446 STD { int|netbsd32|50|timer_settime(timer_t timerid, \
952 int flags, const netbsd32_itimerspecp_t value, \ 953 int flags, const netbsd32_itimerspecp_t value, \
953 netbsd32_itimerspecp_t ovalue); } 954 netbsd32_itimerspecp_t ovalue); }
954447 STD { int|netbsd32|50|timer_gettime(timer_t timerid, \ 955447 STD { int|netbsd32|50|timer_gettime(timer_t timerid, \
955 netbsd32_itimerspecp_t value); } 956 netbsd32_itimerspecp_t value); }
956#if defined(NTP) || !defined(_KERNEL_OPT) 957#if defined(NTP) || !defined(_KERNEL_OPT)
957448 STD { int|netbsd32|50|ntp_gettime( \ 958448 STD { int|netbsd32|50|ntp_gettime( \
958 netbsd32_ntptimevalp_t ntvp); } 959 netbsd32_ntptimevalp_t ntvp); }
959#else 960#else
960448 EXCL ___ntp_gettime50 961448 EXCL ___ntp_gettime50
961#endif 962#endif
962449 STD { int|netbsd32|50|wait4(int pid, \ 963449 STD { int|netbsd32|50|wait4(int pid, \
963 netbsd32_intp status, \ 964 netbsd32_intp status, \
964 int options, netbsd32_rusagep_t rusage); } 965 int options, netbsd32_rusagep_t rusage); }
965450 STD { int|netbsd32|50|mknod(const netbsd32_charp path, \ 966450 STD { int|netbsd32|50|mknod(const netbsd32_charp path, \
966 mode_t mode, netbsd32_dev_t dev); } 967 mode_t mode, netbsd32_dev_t dev); }
967451 STD { int|netbsd32|50|fhstat(const netbsd32_voidp fhp, \ 968451 STD { int|netbsd32|50|fhstat(const netbsd32_voidp fhp, \
968 netbsd32_size_t fh_size, netbsd32_statp_t sb); } 969 netbsd32_size_t fh_size, netbsd32_statp_t sb); }
969452 OBSOL 5.99 quotactl 970452 OBSOL 5.99 quotactl
970453 STD { int|netbsd32||pipe2(netbsd32_intp fildes, int flags); } 971453 STD { int|netbsd32||pipe2(netbsd32_intp fildes, int flags); }
971454 STD { int|netbsd32||dup3(int from, int to, int flags); } 972454 STD { int|netbsd32||dup3(int from, int to, int flags); }
972455 STD { int|netbsd32||kqueue1(int flags); } 973455 STD { int|netbsd32||kqueue1(int flags); }
973456 STD { int|netbsd32||paccept(int s, \ 974456 STD { int|netbsd32||paccept(int s, \
974 netbsd32_sockaddrp_t name, \ 975 netbsd32_sockaddrp_t name, \
975 netbsd32_socklenp_t anamelen, \ 976 netbsd32_socklenp_t anamelen, \
976 const netbsd32_sigsetp_t mask, \ 977 const netbsd32_sigsetp_t mask, \
977 int flags); } 978 int flags); }
978457 STD { int|netbsd32||linkat(int fd1, \ 979457 STD { int|netbsd32||linkat(int fd1, \
979 const netbsd32_charp name1, \ 980 const netbsd32_charp name1, \
980 int fd2, \ 981 int fd2, \
981 const netbsd32_charp name2, \ 982 const netbsd32_charp name2, \
982 int flags); } 983 int flags); }
983458 STD { int|netbsd32||renameat(int fromfd, \ 984458 STD { int|netbsd32||renameat(int fromfd, \
984 const netbsd32_charp from, \ 985 const netbsd32_charp from, \
985 int tofd, \ 986 int tofd, \
986 const netbsd32_charp to); } 987 const netbsd32_charp to); }
987459 STD { int|netbsd32||mkfifoat(int fd, \ 988459 STD { int|netbsd32||mkfifoat(int fd, \
988 const netbsd32_charp path, \ 989 const netbsd32_charp path, \
989 mode_t mode); } 990 mode_t mode); }
990460 STD { int|netbsd32||mknodat(int fd, \ 991460 STD { int|netbsd32||mknodat(int fd, \
991 const netbsd32_charp path, \ 992 const netbsd32_charp path, \
992 mode_t mode, \ 993 mode_t mode, \
993 uint32_t dev); } 994 uint32_t dev); }
994461 STD { int|netbsd32||mkdirat(int fd, \ 995461 STD { int|netbsd32||mkdirat(int fd, \
995 const netbsd32_charp path, \ 996 const netbsd32_charp path, \
996 mode_t mode); } 997 mode_t mode); }
997462 STD { int|netbsd32||faccessat(int fd, \ 998462 STD { int|netbsd32||faccessat(int fd, \
998 const netbsd32_charp path, \ 999 const netbsd32_charp path, \
999 int amode, \ 1000 int amode, \
1000 int flag); } 1001 int flag); }
1001463 STD { int|netbsd32||fchmodat(int fd, \ 1002463 STD { int|netbsd32||fchmodat(int fd, \
1002 const netbsd32_charp path, \ 1003 const netbsd32_charp path, \
1003 mode_t mode, \ 1004 mode_t mode, \
1004 int flag); } 1005 int flag); }
1005464 STD { int|netbsd32||fchownat(int fd, \ 1006464 STD { int|netbsd32||fchownat(int fd, \
1006 const netbsd32_charp path, \ 1007 const netbsd32_charp path, \
1007 uid_t owner, \ 1008 uid_t owner, \
1008 gid_t group, \ 1009 gid_t group, \
1009 int flag); } 1010 int flag); }
1010465 STD { int|netbsd32||fexecve(int fd, \ 1011465 STD { int|netbsd32||fexecve(int fd, \
1011 netbsd32_charpp argp, \ 1012 netbsd32_charpp argp, \
1012 netbsd32_charpp envp); } 1013 netbsd32_charpp envp); }
1013466 STD { int|netbsd32||fstatat(int fd, \ 1014466 STD { int|netbsd32||fstatat(int fd, \
1014 const netbsd32_charp path, \ 1015 const netbsd32_charp path, \
1015 netbsd32_statp_t buf, \ 1016 netbsd32_statp_t buf, \
1016 int flag); } 1017 int flag); }
1017467 STD { int|netbsd32||utimensat(int fd, \ 1018467 STD { int|netbsd32||utimensat(int fd, \
1018 const netbsd32_charp path, \ 1019 const netbsd32_charp path, \
1019 const netbsd32_timespecp_t tptr, \ 1020 const netbsd32_timespecp_t tptr, \
1020 int flag); } 1021 int flag); }
1021468 STD { int|netbsd32||openat(int fd, \ 1022468 STD { int|netbsd32||openat(int fd, \
1022 const netbsd32_charp path, \ 1023 const netbsd32_charp path, \
1023 int oflags, ... \ 1024 int oflags, ... \
1024 mode_t mode); } 1025 mode_t mode); }
1025469 STD { int|netbsd32||readlinkat(int fd, \ 1026469 STD { int|netbsd32||readlinkat(int fd, \
1026 const netbsd32_charp path, \ 1027 const netbsd32_charp path, \
1027 netbsd32_charp buf, \ 1028 netbsd32_charp buf, \
1028 size_t bufsize); } 1029 size_t bufsize); }
1029470 STD { int|netbsd32||symlinkat(const netbsd32_charp path1, \ 1030470 STD { int|netbsd32||symlinkat(const netbsd32_charp path1, \
1030 int fd, \ 1031 int fd, \
1031 const netbsd32_charp path2); } 1032 const netbsd32_charp path2); }
1032471 STD { int|netbsd32||unlinkat(int fd, \ 1033471 STD { int|netbsd32||unlinkat(int fd, \
1033 const netbsd32_charp path, \ 1034 const netbsd32_charp path, \
1034 int flag); } 1035 int flag); }
1035472 STD { int|netbsd32||futimens(int fd, \ 1036472 STD { int|netbsd32||futimens(int fd, \
1036 const netbsd32_timespecp_t tptr); } 1037 const netbsd32_timespecp_t tptr); }
1037473 STD { int|netbsd32||__quotactl(const netbsd32_charp path, \ 1038473 STD { int|netbsd32||__quotactl(const netbsd32_charp path, \
1038 netbsd32_voidp args); } 1039 netbsd32_voidp args); }

cvs diff -r1.257 -r1.258 src/sys/kern/syscalls.master (switch to unified diff)

--- src/sys/kern/syscalls.master 2012/02/19 17:50:28 1.257
+++ src/sys/kern/syscalls.master 2012/03/08 21:55:45 1.258
@@ -1,933 +1,934 @@ @@ -1,933 +1,934 @@
1 $NetBSD: syscalls.master,v 1.257 2012/02/19 17:50:28 matt Exp $ 1 $NetBSD: syscalls.master,v 1.258 2012/03/08 21:55:45 joerg Exp $
2 2
3; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 3; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
4 4
5; NetBSD system call name/number "master" file. 5; NetBSD system call name/number "master" file.
6; (See syscalls.conf to see what it is processed into.) 6; (See syscalls.conf to see what it is processed into.)
7; 7;
8; Fields: number type [type-dependent ...] 8; Fields: number type [type-dependent ...]
9; number system call number, must be in order 9; number system call number, must be in order
10; type one of STD, OBSOL, UNIMPL, IGNORED, NODEF, NOARGS, or one of 10; type one of STD, OBSOL, UNIMPL, IGNORED, NODEF, NOARGS, or one of
11; the compatibility options defined in syscalls.conf. 11; the compatibility options defined in syscalls.conf.
12; 12;
13; Optional fields are specified after the type field 13; Optional fields are specified after the type field
14; (NOTE! they *must* be specified in this order): 14; (NOTE! they *must* be specified in this order):
15; MODULAR:attempt to autoload system call if not present 15; MODULAR:attempt to autoload system call if not present
16; RUMP: generate rump syscall entry point 16; RUMP: generate rump syscall entry point
17; 17;
18; types: 18; types:
19; STD always included 19; STD always included
20; OBSOL obsolete, not included in system 20; OBSOL obsolete, not included in system
21; IGNORED syscall is a null op, but always succeeds 21; IGNORED syscall is a null op, but always succeeds
22; UNIMPL unimplemented, not included in system 22; UNIMPL unimplemented, not included in system
23; EXCL implemented, but not included in system 23; EXCL implemented, but not included in system
24; NODEF included, but don't define the syscall number 24; NODEF included, but don't define the syscall number
25; NOARGS included, but don't define the syscall args structure 25; NOARGS included, but don't define the syscall args structure
26; INDIR included, but don't define the syscall args structure, 26; INDIR included, but don't define the syscall args structure,
27; and allow it to be "really" varargs. 27; and allow it to be "really" varargs.
28; NOERR included, syscall does not set errno 28; NOERR included, syscall does not set errno
29; 29;
30; arguments: 30; arguments:
31; PAD argument not part of the C interface, used only for padding 31; PAD argument not part of the C interface, used only for padding
32; 32;
33; The compat options are defined in the syscalls.conf file, and the 33; The compat options are defined in the syscalls.conf file, and the
34; compat option name is prefixed to the syscall name. Other than 34; compat option name is prefixed to the syscall name. Other than
35; that, they're like NODEF (for 'compat' options), or STD (for 35; that, they're like NODEF (for 'compat' options), or STD (for
36; 'libcompat' options). 36; 'libcompat' options).
37; 37;
38; The type-dependent arguments are as follows: 38; The type-dependent arguments are as follows:
39; For STD, NODEF, NOARGS, and compat syscalls: 39; For STD, NODEF, NOARGS, and compat syscalls:
40; { return_type|prefix|compat(optional)|basename(pseudo-proto); } [alias] 40; { return_type|prefix|compat(optional)|basename(pseudo-proto); } [alias]
41; For other syscalls: 41; For other syscalls:
42; [comment] 42; [comment]
43; 43;
44; #ifdef's, etc. may be included, and are copied to the output files. 44; #ifdef's, etc. may be included, and are copied to the output files.
45; #include's are copied to the syscall names and switch definition files only. 45; #include's are copied to the syscall names and switch definition files only.
46 46
47#include "opt_modular.h" 47#include "opt_modular.h"
48#include "opt_ntp.h" 48#include "opt_ntp.h"
49#include "opt_sysv.h" 49#include "opt_sysv.h"
50 50
51#include <sys/param.h> 51#include <sys/param.h>
52#include <sys/systm.h> 52#include <sys/systm.h>
53#include <sys/signal.h> 53#include <sys/signal.h>
54#include <sys/socket.h> 54#include <sys/socket.h>
55#include <sys/mount.h> 55#include <sys/mount.h>
56#include <sys/sched.h> 56#include <sys/sched.h>
57#include <sys/syscallargs.h> 57#include <sys/syscallargs.h>
58 58
59%% 59%%
60 60
61; Reserved/unimplemented system calls in the range 0-150 inclusive 61; Reserved/unimplemented system calls in the range 0-150 inclusive
62; are reserved for use in future Berkeley releases. 62; are reserved for use in future Berkeley releases.
63; Additional system calls implemented in vendor and other 63; Additional system calls implemented in vendor and other
64; redistributions should be placed in the reserved range at the end 64; redistributions should be placed in the reserved range at the end
65; of the current calls. 65; of the current calls.
66 66
670 INDIR { int|sys||syscall(int code, \ 670 INDIR { int|sys||syscall(int code, \
68 ... register_t args[SYS_MAXSYSARGS]); } 68 ... register_t args[SYS_MAXSYSARGS]); }
691 STD { void|sys||exit(int rval); } 691 STD { void|sys||exit(int rval); }
702 STD { int|sys||fork(void); } 702 STD { int|sys||fork(void); }
713 STD RUMP { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } 713 STD RUMP { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
724 STD RUMP { ssize_t|sys||write(int fd, const void *buf, \ 724 STD RUMP { ssize_t|sys||write(int fd, const void *buf, \
73 size_t nbyte); } 73 size_t nbyte); }
745 STD RUMP { int|sys||open(const char *path, \ 745 STD RUMP { int|sys||open(const char *path, \
75 int flags, ... mode_t mode); } 75 int flags, ... mode_t mode); }
766 STD RUMP { int|sys||close(int fd); } 766 STD RUMP { int|sys||close(int fd); }
777 COMPAT_50 MODULAR { int|sys||wait4(pid_t pid, int *status, \ 777 COMPAT_50 MODULAR { int|sys||wait4(pid_t pid, int *status, \
78 int options, struct rusage50 *rusage); } 78 int options, struct rusage50 *rusage); }
798 COMPAT_43 MODULAR { int|sys||creat(const char *path, mode_t mode); } ocreat 798 COMPAT_43 MODULAR { int|sys||creat(const char *path, mode_t mode); } ocreat
809 STD RUMP { int|sys||link(const char *path, const char *link); } 809 STD RUMP { int|sys||link(const char *path, const char *link); }
8110 STD RUMP { int|sys||unlink(const char *path); } 8110 STD RUMP { int|sys||unlink(const char *path); }
8211 OBSOL execv 8211 OBSOL execv
8312 STD RUMP { int|sys||chdir(const char *path); } 8312 STD RUMP { int|sys||chdir(const char *path); }
8413 STD RUMP { int|sys||fchdir(int fd); } 8413 STD RUMP { int|sys||fchdir(int fd); }
8514 COMPAT_50 MODULAR RUMP { int|sys||mknod(const char *path, mode_t mode, \ 8514 COMPAT_50 MODULAR RUMP { int|sys||mknod(const char *path, mode_t mode, \
86 uint32_t dev); } 86 uint32_t dev); }
8715 STD RUMP { int|sys||chmod(const char *path, mode_t mode); } 8715 STD RUMP { int|sys||chmod(const char *path, mode_t mode); }
8816 STD RUMP { int|sys||chown(const char *path, uid_t uid, \ 8816 STD RUMP { int|sys||chown(const char *path, uid_t uid, \
89 gid_t gid); } 89 gid_t gid); }
9017 STD { int|sys||obreak(char *nsize); } break 9017 STD { int|sys||obreak(char *nsize); } break
9118 COMPAT_20 MODULAR { int|sys||getfsstat(struct statfs12 *buf, \ 9118 COMPAT_20 MODULAR { int|sys||getfsstat(struct statfs12 *buf, \
92 long bufsize, int flags); } 92 long bufsize, int flags); }
9319 COMPAT_43 MODULAR { long|sys||lseek(int fd, long offset, int whence); }\ 9319 COMPAT_43 MODULAR { long|sys||lseek(int fd, long offset, int whence); }\
94 olseek 94 olseek
9520 NOERR RUMP { pid_t|sys||getpid_with_ppid(void); } getpid 9520 NOERR RUMP { pid_t|sys||getpid_with_ppid(void); } getpid
9621 COMPAT_40 MODULAR { int|sys||mount(const char *type, const char *path, \ 9621 COMPAT_40 MODULAR { int|sys||mount(const char *type, const char *path, \
97 int flags, void *data); } 97 int flags, void *data); }
9822 STD RUMP { int|sys||unmount(const char *path, int flags); } 9822 STD RUMP { int|sys||unmount(const char *path, int flags); }
9923 STD RUMP { int|sys||setuid(uid_t uid); } 9923 STD RUMP { int|sys||setuid(uid_t uid); }
10024 NOERR RUMP { uid_t|sys||getuid_with_euid(void); } getuid 10024 NOERR RUMP { uid_t|sys||getuid_with_euid(void); } getuid
10125 NOERR RUMP { uid_t|sys||geteuid(void); } 10125 NOERR RUMP { uid_t|sys||geteuid(void); }
10226 STD { int|sys||ptrace(int req, pid_t pid, void *addr, \ 10226 STD { int|sys||ptrace(int req, pid_t pid, void *addr, \
103 int data); } 103 int data); }
10427 STD RUMP { ssize_t|sys||recvmsg(int s, struct msghdr *msg, \ 10427 STD RUMP { ssize_t|sys||recvmsg(int s, struct msghdr *msg, \
105 int flags); } 105 int flags); }
10628 STD RUMP { ssize_t|sys||sendmsg(int s, \ 10628 STD RUMP { ssize_t|sys||sendmsg(int s, \
107 const struct msghdr *msg, int flags); } 107 const struct msghdr *msg, int flags); }
10829 STD RUMP { ssize_t|sys||recvfrom(int s, void *buf, size_t len, \ 10829 STD RUMP { ssize_t|sys||recvfrom(int s, void *buf, size_t len, \
109 int flags, struct sockaddr *from, \ 109 int flags, struct sockaddr *from, \
110 socklen_t *fromlenaddr); } 110 socklen_t *fromlenaddr); }
11130 STD RUMP { int|sys||accept(int s, struct sockaddr *name, \ 11130 STD RUMP { int|sys||accept(int s, struct sockaddr *name, \
112 socklen_t *anamelen); } 112 socklen_t *anamelen); }
11331 STD RUMP { int|sys||getpeername(int fdes, struct sockaddr *asa, \ 11331 STD RUMP { int|sys||getpeername(int fdes, struct sockaddr *asa, \
114 socklen_t *alen); } 114 socklen_t *alen); }
11532 STD RUMP { int|sys||getsockname(int fdes, struct sockaddr *asa, \ 11532 STD RUMP { int|sys||getsockname(int fdes, struct sockaddr *asa, \
116 socklen_t *alen); } 116 socklen_t *alen); }
11733 STD RUMP { int|sys||access(const char *path, int flags); } 11733 STD RUMP { int|sys||access(const char *path, int flags); }
11834 STD RUMP { int|sys||chflags(const char *path, u_long flags); } 11834 STD RUMP { int|sys||chflags(const char *path, u_long flags); }
11935 STD RUMP { int|sys||fchflags(int fd, u_long flags); } 11935 STD RUMP { int|sys||fchflags(int fd, u_long flags); }
12036 NOERR RUMP { void|sys||sync(void); } 12036 NOERR RUMP { void|sys||sync(void); }
12137 STD { int|sys||kill(pid_t pid, int signum); } 12137 STD { int|sys||kill(pid_t pid, int signum); }
12238 COMPAT_43 MODULAR { int|sys||stat(const char *path, struct stat43 *ub); } \ 12238 COMPAT_43 MODULAR { int|sys||stat(const char *path, struct stat43 *ub); } \
123 stat43 123 stat43
12439 NOERR RUMP { pid_t|sys||getppid(void); } 12439 NOERR RUMP { pid_t|sys||getppid(void); }
12540 COMPAT_43 MODULAR { int|sys||lstat(const char *path, \ 12540 COMPAT_43 MODULAR { int|sys||lstat(const char *path, \
126 struct stat43 *ub); } lstat43 126 struct stat43 *ub); } lstat43
12741 STD RUMP { int|sys||dup(int fd); } 12741 STD RUMP { int|sys||dup(int fd); }
12842 STD RUMP { int|sys||pipe(void); } 12842 STD RUMP { int|sys||pipe(void); }
12943 NOERR RUMP { gid_t|sys||getegid(void); } 12943 NOERR RUMP { gid_t|sys||getegid(void); }
13044 STD { int|sys||profil(char *samples, size_t size, \ 13044 STD { int|sys||profil(char *samples, size_t size, \
131 u_long offset, u_int scale); } 131 u_long offset, u_int scale); }
13245 STD { int|sys||ktrace(const char *fname, int ops, \ 13245 STD { int|sys||ktrace(const char *fname, int ops, \
133 int facs, pid_t pid); } 133 int facs, pid_t pid); }
13446 COMPAT_13 MODULAR { int|sys||sigaction(int signum, \ 13446 COMPAT_13 MODULAR { int|sys||sigaction(int signum, \
135 const struct sigaction13 *nsa, \ 135 const struct sigaction13 *nsa, \
136 struct sigaction13 *osa); } sigaction13 136 struct sigaction13 *osa); } sigaction13
13747 NOERR RUMP { gid_t|sys||getgid_with_egid(void); } getgid 13747 NOERR RUMP { gid_t|sys||getgid_with_egid(void); } getgid
13848 COMPAT_13 MODULAR { int|sys||sigprocmask(int how, \ 13848 COMPAT_13 MODULAR { int|sys||sigprocmask(int how, \
139 int mask); } sigprocmask13 139 int mask); } sigprocmask13
14049 STD RUMP { int|sys||__getlogin(char *namebuf, size_t namelen); } 14049 STD RUMP { int|sys||__getlogin(char *namebuf, size_t namelen); }
14150 STD RUMP { int|sys||__setlogin(const char *namebuf); } 14150 STD RUMP { int|sys||__setlogin(const char *namebuf); }
14251 STD { int|sys||acct(const char *path); } 14251 STD { int|sys||acct(const char *path); }
14352 COMPAT_13 MODULAR { int|sys||sigpending(void); } sigpending13 14352 COMPAT_13 MODULAR { int|sys||sigpending(void); } sigpending13
14453 COMPAT_13 MODULAR { int|sys||sigaltstack( \ 14453 COMPAT_13 MODULAR { int|sys||sigaltstack( \
145 const struct sigaltstack13 *nss, \ 145 const struct sigaltstack13 *nss, \
146 struct sigaltstack13 *oss); } sigaltstack13 146 struct sigaltstack13 *oss); } sigaltstack13
14754 STD RUMP { int|sys||ioctl(int fd, \ 14754 STD RUMP { int|sys||ioctl(int fd, \
148 u_long com, ... void *data); } 148 u_long com, ... void *data); }
14955 COMPAT_12 MODULAR { int|sys||reboot(int opt); } oreboot 14955 COMPAT_12 MODULAR { int|sys||reboot(int opt); } oreboot
15056 STD RUMP { int|sys||revoke(const char *path); } 15056 STD RUMP { int|sys||revoke(const char *path); }
15157 STD RUMP { int|sys||symlink(const char *path, \ 15157 STD RUMP { int|sys||symlink(const char *path, \
152 const char *link); } 152 const char *link); }
15358 STD RUMP { ssize_t|sys||readlink(const char *path, char *buf, \ 15358 STD RUMP { ssize_t|sys||readlink(const char *path, char *buf, \
154 size_t count); } 154 size_t count); }
15559 STD { int|sys||execve(const char *path, \ 15559 STD { int|sys||execve(const char *path, \
156 char * const *argp, char * const *envp); } 156 char * const *argp, char * const *envp); }
15760 STD RUMP { mode_t|sys||umask(mode_t newmask); } 15760 STD RUMP { mode_t|sys||umask(mode_t newmask); }
15861 STD RUMP { int|sys||chroot(const char *path); } 15861 STD RUMP { int|sys||chroot(const char *path); }
15962 COMPAT_43 MODULAR { int|sys||fstat(int fd, struct stat43 *sb); } fstat43 15962 COMPAT_43 MODULAR { int|sys||fstat(int fd, struct stat43 *sb); } fstat43
16063 COMPAT_43 MODULAR { int|sys||getkerninfo(int op, char *where, int *size, \ 16063 COMPAT_43 MODULAR { int|sys||getkerninfo(int op, char *where, int *size, \
161 int arg); } ogetkerninfo 161 int arg); } ogetkerninfo
16264 COMPAT_43 MODULAR { int|sys||getpagesize(void); } ogetpagesize 16264 COMPAT_43 MODULAR { int|sys||getpagesize(void); } ogetpagesize
16365 COMPAT_12 MODULAR { int|sys||msync(void *addr, size_t len); } 16365 COMPAT_12 MODULAR { int|sys||msync(void *addr, size_t len); }
164; XXX COMPAT_??? for 4.4BSD-compatible vfork(2)? 164; XXX COMPAT_??? for 4.4BSD-compatible vfork(2)?
16566 STD { int|sys||vfork(void); } 16566 STD { int|sys||vfork(void); }
16667 OBSOL vread 16667 OBSOL vread
16768 OBSOL vwrite 16768 OBSOL vwrite
16869 STD { int|sys||sbrk(intptr_t incr); } 16869 STD { int|sys||sbrk(intptr_t incr); }
16970 STD { int|sys||sstk(int incr); } 16970 STD { int|sys||sstk(int incr); }
17071 COMPAT_43 MODULAR { int|sys||mmap(void *addr, size_t len, int prot, \ 17071 COMPAT_43 MODULAR { int|sys||mmap(void *addr, size_t len, int prot, \
171 int flags, int fd, long pos); } ommap 171 int flags, int fd, long pos); } ommap
17272 STD { int|sys||ovadvise(int anom); } vadvise 17272 STD { int|sys||ovadvise(int anom); } vadvise
17373 STD { int|sys||munmap(void *addr, size_t len); } 17373 STD { int|sys||munmap(void *addr, size_t len); }
17474 STD { int|sys||mprotect(void *addr, size_t len, \ 17474 STD { int|sys||mprotect(void *addr, size_t len, \
175 int prot); } 175 int prot); }
17675 STD { int|sys||madvise(void *addr, size_t len, \ 17675 STD { int|sys||madvise(void *addr, size_t len, \
177 int behav); } 177 int behav); }
17876 OBSOL vhangup 17876 OBSOL vhangup
17977 OBSOL vlimit 17977 OBSOL vlimit
18078 STD { int|sys||mincore(void *addr, size_t len, \ 18078 STD { int|sys||mincore(void *addr, size_t len, \
181 char *vec); } 181 char *vec); }
18279 STD RUMP { int|sys||getgroups(int gidsetsize, \ 18279 STD RUMP { int|sys||getgroups(int gidsetsize, \
183 gid_t *gidset); } 183 gid_t *gidset); }
18480 STD RUMP { int|sys||setgroups(int gidsetsize, \ 18480 STD RUMP { int|sys||setgroups(int gidsetsize, \
185 const gid_t *gidset); } 185 const gid_t *gidset); }
18681 STD RUMP { int|sys||getpgrp(void); } 18681 STD RUMP { int|sys||getpgrp(void); }
18782 STD RUMP { int|sys||setpgid(pid_t pid, pid_t pgid); } 18782 STD RUMP { int|sys||setpgid(pid_t pid, pid_t pgid); }
18883 COMPAT_50 MODULAR { int|sys||setitimer(int which, \ 18883 COMPAT_50 MODULAR { int|sys||setitimer(int which, \
189 const struct itimerval50 *itv, \ 189 const struct itimerval50 *itv, \
190 struct itimerval50 *oitv); } 190 struct itimerval50 *oitv); }
19184 COMPAT_43 MODULAR { int|sys||wait(void); } owait 19184 COMPAT_43 MODULAR { int|sys||wait(void); } owait
19285 COMPAT_12 MODULAR { int|sys||swapon(const char *name); } oswapon 19285 COMPAT_12 MODULAR { int|sys||swapon(const char *name); } oswapon
19386 COMPAT_50 MODULAR { int|sys||getitimer(int which, \ 19386 COMPAT_50 MODULAR { int|sys||getitimer(int which, \
194 struct itimerval50 *itv); } 194 struct itimerval50 *itv); }
19587 COMPAT_43 MODULAR { int|sys||gethostname(char *hostname, u_int len); } \ 19587 COMPAT_43 MODULAR { int|sys||gethostname(char *hostname, u_int len); } \
196 ogethostname 196 ogethostname
19788 COMPAT_43 MODULAR { int|sys||sethostname(char *hostname, u_int len); } \ 19788 COMPAT_43 MODULAR { int|sys||sethostname(char *hostname, u_int len); } \
198 osethostname 198 osethostname
19989 COMPAT_43 MODULAR { int|sys||getdtablesize(void); } ogetdtablesize 19989 COMPAT_43 MODULAR { int|sys||getdtablesize(void); } ogetdtablesize
20090 STD RUMP { int|sys||dup2(int from, int to); } 20090 STD RUMP { int|sys||dup2(int from, int to); }
20191 UNIMPL getdopt 20191 UNIMPL getdopt
20292 STD RUMP { int|sys||fcntl(int fd, int cmd, ... void *arg); } 20292 STD RUMP { int|sys||fcntl(int fd, int cmd, ... void *arg); }
20393 COMPAT_50 MODULAR RUMP { int|sys||select(int nd, fd_set *in, fd_set *ou, \ 20393 COMPAT_50 MODULAR RUMP { int|sys||select(int nd, fd_set *in, fd_set *ou, \
204 fd_set *ex, struct timeval50 *tv); } 204 fd_set *ex, struct timeval50 *tv); }
20594 UNIMPL setdopt 20594 UNIMPL setdopt
20695 STD RUMP { int|sys||fsync(int fd); } 20695 STD RUMP { int|sys||fsync(int fd); }
20796 STD { int|sys||setpriority(int which, id_t who, int prio); } 20796 STD { int|sys||setpriority(int which, id_t who, int prio); }
20897 COMPAT_30 MODULAR { int|sys||socket(int domain, int type, int protocol); } 20897 COMPAT_30 MODULAR { int|sys||socket(int domain, int type, int protocol); }
20998 STD RUMP { int|sys||connect(int s, const struct sockaddr *name, \ 20998 STD RUMP { int|sys||connect(int s, const struct sockaddr *name, \
210 socklen_t namelen); } 210 socklen_t namelen); }
21199 COMPAT_43 MODULAR { int|sys||accept(int s, void *name, \ 21199 COMPAT_43 MODULAR { int|sys||accept(int s, void *name, \
212 socklen_t *anamelen); } oaccept 212 socklen_t *anamelen); } oaccept
213100 STD { int|sys||getpriority(int which, id_t who); } 213100 STD { int|sys||getpriority(int which, id_t who); }
214101 COMPAT_43 MODULAR { int|sys||send(int s, void *buf, int len, \ 214101 COMPAT_43 MODULAR { int|sys||send(int s, void *buf, int len, \
215 int flags); } osend 215 int flags); } osend
216102 COMPAT_43 MODULAR { int|sys||recv(int s, void *buf, int len, \ 216102 COMPAT_43 MODULAR { int|sys||recv(int s, void *buf, int len, \
217 int flags); } orecv 217 int flags); } orecv
218103 COMPAT_13 MODULAR { int|sys||sigreturn(struct sigcontext13 *sigcntxp); } \ 218103 COMPAT_13 MODULAR { int|sys||sigreturn(struct sigcontext13 *sigcntxp); } \
219 sigreturn13 219 sigreturn13
220104 STD RUMP { int|sys||bind(int s, const struct sockaddr *name, \ 220104 STD RUMP { int|sys||bind(int s, const struct sockaddr *name, \
221 socklen_t namelen); } 221 socklen_t namelen); }
222105 STD RUMP { int|sys||setsockopt(int s, int level, int name, \ 222105 STD RUMP { int|sys||setsockopt(int s, int level, int name, \
223 const void *val, socklen_t valsize); } 223 const void *val, socklen_t valsize); }
224106 STD RUMP { int|sys||listen(int s, int backlog); } 224106 STD RUMP { int|sys||listen(int s, int backlog); }
225107 OBSOL vtimes 225107 OBSOL vtimes
226108 COMPAT_43 MODULAR { int|sys||sigvec(int signum, struct sigvec *nsv, \ 226108 COMPAT_43 MODULAR { int|sys||sigvec(int signum, struct sigvec *nsv, \
227 struct sigvec *osv); } osigvec 227 struct sigvec *osv); } osigvec
228109 COMPAT_43 MODULAR { int|sys||sigblock(int mask); } osigblock 228109 COMPAT_43 MODULAR { int|sys||sigblock(int mask); } osigblock
229110 COMPAT_43 MODULAR { int|sys||sigsetmask(int mask); } osigsetmask 229110 COMPAT_43 MODULAR { int|sys||sigsetmask(int mask); } osigsetmask
230111 COMPAT_13 MODULAR { int|sys||sigsuspend(int mask); } sigsuspend13 230111 COMPAT_13 MODULAR { int|sys||sigsuspend(int mask); } sigsuspend13
231112 COMPAT_43 MODULAR { int|sys||sigstack(struct sigstack *nss, \ 231112 COMPAT_43 MODULAR { int|sys||sigstack(struct sigstack *nss, \
232 struct sigstack *oss); } osigstack 232 struct sigstack *oss); } osigstack
233113 COMPAT_43 MODULAR { int|sys||recvmsg(int s, struct omsghdr *msg, \ 233113 COMPAT_43 MODULAR { int|sys||recvmsg(int s, struct omsghdr *msg, \
234 int flags); } orecvmsg 234 int flags); } orecvmsg
235114 COMPAT_43 MODULAR { int|sys||sendmsg(int s, void *msg, int flags); } \ 235114 COMPAT_43 MODULAR { int|sys||sendmsg(int s, void *msg, int flags); } \
236 osendmsg 236 osendmsg
237115 OBSOL vtrace 237115 OBSOL vtrace
238116 COMPAT_50 MODULAR { int|sys||gettimeofday(struct timeval50 *tp, \ 238116 COMPAT_50 MODULAR { int|sys||gettimeofday(struct timeval50 *tp, \
239 void *tzp); } 239 void *tzp); }
240117 COMPAT_50 MODULAR { int|sys||getrusage(int who, struct rusage50 *rusage); } 240117 COMPAT_50 MODULAR { int|sys||getrusage(int who, struct rusage50 *rusage); }
241118 STD RUMP { int|sys||getsockopt(int s, int level, int name, \ 241118 STD RUMP { int|sys||getsockopt(int s, int level, int name, \
242 void *val, socklen_t *avalsize); } 242 void *val, socklen_t *avalsize); }
243119 OBSOL resuba 243119 OBSOL resuba
244120 STD RUMP { ssize_t|sys||readv(int fd, \ 244120 STD RUMP { ssize_t|sys||readv(int fd, \
245 const struct iovec *iovp, int iovcnt); } 245 const struct iovec *iovp, int iovcnt); }
246121 STD RUMP { ssize_t|sys||writev(int fd, \ 246121 STD RUMP { ssize_t|sys||writev(int fd, \
247 const struct iovec *iovp, int iovcnt); } 247 const struct iovec *iovp, int iovcnt); }
248122 COMPAT_50 MODULAR { int|sys||settimeofday(const struct timeval50 *tv, \ 248122 COMPAT_50 MODULAR { int|sys||settimeofday(const struct timeval50 *tv, \
249 const void *tzp); } 249 const void *tzp); }
250123 STD RUMP { int|sys||fchown(int fd, uid_t uid, gid_t gid); } 250123 STD RUMP { int|sys||fchown(int fd, uid_t uid, gid_t gid); }
251124 STD RUMP { int|sys||fchmod(int fd, mode_t mode); } 251124 STD RUMP { int|sys||fchmod(int fd, mode_t mode); }
252125 COMPAT_43 MODULAR { int|sys||recvfrom(int s, void *buf, size_t len, \ 252125 COMPAT_43 MODULAR { int|sys||recvfrom(int s, void *buf, size_t len, \
253 int flags, void *from, socklen_t *fromlenaddr); } \ 253 int flags, void *from, socklen_t *fromlenaddr); } \
254 orecvfrom 254 orecvfrom
255126 STD RUMP { int|sys||setreuid(uid_t ruid, uid_t euid); } 255126 STD RUMP { int|sys||setreuid(uid_t ruid, uid_t euid); }
256127 STD RUMP { int|sys||setregid(gid_t rgid, gid_t egid); } 256127 STD RUMP { int|sys||setregid(gid_t rgid, gid_t egid); }
257128 STD RUMP { int|sys||rename(const char *from, const char *to); } 257128 STD RUMP { int|sys||rename(const char *from, const char *to); }
258129 COMPAT_43 MODULAR { int|sys||truncate(const char *path, long length); } \ 258129 COMPAT_43 MODULAR { int|sys||truncate(const char *path, long length); } \
259 otruncate 259 otruncate
260130 COMPAT_43 MODULAR { int|sys||ftruncate(int fd, long length); } oftruncate 260130 COMPAT_43 MODULAR { int|sys||ftruncate(int fd, long length); } oftruncate
261131 STD RUMP { int|sys||flock(int fd, int how); } 261131 STD RUMP { int|sys||flock(int fd, int how); }
262132 STD RUMP { int|sys||mkfifo(const char *path, mode_t mode); } 262132 STD RUMP { int|sys||mkfifo(const char *path, mode_t mode); }
263133 STD RUMP { ssize_t|sys||sendto(int s, const void *buf, \ 263133 STD RUMP { ssize_t|sys||sendto(int s, const void *buf, \
264 size_t len, int flags, const struct sockaddr *to, \ 264 size_t len, int flags, const struct sockaddr *to, \
265 socklen_t tolen); } 265 socklen_t tolen); }
266134 STD RUMP { int|sys||shutdown(int s, int how); } 266134 STD RUMP { int|sys||shutdown(int s, int how); }
267135 STD RUMP { int|sys||socketpair(int domain, int type, \ 267135 STD RUMP { int|sys||socketpair(int domain, int type, \
268 int protocol, int *rsv); } 268 int protocol, int *rsv); }
269136 STD RUMP { int|sys||mkdir(const char *path, mode_t mode); } 269136 STD RUMP { int|sys||mkdir(const char *path, mode_t mode); }
270137 STD RUMP { int|sys||rmdir(const char *path); } 270137 STD RUMP { int|sys||rmdir(const char *path); }
271138 COMPAT_50 MODULAR RUMP { int|sys||utimes(const char *path, \ 271138 COMPAT_50 MODULAR RUMP { int|sys||utimes(const char *path, \
272 const struct timeval50 *tptr); } 272 const struct timeval50 *tptr); }
273139 OBSOL 4.2 sigreturn 273139 OBSOL 4.2 sigreturn
274140 COMPAT_50 MODULAR { int|sys||adjtime(const struct timeval50 *delta, \ 274140 COMPAT_50 MODULAR { int|sys||adjtime(const struct timeval50 *delta, \
275 struct timeval50 *olddelta); } 275 struct timeval50 *olddelta); }
276141 COMPAT_43 MODULAR { int|sys||getpeername(int fdes, void *asa, \ 276141 COMPAT_43 MODULAR { int|sys||getpeername(int fdes, void *asa, \
277 socklen_t *alen); } ogetpeername 277 socklen_t *alen); } ogetpeername
278142 COMPAT_43 MODULAR { int32_t|sys||gethostid(void); } ogethostid 278142 COMPAT_43 MODULAR { int32_t|sys||gethostid(void); } ogethostid
279143 COMPAT_43 MODULAR { int|sys||sethostid(int32_t hostid); } osethostid 279143 COMPAT_43 MODULAR { int|sys||sethostid(int32_t hostid); } osethostid
280144 COMPAT_43 MODULAR { int|sys||getrlimit(int which, \ 280144 COMPAT_43 MODULAR { int|sys||getrlimit(int which, \
281 struct orlimit *rlp); } ogetrlimit 281 struct orlimit *rlp); } ogetrlimit
282145 COMPAT_43 MODULAR { int|sys||setrlimit(int which, \ 282145 COMPAT_43 MODULAR { int|sys||setrlimit(int which, \
283 const struct orlimit *rlp); } osetrlimit 283 const struct orlimit *rlp); } osetrlimit
284146 COMPAT_43 MODULAR { int|sys||killpg(int pgid, int signum); } okillpg 284146 COMPAT_43 MODULAR { int|sys||killpg(int pgid, int signum); } okillpg
285147 STD RUMP { int|sys||setsid(void); } 285147 STD RUMP { int|sys||setsid(void); }
286148 COMPAT_50 MODULAR { int|sys||quotactl(const char *path, int cmd, \ 286148 COMPAT_50 MODULAR { int|sys||quotactl(const char *path, int cmd, \
287 int uid, void *arg); } 287 int uid, void *arg); }
288149 COMPAT_43 MODULAR { int|sys||quota(void); } oquota 288149 COMPAT_43 MODULAR { int|sys||quota(void); } oquota
289150 COMPAT_43 MODULAR { int|sys||getsockname(int fdec, void *asa, \ 289150 COMPAT_43 MODULAR { int|sys||getsockname(int fdec, void *asa, \
290 socklen_t *alen); } ogetsockname 290 socklen_t *alen); } ogetsockname
291 291
292; Syscalls 151-180 inclusive are reserved for vendor-specific 292; Syscalls 151-180 inclusive are reserved for vendor-specific
293; system calls. (This includes various calls added for compatibity 293; system calls. (This includes various calls added for compatibity
294; with other Unix variants.) 294; with other Unix variants.)
295; Some of these calls are now supported by BSD... 295; Some of these calls are now supported by BSD...
296151 UNIMPL 296151 UNIMPL
297152 UNIMPL 297152 UNIMPL
298153 UNIMPL 298153 UNIMPL
299154 UNIMPL 299154 UNIMPL
300155 STD MODULAR RUMP { int|sys||nfssvc(int flag, void *argp); } 300155 STD MODULAR RUMP { int|sys||nfssvc(int flag, void *argp); }
301156 COMPAT_43 MODULAR { int|sys||getdirentries(int fd, char *buf, \ 301156 COMPAT_43 MODULAR { int|sys||getdirentries(int fd, char *buf, \
302 u_int count, long *basep); } ogetdirentries 302 u_int count, long *basep); } ogetdirentries
303157 COMPAT_20 MODULAR { int|sys||statfs(const char *path, \ 303157 COMPAT_20 MODULAR { int|sys||statfs(const char *path, \
304 struct statfs12 *buf); } 304 struct statfs12 *buf); }
305158 COMPAT_20 MODULAR { int|sys||fstatfs(int fd, struct statfs12 *buf); } 305158 COMPAT_20 MODULAR { int|sys||fstatfs(int fd, struct statfs12 *buf); }
306159 UNIMPL 306159 UNIMPL
307160 UNIMPL 307160 UNIMPL
308161 COMPAT_30 MODULAR { int|sys||getfh(const char *fname, \ 308161 COMPAT_30 MODULAR { int|sys||getfh(const char *fname, \
309 struct compat_30_fhandle *fhp); } 309 struct compat_30_fhandle *fhp); }
310162 COMPAT_09 MODULAR { int|sys||getdomainname(char *domainname, int len); } \ 310162 COMPAT_09 MODULAR { int|sys||getdomainname(char *domainname, int len); } \
311 ogetdomainname 311 ogetdomainname
312163 COMPAT_09 MODULAR { int|sys||setdomainname(char *domainname, int len); } \ 312163 COMPAT_09 MODULAR { int|sys||setdomainname(char *domainname, int len); } \
313 osetdomainname 313 osetdomainname
314164 COMPAT_09 MODULAR { int|sys||uname(struct outsname *name); } ouname 314164 COMPAT_09 MODULAR { int|sys||uname(struct outsname *name); } ouname
315165 STD { int|sys||sysarch(int op, void *parms); } 315165 STD { int|sys||sysarch(int op, void *parms); }
316166 UNIMPL 316166 UNIMPL
317167 UNIMPL 317167 UNIMPL
318168 UNIMPL 318168 UNIMPL
319; XXX more generally, never on machines where sizeof(void *) != sizeof(int) 319; XXX more generally, never on machines where sizeof(void *) != sizeof(int)
320#if (defined(SYSVSEM) || !defined(_KERNEL_OPT)) && !defined(_LP64) 320#if (defined(SYSVSEM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
321169 COMPAT_10 MODULAR { int|sys||semsys(int which, int a2, int a3, int a4, \ 321169 COMPAT_10 MODULAR { int|sys||semsys(int which, int a2, int a3, int a4, \
322 int a5); } osemsys 322 int a5); } osemsys
323#else 323#else
324169 EXCL 1.0 semsys 324169 EXCL 1.0 semsys
325#endif 325#endif
326; XXX more generally, never on machines where sizeof(void *) != sizeof(int) 326; XXX more generally, never on machines where sizeof(void *) != sizeof(int)
327#if (defined(SYSVMSG) || !defined(_KERNEL_OPT)) && !defined(_LP64) 327#if (defined(SYSVMSG) || !defined(_KERNEL_OPT)) && !defined(_LP64)
328170 COMPAT_10 MODULAR { int|sys||msgsys(int which, int a2, int a3, int a4, \ 328170 COMPAT_10 MODULAR { int|sys||msgsys(int which, int a2, int a3, int a4, \
329 int a5, int a6); } omsgsys 329 int a5, int a6); } omsgsys
330#else 330#else
331170 EXCL 1.0 msgsys 331170 EXCL 1.0 msgsys
332#endif 332#endif
333; XXX more generally, never on machines where sizeof(void *) != sizeof(int) 333; XXX more generally, never on machines where sizeof(void *) != sizeof(int)
334#if (defined(SYSVSHM) || !defined(_KERNEL_OPT)) && !defined(_LP64) 334#if (defined(SYSVSHM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
335171 COMPAT_10 MODULAR { int|sys||shmsys(int which, int a2, int a3, int a4); } \ 335171 COMPAT_10 MODULAR { int|sys||shmsys(int which, int a2, int a3, int a4); } \
336 oshmsys 336 oshmsys
337#else 337#else
338171 EXCL 1.0 shmsys 338171 EXCL 1.0 shmsys
339#endif 339#endif
340172 UNIMPL 340172 UNIMPL
341173 STD RUMP { ssize_t|sys||pread(int fd, void *buf, \ 341173 STD RUMP { ssize_t|sys||pread(int fd, void *buf, \
342 size_t nbyte, int PAD, off_t offset); } 342 size_t nbyte, int PAD, off_t offset); }
343174 STD RUMP { ssize_t|sys||pwrite(int fd, const void *buf, \ 343174 STD RUMP { ssize_t|sys||pwrite(int fd, const void *buf, \
344 size_t nbyte, int PAD, off_t offset); } 344 size_t nbyte, int PAD, off_t offset); }
345; For some reason, ntp_gettime doesn't want to raise SIGSYS when it's excluded. 345; For some reason, ntp_gettime doesn't want to raise SIGSYS when it's excluded.
346175 COMPAT_30 { int|sys||ntp_gettime(struct ntptimeval30 *ntvp); } 346175 COMPAT_30 { int|sys||ntp_gettime(struct ntptimeval30 *ntvp); }
347#if defined(NTP) || !defined(_KERNEL_OPT) 347#if defined(NTP) || !defined(_KERNEL_OPT)
348176 STD { int|sys||ntp_adjtime(struct timex *tp); } 348176 STD { int|sys||ntp_adjtime(struct timex *tp); }
349#else 349#else
350176 EXCL ntp_adjtime 350176 EXCL ntp_adjtime
351#endif 351#endif
352177 UNIMPL 352177 UNIMPL
353178 UNIMPL 353178 UNIMPL
354179 UNIMPL 354179 UNIMPL
355180 UNIMPL 355180 UNIMPL
356 356
357; Syscalls 180-199 are used by/reserved for BSD 357; Syscalls 180-199 are used by/reserved for BSD
358181 STD RUMP { int|sys||setgid(gid_t gid); } 358181 STD RUMP { int|sys||setgid(gid_t gid); }
359182 STD RUMP { int|sys||setegid(gid_t egid); } 359182 STD RUMP { int|sys||setegid(gid_t egid); }
360183 STD RUMP { int|sys||seteuid(uid_t euid); } 360183 STD RUMP { int|sys||seteuid(uid_t euid); }
361184 STD MODULAR { int|sys||lfs_bmapv(fsid_t *fsidp, \ 361184 STD MODULAR { int|sys||lfs_bmapv(fsid_t *fsidp, \
362 struct block_info *blkiov, int blkcnt); } 362 struct block_info *blkiov, int blkcnt); }
363185 STD MODULAR { int|sys||lfs_markv(fsid_t *fsidp, \ 363185 STD MODULAR { int|sys||lfs_markv(fsid_t *fsidp, \
364 struct block_info *blkiov, int blkcnt); } 364 struct block_info *blkiov, int blkcnt); }
365186 STD MODULAR { int|sys||lfs_segclean(fsid_t *fsidp, u_long segment); } 365186 STD MODULAR { int|sys||lfs_segclean(fsid_t *fsidp, u_long segment); }
366187 COMPAT_50 MODULAR { int|sys||lfs_segwait(fsid_t *fsidp, \ 366187 COMPAT_50 MODULAR { int|sys||lfs_segwait(fsid_t *fsidp, \
367 struct timeval50 *tv); } 367 struct timeval50 *tv); }
368188 COMPAT_12 MODULAR { int|sys||stat(const char *path, struct stat12 *ub); } \ 368188 COMPAT_12 MODULAR { int|sys||stat(const char *path, struct stat12 *ub); } \
369 stat12 369 stat12
370189 COMPAT_12 MODULAR { int|sys||fstat(int fd, struct stat12 *sb); } fstat12 370189 COMPAT_12 MODULAR { int|sys||fstat(int fd, struct stat12 *sb); } fstat12
371190 COMPAT_12 MODULAR { int|sys||lstat(const char *path, \ 371190 COMPAT_12 MODULAR { int|sys||lstat(const char *path, \
372 struct stat12 *ub); } lstat12 372 struct stat12 *ub); } lstat12
373191 STD RUMP { long|sys||pathconf(const char *path, int name); } 373191 STD RUMP { long|sys||pathconf(const char *path, int name); }
374192 STD RUMP { long|sys||fpathconf(int fd, int name); } 374192 STD RUMP { long|sys||fpathconf(int fd, int name); }
375193 UNIMPL 375193 UNIMPL
376194 STD RUMP { int|sys||getrlimit(int which, \ 376194 STD RUMP { int|sys||getrlimit(int which, \
377 struct rlimit *rlp); } 377 struct rlimit *rlp); }
378195 STD RUMP { int|sys||setrlimit(int which, \ 378195 STD RUMP { int|sys||setrlimit(int which, \
379 const struct rlimit *rlp); } 379 const struct rlimit *rlp); }
380196 COMPAT_12 MODULAR { int|sys||getdirentries(int fd, char *buf, \ 380196 COMPAT_12 MODULAR { int|sys||getdirentries(int fd, char *buf, \
381 u_int count, long *basep); } 381 u_int count, long *basep); }
382197 STD { void *|sys||mmap(void *addr, size_t len, int prot, \ 382197 STD { void *|sys||mmap(void *addr, size_t len, int prot, \
383 int flags, int fd, long PAD, off_t pos); } 383 int flags, int fd, long PAD, off_t pos); }
384198 INDIR { quad_t|sys||__syscall(quad_t code, \ 384198 INDIR { quad_t|sys||__syscall(quad_t code, \
385 ... register_t args[SYS_MAXSYSARGS]); } 385 ... register_t args[SYS_MAXSYSARGS]); }
386199 STD RUMP { off_t|sys||lseek(int fd, int PAD, off_t offset, \ 386199 STD RUMP { off_t|sys||lseek(int fd, int PAD, off_t offset, \
387 int whence); } 387 int whence); }
388200 STD RUMP { int|sys||truncate(const char *path, int PAD, \ 388200 STD RUMP { int|sys||truncate(const char *path, int PAD, \
389 off_t length); } 389 off_t length); }
390201 STD RUMP { int|sys||ftruncate(int fd, int PAD, off_t length); } 390201 STD RUMP { int|sys||ftruncate(int fd, int PAD, off_t length); }
391202 STD RUMP { int|sys||__sysctl(const int *name, u_int namelen, \ 391202 STD RUMP { int|sys||__sysctl(const int *name, u_int namelen, \
392 void *old, size_t *oldlenp, const void *new, \ 392 void *old, size_t *oldlenp, const void *new, \
393 size_t newlen); } 393 size_t newlen); }
394203 STD { int|sys||mlock(const void *addr, size_t len); } 394203 STD { int|sys||mlock(const void *addr, size_t len); }
395204 STD { int|sys||munlock(const void *addr, size_t len); } 395204 STD { int|sys||munlock(const void *addr, size_t len); }
396205 STD { int|sys||undelete(const char *path); } 396205 STD { int|sys||undelete(const char *path); }
397206 COMPAT_50 MODULAR RUMP { int|sys||futimes(int fd, \ 397206 COMPAT_50 MODULAR RUMP { int|sys||futimes(int fd, \
398 const struct timeval50 *tptr); } 398 const struct timeval50 *tptr); }
399207 STD RUMP { pid_t|sys||getpgid(pid_t pid); } 399207 STD RUMP { pid_t|sys||getpgid(pid_t pid); }
400208 STD RUMP { int|sys||reboot(int opt, char *bootstr); } 400208 STD RUMP { int|sys||reboot(int opt, char *bootstr); }
401209 STD RUMP { int|sys||poll(struct pollfd *fds, u_int nfds, \ 401209 STD RUMP { int|sys||poll(struct pollfd *fds, u_int nfds, \
402 int timeout); } 402 int timeout); }
403; 403;
404; Syscalls 210-219 are reserved for dynamically loaded syscalls 404; Syscalls 210-219 are reserved for dynamically loaded syscalls
405; 405;
406210 UNIMPL 406210 UNIMPL
407211 UNIMPL 407211 UNIMPL
408212 UNIMPL 408212 UNIMPL
409213 UNIMPL 409213 UNIMPL
410214 UNIMPL 410214 UNIMPL
411215 UNIMPL 411215 UNIMPL
412216 UNIMPL 412216 UNIMPL
413217 UNIMPL 413217 UNIMPL
414218 UNIMPL 414218 UNIMPL
415219 UNIMPL 415219 UNIMPL
416; System calls 220-300 are reserved for use by NetBSD 416; System calls 220-300 are reserved for use by NetBSD
417#if defined(SYSVSEM) || !defined(_KERNEL_OPT) 417#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
418220 COMPAT_14 MODULAR { int|sys||__semctl(int semid, int semnum, int cmd, \ 418220 COMPAT_14 MODULAR { int|sys||__semctl(int semid, int semnum, int cmd, \
419 union __semun *arg); } 419 union __semun *arg); }
420221 STD { int|sys||semget(key_t key, int nsems, int semflg); } 420221 STD { int|sys||semget(key_t key, int nsems, int semflg); }
421222 STD { int|sys||semop(int semid, struct sembuf *sops, \ 421222 STD { int|sys||semop(int semid, struct sembuf *sops, \
422 size_t nsops); } 422 size_t nsops); }
423223 STD { int|sys||semconfig(int flag); } 423223 STD { int|sys||semconfig(int flag); }
424#else 424#else
425220 EXCL compat_14_semctl 425220 EXCL compat_14_semctl
426221 EXCL semget 426221 EXCL semget
427222 EXCL semop 427222 EXCL semop
428223 EXCL semconfig 428223 EXCL semconfig
429#endif 429#endif
430#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 430#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
431224 COMPAT_14 MODULAR { int|sys||msgctl(int msqid, int cmd, \ 431224 COMPAT_14 MODULAR { int|sys||msgctl(int msqid, int cmd, \
432 struct msqid_ds14 *buf); } 432 struct msqid_ds14 *buf); }
433225 STD { int|sys||msgget(key_t key, int msgflg); } 433225 STD { int|sys||msgget(key_t key, int msgflg); }
434226 STD { int|sys||msgsnd(int msqid, const void *msgp, \ 434226 STD { int|sys||msgsnd(int msqid, const void *msgp, \
435 size_t msgsz, int msgflg); } 435 size_t msgsz, int msgflg); }
436227 STD { ssize_t|sys||msgrcv(int msqid, void *msgp, \ 436227 STD { ssize_t|sys||msgrcv(int msqid, void *msgp, \
437 size_t msgsz, long msgtyp, int msgflg); } 437 size_t msgsz, long msgtyp, int msgflg); }
438#else 438#else
439224 EXCL compat_14_msgctl 439224 EXCL compat_14_msgctl
440225 EXCL msgget 440225 EXCL msgget
441226 EXCL msgsnd 441226 EXCL msgsnd
442227 EXCL msgrcv 442227 EXCL msgrcv
443#endif 443#endif
444#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 444#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
445228 STD { void *|sys||shmat(int shmid, const void *shmaddr, \ 445228 STD { void *|sys||shmat(int shmid, const void *shmaddr, \
446 int shmflg); } 446 int shmflg); }
447229 COMPAT_14 MODULAR { int|sys||shmctl(int shmid, int cmd, \ 447229 COMPAT_14 MODULAR { int|sys||shmctl(int shmid, int cmd, \
448 struct shmid_ds14 *buf); } 448 struct shmid_ds14 *buf); }
449230 STD { int|sys||shmdt(const void *shmaddr); } 449230 STD { int|sys||shmdt(const void *shmaddr); }
450231 STD { int|sys||shmget(key_t key, size_t size, int shmflg); } 450231 STD { int|sys||shmget(key_t key, size_t size, int shmflg); }
451#else 451#else
452228 EXCL shmat 452228 EXCL shmat
453229 EXCL compat_14_shmctl 453229 EXCL compat_14_shmctl
454230 EXCL shmdt 454230 EXCL shmdt
455231 EXCL shmget 455231 EXCL shmget
456#endif 456#endif
457232 COMPAT_50 MODULAR { int|sys||clock_gettime(clockid_t clock_id, \ 457232 COMPAT_50 MODULAR { int|sys||clock_gettime(clockid_t clock_id, \
458 struct timespec50 *tp); } 458 struct timespec50 *tp); }
459233 COMPAT_50 MODULAR { int|sys||clock_settime(clockid_t clock_id, \ 459233 COMPAT_50 MODULAR { int|sys||clock_settime(clockid_t clock_id, \
460 const struct timespec50 *tp); } 460 const struct timespec50 *tp); }
461234 COMPAT_50 MODULAR { int|sys||clock_getres(clockid_t clock_id, \ 461234 COMPAT_50 MODULAR { int|sys||clock_getres(clockid_t clock_id, \
462 struct timespec50 *tp); } 462 struct timespec50 *tp); }
463235 STD { int|sys||timer_create(clockid_t clock_id, \ 463235 STD { int|sys||timer_create(clockid_t clock_id, \
464 struct sigevent *evp, timer_t *timerid); } 464 struct sigevent *evp, timer_t *timerid); }
465236 STD { int|sys||timer_delete(timer_t timerid); } 465236 STD { int|sys||timer_delete(timer_t timerid); }
466237 COMPAT_50 MODULAR { int|sys||timer_settime(timer_t timerid, int flags, \ 466237 COMPAT_50 MODULAR { int|sys||timer_settime(timer_t timerid, int flags, \
467 const struct itimerspec50 *value, \ 467 const struct itimerspec50 *value, \
468 struct itimerspec50 *ovalue); } 468 struct itimerspec50 *ovalue); }
469238 COMPAT_50 MODULAR { int|sys||timer_gettime(timer_t timerid, struct \ 469238 COMPAT_50 MODULAR { int|sys||timer_gettime(timer_t timerid, struct \
470 itimerspec50 *value); } 470 itimerspec50 *value); }
471239 STD { int|sys||timer_getoverrun(timer_t timerid); } 471239 STD { int|sys||timer_getoverrun(timer_t timerid); }
472; 472;
473; Syscalls 240-269 are reserved for other IEEE Std1003.1b syscalls 473; Syscalls 240-269 are reserved for other IEEE Std1003.1b syscalls
474; 474;
475240 COMPAT_50 MODULAR { int|sys||nanosleep(const struct timespec50 *rqtp, \ 475240 COMPAT_50 MODULAR { int|sys||nanosleep(const struct timespec50 *rqtp, \
476 struct timespec50 *rmtp); } 476 struct timespec50 *rmtp); }
477241 STD RUMP { int|sys||fdatasync(int fd); } 477241 STD RUMP { int|sys||fdatasync(int fd); }
478242 STD { int|sys||mlockall(int flags); } 478242 STD { int|sys||mlockall(int flags); }
479243 STD { int|sys||munlockall(void); } 479243 STD { int|sys||munlockall(void); }
480244 COMPAT_50 MODULAR { int|sys||__sigtimedwait(const sigset_t *set, \ 480244 COMPAT_50 MODULAR { int|sys||__sigtimedwait(const sigset_t *set, \
481 siginfo_t *info, \ 481 siginfo_t *info, \
482 struct timespec50 *timeout); } 482 struct timespec50 *timeout); }
483245 STD { int|sys||sigqueueinfo(pid_t pid, \ 483245 STD { int|sys||sigqueueinfo(pid_t pid, \
484 const siginfo_t *info); } 484 const siginfo_t *info); }
485246 STD RUMP { int|sys||modctl(int cmd, void *arg); } 485246 STD RUMP { int|sys||modctl(int cmd, void *arg); }
486247 STD MODULAR RUMP { int|sys||_ksem_init(unsigned int value, intptr_t *idp); } 486247 STD MODULAR RUMP { int|sys||_ksem_init(unsigned int value, intptr_t *idp); }
487248 STD MODULAR RUMP { int|sys||_ksem_open(const char *name, int oflag, \ 487248 STD MODULAR RUMP { int|sys||_ksem_open(const char *name, int oflag, \
488 mode_t mode, unsigned int value, intptr_t *idp); } 488 mode_t mode, unsigned int value, intptr_t *idp); }
489249 STD MODULAR RUMP { int|sys||_ksem_unlink(const char *name); } 489249 STD MODULAR RUMP { int|sys||_ksem_unlink(const char *name); }
490250 STD MODULAR RUMP { int|sys||_ksem_close(intptr_t id); } 490250 STD MODULAR RUMP { int|sys||_ksem_close(intptr_t id); }
491251 STD MODULAR RUMP { int|sys||_ksem_post(intptr_t id); } 491251 STD MODULAR RUMP { int|sys||_ksem_post(intptr_t id); }
492252 STD MODULAR RUMP { int|sys||_ksem_wait(intptr_t id); } 492252 STD MODULAR RUMP { int|sys||_ksem_wait(intptr_t id); }
493253 STD MODULAR RUMP { int|sys||_ksem_trywait(intptr_t id); } 493253 STD MODULAR RUMP { int|sys||_ksem_trywait(intptr_t id); }
494254 STD MODULAR RUMP { int|sys||_ksem_getvalue(intptr_t id, \ 494254 STD MODULAR RUMP { int|sys||_ksem_getvalue(intptr_t id, \
495 unsigned int *value); } 495 unsigned int *value); }
496255 STD MODULAR RUMP { int|sys||_ksem_destroy(intptr_t id); } 496255 STD MODULAR RUMP { int|sys||_ksem_destroy(intptr_t id); }
497256 UNIMPL sys__ksem_timedwait 497256 STD MODULAR RUMP { int|sys||_ksem_timedwait(intptr_t id, \
 498 const struct timespec *abstime); }
498257 STD MODULAR { mqd_t|sys||mq_open(const char * name, int oflag, \ 499257 STD MODULAR { mqd_t|sys||mq_open(const char * name, int oflag, \
499 mode_t mode, struct mq_attr *attr); } 500 mode_t mode, struct mq_attr *attr); }
500258 STD MODULAR { int|sys||mq_close(mqd_t mqdes); } 501258 STD MODULAR { int|sys||mq_close(mqd_t mqdes); }
501259 STD MODULAR { int|sys||mq_unlink(const char *name); } 502259 STD MODULAR { int|sys||mq_unlink(const char *name); }
502260 STD MODULAR { int|sys||mq_getattr(mqd_t mqdes, \ 503260 STD MODULAR { int|sys||mq_getattr(mqd_t mqdes, \
503 struct mq_attr *mqstat); } 504 struct mq_attr *mqstat); }
504261 STD MODULAR { int|sys||mq_setattr(mqd_t mqdes, \ 505261 STD MODULAR { int|sys||mq_setattr(mqd_t mqdes, \
505 const struct mq_attr *mqstat, \ 506 const struct mq_attr *mqstat, \
506 struct mq_attr *omqstat); } 507 struct mq_attr *omqstat); }
507262 STD MODULAR { int|sys||mq_notify(mqd_t mqdes, \ 508262 STD MODULAR { int|sys||mq_notify(mqd_t mqdes, \
508 const struct sigevent *notification); } 509 const struct sigevent *notification); }
509263 STD MODULAR { int|sys||mq_send(mqd_t mqdes, const char *msg_ptr, \ 510263 STD MODULAR { int|sys||mq_send(mqd_t mqdes, const char *msg_ptr, \
510 size_t msg_len, unsigned msg_prio); } 511 size_t msg_len, unsigned msg_prio); }
511264 STD MODULAR { ssize_t|sys||mq_receive(mqd_t mqdes, char *msg_ptr, \ 512264 STD MODULAR { ssize_t|sys||mq_receive(mqd_t mqdes, char *msg_ptr, \
512 size_t msg_len, unsigned *msg_prio); } 513 size_t msg_len, unsigned *msg_prio); }
513265 COMPAT_50 MODULAR { int|sys||mq_timedsend(mqd_t mqdes, \ 514265 COMPAT_50 MODULAR { int|sys||mq_timedsend(mqd_t mqdes, \
514 const char *msg_ptr, size_t msg_len, \ 515 const char *msg_ptr, size_t msg_len, \
515 unsigned msg_prio, \ 516 unsigned msg_prio, \
516 const struct timespec50 *abs_timeout); } 517 const struct timespec50 *abs_timeout); }
517266 COMPAT_50 MODULAR { ssize_t|sys||mq_timedreceive(mqd_t mqdes, \ 518266 COMPAT_50 MODULAR { ssize_t|sys||mq_timedreceive(mqd_t mqdes, \
518 char *msg_ptr, size_t msg_len, unsigned *msg_prio, \ 519 char *msg_ptr, size_t msg_len, unsigned *msg_prio, \
519 const struct timespec50 *abs_timeout); } 520 const struct timespec50 *abs_timeout); }
520267 UNIMPL 521267 UNIMPL
521268 UNIMPL 522268 UNIMPL
522269 UNIMPL 523269 UNIMPL
523270 STD { int|sys||__posix_rename(const char *from, \ 524270 STD { int|sys||__posix_rename(const char *from, \
524 const char *to); } 525 const char *to); }
525271 STD { int|sys||swapctl(int cmd, void *arg, int misc); } 526271 STD { int|sys||swapctl(int cmd, void *arg, int misc); }
526272 COMPAT_30 MODULAR { int|sys||getdents(int fd, char *buf, size_t count); } 527272 COMPAT_30 MODULAR { int|sys||getdents(int fd, char *buf, size_t count); }
527273 STD { int|sys||minherit(void *addr, size_t len, \ 528273 STD { int|sys||minherit(void *addr, size_t len, \
528 int inherit); } 529 int inherit); }
529274 STD RUMP { int|sys||lchmod(const char *path, mode_t mode); } 530274 STD RUMP { int|sys||lchmod(const char *path, mode_t mode); }
530275 STD RUMP { int|sys||lchown(const char *path, uid_t uid, \ 531275 STD RUMP { int|sys||lchown(const char *path, uid_t uid, \
531 gid_t gid); } 532 gid_t gid); }
532276 COMPAT_50 MODULAR RUMP { int|sys||lutimes(const char *path, \ 533276 COMPAT_50 MODULAR RUMP { int|sys||lutimes(const char *path, \
533 const struct timeval50 *tptr); } 534 const struct timeval50 *tptr); }
534277 STD { int|sys|13|msync(void *addr, size_t len, int flags); } 535277 STD { int|sys|13|msync(void *addr, size_t len, int flags); }
535278 COMPAT_30 MODULAR { int|sys|13|stat(const char *path, struct stat13 *ub); } 536278 COMPAT_30 MODULAR { int|sys|13|stat(const char *path, struct stat13 *ub); }
536279 COMPAT_30 MODULAR { int|sys|13|fstat(int fd, struct stat13 *sb); } 537279 COMPAT_30 MODULAR { int|sys|13|fstat(int fd, struct stat13 *sb); }
537280 COMPAT_30 MODULAR { int|sys|13|lstat(const char *path, struct stat13 *ub); } 538280 COMPAT_30 MODULAR { int|sys|13|lstat(const char *path, struct stat13 *ub); }
538281 STD { int|sys|14|sigaltstack( \ 539281 STD { int|sys|14|sigaltstack( \
539 const struct sigaltstack *nss, \ 540 const struct sigaltstack *nss, \
540 struct sigaltstack *oss); } 541 struct sigaltstack *oss); }
541282 STD { int|sys|14|vfork(void); } 542282 STD { int|sys|14|vfork(void); }
542283 STD { int|sys||__posix_chown(const char *path, uid_t uid, \ 543283 STD { int|sys||__posix_chown(const char *path, uid_t uid, \
543 gid_t gid); } 544 gid_t gid); }
544284 STD { int|sys||__posix_fchown(int fd, uid_t uid, \ 545284 STD { int|sys||__posix_fchown(int fd, uid_t uid, \
545 gid_t gid); } 546 gid_t gid); }
546285 STD { int|sys||__posix_lchown(const char *path, uid_t uid, \ 547285 STD { int|sys||__posix_lchown(const char *path, uid_t uid, \
547 gid_t gid); } 548 gid_t gid); }
548286 STD RUMP { pid_t|sys||getsid(pid_t pid); } 549286 STD RUMP { pid_t|sys||getsid(pid_t pid); }
549287 STD { pid_t|sys||__clone(int flags, void *stack); } 550287 STD { pid_t|sys||__clone(int flags, void *stack); }
550288 STD { int|sys||fktrace(int fd, int ops, \ 551288 STD { int|sys||fktrace(int fd, int ops, \
551 int facs, pid_t pid); } 552 int facs, pid_t pid); }
552289 STD RUMP { ssize_t|sys||preadv(int fd, \ 553289 STD RUMP { ssize_t|sys||preadv(int fd, \
553 const struct iovec *iovp, int iovcnt, \ 554 const struct iovec *iovp, int iovcnt, \
554 int PAD, off_t offset); } 555 int PAD, off_t offset); }
555290 STD RUMP { ssize_t|sys||pwritev(int fd, \ 556290 STD RUMP { ssize_t|sys||pwritev(int fd, \
556 const struct iovec *iovp, int iovcnt, \ 557 const struct iovec *iovp, int iovcnt, \
557 int PAD, off_t offset); } 558 int PAD, off_t offset); }
558291 COMPAT_16 MODULAR { int|sys|14|sigaction(int signum, \ 559291 COMPAT_16 MODULAR { int|sys|14|sigaction(int signum, \
559 const struct sigaction *nsa, \ 560 const struct sigaction *nsa, \
560 struct sigaction *osa); } 561 struct sigaction *osa); }
561292 STD { int|sys|14|sigpending(sigset_t *set); } 562292 STD { int|sys|14|sigpending(sigset_t *set); }
562293 STD { int|sys|14|sigprocmask(int how, \ 563293 STD { int|sys|14|sigprocmask(int how, \
563 const sigset_t *set, \ 564 const sigset_t *set, \
564 sigset_t *oset); } 565 sigset_t *oset); }
565294 STD { int|sys|14|sigsuspend(const sigset_t *set); } 566294 STD { int|sys|14|sigsuspend(const sigset_t *set); }
566295 COMPAT_16 MODULAR { int|sys|14|sigreturn(struct sigcontext *sigcntxp); } 567295 COMPAT_16 MODULAR { int|sys|14|sigreturn(struct sigcontext *sigcntxp); }
567296 STD RUMP { int|sys||__getcwd(char *bufp, size_t length); } 568296 STD RUMP { int|sys||__getcwd(char *bufp, size_t length); }
568297 STD RUMP { int|sys||fchroot(int fd); } 569297 STD RUMP { int|sys||fchroot(int fd); }
569298 COMPAT_30 MODULAR { int|sys||fhopen(const struct compat_30_fhandle *fhp, int flags); } 570298 COMPAT_30 MODULAR { int|sys||fhopen(const struct compat_30_fhandle *fhp, int flags); }
570299 COMPAT_30 MODULAR { int|sys||fhstat(const struct compat_30_fhandle *fhp, \ 571299 COMPAT_30 MODULAR { int|sys||fhstat(const struct compat_30_fhandle *fhp, \
571 struct stat13 *sb); } 572 struct stat13 *sb); }
572300 COMPAT_20 MODULAR { int|sys||fhstatfs(const struct compat_30_fhandle *fhp, \ 573300 COMPAT_20 MODULAR { int|sys||fhstatfs(const struct compat_30_fhandle *fhp, \
573 struct statfs12 *buf); } 574 struct statfs12 *buf); }
574#if defined(SYSVSEM) || !defined(_KERNEL_OPT) 575#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
575301 COMPAT_50 MODULAR { int|sys|13|__semctl(int semid, int semnum, int cmd, \ 576301 COMPAT_50 MODULAR { int|sys|13|__semctl(int semid, int semnum, int cmd, \
576 ... union __semun *arg); } 577 ... union __semun *arg); }
577#else 578#else
578301 EXCL ____semctl13 579301 EXCL ____semctl13
579#endif 580#endif
580#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 581#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
581302 COMPAT_50 MODULAR { int|sys|13|msgctl(int msqid, int cmd, \ 582302 COMPAT_50 MODULAR { int|sys|13|msgctl(int msqid, int cmd, \
582 struct msqid_ds *buf); } 583 struct msqid_ds *buf); }
583#else 584#else
584302 EXCL __msgctl13 585302 EXCL __msgctl13
585#endif 586#endif
586#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 587#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
587303 COMPAT_50 MODULAR { int|sys|13|shmctl(int shmid, int cmd, \ 588303 COMPAT_50 MODULAR { int|sys|13|shmctl(int shmid, int cmd, \
588 struct shmid_ds13 *buf); } 589 struct shmid_ds13 *buf); }
589#else 590#else
590303 EXCL __shmctl13 591303 EXCL __shmctl13
591#endif 592#endif
592304 STD RUMP { int|sys||lchflags(const char *path, u_long flags); } 593304 STD RUMP { int|sys||lchflags(const char *path, u_long flags); }
593305 NOERR RUMP { int|sys||issetugid(void); } 594305 NOERR RUMP { int|sys||issetugid(void); }
594306 STD { int|sys||utrace(const char *label, void *addr, \ 595306 STD { int|sys||utrace(const char *label, void *addr, \
595 size_t len); } 596 size_t len); }
596307 STD { int|sys||getcontext(struct __ucontext *ucp); } 597307 STD { int|sys||getcontext(struct __ucontext *ucp); }
597308 STD { int|sys||setcontext(const struct __ucontext *ucp); } 598308 STD { int|sys||setcontext(const struct __ucontext *ucp); }
598309 STD { int|sys||_lwp_create(const struct __ucontext *ucp, \ 599309 STD { int|sys||_lwp_create(const struct __ucontext *ucp, \
599 u_long flags, lwpid_t *new_lwp); } 600 u_long flags, lwpid_t *new_lwp); }
600310 STD { int|sys||_lwp_exit(void); } 601310 STD { int|sys||_lwp_exit(void); }
601311 STD { lwpid_t|sys||_lwp_self(void); } 602311 STD { lwpid_t|sys||_lwp_self(void); }
602312 STD { int|sys||_lwp_wait(lwpid_t wait_for, \ 603312 STD { int|sys||_lwp_wait(lwpid_t wait_for, \
603 lwpid_t *departed); } 604 lwpid_t *departed); }
604313 STD { int|sys||_lwp_suspend(lwpid_t target); } 605313 STD { int|sys||_lwp_suspend(lwpid_t target); }
605314 STD { int|sys||_lwp_continue(lwpid_t target); } 606314 STD { int|sys||_lwp_continue(lwpid_t target); }
606315 STD { int|sys||_lwp_wakeup(lwpid_t target); } 607315 STD { int|sys||_lwp_wakeup(lwpid_t target); }
607316 STD { void *|sys||_lwp_getprivate(void); } 608316 STD { void *|sys||_lwp_getprivate(void); }
608317 STD { void|sys||_lwp_setprivate(void *ptr); } 609317 STD { void|sys||_lwp_setprivate(void *ptr); }
609318 STD { int|sys||_lwp_kill(lwpid_t target, int signo); } 610318 STD { int|sys||_lwp_kill(lwpid_t target, int signo); }
610319 STD { int|sys||_lwp_detach(lwpid_t target); } 611319 STD { int|sys||_lwp_detach(lwpid_t target); }
611320 COMPAT_50 MODULAR { int|sys||_lwp_park(const struct timespec50 *ts, \ 612320 COMPAT_50 MODULAR { int|sys||_lwp_park(const struct timespec50 *ts, \
612 lwpid_t unpark, const void *hint, \ 613 lwpid_t unpark, const void *hint, \
613 const void *unparkhint); } 614 const void *unparkhint); }
614321 STD { int|sys||_lwp_unpark(lwpid_t target, const void *hint); } 615321 STD { int|sys||_lwp_unpark(lwpid_t target, const void *hint); }
615322 STD { ssize_t|sys||_lwp_unpark_all(const lwpid_t *targets, \ 616322 STD { ssize_t|sys||_lwp_unpark_all(const lwpid_t *targets, \
616 size_t ntargets, const void *hint); } 617 size_t ntargets, const void *hint); }
617323 STD { int|sys||_lwp_setname(lwpid_t target, \ 618323 STD { int|sys||_lwp_setname(lwpid_t target, \
618 const char *name); } 619 const char *name); }
619324 STD { int|sys||_lwp_getname(lwpid_t target, \ 620324 STD { int|sys||_lwp_getname(lwpid_t target, \
620 char *name, size_t len); } 621 char *name, size_t len); }
621325 STD { int|sys||_lwp_ctl(int features, \ 622325 STD { int|sys||_lwp_ctl(int features, \
622 struct lwpctl **address); } 623 struct lwpctl **address); }
623; Syscalls 326-339 reserved for LWP syscalls. 624; Syscalls 326-339 reserved for LWP syscalls.
624326 UNIMPL 625326 UNIMPL
625327 UNIMPL 626327 UNIMPL
626328 UNIMPL 627328 UNIMPL
627329 UNIMPL 628329 UNIMPL
628; SA system calls. 629; SA system calls.
629330 COMPAT_60 { int|sys||sa_register(void *new, void **old, \ 630330 COMPAT_60 { int|sys||sa_register(void *new, void **old, \
630 int flags, ssize_t stackinfo_offset); } 631 int flags, ssize_t stackinfo_offset); }
631331 COMPAT_60 { int|sys||sa_stacks(int num, stack_t *stacks); } 632331 COMPAT_60 { int|sys||sa_stacks(int num, stack_t *stacks); }
632332 COMPAT_60 { int|sys||sa_enable(void); } 633332 COMPAT_60 { int|sys||sa_enable(void); }
633333 COMPAT_60 { int|sys||sa_setconcurrency(int concurrency); } 634333 COMPAT_60 { int|sys||sa_setconcurrency(int concurrency); }
634334 COMPAT_60 { int|sys||sa_yield(void); } 635334 COMPAT_60 { int|sys||sa_yield(void); }
635335 COMPAT_60 { int|sys||sa_preempt(int sa_id); } 636335 COMPAT_60 { int|sys||sa_preempt(int sa_id); }
636336 OBSOL sys_sa_unblockyield 637336 OBSOL sys_sa_unblockyield
637; 638;
638; Syscalls 337-339 are reserved for other scheduler activation syscalls. 639; Syscalls 337-339 are reserved for other scheduler activation syscalls.
639; 640;
640337 UNIMPL 641337 UNIMPL
641338 UNIMPL 642338 UNIMPL
642339 UNIMPL 643339 UNIMPL
643340 STD { int|sys||__sigaction_sigtramp(int signum, \ 644340 STD { int|sys||__sigaction_sigtramp(int signum, \
644 const struct sigaction *nsa, \ 645 const struct sigaction *nsa, \
645 struct sigaction *osa, \ 646 struct sigaction *osa, \
646 const void *tramp, int vers); } 647 const void *tramp, int vers); }
647341 STD { int|sys||pmc_get_info(int ctr, int op, void *args); } 648341 STD { int|sys||pmc_get_info(int ctr, int op, void *args); }
648342 STD { int|sys||pmc_control(int ctr, int op, void *args); } 649342 STD { int|sys||pmc_control(int ctr, int op, void *args); }
649343 STD { int|sys||rasctl(void *addr, size_t len, int op); } 650343 STD { int|sys||rasctl(void *addr, size_t len, int op); }
650344 STD RUMP { int|sys||kqueue(void); } 651344 STD RUMP { int|sys||kqueue(void); }
651345 COMPAT_50 MODULAR RUMP { int|sys||kevent(int fd, \ 652345 COMPAT_50 MODULAR RUMP { int|sys||kevent(int fd, \
652 const struct kevent *changelist, size_t nchanges, \ 653 const struct kevent *changelist, size_t nchanges, \
653 struct kevent *eventlist, size_t nevents, \ 654 struct kevent *eventlist, size_t nevents, \
654 const struct timespec50 *timeout); } 655 const struct timespec50 *timeout); }
655 656
656; Scheduling system calls. 657; Scheduling system calls.
657346 STD { int|sys||_sched_setparam(pid_t pid, lwpid_t lid, \ 658346 STD { int|sys||_sched_setparam(pid_t pid, lwpid_t lid, \
658 int policy, const struct sched_param *params); } 659 int policy, const struct sched_param *params); }
659347 STD { int|sys||_sched_getparam(pid_t pid, lwpid_t lid, \ 660347 STD { int|sys||_sched_getparam(pid_t pid, lwpid_t lid, \
660 int *policy, struct sched_param *params); } 661 int *policy, struct sched_param *params); }
661348 STD { int|sys||_sched_setaffinity(pid_t pid, lwpid_t lid, \ 662348 STD { int|sys||_sched_setaffinity(pid_t pid, lwpid_t lid, \
662 size_t size, const cpuset_t *cpuset); } 663 size_t size, const cpuset_t *cpuset); }
663349 STD { int|sys||_sched_getaffinity(pid_t pid, lwpid_t lid, \ 664349 STD { int|sys||_sched_getaffinity(pid_t pid, lwpid_t lid, \
664 size_t size, cpuset_t *cpuset); } 665 size_t size, cpuset_t *cpuset); }
665350 STD { int|sys||sched_yield(void); } 666350 STD { int|sys||sched_yield(void); }
666351 UNIMPL 667351 UNIMPL
667352 UNIMPL 668352 UNIMPL
668353 UNIMPL 669353 UNIMPL
669 670
670354 STD RUMP { int|sys||fsync_range(int fd, int flags, off_t start, \ 671354 STD RUMP { int|sys||fsync_range(int fd, int flags, off_t start, \
671 off_t length); } 672 off_t length); }
672355 STD { int|sys||uuidgen(struct uuid *store, int count); } 673355 STD { int|sys||uuidgen(struct uuid *store, int count); }
673356 STD RUMP { int|sys||getvfsstat(struct statvfs *buf, \ 674356 STD RUMP { int|sys||getvfsstat(struct statvfs *buf, \
674 size_t bufsize, int flags); } 675 size_t bufsize, int flags); }
675357 STD RUMP { int|sys||statvfs1(const char *path, \ 676357 STD RUMP { int|sys||statvfs1(const char *path, \
676 struct statvfs *buf, int flags); } 677 struct statvfs *buf, int flags); }
677358 STD RUMP { int|sys||fstatvfs1(int fd, struct statvfs *buf, \ 678358 STD RUMP { int|sys||fstatvfs1(int fd, struct statvfs *buf, \
678 int flags); } 679 int flags); }
679359 COMPAT_30 MODULAR { int|sys||fhstatvfs1(const struct compat_30_fhandle *fhp, \ 680359 COMPAT_30 MODULAR { int|sys||fhstatvfs1(const struct compat_30_fhandle *fhp, \
680 struct statvfs *buf, int flags); } 681 struct statvfs *buf, int flags); }
681360 STD RUMP { int|sys||extattrctl(const char *path, int cmd, \ 682360 STD RUMP { int|sys||extattrctl(const char *path, int cmd, \
682 const char *filename, int attrnamespace, \ 683 const char *filename, int attrnamespace, \
683 const char *attrname); } 684 const char *attrname); }
684361 STD RUMP { int|sys||extattr_set_file(const char *path, \ 685361 STD RUMP { int|sys||extattr_set_file(const char *path, \
685 int attrnamespace, const char *attrname, \ 686 int attrnamespace, const char *attrname, \
686 const void *data, size_t nbytes); } 687 const void *data, size_t nbytes); }
687362 STD RUMP { ssize_t|sys||extattr_get_file(const char *path, \ 688362 STD RUMP { ssize_t|sys||extattr_get_file(const char *path, \
688 int attrnamespace, const char *attrname, \ 689 int attrnamespace, const char *attrname, \
689 void *data, size_t nbytes); } 690 void *data, size_t nbytes); }
690363 STD RUMP { int|sys||extattr_delete_file(const char *path, \ 691363 STD RUMP { int|sys||extattr_delete_file(const char *path, \
691 int attrnamespace, const char *attrname); } 692 int attrnamespace, const char *attrname); }
692364 STD RUMP { int|sys||extattr_set_fd(int fd, \ 693364 STD RUMP { int|sys||extattr_set_fd(int fd, \
693 int attrnamespace, const char *attrname, \ 694 int attrnamespace, const char *attrname, \
694 const void *data, size_t nbytes); } 695 const void *data, size_t nbytes); }
695365 STD RUMP { ssize_t|sys||extattr_get_fd(int fd, \ 696365 STD RUMP { ssize_t|sys||extattr_get_fd(int fd, \
696 int attrnamespace, const char *attrname, \ 697 int attrnamespace, const char *attrname, \
697 void *data, size_t nbytes); } 698 void *data, size_t nbytes); }
698366 STD RUMP { int|sys||extattr_delete_fd(int fd, \ 699366 STD RUMP { int|sys||extattr_delete_fd(int fd, \
699 int attrnamespace, const char *attrname); } 700 int attrnamespace, const char *attrname); }
700367 STD RUMP { int|sys||extattr_set_link(const char *path, \ 701367 STD RUMP { int|sys||extattr_set_link(const char *path, \
701 int attrnamespace, const char *attrname, \ 702 int attrnamespace, const char *attrname, \
702 const void *data, size_t nbytes); } 703 const void *data, size_t nbytes); }
703368 STD RUMP { ssize_t|sys||extattr_get_link(const char *path, \ 704368 STD RUMP { ssize_t|sys||extattr_get_link(const char *path, \
704 int attrnamespace, const char *attrname, \ 705 int attrnamespace, const char *attrname, \
705 void *data, size_t nbytes); } 706 void *data, size_t nbytes); }
706369 STD RUMP { int|sys||extattr_delete_link(const char *path, \ 707369 STD RUMP { int|sys||extattr_delete_link(const char *path, \
707 int attrnamespace, const char *attrname); } 708 int attrnamespace, const char *attrname); }
708370 STD RUMP { ssize_t|sys||extattr_list_fd(int fd, \ 709370 STD RUMP { ssize_t|sys||extattr_list_fd(int fd, \
709 int attrnamespace, void *data, size_t nbytes); } 710 int attrnamespace, void *data, size_t nbytes); }
710371 STD RUMP { ssize_t|sys||extattr_list_file(const char *path, \ 711371 STD RUMP { ssize_t|sys||extattr_list_file(const char *path, \
711 int attrnamespace, void *data, size_t nbytes); } 712 int attrnamespace, void *data, size_t nbytes); }
712372 STD RUMP { ssize_t|sys||extattr_list_link(const char *path, \ 713372 STD RUMP { ssize_t|sys||extattr_list_link(const char *path, \
713 int attrnamespace, void *data, size_t nbytes); } 714 int attrnamespace, void *data, size_t nbytes); }
714373 COMPAT_50 MODULAR RUMP { int|sys||pselect(int nd, fd_set *in, fd_set *ou, \ 715373 COMPAT_50 MODULAR RUMP { int|sys||pselect(int nd, fd_set *in, fd_set *ou, \
715 fd_set *ex, const struct timespec50 *ts, \ 716 fd_set *ex, const struct timespec50 *ts, \
716 const sigset_t *mask); } 717 const sigset_t *mask); }
717374 COMPAT_50 MODULAR RUMP { int|sys||pollts(struct pollfd *fds, u_int nfds, \ 718374 COMPAT_50 MODULAR RUMP { int|sys||pollts(struct pollfd *fds, u_int nfds, \
718 const struct timespec50 *ts, const sigset_t *mask); } 719 const struct timespec50 *ts, const sigset_t *mask); }
719375 STD RUMP { int|sys||setxattr(const char *path, \ 720375 STD RUMP { int|sys||setxattr(const char *path, \
720 const char *name, const void *value, size_t size, \ 721 const char *name, const void *value, size_t size, \
721 int flags); } 722 int flags); }
722376 STD RUMP { int|sys||lsetxattr(const char *path, \ 723376 STD RUMP { int|sys||lsetxattr(const char *path, \
723 const char *name, const void *value, size_t size, \ 724 const char *name, const void *value, size_t size, \
724 int flags); } 725 int flags); }
725377 STD RUMP { int|sys||fsetxattr(int fd, \ 726377 STD RUMP { int|sys||fsetxattr(int fd, \
726 const char *name, const void *value, size_t size, \ 727 const char *name, const void *value, size_t size, \
727 int flags); } 728 int flags); }
728378 STD RUMP { int|sys||getxattr(const char *path, \ 729378 STD RUMP { int|sys||getxattr(const char *path, \
729 const char *name, void *value, size_t size); } 730 const char *name, void *value, size_t size); }
730379 STD RUMP { int|sys||lgetxattr(const char *path, \ 731379 STD RUMP { int|sys||lgetxattr(const char *path, \
731 const char *name, void *value, size_t size); } 732 const char *name, void *value, size_t size); }
732380 STD RUMP { int|sys||fgetxattr(int fd, \ 733380 STD RUMP { int|sys||fgetxattr(int fd, \
733 const char *name, void *value, size_t size); } 734 const char *name, void *value, size_t size); }
734381 STD RUMP { int|sys||listxattr(const char *path, \ 735381 STD RUMP { int|sys||listxattr(const char *path, \
735 char *list, size_t size); } 736 char *list, size_t size); }
736382 STD RUMP { int|sys||llistxattr(const char *path, \ 737382 STD RUMP { int|sys||llistxattr(const char *path, \
737 char *list, size_t size); } 738 char *list, size_t size); }
738383 STD RUMP { int|sys||flistxattr(int fd, \ 739383 STD RUMP { int|sys||flistxattr(int fd, \
739 char *list, size_t size); } 740 char *list, size_t size); }
740384 STD RUMP { int|sys||removexattr(const char *path, \ 741384 STD RUMP { int|sys||removexattr(const char *path, \
741 const char *name); } 742 const char *name); }
742385 STD RUMP { int|sys||lremovexattr(const char *path, \ 743385 STD RUMP { int|sys||lremovexattr(const char *path, \
743 const char *name); } 744 const char *name); }
744386 STD RUMP { int|sys||fremovexattr(int fd, \ 745386 STD RUMP { int|sys||fremovexattr(int fd, \
745 const char *name); } 746 const char *name); }
746387 COMPAT_50 MODULAR RUMP { int|sys|30|stat(const char *path, struct stat30 *ub); } 747387 COMPAT_50 MODULAR RUMP { int|sys|30|stat(const char *path, struct stat30 *ub); }
747388 COMPAT_50 MODULAR RUMP { int|sys|30|fstat(int fd, struct stat30 *sb); } 748388 COMPAT_50 MODULAR RUMP { int|sys|30|fstat(int fd, struct stat30 *sb); }
748389 COMPAT_50 MODULAR RUMP { int|sys|30|lstat(const char *path, struct stat30 *ub); } 749389 COMPAT_50 MODULAR RUMP { int|sys|30|lstat(const char *path, struct stat30 *ub); }
749390 STD RUMP { int|sys|30|getdents(int fd, char *buf, size_t count); } 750390 STD RUMP { int|sys|30|getdents(int fd, char *buf, size_t count); }
750391 IGNORED old posix_fadvise 751391 IGNORED old posix_fadvise
751392 COMPAT_30 MODULAR { int|sys|30|fhstat(const struct compat_30_fhandle \ 752392 COMPAT_30 MODULAR { int|sys|30|fhstat(const struct compat_30_fhandle \
752 *fhp, struct stat30 *sb); } 753 *fhp, struct stat30 *sb); }
753393 COMPAT_50 MODULAR { int|sys|30|ntp_gettime(struct ntptimeval50 *ntvp); } 754393 COMPAT_50 MODULAR { int|sys|30|ntp_gettime(struct ntptimeval50 *ntvp); }
754394 STD RUMP { int|sys|30|socket(int domain, int type, int protocol); } 755394 STD RUMP { int|sys|30|socket(int domain, int type, int protocol); }
755395 STD RUMP { int|sys|30|getfh(const char *fname, void *fhp, \ 756395 STD RUMP { int|sys|30|getfh(const char *fname, void *fhp, \
756 size_t *fh_size); } 757 size_t *fh_size); }
757396 STD RUMP { int|sys|40|fhopen(const void *fhp, size_t fh_size,\ 758396 STD RUMP { int|sys|40|fhopen(const void *fhp, size_t fh_size,\
758 int flags); } 759 int flags); }
759397 STD RUMP { int|sys|40|fhstatvfs1(const void *fhp, \ 760397 STD RUMP { int|sys|40|fhstatvfs1(const void *fhp, \
760 size_t fh_size, struct statvfs *buf, int flags); } 761 size_t fh_size, struct statvfs *buf, int flags); }
761398 COMPAT_50 MODULAR RUMP { int|sys|40|fhstat(const void *fhp, \ 762398 COMPAT_50 MODULAR RUMP { int|sys|40|fhstat(const void *fhp, \
762 size_t fh_size, struct stat30 *sb); } 763 size_t fh_size, struct stat30 *sb); }
763 764
764; Asynchronous I/O system calls 765; Asynchronous I/O system calls
765399 STD MODULAR { int|sys||aio_cancel(int fildes, struct aiocb *aiocbp); } 766399 STD MODULAR { int|sys||aio_cancel(int fildes, struct aiocb *aiocbp); }
766400 STD MODULAR { int|sys||aio_error(const struct aiocb *aiocbp); } 767400 STD MODULAR { int|sys||aio_error(const struct aiocb *aiocbp); }
767401 STD MODULAR { int|sys||aio_fsync(int op, struct aiocb *aiocbp); } 768401 STD MODULAR { int|sys||aio_fsync(int op, struct aiocb *aiocbp); }
768402 STD MODULAR { int|sys||aio_read(struct aiocb *aiocbp); } 769402 STD MODULAR { int|sys||aio_read(struct aiocb *aiocbp); }
769403 STD MODULAR { int|sys||aio_return(struct aiocb *aiocbp); } 770403 STD MODULAR { int|sys||aio_return(struct aiocb *aiocbp); }
770404 COMPAT_50 MODULAR { int|sys||aio_suspend(const struct aiocb *const *list, \ 771404 COMPAT_50 MODULAR { int|sys||aio_suspend(const struct aiocb *const *list, \
771 int nent, const struct timespec50 *timeout); } 772 int nent, const struct timespec50 *timeout); }
772405 STD MODULAR { int|sys||aio_write(struct aiocb *aiocbp); } 773405 STD MODULAR { int|sys||aio_write(struct aiocb *aiocbp); }
773406 STD MODULAR { int|sys||lio_listio(int mode, struct aiocb *const *list, \ 774406 STD MODULAR { int|sys||lio_listio(int mode, struct aiocb *const *list, \
774 int nent, struct sigevent *sig); } 775 int nent, struct sigevent *sig); }
775 776
776407 UNIMPL 777407 UNIMPL
777408 UNIMPL 778408 UNIMPL
778409 UNIMPL 779409 UNIMPL
779 780
780410 STD RUMP { int|sys|50|mount(const char *type, \ 781410 STD RUMP { int|sys|50|mount(const char *type, \
781 const char *path, int flags, void *data, \ 782 const char *path, int flags, void *data, \
782 size_t data_len); } 783 size_t data_len); }
783411 STD { void *|sys||mremap(void *old_address, size_t old_size, \ 784411 STD { void *|sys||mremap(void *old_address, size_t old_size, \
784 void *new_address, size_t new_size, int flags); } 785 void *new_address, size_t new_size, int flags); }
785 786
786; Processor-sets system calls 787; Processor-sets system calls
787412 STD { int|sys||pset_create(psetid_t *psid); } 788412 STD { int|sys||pset_create(psetid_t *psid); }
788413 STD { int|sys||pset_destroy(psetid_t psid); } 789413 STD { int|sys||pset_destroy(psetid_t psid); }
789414 STD { int|sys||pset_assign(psetid_t psid, cpuid_t cpuid, \ 790414 STD { int|sys||pset_assign(psetid_t psid, cpuid_t cpuid, \
790 psetid_t *opsid); } 791 psetid_t *opsid); }
791415 STD { int|sys||_pset_bind(idtype_t idtype, id_t first_id, \ 792415 STD { int|sys||_pset_bind(idtype_t idtype, id_t first_id, \
792 id_t second_id, psetid_t psid, psetid_t *opsid); } 793 id_t second_id, psetid_t psid, psetid_t *opsid); }
793416 NOERR RUMP { int|sys|50|posix_fadvise(int fd, int PAD, \ 794416 NOERR RUMP { int|sys|50|posix_fadvise(int fd, int PAD, \
794 off_t offset, off_t len, int advice); } 795 off_t offset, off_t len, int advice); }
795417 STD RUMP { int|sys|50|select(int nd, fd_set *in, fd_set *ou, \ 796417 STD RUMP { int|sys|50|select(int nd, fd_set *in, fd_set *ou, \
796 fd_set *ex, struct timeval *tv); } 797 fd_set *ex, struct timeval *tv); }
797418 STD { int|sys|50|gettimeofday(struct timeval *tp, \ 798418 STD { int|sys|50|gettimeofday(struct timeval *tp, \
798 void *tzp); } 799 void *tzp); }
799419 STD { int|sys|50|settimeofday(const struct timeval *tv, \ 800419 STD { int|sys|50|settimeofday(const struct timeval *tv, \
800 const void *tzp); } 801 const void *tzp); }
801420 STD RUMP { int|sys|50|utimes(const char *path, \ 802420 STD RUMP { int|sys|50|utimes(const char *path, \
802 const struct timeval *tptr); } 803 const struct timeval *tptr); }
803421 STD { int|sys|50|adjtime(const struct timeval *delta, \ 804421 STD { int|sys|50|adjtime(const struct timeval *delta, \
804 struct timeval *olddelta); } 805 struct timeval *olddelta); }
805422 STD MODULAR { int|sys|50|lfs_segwait(fsid_t *fsidp, \ 806422 STD MODULAR { int|sys|50|lfs_segwait(fsid_t *fsidp, \
806 struct timeval *tv); } 807 struct timeval *tv); }
807423 STD RUMP { int|sys|50|futimes(int fd, \ 808423 STD RUMP { int|sys|50|futimes(int fd, \
808 const struct timeval *tptr); } 809 const struct timeval *tptr); }
809424 STD RUMP { int|sys|50|lutimes(const char *path, \ 810424 STD RUMP { int|sys|50|lutimes(const char *path, \
810 const struct timeval *tptr); } 811 const struct timeval *tptr); }
811425 STD { int|sys|50|setitimer(int which, \ 812425 STD { int|sys|50|setitimer(int which, \
812 const struct itimerval *itv, \ 813 const struct itimerval *itv, \
813 struct itimerval *oitv); } 814 struct itimerval *oitv); }
814426 STD { int|sys|50|getitimer(int which, \ 815426 STD { int|sys|50|getitimer(int which, \
815 struct itimerval *itv); } 816 struct itimerval *itv); }
816427 STD { int|sys|50|clock_gettime(clockid_t clock_id, \ 817427 STD { int|sys|50|clock_gettime(clockid_t clock_id, \
817 struct timespec *tp); } 818 struct timespec *tp); }
818428 STD { int|sys|50|clock_settime(clockid_t clock_id, \ 819428 STD { int|sys|50|clock_settime(clockid_t clock_id, \
819 const struct timespec *tp); } 820 const struct timespec *tp); }
820429 STD { int|sys|50|clock_getres(clockid_t clock_id, \ 821429 STD { int|sys|50|clock_getres(clockid_t clock_id, \
821 struct timespec *tp); } 822 struct timespec *tp); }
822430 STD { int|sys|50|nanosleep(const struct timespec *rqtp, \ 823430 STD { int|sys|50|nanosleep(const struct timespec *rqtp, \
823 struct timespec *rmtp); } 824 struct timespec *rmtp); }
824431 STD { int|sys|50|__sigtimedwait(const sigset_t *set, \ 825431 STD { int|sys|50|__sigtimedwait(const sigset_t *set, \
825 siginfo_t *info, \ 826 siginfo_t *info, \
826 struct timespec *timeout); } 827 struct timespec *timeout); }
827432 STD MODULAR { int|sys|50|mq_timedsend(mqd_t mqdes, \ 828432 STD MODULAR { int|sys|50|mq_timedsend(mqd_t mqdes, \
828 const char *msg_ptr, size_t msg_len, \ 829 const char *msg_ptr, size_t msg_len, \
829 unsigned msg_prio, \ 830 unsigned msg_prio, \
830 const struct timespec *abs_timeout); } 831 const struct timespec *abs_timeout); }
831433 STD MODULAR { ssize_t|sys|50|mq_timedreceive(mqd_t mqdes, \ 832433 STD MODULAR { ssize_t|sys|50|mq_timedreceive(mqd_t mqdes, \
832 char *msg_ptr, size_t msg_len, unsigned *msg_prio, \ 833 char *msg_ptr, size_t msg_len, unsigned *msg_prio, \
833 const struct timespec *abs_timeout); } 834 const struct timespec *abs_timeout); }
834434 STD { int|sys|50|_lwp_park(const struct timespec *ts, \ 835434 STD { int|sys|50|_lwp_park(const struct timespec *ts, \
835 lwpid_t unpark, const void *hint, \ 836 lwpid_t unpark, const void *hint, \
836 const void *unparkhint); } 837 const void *unparkhint); }
837435 STD RUMP { int|sys|50|kevent(int fd, \ 838435 STD RUMP { int|sys|50|kevent(int fd, \
838 const struct kevent *changelist, size_t nchanges, \ 839 const struct kevent *changelist, size_t nchanges, \
839 struct kevent *eventlist, size_t nevents, \ 840 struct kevent *eventlist, size_t nevents, \
840 const struct timespec *timeout); } 841 const struct timespec *timeout); }
841436 STD RUMP { int|sys|50|pselect(int nd, fd_set *in, fd_set *ou, \ 842436 STD RUMP { int|sys|50|pselect(int nd, fd_set *in, fd_set *ou, \
842 fd_set *ex, const struct timespec *ts, \ 843 fd_set *ex, const struct timespec *ts, \
843 const sigset_t *mask); } 844 const sigset_t *mask); }
844437 STD RUMP { int|sys|50|pollts(struct pollfd *fds, u_int nfds, \ 845437 STD RUMP { int|sys|50|pollts(struct pollfd *fds, u_int nfds, \
845 const struct timespec *ts, const sigset_t *mask); } 846 const struct timespec *ts, const sigset_t *mask); }
846438 STD MODULAR { int|sys|50|aio_suspend( \ 847438 STD MODULAR { int|sys|50|aio_suspend( \
847 const struct aiocb *const *list, \ 848 const struct aiocb *const *list, \
848 int nent, const struct timespec *timeout); } 849 int nent, const struct timespec *timeout); }
849439 STD RUMP { int|sys|50|stat(const char *path, struct stat *ub); } 850439 STD RUMP { int|sys|50|stat(const char *path, struct stat *ub); }
850440 STD RUMP { int|sys|50|fstat(int fd, struct stat *sb); } 851440 STD RUMP { int|sys|50|fstat(int fd, struct stat *sb); }
851441 STD RUMP { int|sys|50|lstat(const char *path, struct stat *ub); } 852441 STD RUMP { int|sys|50|lstat(const char *path, struct stat *ub); }
852#if defined(SYSVSEM) || !defined(_KERNEL_OPT) 853#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
853442 STD { int|sys|50|__semctl(int semid, int semnum, int cmd, \ 854442 STD { int|sys|50|__semctl(int semid, int semnum, int cmd, \
854 ... union __semun *arg); } 855 ... union __semun *arg); }
855#else 856#else
856442 EXCL ____semctl50 857442 EXCL ____semctl50
857#endif 858#endif
858#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 859#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
859443 STD { int|sys|50|shmctl(int shmid, int cmd, \ 860443 STD { int|sys|50|shmctl(int shmid, int cmd, \
860 struct shmid_ds *buf); } 861 struct shmid_ds *buf); }
861#else 862#else
862443 EXCL ____shmctl50 863443 EXCL ____shmctl50
863#endif 864#endif
864#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 865#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
865444 STD { int|sys|50|msgctl(int msqid, int cmd, \ 866444 STD { int|sys|50|msgctl(int msqid, int cmd, \
866 struct msqid_ds *buf); } 867 struct msqid_ds *buf); }
867#else 868#else
868444 EXCL ____msgctl50 869444 EXCL ____msgctl50
869#endif 870#endif
870445 STD { int|sys|50|getrusage(int who, struct rusage *rusage); } 871445 STD { int|sys|50|getrusage(int who, struct rusage *rusage); }
871446 STD { int|sys|50|timer_settime(timer_t timerid, \ 872446 STD { int|sys|50|timer_settime(timer_t timerid, \
872 int flags, const struct itimerspec *value, \ 873 int flags, const struct itimerspec *value, \
873 struct itimerspec *ovalue); } 874 struct itimerspec *ovalue); }
874447 STD { int|sys|50|timer_gettime(timer_t timerid, struct \ 875447 STD { int|sys|50|timer_gettime(timer_t timerid, struct \
875 itimerspec *value); } 876 itimerspec *value); }
876#if defined(NTP) || !defined(_KERNEL_OPT) 877#if defined(NTP) || !defined(_KERNEL_OPT)
877448 STD { int|sys|50|ntp_gettime(struct ntptimeval *ntvp); } 878448 STD { int|sys|50|ntp_gettime(struct ntptimeval *ntvp); }
878#else 879#else
879448 EXCL ___ntp_gettime50 880448 EXCL ___ntp_gettime50
880#endif 881#endif
881449 STD { int|sys|50|wait4(pid_t pid, int *status, \ 882449 STD { int|sys|50|wait4(pid_t pid, int *status, \
882 int options, struct rusage *rusage); } 883 int options, struct rusage *rusage); }
883450 STD RUMP { int|sys|50|mknod(const char *path, mode_t mode, \ 884450 STD RUMP { int|sys|50|mknod(const char *path, mode_t mode, \
884 dev_t dev); } 885 dev_t dev); }
885451 STD RUMP { int|sys|50|fhstat(const void *fhp, \ 886451 STD RUMP { int|sys|50|fhstat(const void *fhp, \
886 size_t fh_size, struct stat *sb); } 887 size_t fh_size, struct stat *sb); }
887; 452 only ever appeared in 5.99.x and can be reused after netbsd-7 888; 452 only ever appeared in 5.99.x and can be reused after netbsd-7
888452 OBSOL 5.99 quotactl 889452 OBSOL 5.99 quotactl
889453 STD RUMP { int|sys||pipe2(int *fildes, int flags); } 890453 STD RUMP { int|sys||pipe2(int *fildes, int flags); }
890454 STD RUMP { int|sys||dup3(int from, int to, int flags); } 891454 STD RUMP { int|sys||dup3(int from, int to, int flags); }
891455 STD RUMP { int|sys||kqueue1(int flags); } 892455 STD RUMP { int|sys||kqueue1(int flags); }
892456 STD RUMP { int|sys||paccept(int s, struct sockaddr *name, \ 893456 STD RUMP { int|sys||paccept(int s, struct sockaddr *name, \
893 socklen_t *anamelen, const sigset_t *mask, \ 894 socklen_t *anamelen, const sigset_t *mask, \
894 int flags); } 895 int flags); }
895457 STD RUMP { int|sys||linkat(int fd1, const char *name1, \ 896457 STD RUMP { int|sys||linkat(int fd1, const char *name1, \
896 int fd2, const char *name2, int flags); } 897 int fd2, const char *name2, int flags); }
897458 STD RUMP { int|sys||renameat(int fromfd, const char *from, \ 898458 STD RUMP { int|sys||renameat(int fromfd, const char *from, \
898 int tofd, const char *to); } 899 int tofd, const char *to); }
899459 STD RUMP { int|sys||mkfifoat(int fd, const char *path, \ 900459 STD RUMP { int|sys||mkfifoat(int fd, const char *path, \
900 mode_t mode); } 901 mode_t mode); }
901460 STD RUMP { int|sys||mknodat(int fd, const char *path, \ 902460 STD RUMP { int|sys||mknodat(int fd, const char *path, \
902 mode_t mode, uint32_t dev); } 903 mode_t mode, uint32_t dev); }
903461 STD RUMP { int|sys||mkdirat(int fd, const char *path, \ 904461 STD RUMP { int|sys||mkdirat(int fd, const char *path, \
904 mode_t mode); } 905 mode_t mode); }
905462 STD RUMP { int|sys||faccessat(int fd, const char *path, \ 906462 STD RUMP { int|sys||faccessat(int fd, const char *path, \
906 int amode, int flag); } 907 int amode, int flag); }
907463 STD RUMP { int|sys||fchmodat(int fd, const char *path, \ 908463 STD RUMP { int|sys||fchmodat(int fd, const char *path, \
908 mode_t mode, int flag); } 909 mode_t mode, int flag); }
909464 STD RUMP { int|sys||fchownat(int fd, const char *path, \ 910464 STD RUMP { int|sys||fchownat(int fd, const char *path, \
910 uid_t owner, gid_t group, int flag); } 911 uid_t owner, gid_t group, int flag); }
911465 STD RUMP { int|sys||fexecve(int fd, \ 912465 STD RUMP { int|sys||fexecve(int fd, \
912 char * const *argp, char * const *envp); } 913 char * const *argp, char * const *envp); }
913466 STD RUMP { int|sys||fstatat(int fd, const char *path, \ 914466 STD RUMP { int|sys||fstatat(int fd, const char *path, \
914 struct stat *buf, int flag); } 915 struct stat *buf, int flag); }
915467 STD RUMP { int|sys||utimensat(int fd, const char *path, \ 916467 STD RUMP { int|sys||utimensat(int fd, const char *path, \
916 const struct timespec *tptr, int flag); } 917 const struct timespec *tptr, int flag); }
917468 STD RUMP { int|sys||openat(int fd, const char *path, \ 918468 STD RUMP { int|sys||openat(int fd, const char *path, \
918 int oflags, ... mode_t mode); } 919 int oflags, ... mode_t mode); }
919469 STD RUMP { int|sys||readlinkat(int fd, const char *path, \ 920469 STD RUMP { int|sys||readlinkat(int fd, const char *path, \
920 char *buf, size_t bufsize); } 921 char *buf, size_t bufsize); }
921470 STD RUMP { int|sys||symlinkat(const char *path1, int fd, \ 922470 STD RUMP { int|sys||symlinkat(const char *path1, int fd, \
922 const char *path2); } 923 const char *path2); }
923471 STD RUMP { int|sys||unlinkat(int fd, const char *path, \ 924471 STD RUMP { int|sys||unlinkat(int fd, const char *path, \
924 int flag); } 925 int flag); }
925472 STD RUMP { int|sys||futimens(int fd, \ 926472 STD RUMP { int|sys||futimens(int fd, \
926 const struct timespec *tptr); } 927 const struct timespec *tptr); }
927473 STD RUMP { int|sys||__quotactl(const char *path, \ 928473 STD RUMP { int|sys||__quotactl(const char *path, \
928 struct quotactl_args *args); } 929 struct quotactl_args *args); }
929474 NOERR { int|sys||posix_spawn(pid_t *pid, const char *path, \ 930474 NOERR { int|sys||posix_spawn(pid_t *pid, const char *path, \
930 const struct posix_spawn_file_actions *file_actions, \ 931 const struct posix_spawn_file_actions *file_actions, \
931 const struct posix_spawnattr *attrp, \ 932 const struct posix_spawnattr *attrp, \
932 char *const *argv, char *const *envp); } 933 char *const *argv, char *const *envp); }
933 934