| @@ -1,1045 +1,1050 @@ | | | @@ -1,1045 +1,1050 @@ |
1 | $NetBSD: syscalls.master,v 1.101.2.2 2015/11/04 17:46:21 riz Exp $ | | 1 | $NetBSD: syscalls.master,v 1.101.2.3 2015/11/06 09:16:48 martin 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_nfsserver.h" |
41 | #include "opt_ntp.h" | | 42 | #include "opt_ntp.h" |
42 | #include "opt_sysv.h" | | 43 | #include "opt_sysv.h" |
43 | #include "opt_compat_43.h" | | 44 | #include "opt_compat_43.h" |
44 | #endif | | 45 | #endif |
45 | | | 46 | |
46 | #include <sys/param.h> | | 47 | #include <sys/param.h> |
47 | #include <sys/systm.h> | | 48 | #include <sys/systm.h> |
48 | #include <sys/signal.h> | | 49 | #include <sys/signal.h> |
49 | #include <sys/mount.h> | | 50 | #include <sys/mount.h> |
50 | #include <sys/syscallargs.h> | | 51 | #include <sys/syscallargs.h> |
51 | | | 52 | |
52 | #include <compat/netbsd32/netbsd32.h> | | 53 | #include <compat/netbsd32/netbsd32.h> |
53 | #include <compat/netbsd32/netbsd32_syscallargs.h> | | 54 | #include <compat/netbsd32/netbsd32_syscallargs.h> |
54 | | | 55 | |
55 | %% | | 56 | %% |
56 | | | 57 | |
57 | ; Reserved/unimplemented system calls in the range 0-150 inclusive | | 58 | ; Reserved/unimplemented system calls in the range 0-150 inclusive |
58 | ; are reserved for use in future Berkeley releases. | | 59 | ; are reserved for use in future Berkeley releases. |
59 | ; Additional system calls implemented in vendor and other | | 60 | ; Additional system calls implemented in vendor and other |
60 | ; redistributions should be placed in the reserved range at the end | | 61 | ; redistributions should be placed in the reserved range at the end |
61 | ; of the current calls. | | 62 | ; of the current calls. |
62 | | | 63 | |
63 | 0 INDIR { int|netbsd32||syscall(int code, \ | | 64 | 0 INDIR { int|netbsd32||syscall(int code, \ |
64 | ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } | | 65 | ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } |
65 | 1 STD { void|netbsd32||exit(int rval); } | | 66 | 1 STD { void|netbsd32||exit(int rval); } |
66 | 2 NOARGS { int|sys||fork(void); } | | 67 | 2 NOARGS { int|sys||fork(void); } |
67 | 3 STD { netbsd32_ssize_t|netbsd32||read(int fd, \ | | 68 | 3 STD { netbsd32_ssize_t|netbsd32||read(int fd, \ |
68 | netbsd32_voidp buf, netbsd32_size_t nbyte); } | | 69 | netbsd32_voidp buf, netbsd32_size_t nbyte); } |
69 | 4 STD { netbsd32_ssize_t|netbsd32||write(int fd, \ | | 70 | 4 STD { netbsd32_ssize_t|netbsd32||write(int fd, \ |
70 | netbsd32_voidp buf, netbsd32_size_t nbyte); } | | 71 | netbsd32_voidp buf, netbsd32_size_t nbyte); } |
71 | 5 STD { int|netbsd32||open(netbsd32_charp path, int flags, \ | | 72 | 5 STD { int|netbsd32||open(netbsd32_charp path, int flags, \ |
72 | ... mode_t mode); } | | 73 | ... mode_t mode); } |
73 | 6 STD { int|netbsd32||close(int fd); } | | 74 | 6 STD { int|netbsd32||close(int fd); } |
74 | 7 COMPAT_50 { int|netbsd32||wait4(int pid, netbsd32_intp status, \ | | 75 | 7 COMPAT_50 { int|netbsd32||wait4(int pid, netbsd32_intp status, \ |
75 | int options, netbsd32_rusage50p_t rusage); } | | 76 | int options, netbsd32_rusage50p_t rusage); } |
76 | 8 COMPAT_43 { int|netbsd32||ocreat(netbsd32_charp path, \ | | 77 | 8 COMPAT_43 { int|netbsd32||ocreat(netbsd32_charp path, \ |
77 | mode_t mode); } | | 78 | mode_t mode); } |
78 | 9 STD { int|netbsd32||link(netbsd32_charp path, \ | | 79 | 9 STD { int|netbsd32||link(netbsd32_charp path, \ |
79 | netbsd32_charp link); } | | 80 | netbsd32_charp link); } |
80 | 10 STD { int|netbsd32||unlink(netbsd32_charp path); } | | 81 | 10 STD { int|netbsd32||unlink(netbsd32_charp path); } |
81 | 11 OBSOL execv | | 82 | 11 OBSOL execv |
82 | 12 STD { int|netbsd32||chdir(netbsd32_charp path); } | | 83 | 12 STD { int|netbsd32||chdir(netbsd32_charp path); } |
83 | 13 STD { int|netbsd32||fchdir(int fd); } | | 84 | 13 STD { int|netbsd32||fchdir(int fd); } |
84 | 14 COMPAT_50 { int|netbsd32||mknod(netbsd32_charp path, mode_t mode, \ | | 85 | 14 COMPAT_50 { int|netbsd32||mknod(netbsd32_charp path, mode_t mode, \ |
85 | uint32_t dev); } | | 86 | uint32_t dev); } |
86 | 15 STD { int|netbsd32||chmod(netbsd32_charp path, mode_t mode); } | | 87 | 15 STD { int|netbsd32||chmod(netbsd32_charp path, mode_t mode); } |
87 | 16 STD { int|netbsd32||chown(netbsd32_charp path, uid_t uid, \ | | 88 | 16 STD { int|netbsd32||chown(netbsd32_charp path, uid_t uid, \ |
88 | gid_t gid); } | | 89 | gid_t gid); } |
89 | 17 STD { int|netbsd32||break(netbsd32_charp nsize); } | | 90 | 17 STD { int|netbsd32||break(netbsd32_charp nsize); } |
90 | 18 COMPAT_20 { int|netbsd32||getfsstat(netbsd32_statfsp_t buf, \ | | 91 | 18 COMPAT_20 { int|netbsd32||getfsstat(netbsd32_statfsp_t buf, \ |
91 | netbsd32_long bufsize, int flags); } | | 92 | netbsd32_long bufsize, int flags); } |
92 | 19 COMPAT_43 { netbsd32_long|netbsd32||olseek(int fd, \ | | 93 | 19 COMPAT_43 { netbsd32_long|netbsd32||olseek(int fd, \ |
93 | netbsd32_long offset, int whence); } | | 94 | netbsd32_long offset, int whence); } |
94 | 20 NOARGS { pid_t|sys||getpid(void); } | | 95 | 20 NOARGS { pid_t|sys||getpid(void); } |
95 | 21 STD { int|netbsd32||mount(netbsd32_charp type, \ | | 96 | 21 STD { int|netbsd32||mount(netbsd32_charp type, \ |
96 | netbsd32_charp path, int flags, \ | | 97 | netbsd32_charp path, int flags, \ |
97 | netbsd32_voidp data); } | | 98 | netbsd32_voidp data); } |
98 | 22 STD { int|netbsd32||unmount(netbsd32_charp path, \ | | 99 | 22 STD { int|netbsd32||unmount(netbsd32_charp path, \ |
99 | int flags); } | | 100 | int flags); } |
100 | 23 STD { int|netbsd32||setuid(uid_t uid); } | | 101 | 23 STD { int|netbsd32||setuid(uid_t uid); } |
101 | 24 NOARGS { uid_t|sys||getuid(void); } | | 102 | 24 NOARGS { uid_t|sys||getuid(void); } |
102 | 25 NOARGS { uid_t|sys||geteuid(void); } | | 103 | 25 NOARGS { uid_t|sys||geteuid(void); } |
103 | 26 STD { int|netbsd32||ptrace(int req, pid_t pid, \ | | 104 | 26 STD { int|netbsd32||ptrace(int req, pid_t pid, \ |
104 | netbsd32_voidp addr, int data); } | | 105 | netbsd32_voidp addr, int data); } |
105 | 27 STD { netbsd32_ssize_t|netbsd32||recvmsg(int s, \ | | 106 | 27 STD { netbsd32_ssize_t|netbsd32||recvmsg(int s, \ |
106 | netbsd32_msghdrp_t msg, int flags); } | | 107 | netbsd32_msghdrp_t msg, int flags); } |
107 | 28 STD { netbsd32_ssize_t|netbsd32||sendmsg(int s, \ | | 108 | 28 STD { netbsd32_ssize_t|netbsd32||sendmsg(int s, \ |
108 | netbsd32_msghdrp_t msg, int flags); } | | 109 | netbsd32_msghdrp_t msg, int flags); } |
109 | 29 STD { netbsd32_ssize_t|netbsd32||recvfrom(int s, \ | | 110 | 29 STD { netbsd32_ssize_t|netbsd32||recvfrom(int s, \ |
110 | netbsd32_voidp buf, netbsd32_size_t len, \ | | 111 | netbsd32_voidp buf, netbsd32_size_t len, \ |
111 | int flags, netbsd32_sockaddrp_t from, \ | | 112 | int flags, netbsd32_sockaddrp_t from, \ |
112 | netbsd32_intp fromlenaddr); } | | 113 | netbsd32_intp fromlenaddr); } |
113 | 30 STD { int|netbsd32||accept(int s, \ | | 114 | 30 STD { int|netbsd32||accept(int s, \ |
114 | netbsd32_sockaddrp_t name, \ | | 115 | netbsd32_sockaddrp_t name, \ |
115 | netbsd32_intp anamelen); } | | 116 | netbsd32_intp anamelen); } |
116 | 31 STD { int|netbsd32||getpeername(int fdes, \ | | 117 | 31 STD { int|netbsd32||getpeername(int fdes, \ |
117 | netbsd32_sockaddrp_t asa, netbsd32_intp alen); } | | 118 | netbsd32_sockaddrp_t asa, netbsd32_intp alen); } |
118 | 32 STD { int|netbsd32||getsockname(int fdes, \ | | 119 | 32 STD { int|netbsd32||getsockname(int fdes, \ |
119 | netbsd32_sockaddrp_t asa, netbsd32_intp alen); } | | 120 | netbsd32_sockaddrp_t asa, netbsd32_intp alen); } |
120 | 33 STD { int|netbsd32||access(netbsd32_charp path, int flags); } | | 121 | 33 STD { int|netbsd32||access(netbsd32_charp path, int flags); } |
121 | 34 STD { int|netbsd32||chflags(netbsd32_charp path, \ | | 122 | 34 STD { int|netbsd32||chflags(netbsd32_charp path, \ |
122 | netbsd32_u_long flags); } | | 123 | netbsd32_u_long flags); } |
123 | 35 STD { int|netbsd32||fchflags(int fd, \ | | 124 | 35 STD { int|netbsd32||fchflags(int fd, \ |
124 | netbsd32_u_long flags); } | | 125 | netbsd32_u_long flags); } |
125 | 36 NOARGS { void|sys||sync(void); } | | 126 | 36 NOARGS { void|sys||sync(void); } |
126 | 37 STD { int|netbsd32||kill(int pid, int signum); } | | 127 | 37 STD { int|netbsd32||kill(int pid, int signum); } |
127 | 38 COMPAT_43 { int|netbsd32||stat43(netbsd32_charp path, \ | | 128 | 38 COMPAT_43 { int|netbsd32||stat43(netbsd32_charp path, \ |
128 | netbsd32_stat43p_t ub); } | | 129 | netbsd32_stat43p_t ub); } |
129 | 39 NOARGS { pid_t|sys||getppid(void); } | | 130 | 39 NOARGS { pid_t|sys||getppid(void); } |
130 | 40 COMPAT_43 { int|netbsd32||lstat43(netbsd32_charp path, \ | | 131 | 40 COMPAT_43 { int|netbsd32||lstat43(netbsd32_charp path, \ |
131 | netbsd32_stat43p_t ub); } | | 132 | netbsd32_stat43p_t ub); } |
132 | 41 STD { int|netbsd32||dup(int fd); } | | 133 | 41 STD { int|netbsd32||dup(int fd); } |
133 | 42 NOARGS { int|sys||pipe(void); } | | 134 | 42 NOARGS { int|sys||pipe(void); } |
134 | 43 NOARGS { gid_t|sys||getegid(void); } | | 135 | 43 NOARGS { gid_t|sys||getegid(void); } |
135 | 44 STD { int|netbsd32||profil(netbsd32_voidp samples, \ | | 136 | 44 STD { int|netbsd32||profil(netbsd32_voidp samples, \ |
136 | netbsd32_size_t size, netbsd32_u_long offset, \ | | 137 | netbsd32_size_t size, netbsd32_u_long offset, \ |
137 | u_int scale); } | | 138 | u_int scale); } |
138 | 45 STD { int|netbsd32||ktrace(netbsd32_charp fname, int ops, \ | | 139 | 45 STD { int|netbsd32||ktrace(netbsd32_charp fname, int ops, \ |
139 | int facs, int pid); } | | 140 | int facs, int pid); } |
140 | 46 STD { int|netbsd32||sigaction(int signum, \ | | 141 | 46 STD { int|netbsd32||sigaction(int signum, \ |
141 | netbsd32_sigactionp_t nsa, \ | | 142 | netbsd32_sigactionp_t nsa, \ |
142 | netbsd32_sigactionp_t osa); } | | 143 | netbsd32_sigactionp_t osa); } |
143 | 47 NOARGS { gid_t|sys||getgid(void); } | | 144 | 47 NOARGS { gid_t|sys||getgid(void); } |
144 | 48 COMPAT_13 { int|netbsd32||sigprocmask(int how, \ | | 145 | 48 COMPAT_13 { int|netbsd32||sigprocmask(int how, \ |
145 | int mask); } sigprocmask13 | | 146 | int mask); } sigprocmask13 |
146 | 49 STD { int|netbsd32||__getlogin(netbsd32_charp namebuf, \ | | 147 | 49 STD { int|netbsd32||__getlogin(netbsd32_charp namebuf, \ |
147 | u_int namelen); } | | 148 | u_int namelen); } |
148 | 50 STD { int|netbsd32||setlogin(netbsd32_charp namebuf); } | | 149 | 50 STD { int|netbsd32||setlogin(netbsd32_charp namebuf); } |
149 | 51 STD { int|netbsd32||acct(netbsd32_charp path); } | | 150 | 51 STD { int|netbsd32||acct(netbsd32_charp path); } |
150 | 52 COMPAT_13 { int|sys||sigpending(void); } sigpending13 | | 151 | 52 COMPAT_13 { int|sys||sigpending(void); } sigpending13 |
151 | 53 COMPAT_13 { int|netbsd32||sigaltstack13( \ | | 152 | 53 COMPAT_13 { int|netbsd32||sigaltstack13( \ |
152 | netbsd32_sigaltstack13p_t nss, \ | | 153 | netbsd32_sigaltstack13p_t nss, \ |
153 | netbsd32_sigaltstack13p_t oss); } | | 154 | netbsd32_sigaltstack13p_t oss); } |
154 | 54 STD { int|netbsd32||ioctl(int fd, netbsd32_u_long com, \ | | 155 | 54 STD { int|netbsd32||ioctl(int fd, netbsd32_u_long com, \ |
155 | ... netbsd32_voidp data); } | | 156 | ... netbsd32_voidp data); } |
156 | 55 COMPAT_12 { int|netbsd32||reboot(int opt); } | | 157 | 55 COMPAT_12 { int|netbsd32||reboot(int opt); } |
157 | 56 STD { int|netbsd32||revoke(netbsd32_charp path); } | | 158 | 56 STD { int|netbsd32||revoke(netbsd32_charp path); } |
158 | 57 STD { int|netbsd32||symlink(netbsd32_charp path, \ | | 159 | 57 STD { int|netbsd32||symlink(netbsd32_charp path, \ |
159 | netbsd32_charp link); } | | 160 | netbsd32_charp link); } |
160 | 58 STD { int|netbsd32||readlink(netbsd32_charp path, \ | | 161 | 58 STD { int|netbsd32||readlink(netbsd32_charp path, \ |
161 | netbsd32_charp buf, netbsd32_size_t count); } | | 162 | netbsd32_charp buf, netbsd32_size_t count); } |
162 | 59 STD { int|netbsd32||execve(netbsd32_charp path, \ | | 163 | 59 STD { int|netbsd32||execve(netbsd32_charp path, \ |
163 | netbsd32_charpp argp, netbsd32_charpp envp); } | | 164 | netbsd32_charpp argp, netbsd32_charpp envp); } |
164 | 60 STD { mode_t|netbsd32||umask(mode_t newmask); } | | 165 | 60 STD { mode_t|netbsd32||umask(mode_t newmask); } |
165 | 61 STD { int|netbsd32||chroot(netbsd32_charp path); } | | 166 | 61 STD { int|netbsd32||chroot(netbsd32_charp path); } |
166 | 62 COMPAT_43 { int|netbsd32||fstat43(int fd, netbsd32_stat43p_t sb); } | | 167 | 62 COMPAT_43 { int|netbsd32||fstat43(int fd, netbsd32_stat43p_t sb); } |
167 | 63 COMPAT_43 { int|netbsd32||ogetkerninfo(int op, \ | | 168 | 63 COMPAT_43 { int|netbsd32||ogetkerninfo(int op, \ |
168 | netbsd32_charp where, netbsd32_intp size, \ | | 169 | netbsd32_charp where, netbsd32_intp size, \ |
169 | int arg); } | | 170 | int arg); } |
170 | 64 COMPAT_43 { int|sys||getpagesize(void); } ogetpagesize | | 171 | 64 COMPAT_43 { int|sys||getpagesize(void); } ogetpagesize |
171 | 65 COMPAT_12 { int|netbsd32||msync(netbsd32_voidp addr, \ | | 172 | 65 COMPAT_12 { int|netbsd32||msync(netbsd32_voidp addr, \ |
172 | netbsd32_size_t len); } | | 173 | netbsd32_size_t len); } |
173 | ; XXX COMPAT_??? for 4.4BSD-compatible vfork(2)? | | 174 | ; XXX COMPAT_??? for 4.4BSD-compatible vfork(2)? |
174 | 66 NOARGS { int|sys||vfork(void); } | | 175 | 66 NOARGS { int|sys||vfork(void); } |
175 | 67 OBSOL vread | | 176 | 67 OBSOL vread |
176 | 68 OBSOL vwrite | | 177 | 68 OBSOL vwrite |
177 | 69 STD { int|netbsd32||sbrk(netbsd32_intptr_t incr); } | | 178 | 69 STD { int|netbsd32||sbrk(netbsd32_intptr_t incr); } |
178 | 70 STD { int|netbsd32||sstk(int incr); } | | 179 | 70 STD { int|netbsd32||sstk(int incr); } |
179 | 71 COMPAT_43 { int|netbsd32||ommap(netbsd32_voidp addr, \ | | 180 | 71 COMPAT_43 { int|netbsd32||ommap(netbsd32_voidp addr, \ |
180 | netbsd32_size_t len, int prot, int flags, int fd, \ | | 181 | netbsd32_size_t len, int prot, int flags, int fd, \ |
181 | netbsd32_long pos); } | | 182 | netbsd32_long pos); } |
182 | 72 STD { int|netbsd32||ovadvise(int anom); } vadvise | | 183 | 72 STD { int|netbsd32||ovadvise(int anom); } vadvise |
183 | 73 STD { int|netbsd32||munmap(netbsd32_voidp addr, \ | | 184 | 73 STD { int|netbsd32||munmap(netbsd32_voidp addr, \ |
184 | netbsd32_size_t len); } | | 185 | netbsd32_size_t len); } |
185 | 74 STD { int|netbsd32||mprotect(netbsd32_voidp addr, \ | | 186 | 74 STD { int|netbsd32||mprotect(netbsd32_voidp addr, \ |
186 | netbsd32_size_t len, int prot); } | | 187 | netbsd32_size_t len, int prot); } |
187 | 75 STD { int|netbsd32||madvise(netbsd32_voidp addr, \ | | 188 | 75 STD { int|netbsd32||madvise(netbsd32_voidp addr, \ |
188 | netbsd32_size_t len, int behav); } | | 189 | netbsd32_size_t len, int behav); } |
189 | 76 OBSOL vhangup | | 190 | 76 OBSOL vhangup |
190 | 77 OBSOL vlimit | | 191 | 77 OBSOL vlimit |
191 | 78 STD { int|netbsd32||mincore(netbsd32_voidp addr, \ | | 192 | 78 STD { int|netbsd32||mincore(netbsd32_voidp addr, \ |
192 | netbsd32_size_t len, netbsd32_charp vec); } | | 193 | netbsd32_size_t len, netbsd32_charp vec); } |
193 | 79 STD { int|netbsd32||getgroups(int gidsetsize, \ | | 194 | 79 STD { int|netbsd32||getgroups(int gidsetsize, \ |
194 | netbsd32_gid_tp gidset); } | | 195 | netbsd32_gid_tp gidset); } |
195 | 80 STD { int|netbsd32||setgroups(int gidsetsize, \ | | 196 | 80 STD { int|netbsd32||setgroups(int gidsetsize, \ |
196 | netbsd32_gid_tp gidset); } | | 197 | netbsd32_gid_tp gidset); } |
197 | 81 NOARGS { int|sys||getpgrp(void); } | | 198 | 81 NOARGS { int|sys||getpgrp(void); } |
198 | 82 STD { int|netbsd32||setpgid(int pid, int pgid); } | | 199 | 82 STD { int|netbsd32||setpgid(int pid, int pgid); } |
199 | 83 COMPAT_50 { int|netbsd32||setitimer(int which, \ | | 200 | 83 COMPAT_50 { int|netbsd32||setitimer(int which, \ |
200 | netbsd32_itimerval50p_t itv, \ | | 201 | netbsd32_itimerval50p_t itv, \ |
201 | netbsd32_itimerval50p_t oitv); } | | 202 | netbsd32_itimerval50p_t oitv); } |
202 | 84 COMPAT_43 { int|sys||wait(void); } owait | | 203 | 84 COMPAT_43 { int|sys||wait(void); } owait |
203 | 85 COMPAT_12 { int|netbsd32||oswapon(netbsd32_charp name); } | | 204 | 85 COMPAT_12 { int|netbsd32||oswapon(netbsd32_charp name); } |
204 | 86 COMPAT_50 { int|netbsd32||getitimer(int which, \ | | 205 | 86 COMPAT_50 { int|netbsd32||getitimer(int which, \ |
205 | netbsd32_itimerval50p_t itv); } | | 206 | netbsd32_itimerval50p_t itv); } |
206 | 87 COMPAT_43 { int|netbsd32||ogethostname(netbsd32_charp hostname, \ | | 207 | 87 COMPAT_43 { int|netbsd32||ogethostname(netbsd32_charp hostname, \ |
207 | u_int len); } | | 208 | u_int len); } |
208 | 88 COMPAT_43 { int|netbsd32||osethostname(netbsd32_charp hostname, \ | | 209 | 88 COMPAT_43 { int|netbsd32||osethostname(netbsd32_charp hostname, \ |
209 | u_int len); } | | 210 | u_int len); } |
210 | 89 COMPAT_43 { int|sys||getdtablesize(void); } ogetdtablesize | | 211 | 89 COMPAT_43 { int|sys||getdtablesize(void); } ogetdtablesize |
211 | 90 STD { int|netbsd32||dup2(int from, int to); } | | 212 | 90 STD { int|netbsd32||dup2(int from, int to); } |
212 | 91 UNIMPL getdopt | | 213 | 91 UNIMPL getdopt |
213 | 92 STD { int|netbsd32||fcntl(int fd, int cmd, \ | | 214 | 92 STD { int|netbsd32||fcntl(int fd, int cmd, \ |
214 | ... netbsd32_voidp arg); } | | 215 | ... netbsd32_voidp arg); } |
215 | 93 COMPAT_50 { int|netbsd32||select(int nd, netbsd32_fd_setp_t in, \ | | 216 | 93 COMPAT_50 { int|netbsd32||select(int nd, netbsd32_fd_setp_t in, \ |
216 | netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \ | | 217 | netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \ |
217 | netbsd32_timeval50p_t tv); } | | 218 | netbsd32_timeval50p_t tv); } |
218 | 94 UNIMPL setdopt | | 219 | 94 UNIMPL setdopt |
219 | 95 STD { int|netbsd32||fsync(int fd); } | | 220 | 95 STD { int|netbsd32||fsync(int fd); } |
220 | 96 STD { int|netbsd32||setpriority(int which, int who, \ | | 221 | 96 STD { int|netbsd32||setpriority(int which, int who, \ |
221 | int prio); } | | 222 | int prio); } |
222 | 97 COMPAT_30 { int|netbsd32||socket(int domain, int type, \ | | 223 | 97 COMPAT_30 { int|netbsd32||socket(int domain, int type, \ |
223 | int protocol); } | | 224 | int protocol); } |
224 | 98 STD { int|netbsd32||connect(int s, \ | | 225 | 98 STD { int|netbsd32||connect(int s, \ |
225 | netbsd32_sockaddrp_t name, int namelen); } | | 226 | netbsd32_sockaddrp_t name, int namelen); } |
226 | 99 COMPAT_43 { int|netbsd32||oaccept(int s, netbsd32_voidp name, \ | | 227 | 99 COMPAT_43 { int|netbsd32||oaccept(int s, netbsd32_voidp name, \ |
227 | netbsd32_intp anamelen); } | | 228 | netbsd32_intp anamelen); } |
228 | 100 STD { int|netbsd32||getpriority(int which, int who); } | | 229 | 100 STD { int|netbsd32||getpriority(int which, int who); } |
229 | 101 COMPAT_43 { int|netbsd32||osend(int s, netbsd32_voidp buf, \ | | 230 | 101 COMPAT_43 { int|netbsd32||osend(int s, netbsd32_voidp buf, \ |
230 | int len, int flags); } | | 231 | int len, int flags); } |
231 | 102 COMPAT_43 { int|netbsd32||orecv(int s, netbsd32_voidp buf, \ | | 232 | 102 COMPAT_43 { int|netbsd32||orecv(int s, netbsd32_voidp buf, \ |
232 | int len, int flags); } | | 233 | int len, int flags); } |
233 | 103 COMPAT_13 { int|netbsd32||sigreturn( \ | | 234 | 103 COMPAT_13 { int|netbsd32||sigreturn( \ |
234 | netbsd32_sigcontextp_t sigcntxp); } sigreturn13 | | 235 | netbsd32_sigcontextp_t sigcntxp); } sigreturn13 |
235 | 104 STD { int|netbsd32||bind(int s, netbsd32_sockaddrp_t name, \ | | 236 | 104 STD { int|netbsd32||bind(int s, netbsd32_sockaddrp_t name, \ |
236 | int namelen); } | | 237 | int namelen); } |
237 | 105 STD { int|netbsd32||setsockopt(int s, int level, int name, \ | | 238 | 105 STD { int|netbsd32||setsockopt(int s, int level, int name, \ |
238 | netbsd32_voidp val, int valsize); } | | 239 | netbsd32_voidp val, int valsize); } |
239 | 106 STD { int|netbsd32||listen(int s, int backlog); } | | 240 | 106 STD { int|netbsd32||listen(int s, int backlog); } |
240 | 107 OBSOL vtimes | | 241 | 107 OBSOL vtimes |
241 | 108 COMPAT_43 { int|netbsd32||osigvec(int signum, \ | | 242 | 108 COMPAT_43 { int|netbsd32||osigvec(int signum, \ |
242 | netbsd32_sigvecp_t nsv, netbsd32_sigvecp_t osv); } | | 243 | netbsd32_sigvecp_t nsv, netbsd32_sigvecp_t osv); } |
243 | 109 COMPAT_43 { int|netbsd32||sigblock(int mask); } | | 244 | 109 COMPAT_43 { int|netbsd32||sigblock(int mask); } |
244 | 110 COMPAT_43 { int|netbsd32||sigsetmask(int mask); } | | 245 | 110 COMPAT_43 { int|netbsd32||sigsetmask(int mask); } |
245 | 111 COMPAT_13 { int|netbsd32||sigsuspend(int mask); } sigsuspend13 | | 246 | 111 COMPAT_13 { int|netbsd32||sigsuspend(int mask); } sigsuspend13 |
246 | 112 COMPAT_43 { int|netbsd32||osigstack(netbsd32_sigstackp_t nss, \ | | 247 | 112 COMPAT_43 { int|netbsd32||osigstack(netbsd32_sigstackp_t nss, \ |
247 | netbsd32_sigstackp_t oss); } | | 248 | netbsd32_sigstackp_t oss); } |
248 | 113 COMPAT_43 { int|netbsd32||orecvmsg(int s, \ | | 249 | 113 COMPAT_43 { int|netbsd32||orecvmsg(int s, \ |
249 | netbsd32_omsghdrp_t msg, int flags); } | | 250 | netbsd32_omsghdrp_t msg, int flags); } |
250 | 114 COMPAT_43 { int|netbsd32||osendmsg(int s, netbsd32_voidp msg, \ | | 251 | 114 COMPAT_43 { int|netbsd32||osendmsg(int s, netbsd32_voidp msg, \ |
251 | int flags); } | | 252 | int flags); } |
252 | 115 OBSOL vtrace | | 253 | 115 OBSOL vtrace |
253 | 116 COMPAT_50 { int|netbsd32||gettimeofday(netbsd32_timeval50p_t tp, \ | | 254 | 116 COMPAT_50 { int|netbsd32||gettimeofday(netbsd32_timeval50p_t tp, \ |
254 | netbsd32_timezonep_t tzp); } | | 255 | netbsd32_timezonep_t tzp); } |
255 | 117 COMPAT_50 { int|netbsd32||getrusage(int who, \ | | 256 | 117 COMPAT_50 { int|netbsd32||getrusage(int who, \ |
256 | netbsd32_rusage50p_t rusage); } | | 257 | netbsd32_rusage50p_t rusage); } |
257 | 118 STD { int|netbsd32||getsockopt(int s, int level, int name, \ | | 258 | 118 STD { int|netbsd32||getsockopt(int s, int level, int name, \ |
258 | netbsd32_voidp val, netbsd32_intp avalsize); } | | 259 | netbsd32_voidp val, netbsd32_intp avalsize); } |
259 | 119 OBSOL resuba | | 260 | 119 OBSOL resuba |
260 | 120 STD { netbsd32_ssize_t|netbsd32||readv(int fd, \ | | 261 | 120 STD { netbsd32_ssize_t|netbsd32||readv(int fd, \ |
261 | netbsd32_iovecp_t iovp, int iovcnt); } | | 262 | netbsd32_iovecp_t iovp, int iovcnt); } |
262 | 121 STD { netbsd32_ssize_t|netbsd32||writev(int fd, \ | | 263 | 121 STD { netbsd32_ssize_t|netbsd32||writev(int fd, \ |
263 | netbsd32_iovecp_t iovp, int iovcnt); } | | 264 | netbsd32_iovecp_t iovp, int iovcnt); } |
264 | 122 COMPAT_50 { int|netbsd32||settimeofday(netbsd32_timeval50p_t tv, \ | | 265 | 122 COMPAT_50 { int|netbsd32||settimeofday(netbsd32_timeval50p_t tv, \ |
265 | netbsd32_timezonep_t tzp); } | | 266 | netbsd32_timezonep_t tzp); } |
266 | 123 STD { int|netbsd32||fchown(int fd, uid_t uid, gid_t gid); } | | 267 | 123 STD { int|netbsd32||fchown(int fd, uid_t uid, gid_t gid); } |
267 | 124 STD { int|netbsd32||fchmod(int fd, mode_t mode); } | | 268 | 124 STD { int|netbsd32||fchmod(int fd, mode_t mode); } |
268 | 125 COMPAT_43 { int|netbsd32||orecvfrom(int s, netbsd32_voidp buf, \ | | 269 | 125 COMPAT_43 { int|netbsd32||orecvfrom(int s, netbsd32_voidp buf, \ |
269 | netbsd32_size_t len, int flags, \ | | 270 | netbsd32_size_t len, int flags, \ |
270 | netbsd32_voidp from, netbsd32_intp fromlenaddr); } | | 271 | netbsd32_voidp from, netbsd32_intp fromlenaddr); } |
271 | 126 STD { int|netbsd32||setreuid(uid_t ruid, uid_t euid); } | | 272 | 126 STD { int|netbsd32||setreuid(uid_t ruid, uid_t euid); } |
272 | 127 STD { int|netbsd32||setregid(gid_t rgid, gid_t egid); } | | 273 | 127 STD { int|netbsd32||setregid(gid_t rgid, gid_t egid); } |
273 | 128 STD { int|netbsd32||rename(netbsd32_charp from, \ | | 274 | 128 STD { int|netbsd32||rename(netbsd32_charp from, \ |
274 | netbsd32_charp to); } | | 275 | netbsd32_charp to); } |
275 | 129 COMPAT_43 { int|netbsd32||otruncate(netbsd32_charp path, \ | | 276 | 129 COMPAT_43 { int|netbsd32||otruncate(netbsd32_charp path, \ |
276 | netbsd32_long length); } | | 277 | netbsd32_long length); } |
277 | 130 COMPAT_43 { int|netbsd32||oftruncate(int fd, \ | | 278 | 130 COMPAT_43 { int|netbsd32||oftruncate(int fd, \ |
278 | netbsd32_long length); } | | 279 | netbsd32_long length); } |
279 | 131 STD { int|netbsd32||flock(int fd, int how); } | | 280 | 131 STD { int|netbsd32||flock(int fd, int how); } |
280 | 132 STD { int|netbsd32||mkfifo(netbsd32_charp path, \ | | 281 | 132 STD { int|netbsd32||mkfifo(netbsd32_charp path, \ |
281 | mode_t mode); } | | 282 | mode_t mode); } |
282 | 133 STD { netbsd32_ssize_t|netbsd32||sendto(int s, \ | | 283 | 133 STD { netbsd32_ssize_t|netbsd32||sendto(int s, \ |
283 | netbsd32_voidp buf, netbsd32_size_t len, \ | | 284 | netbsd32_voidp buf, netbsd32_size_t len, \ |
284 | int flags, netbsd32_sockaddrp_t to, int tolen); } | | 285 | int flags, netbsd32_sockaddrp_t to, int tolen); } |
285 | 134 STD { int|netbsd32||shutdown(int s, int how); } | | 286 | 134 STD { int|netbsd32||shutdown(int s, int how); } |
286 | 135 STD { int|netbsd32||socketpair(int domain, int type, \ | | 287 | 135 STD { int|netbsd32||socketpair(int domain, int type, \ |
287 | int protocol, netbsd32_intp rsv); } | | 288 | int protocol, netbsd32_intp rsv); } |
288 | 136 STD { int|netbsd32||mkdir(netbsd32_charp path, \ | | 289 | 136 STD { int|netbsd32||mkdir(netbsd32_charp path, \ |
289 | mode_t mode); } | | 290 | mode_t mode); } |
290 | 137 STD { int|netbsd32||rmdir(netbsd32_charp path); } | | 291 | 137 STD { int|netbsd32||rmdir(netbsd32_charp path); } |
291 | 138 COMPAT_50 { int|netbsd32||utimes(netbsd32_charp path, \ | | 292 | 138 COMPAT_50 { int|netbsd32||utimes(netbsd32_charp path, \ |
292 | netbsd32_timeval50p_t tptr); } | | 293 | netbsd32_timeval50p_t tptr); } |
293 | 139 OBSOL 4.2 sigreturn | | 294 | 139 OBSOL 4.2 sigreturn |
294 | 140 COMPAT_50 { int|netbsd32||adjtime(netbsd32_timeval50p_t delta, \ | | 295 | 140 COMPAT_50 { int|netbsd32||adjtime(netbsd32_timeval50p_t delta, \ |
295 | netbsd32_timeval50p_t olddelta); } | | 296 | netbsd32_timeval50p_t olddelta); } |
296 | 141 COMPAT_43 { int|netbsd32||ogetpeername(int fdes, \ | | 297 | 141 COMPAT_43 { int|netbsd32||ogetpeername(int fdes, \ |
297 | netbsd32_voidp asa, netbsd32_intp alen); } | | 298 | netbsd32_voidp asa, netbsd32_intp alen); } |
298 | 142 COMPAT_43 { int32_t|sys||gethostid(void); } ogethostid | | 299 | 142 COMPAT_43 { int32_t|sys||gethostid(void); } ogethostid |
299 | 143 COMPAT_43 { int|netbsd32||sethostid(int32_t hostid); } | | 300 | 143 COMPAT_43 { int|netbsd32||sethostid(int32_t hostid); } |
300 | 144 COMPAT_43 { int|netbsd32||ogetrlimit(int which, \ | | 301 | 144 COMPAT_43 { int|netbsd32||ogetrlimit(int which, \ |
301 | netbsd32_orlimitp_t rlp); } | | 302 | netbsd32_orlimitp_t rlp); } |
302 | 145 COMPAT_43 { int|netbsd32||osetrlimit(int which, \ | | 303 | 145 COMPAT_43 { int|netbsd32||osetrlimit(int which, \ |
303 | netbsd32_orlimitp_t rlp); } | | 304 | netbsd32_orlimitp_t rlp); } |
304 | 146 COMPAT_43 { int|netbsd32||killpg(int pgid, int signum); } | | 305 | 146 COMPAT_43 { int|netbsd32||killpg(int pgid, int signum); } |
305 | 147 NOARGS { int|sys||setsid(void); } | | 306 | 147 NOARGS { int|sys||setsid(void); } |
306 | 148 COMPAT_50 { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \ | | 307 | 148 COMPAT_50 { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \ |
307 | int uid, netbsd32_voidp arg); } | | 308 | int uid, netbsd32_voidp arg); } |
308 | 149 COMPAT_43 { int|sys||quota(void); } oquota | | 309 | 149 COMPAT_43 { int|sys||quota(void); } oquota |
309 | 150 COMPAT_43 { int|netbsd32||ogetsockname(int fdec, \ | | 310 | 150 COMPAT_43 { int|netbsd32||ogetsockname(int fdec, \ |
310 | netbsd32_voidp asa, netbsd32_intp alen); } | | 311 | netbsd32_voidp asa, netbsd32_intp alen); } |
311 | | | 312 | |
312 | ; Syscalls 151-180 inclusive are reserved for vendor-specific | | 313 | ; Syscalls 151-180 inclusive are reserved for vendor-specific |
313 | ; system calls. (This includes various calls added for compatibity | | 314 | ; system calls. (This includes various calls added for compatibity |
314 | ; with other Unix variants.) | | 315 | ; with other Unix variants.) |
315 | ; Some of these calls are now supported by BSD... | | 316 | ; Some of these calls are now supported by BSD... |
316 | 151 UNIMPL | | 317 | 151 UNIMPL |
317 | 152 UNIMPL | | 318 | 152 UNIMPL |
318 | 153 UNIMPL | | 319 | 153 UNIMPL |
319 | 154 UNIMPL | | 320 | 154 UNIMPL |
| | | 321 | #if defined(NFSSERVER) || !defined(_KERNEL_OPT) |
320 | 155 STD { int|netbsd32||nfssvc(int flag, netbsd32_voidp argp); } | | 322 | 155 STD { int|netbsd32||nfssvc(int flag, netbsd32_voidp argp); } |
| | | 323 | #else |
| | | 324 | 155 EXCL netbsd32_nfssvc |
| | | 325 | #endif |
321 | 156 COMPAT_43 { int|netbsd32||ogetdirentries(int fd, \ | | 326 | 156 COMPAT_43 { int|netbsd32||ogetdirentries(int fd, \ |
322 | netbsd32_charp buf, u_int count, \ | | 327 | netbsd32_charp buf, u_int count, \ |
323 | netbsd32_longp basep); } | | 328 | netbsd32_longp basep); } |
324 | 157 COMPAT_20 { int|netbsd32||statfs(netbsd32_charp path, \ | | 329 | 157 COMPAT_20 { int|netbsd32||statfs(netbsd32_charp path, \ |
325 | netbsd32_statfsp_t buf); } | | 330 | netbsd32_statfsp_t buf); } |
326 | 158 COMPAT_20 { int|netbsd32||fstatfs(int fd, \ | | 331 | 158 COMPAT_20 { int|netbsd32||fstatfs(int fd, \ |
327 | netbsd32_statfsp_t buf); } | | 332 | netbsd32_statfsp_t buf); } |
328 | 159 UNIMPL | | 333 | 159 UNIMPL |
329 | 160 UNIMPL | | 334 | 160 UNIMPL |
330 | 161 COMPAT_30 { int|netbsd32||getfh(netbsd32_charp fname, \ | | 335 | 161 COMPAT_30 { int|netbsd32||getfh(netbsd32_charp fname, \ |
331 | netbsd32_compat_30_fhandlep_t fhp); } | | 336 | netbsd32_compat_30_fhandlep_t fhp); } |
332 | 162 COMPAT_09 { int|netbsd32||ogetdomainname( \ | | 337 | 162 COMPAT_09 { int|netbsd32||ogetdomainname( \ |
333 | netbsd32_charp domainname, int len); } | | 338 | netbsd32_charp domainname, int len); } |
334 | 163 COMPAT_09 { int|netbsd32||osetdomainname( \ | | 339 | 163 COMPAT_09 { int|netbsd32||osetdomainname( \ |
335 | netbsd32_charp domainname, int len); } | | 340 | netbsd32_charp domainname, int len); } |
336 | 164 COMPAT_09 { int|netbsd32||uname(netbsd32_outsnamep_t name); } | | 341 | 164 COMPAT_09 { int|netbsd32||uname(netbsd32_outsnamep_t name); } |
337 | 165 STD { int|netbsd32||sysarch(int op, netbsd32_voidp parms); } | | 342 | 165 STD { int|netbsd32||sysarch(int op, netbsd32_voidp parms); } |
338 | 166 UNIMPL | | 343 | 166 UNIMPL |
339 | 167 UNIMPL | | 344 | 167 UNIMPL |
340 | 168 UNIMPL | | 345 | 168 UNIMPL |
341 | #if defined(SYSVSEM) || !defined(_KERNEL_OPT) | | 346 | #if defined(SYSVSEM) || !defined(_KERNEL_OPT) |
342 | 169 COMPAT_10 { int|netbsd32||semsys(int which, int a2, int a3, \ | | 347 | 169 COMPAT_10 { int|netbsd32||semsys(int which, int a2, int a3, \ |
343 | int a4, int a5); } osemsys | | 348 | int a4, int a5); } osemsys |
344 | #else | | 349 | #else |
345 | 169 EXCL netbsd32_semsys | | 350 | 169 EXCL netbsd32_semsys |
346 | #endif | | 351 | #endif |
347 | #if defined(SYSVMSG) || !defined(_KERNEL_OPT) | | 352 | #if defined(SYSVMSG) || !defined(_KERNEL_OPT) |
348 | 170 COMPAT_10 { int|netbsd32||msgsys(int which, int a2, int a3, \ | | 353 | 170 COMPAT_10 { int|netbsd32||msgsys(int which, int a2, int a3, \ |
349 | int a4, int a5, int a6); } omsgsys | | 354 | int a4, int a5, int a6); } omsgsys |
350 | #else | | 355 | #else |
351 | 170 EXCL netbsd32_msgsys | | 356 | 170 EXCL netbsd32_msgsys |
352 | #endif | | 357 | #endif |
353 | #if defined(SYSVSHM) || !defined(_KERNEL_OPT) | | 358 | #if defined(SYSVSHM) || !defined(_KERNEL_OPT) |
354 | 171 COMPAT_10 { int|netbsd32||shmsys(int which, int a2, int a3, \ | | 359 | 171 COMPAT_10 { int|netbsd32||shmsys(int which, int a2, int a3, \ |
355 | int a4); } oshmsys | | 360 | int a4); } oshmsys |
356 | #else | | 361 | #else |
357 | 171 EXCL netbsd32_shmsys | | 362 | 171 EXCL netbsd32_shmsys |
358 | #endif | | 363 | #endif |
359 | 172 UNIMPL | | 364 | 172 UNIMPL |
360 | 173 STD { netbsd32_ssize_t|netbsd32||pread(int fd, \ | | 365 | 173 STD { netbsd32_ssize_t|netbsd32||pread(int fd, \ |
361 | netbsd32_voidp buf, netbsd32_size_t nbyte, \ | | 366 | netbsd32_voidp buf, netbsd32_size_t nbyte, \ |
362 | int PAD, netbsd32_off_t offset); } | | 367 | int PAD, netbsd32_off_t offset); } |
363 | 174 STD { netbsd32_ssize_t|netbsd32||pwrite(int fd, \ | | 368 | 174 STD { netbsd32_ssize_t|netbsd32||pwrite(int fd, \ |
364 | netbsd32_voidp buf, netbsd32_size_t nbyte, \ | | 369 | netbsd32_voidp buf, netbsd32_size_t nbyte, \ |
365 | int PAD, netbsd32_off_t offset); } | | 370 | int PAD, netbsd32_off_t offset); } |
366 | #if defined(NTP) || !defined(_KERNEL_OPT) | | 371 | #if defined(NTP) || !defined(_KERNEL_OPT) |
367 | 175 COMPAT_30 { int|netbsd32||ntp_gettime( \ | | 372 | 175 COMPAT_30 { int|netbsd32||ntp_gettime( \ |
368 | netbsd32_ntptimeval50p_t ntvp); } | | 373 | netbsd32_ntptimeval50p_t ntvp); } |
369 | 176 STD { int|netbsd32||ntp_adjtime(netbsd32_timexp_t tp); } | | 374 | 176 STD { int|netbsd32||ntp_adjtime(netbsd32_timexp_t tp); } |
370 | #else | | 375 | #else |
371 | 175 EXCL ntp_gettime | | 376 | 175 EXCL ntp_gettime |
372 | 176 EXCL ntp_adjtime | | 377 | 176 EXCL ntp_adjtime |
373 | #endif | | 378 | #endif |
374 | 177 UNIMPL | | 379 | 177 UNIMPL |
375 | 178 UNIMPL | | 380 | 178 UNIMPL |
376 | 179 UNIMPL | | 381 | 179 UNIMPL |
377 | 180 UNIMPL | | 382 | 180 UNIMPL |
378 | | | 383 | |
379 | ; Syscalls 180-199 are used by/reserved for BSD | | 384 | ; Syscalls 180-199 are used by/reserved for BSD |
380 | 181 STD { int|netbsd32||setgid(gid_t gid); } | | 385 | 181 STD { int|netbsd32||setgid(gid_t gid); } |
381 | 182 STD { int|netbsd32||setegid(gid_t egid); } | | 386 | 182 STD { int|netbsd32||setegid(gid_t egid); } |
382 | 183 STD { int|netbsd32||seteuid(uid_t euid); } | | 387 | 183 STD { int|netbsd32||seteuid(uid_t euid); } |
383 | 184 EXCL netbsd32_lfs_bmapv | | 388 | 184 EXCL netbsd32_lfs_bmapv |
384 | 185 EXCL netbsd32_lfs_markv | | 389 | 185 EXCL netbsd32_lfs_markv |
385 | 186 EXCL netbsd32_lfs_segclean | | 390 | 186 EXCL netbsd32_lfs_segclean |
386 | 187 EXCL netbsd32_lfs_segwait | | 391 | 187 EXCL netbsd32_lfs_segwait |
387 | 188 COMPAT_12 { int|netbsd32||stat12(netbsd32_charp path, \ | | 392 | 188 COMPAT_12 { int|netbsd32||stat12(netbsd32_charp path, \ |
388 | netbsd32_stat12p_t ub); } | | 393 | netbsd32_stat12p_t ub); } |
389 | 189 COMPAT_12 { int|netbsd32||fstat12(int fd, netbsd32_stat12p_t sb); } | | 394 | 189 COMPAT_12 { int|netbsd32||fstat12(int fd, netbsd32_stat12p_t sb); } |
390 | 190 COMPAT_12 { int|netbsd32||lstat12(netbsd32_charp path, \ | | 395 | 190 COMPAT_12 { int|netbsd32||lstat12(netbsd32_charp path, \ |
391 | netbsd32_stat12p_t ub); } | | 396 | netbsd32_stat12p_t ub); } |
392 | 191 STD { netbsd32_long|netbsd32||pathconf(netbsd32_charp path, \ | | 397 | 191 STD { netbsd32_long|netbsd32||pathconf(netbsd32_charp path, \ |
393 | int name); } | | 398 | int name); } |
394 | 192 STD { netbsd32_long|netbsd32||fpathconf(int fd, int name); } | | 399 | 192 STD { netbsd32_long|netbsd32||fpathconf(int fd, int name); } |
395 | 193 UNIMPL | | 400 | 193 UNIMPL |
396 | 194 STD { int|netbsd32||getrlimit(int which, \ | | 401 | 194 STD { int|netbsd32||getrlimit(int which, \ |
397 | netbsd32_rlimitp_t rlp); } | | 402 | netbsd32_rlimitp_t rlp); } |
398 | 195 STD { int|netbsd32||setrlimit(int which, \ | | 403 | 195 STD { int|netbsd32||setrlimit(int which, \ |
399 | netbsd32_rlimitp_t rlp); } | | 404 | netbsd32_rlimitp_t rlp); } |
400 | 196 COMPAT_12 { int|netbsd32||getdirentries(int fd, \ | | 405 | 196 COMPAT_12 { int|netbsd32||getdirentries(int fd, \ |
401 | netbsd32_charp buf, u_int count, \ | | 406 | netbsd32_charp buf, u_int count, \ |
402 | netbsd32_longp basep); } | | 407 | netbsd32_longp basep); } |
403 | 197 STD { netbsd32_voidp|netbsd32||mmap(netbsd32_voidp addr, \ | | 408 | 197 STD { netbsd32_voidp|netbsd32||mmap(netbsd32_voidp addr, \ |
404 | netbsd32_size_t len, int prot, int flags, int fd, \ | | 409 | netbsd32_size_t len, int prot, int flags, int fd, \ |
405 | netbsd32_long PAD, netbsd32_off_t pos); } | | 410 | netbsd32_long PAD, netbsd32_off_t pos); } |
406 | 198 INDIR { quad_t|netbsd32||___syscall(quad_t code, \ | | 411 | 198 INDIR { quad_t|netbsd32||___syscall(quad_t code, \ |
407 | ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } | | 412 | ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } |
408 | 199 STD { netbsd32_off_t|netbsd32||lseek(int fd, int PAD, \ | | 413 | 199 STD { netbsd32_off_t|netbsd32||lseek(int fd, int PAD, \ |
409 | netbsd32_off_t offset, int whence); } | | 414 | netbsd32_off_t offset, int whence); } |
410 | 200 STD { int|netbsd32||truncate(netbsd32_charp path, int PAD, \ | | 415 | 200 STD { int|netbsd32||truncate(netbsd32_charp path, int PAD, \ |
411 | netbsd32_off_t length); } | | 416 | netbsd32_off_t length); } |
412 | 201 STD { int|netbsd32||ftruncate(int fd, int PAD, \ | | 417 | 201 STD { int|netbsd32||ftruncate(int fd, int PAD, \ |
413 | netbsd32_off_t length); } | | 418 | netbsd32_off_t length); } |
414 | 202 STD { int|netbsd32||__sysctl(netbsd32_intp name, \ | | 419 | 202 STD { int|netbsd32||__sysctl(netbsd32_intp name, \ |
415 | u_int namelen, netbsd32_voidp oldv, \ | | 420 | u_int namelen, netbsd32_voidp oldv, \ |
416 | netbsd32_size_tp oldlenp, netbsd32_voidp newv, \ | | 421 | netbsd32_size_tp oldlenp, netbsd32_voidp newv, \ |
417 | netbsd32_size_t newlen); } | | 422 | netbsd32_size_t newlen); } |
418 | 203 STD { int|netbsd32||mlock(netbsd32_voidp addr, \ | | 423 | 203 STD { int|netbsd32||mlock(netbsd32_voidp addr, \ |
419 | netbsd32_size_t len); } | | 424 | netbsd32_size_t len); } |
420 | 204 STD { int|netbsd32||munlock(netbsd32_voidp addr, \ | | 425 | 204 STD { int|netbsd32||munlock(netbsd32_voidp addr, \ |
421 | netbsd32_size_t len); } | | 426 | netbsd32_size_t len); } |
422 | 205 STD { int|netbsd32||undelete(netbsd32_charp path); } | | 427 | 205 STD { int|netbsd32||undelete(netbsd32_charp path); } |
423 | 206 COMPAT_50 { int|netbsd32||futimes(int fd, \ | | 428 | 206 COMPAT_50 { int|netbsd32||futimes(int fd, \ |
424 | netbsd32_timeval50p_t tptr); } | | 429 | netbsd32_timeval50p_t tptr); } |
425 | 207 STD { int|netbsd32||getpgid(pid_t pid); } | | 430 | 207 STD { int|netbsd32||getpgid(pid_t pid); } |
426 | 208 STD { int|netbsd32||reboot(int opt, \ | | 431 | 208 STD { int|netbsd32||reboot(int opt, \ |
427 | netbsd32_charp bootstr); } | | 432 | netbsd32_charp bootstr); } |
428 | 209 STD { int|netbsd32||poll(netbsd32_pollfdp_t fds, \ | | 433 | 209 STD { int|netbsd32||poll(netbsd32_pollfdp_t fds, \ |
429 | u_int nfds, int timeout); } | | 434 | u_int nfds, int timeout); } |
430 | 210 UNIMPL | | 435 | 210 UNIMPL |
431 | 211 UNIMPL | | 436 | 211 UNIMPL |
432 | 212 UNIMPL | | 437 | 212 UNIMPL |
433 | 213 UNIMPL | | 438 | 213 UNIMPL |
434 | 214 UNIMPL | | 439 | 214 UNIMPL |
435 | 215 UNIMPL | | 440 | 215 UNIMPL |
436 | 216 UNIMPL | | 441 | 216 UNIMPL |
437 | 217 UNIMPL | | 442 | 217 UNIMPL |
438 | 218 UNIMPL | | 443 | 218 UNIMPL |
439 | 219 UNIMPL | | 444 | 219 UNIMPL |
440 | ; System calls 220-300 are reserved for use by NetBSD | | 445 | ; System calls 220-300 are reserved for use by NetBSD |
441 | #if defined(SYSVSEM) || !defined(_KERNEL_OPT) | | 446 | #if defined(SYSVSEM) || !defined(_KERNEL_OPT) |
442 | 220 COMPAT_14 { int|netbsd32||__semctl(int semid, int semnum, \ | | 447 | 220 COMPAT_14 { int|netbsd32||__semctl(int semid, int semnum, \ |
443 | int cmd, netbsd32_semunu_t arg); } | | 448 | int cmd, netbsd32_semunu_t arg); } |
444 | 221 STD { int|netbsd32||semget(netbsd32_key_t key, int nsems, \ | | 449 | 221 STD { int|netbsd32||semget(netbsd32_key_t key, int nsems, \ |
445 | int semflg); } | | 450 | int semflg); } |
446 | 222 STD { int|netbsd32||semop(int semid, \ | | 451 | 222 STD { int|netbsd32||semop(int semid, \ |
447 | netbsd32_sembufp_t sops, netbsd32_size_t nsops); } | | 452 | netbsd32_sembufp_t sops, netbsd32_size_t nsops); } |
448 | 223 STD { int|netbsd32||semconfig(int flag); } | | 453 | 223 STD { int|netbsd32||semconfig(int flag); } |
449 | #else | | 454 | #else |
450 | 220 EXCL compat_14_netbsd32_semctl | | 455 | 220 EXCL compat_14_netbsd32_semctl |
451 | 221 EXCL netbsd32_semget | | 456 | 221 EXCL netbsd32_semget |
452 | 222 EXCL netbsd32_semop | | 457 | 222 EXCL netbsd32_semop |
453 | 223 EXCL netbsd32_semconfig | | 458 | 223 EXCL netbsd32_semconfig |
454 | #endif | | 459 | #endif |
455 | #if defined(SYSVMSG) || !defined(_KERNEL_OPT) | | 460 | #if defined(SYSVMSG) || !defined(_KERNEL_OPT) |
456 | 224 COMPAT_14 { int|netbsd32||msgctl(int msqid, int cmd, \ | | 461 | 224 COMPAT_14 { int|netbsd32||msgctl(int msqid, int cmd, \ |
457 | netbsd32_msqid_ds14p_t buf); } | | 462 | netbsd32_msqid_ds14p_t buf); } |
458 | 225 STD { int|netbsd32||msgget(netbsd32_key_t key, int msgflg); } | | 463 | 225 STD { int|netbsd32||msgget(netbsd32_key_t key, int msgflg); } |
459 | 226 STD { int|netbsd32||msgsnd(int msqid, netbsd32_voidp msgp, \ | | 464 | 226 STD { int|netbsd32||msgsnd(int msqid, netbsd32_voidp msgp, \ |
460 | netbsd32_size_t msgsz, int msgflg); } | | 465 | netbsd32_size_t msgsz, int msgflg); } |
461 | 227 STD { netbsd32_ssize_t|netbsd32||msgrcv(int msqid, \ | | 466 | 227 STD { netbsd32_ssize_t|netbsd32||msgrcv(int msqid, \ |
462 | netbsd32_voidp msgp, netbsd32_size_t msgsz, \ | | 467 | netbsd32_voidp msgp, netbsd32_size_t msgsz, \ |
463 | netbsd32_long msgtyp, int msgflg); } | | 468 | netbsd32_long msgtyp, int msgflg); } |
464 | #else | | 469 | #else |
465 | 224 EXCL compat_14_netbsd32_msgctl | | 470 | 224 EXCL compat_14_netbsd32_msgctl |
466 | 225 EXCL netbsd32_msgget | | 471 | 225 EXCL netbsd32_msgget |
467 | 226 EXCL netbsd32_msgsnd | | 472 | 226 EXCL netbsd32_msgsnd |
468 | 227 EXCL netbsd32_msgrcv | | 473 | 227 EXCL netbsd32_msgrcv |
469 | #endif | | 474 | #endif |
470 | #if defined(SYSVSHM) || !defined(_KERNEL_OPT) | | 475 | #if defined(SYSVSHM) || !defined(_KERNEL_OPT) |
471 | 228 STD { netbsd32_voidp|netbsd32||shmat(int shmid, \ | | 476 | 228 STD { netbsd32_voidp|netbsd32||shmat(int shmid, \ |
472 | netbsd32_voidp shmaddr, int shmflg); } | | 477 | netbsd32_voidp shmaddr, int shmflg); } |
473 | 229 COMPAT_14 { int|netbsd32||shmctl(int shmid, int cmd, \ | | 478 | 229 COMPAT_14 { int|netbsd32||shmctl(int shmid, int cmd, \ |
474 | netbsd32_shmid_dsp_t buf); } | | 479 | netbsd32_shmid_dsp_t buf); } |
475 | 230 STD { int|netbsd32||shmdt(netbsd32_voidp shmaddr); } | | 480 | 230 STD { int|netbsd32||shmdt(netbsd32_voidp shmaddr); } |
476 | 231 STD { int|netbsd32||shmget(netbsd32_key_t key, \ | | 481 | 231 STD { int|netbsd32||shmget(netbsd32_key_t key, \ |
477 | netbsd32_size_t size, int shmflg); } | | 482 | netbsd32_size_t size, int shmflg); } |
478 | #else | | 483 | #else |
479 | 228 EXCL netbsd32_shmat | | 484 | 228 EXCL netbsd32_shmat |
480 | 229 EXCL compat_14_netbsd32_shmctl | | 485 | 229 EXCL compat_14_netbsd32_shmctl |
481 | 230 EXCL netbsd32_shmdt | | 486 | 230 EXCL netbsd32_shmdt |
482 | 231 EXCL netbsd32_shmget | | 487 | 231 EXCL netbsd32_shmget |
483 | #endif | | 488 | #endif |
484 | 232 COMPAT_50 { int|netbsd32||clock_gettime( \ | | 489 | 232 COMPAT_50 { int|netbsd32||clock_gettime( \ |
485 | netbsd32_clockid_t clock_id, \ | | 490 | netbsd32_clockid_t clock_id, \ |
486 | netbsd32_timespec50p_t tp); } | | 491 | netbsd32_timespec50p_t tp); } |
487 | 233 COMPAT_50 { int|netbsd32||clock_settime( \ | | 492 | 233 COMPAT_50 { int|netbsd32||clock_settime( \ |
488 | netbsd32_clockid_t clock_id, \ | | 493 | netbsd32_clockid_t clock_id, \ |
489 | netbsd32_timespec50p_t tp); } | | 494 | netbsd32_timespec50p_t tp); } |
490 | 234 COMPAT_50 { int|netbsd32||clock_getres( \ | | 495 | 234 COMPAT_50 { int|netbsd32||clock_getres( \ |
491 | netbsd32_clockid_t clock_id, \ | | 496 | netbsd32_clockid_t clock_id, \ |
492 | netbsd32_timespec50p_t tp); } | | 497 | netbsd32_timespec50p_t tp); } |
493 | 235 STD { int|netbsd32||timer_create( \ | | 498 | 235 STD { int|netbsd32||timer_create( \ |
494 | netbsd32_clockid_t clock_id, \ | | 499 | netbsd32_clockid_t clock_id, \ |
495 | netbsd32_sigeventp_t evp, \ | | 500 | netbsd32_sigeventp_t evp, \ |
496 | netbsd32_timerp_t timerid); } | | 501 | netbsd32_timerp_t timerid); } |
497 | 236 STD { int|netbsd32||timer_delete(netbsd32_timer_t timerid); } | | 502 | 236 STD { int|netbsd32||timer_delete(netbsd32_timer_t timerid); } |
498 | 237 COMPAT_50 { int|netbsd32||timer_settime(netbsd32_timer_t timerid, \ | | 503 | 237 COMPAT_50 { int|netbsd32||timer_settime(netbsd32_timer_t timerid, \ |
499 | int flags, \ | | 504 | int flags, \ |
500 | netbsd32_itimerspec50p_t value, \ | | 505 | netbsd32_itimerspec50p_t value, \ |
501 | netbsd32_itimerspec50p_t ovalue); } | | 506 | netbsd32_itimerspec50p_t ovalue); } |
502 | 238 COMPAT_50 { int|netbsd32||timer_gettime(netbsd32_timer_t timerid, \ | | 507 | 238 COMPAT_50 { int|netbsd32||timer_gettime(netbsd32_timer_t timerid, \ |
503 | netbsd32_itimerspec50p_t value); } | | 508 | netbsd32_itimerspec50p_t value); } |
504 | 239 STD { int|netbsd32||timer_getoverrun( \ | | 509 | 239 STD { int|netbsd32||timer_getoverrun( \ |
505 | netbsd32_timer_t timerid); } | | 510 | netbsd32_timer_t timerid); } |
506 | ; | | 511 | ; |
507 | ; Syscalls 240-269 are reserved for other IEEE Std1003.1b syscalls | | 512 | ; Syscalls 240-269 are reserved for other IEEE Std1003.1b syscalls |
508 | ; | | 513 | ; |
509 | 240 COMPAT_50 { int|netbsd32||nanosleep(netbsd32_timespec50p_t rqtp, \ | | 514 | 240 COMPAT_50 { int|netbsd32||nanosleep(netbsd32_timespec50p_t rqtp, \ |
510 | netbsd32_timespec50p_t rmtp); } | | 515 | netbsd32_timespec50p_t rmtp); } |
511 | 241 STD { int|netbsd32||fdatasync(int fd); } | | 516 | 241 STD { int|netbsd32||fdatasync(int fd); } |
512 | 242 STD { int|netbsd32||mlockall(int flags); } | | 517 | 242 STD { int|netbsd32||mlockall(int flags); } |
513 | 243 NOARGS { int|sys||munlockall(void); } | | 518 | 243 NOARGS { int|sys||munlockall(void); } |
514 | 244 COMPAT_50 { int|netbsd32||__sigtimedwait(netbsd32_sigsetp_t set, \ | | 519 | 244 COMPAT_50 { int|netbsd32||__sigtimedwait(netbsd32_sigsetp_t set, \ |
515 | netbsd32_siginfop_t info, \ | | 520 | netbsd32_siginfop_t info, \ |
516 | netbsd32_timespec50p_t timeout); } | | 521 | netbsd32_timespec50p_t timeout); } |
517 | 245 UNIMPL | | 522 | 245 UNIMPL |
518 | 246 UNIMPL | | 523 | 246 UNIMPL |
519 | 247 STD { int|netbsd32||_ksem_init(unsigned int value, \ | | 524 | 247 STD { int|netbsd32||_ksem_init(unsigned int value, \ |
520 | netbsd32_semidp_t idp); } | | 525 | netbsd32_semidp_t idp); } |
521 | 248 STD { int|netbsd32||_ksem_open(netbsd32_charp name, \ | | 526 | 248 STD { int|netbsd32||_ksem_open(netbsd32_charp name, \ |
522 | int oflag, mode_t mode, unsigned int value, \ | | 527 | int oflag, mode_t mode, unsigned int value, \ |
523 | netbsd32_semidp_t idp); } | | 528 | netbsd32_semidp_t idp); } |
524 | 249 STD { int|netbsd32||_ksem_unlink(netbsd32_charp name); } | | 529 | 249 STD { int|netbsd32||_ksem_unlink(netbsd32_charp name); } |
525 | 250 STD { int|netbsd32||_ksem_close(netbsd32_intptr_t id); } | | 530 | 250 STD { int|netbsd32||_ksem_close(netbsd32_intptr_t id); } |
526 | 251 STD { int|netbsd32||_ksem_post(netbsd32_intptr_t id); } | | 531 | 251 STD { int|netbsd32||_ksem_post(netbsd32_intptr_t id); } |
527 | 252 STD { int|netbsd32||_ksem_wait(netbsd32_intptr_t id); } | | 532 | 252 STD { int|netbsd32||_ksem_wait(netbsd32_intptr_t id); } |
528 | 253 STD { int|netbsd32||_ksem_trywait(netbsd32_intptr_t id); } | | 533 | 253 STD { int|netbsd32||_ksem_trywait(netbsd32_intptr_t id); } |
529 | 254 STD { int|netbsd32||_ksem_getvalue(netbsd32_intptr_t id, \ | | 534 | 254 STD { int|netbsd32||_ksem_getvalue(netbsd32_intptr_t id, \ |
530 | netbsd32_intp value); } | | 535 | netbsd32_intp value); } |
531 | 255 STD { int|netbsd32||_ksem_destroy(netbsd32_intptr_t id); } | | 536 | 255 STD { int|netbsd32||_ksem_destroy(netbsd32_intptr_t id); } |
532 | 256 STD { int|netbsd32||_ksem_timedwait(intptr_t id, \ | | 537 | 256 STD { int|netbsd32||_ksem_timedwait(intptr_t id, \ |
533 | const netbsd32_timespecp_t abstime); } | | 538 | const netbsd32_timespecp_t abstime); } |
534 | 257 UNIMPL | | 539 | 257 UNIMPL |
535 | 258 UNIMPL | | 540 | 258 UNIMPL |
536 | 259 UNIMPL | | 541 | 259 UNIMPL |
537 | 260 UNIMPL | | 542 | 260 UNIMPL |
538 | 261 UNIMPL | | 543 | 261 UNIMPL |
539 | 262 UNIMPL | | 544 | 262 UNIMPL |
540 | 263 UNIMPL | | 545 | 263 UNIMPL |
541 | 264 UNIMPL | | 546 | 264 UNIMPL |
542 | 265 UNIMPL | | 547 | 265 UNIMPL |
543 | 266 UNIMPL | | 548 | 266 UNIMPL |
544 | 267 UNIMPL | | 549 | 267 UNIMPL |
545 | 268 UNIMPL | | 550 | 268 UNIMPL |
546 | 269 UNIMPL | | 551 | 269 UNIMPL |
547 | 270 STD { int|netbsd32||__posix_rename(netbsd32_charp from, \ | | 552 | 270 STD { int|netbsd32||__posix_rename(netbsd32_charp from, \ |
548 | netbsd32_charp to); } | | 553 | netbsd32_charp to); } |
549 | 271 STD { int|netbsd32||swapctl(int cmd, netbsd32_voidp arg, \ | | 554 | 271 STD { int|netbsd32||swapctl(int cmd, netbsd32_voidp arg, \ |
550 | int misc); } | | 555 | int misc); } |
551 | 272 COMPAT_30 { int|netbsd32||getdents(int fd, netbsd32_charp buf, \ | | 556 | 272 COMPAT_30 { int|netbsd32||getdents(int fd, netbsd32_charp buf, \ |
552 | netbsd32_size_t count); } | | 557 | netbsd32_size_t count); } |
553 | 273 STD { int|netbsd32||minherit(netbsd32_voidp addr, \ | | 558 | 273 STD { int|netbsd32||minherit(netbsd32_voidp addr, \ |
554 | netbsd32_size_t len, int inherit); } | | 559 | netbsd32_size_t len, int inherit); } |
555 | 274 STD { int|netbsd32||lchmod(netbsd32_charp path, \ | | 560 | 274 STD { int|netbsd32||lchmod(netbsd32_charp path, \ |
556 | mode_t mode); } | | 561 | mode_t mode); } |
557 | 275 STD { int|netbsd32||lchown(netbsd32_charp path, uid_t uid, \ | | 562 | 275 STD { int|netbsd32||lchown(netbsd32_charp path, uid_t uid, \ |
558 | gid_t gid); } | | 563 | gid_t gid); } |
559 | 276 COMPAT_50 { int|netbsd32||lutimes(netbsd32_charp path, \ | | 564 | 276 COMPAT_50 { int|netbsd32||lutimes(netbsd32_charp path, \ |
560 | netbsd32_timeval50p_t tptr); } | | 565 | netbsd32_timeval50p_t tptr); } |
561 | 277 STD { int|netbsd32|13|msync(netbsd32_voidp addr, \ | | 566 | 277 STD { int|netbsd32|13|msync(netbsd32_voidp addr, \ |
562 | netbsd32_size_t len, int flags); } | | 567 | netbsd32_size_t len, int flags); } |
563 | 278 COMPAT_30 { int|netbsd32|13|stat(netbsd32_charp path, \ | | 568 | 278 COMPAT_30 { int|netbsd32|13|stat(netbsd32_charp path, \ |
564 | netbsd32_stat13p_t ub); } | | 569 | netbsd32_stat13p_t ub); } |
565 | 279 COMPAT_30 { int|netbsd32|13|fstat(int fd, \ | | 570 | 279 COMPAT_30 { int|netbsd32|13|fstat(int fd, \ |
566 | netbsd32_stat13p_t sb); } | | 571 | netbsd32_stat13p_t sb); } |
567 | 280 COMPAT_30 { int|netbsd32|13|lstat(netbsd32_charp path, \ | | 572 | 280 COMPAT_30 { int|netbsd32|13|lstat(netbsd32_charp path, \ |
568 | netbsd32_stat13p_t ub); } | | 573 | netbsd32_stat13p_t ub); } |
569 | 281 STD { int|netbsd32|14|sigaltstack(\ | | 574 | 281 STD { int|netbsd32|14|sigaltstack(\ |
570 | netbsd32_sigaltstackp_t nss, \ | | 575 | netbsd32_sigaltstackp_t nss, \ |
571 | netbsd32_sigaltstackp_t oss); } | | 576 | netbsd32_sigaltstackp_t oss); } |
572 | 282 NOARGS { int|sys|14|vfork(void); } | | 577 | 282 NOARGS { int|sys|14|vfork(void); } |
573 | 283 STD { int|netbsd32||__posix_chown(netbsd32_charp path, \ | | 578 | 283 STD { int|netbsd32||__posix_chown(netbsd32_charp path, \ |
574 | uid_t uid, gid_t gid); } | | 579 | uid_t uid, gid_t gid); } |
575 | 284 STD { int|netbsd32||__posix_fchown(int fd, uid_t uid, \ | | 580 | 284 STD { int|netbsd32||__posix_fchown(int fd, uid_t uid, \ |
576 | gid_t gid); } | | 581 | gid_t gid); } |
577 | 285 STD { int|netbsd32||__posix_lchown(netbsd32_charp path, \ | | 582 | 285 STD { int|netbsd32||__posix_lchown(netbsd32_charp path, \ |
578 | uid_t uid, gid_t gid); } | | 583 | uid_t uid, gid_t gid); } |
579 | 286 STD { pid_t|netbsd32||getsid(pid_t pid); } | | 584 | 286 STD { pid_t|netbsd32||getsid(pid_t pid); } |
580 | 287 STD { int|netbsd32||__clone(int flags, \ | | 585 | 287 STD { int|netbsd32||__clone(int flags, \ |
581 | netbsd32_voidp stack); } | | 586 | netbsd32_voidp stack); } |
582 | 288 STD { int|netbsd32||fktrace(int fd, int ops, int facs, \ | | 587 | 288 STD { int|netbsd32||fktrace(int fd, int ops, int facs, \ |
583 | int pid); } | | 588 | int pid); } |
584 | 289 STD { netbsd32_ssize_t|netbsd32||preadv(int fd, \ | | 589 | 289 STD { netbsd32_ssize_t|netbsd32||preadv(int fd, \ |
585 | netbsd32_iovecp_t iovp, int iovcnt, int PAD, \ | | 590 | netbsd32_iovecp_t iovp, int iovcnt, int PAD, \ |
586 | netbsd32_off_t offset); } | | 591 | netbsd32_off_t offset); } |
587 | 290 STD { netbsd32_ssize_t|netbsd32||pwritev(int fd, \ | | 592 | 290 STD { netbsd32_ssize_t|netbsd32||pwritev(int fd, \ |
588 | netbsd32_iovecp_t iovp, int iovcnt, int PAD, \ | | 593 | netbsd32_iovecp_t iovp, int iovcnt, int PAD, \ |
589 | netbsd32_off_t offset); } | | 594 | netbsd32_off_t offset); } |
590 | 291 STD { int|netbsd32|14|sigaction(int signum, \ | | 595 | 291 STD { int|netbsd32|14|sigaction(int signum, \ |
591 | netbsd32_sigactionp_t nsa, \ | | 596 | netbsd32_sigactionp_t nsa, \ |
592 | netbsd32_sigactionp_t osa); } | | 597 | netbsd32_sigactionp_t osa); } |
593 | 292 STD { int|netbsd32|14|sigpending(netbsd32_sigsetp_t set); } | | 598 | 292 STD { int|netbsd32|14|sigpending(netbsd32_sigsetp_t set); } |
594 | 293 STD { int|netbsd32|14|sigprocmask(int how, \ | | 599 | 293 STD { int|netbsd32|14|sigprocmask(int how, \ |
595 | netbsd32_sigsetp_t set, \ | | 600 | netbsd32_sigsetp_t set, \ |
596 | netbsd32_sigsetp_t oset); } | | 601 | netbsd32_sigsetp_t oset); } |
597 | 294 STD { int|netbsd32|14|sigsuspend(netbsd32_sigsetp_t set); } | | 602 | 294 STD { int|netbsd32|14|sigsuspend(netbsd32_sigsetp_t set); } |
598 | 295 COMPAT_16 { int|netbsd32|14|sigreturn( \ | | 603 | 295 COMPAT_16 { int|netbsd32|14|sigreturn( \ |
599 | netbsd32_sigcontextp_t sigcntxp); } | | 604 | netbsd32_sigcontextp_t sigcntxp); } |
600 | 296 STD { int|netbsd32||__getcwd(netbsd32_charp bufp, \ | | 605 | 296 STD { int|netbsd32||__getcwd(netbsd32_charp bufp, \ |
601 | netbsd32_size_t length); } | | 606 | netbsd32_size_t length); } |
602 | 297 STD { int|netbsd32||fchroot(int fd); } | | 607 | 297 STD { int|netbsd32||fchroot(int fd); } |
603 | 298 COMPAT_30 { int|netbsd32||fhopen(netbsd32_fhandlep_t fhp, \ | | 608 | 298 COMPAT_30 { int|netbsd32||fhopen(netbsd32_fhandlep_t fhp, \ |
604 | int flags); } | | 609 | int flags); } |
605 | 299 COMPAT_30 { int|netbsd32||fhstat(netbsd32_fhandlep_t fhp, \ | | 610 | 299 COMPAT_30 { int|netbsd32||fhstat(netbsd32_fhandlep_t fhp, \ |
606 | netbsd32_stat13p_t sb); } | | 611 | netbsd32_stat13p_t sb); } |
607 | 300 COMPAT_20 { int|netbsd32||fhstatfs(netbsd32_fhandlep_t fhp, \ | | 612 | 300 COMPAT_20 { int|netbsd32||fhstatfs(netbsd32_fhandlep_t fhp, \ |
608 | netbsd32_stat50p_t buf); } | | 613 | netbsd32_stat50p_t buf); } |
609 | #if defined(SYSVSEM) || !defined(_KERNEL_OPT) | | 614 | #if defined(SYSVSEM) || !defined(_KERNEL_OPT) |
610 | 301 COMPAT_50 { int|netbsd32|14|semctl(int semid, int semnum, \ | | 615 | 301 COMPAT_50 { int|netbsd32|14|semctl(int semid, int semnum, \ |
611 | int cmd, ... netbsd32_semun50p_t arg); } | | 616 | int cmd, ... netbsd32_semun50p_t arg); } |
612 | #else | | 617 | #else |
613 | 301 EXCL __semctl14 | | 618 | 301 EXCL __semctl14 |
614 | #endif | | 619 | #endif |
615 | #if defined(SYSVMSG) || !defined(_KERNEL_OPT) | | 620 | #if defined(SYSVMSG) || !defined(_KERNEL_OPT) |
616 | 302 COMPAT_50 { int|netbsd32|13|msgctl(int msqid, int cmd, \ | | 621 | 302 COMPAT_50 { int|netbsd32|13|msgctl(int msqid, int cmd, \ |
617 | netbsd32_msqid_ds50p_t buf); } | | 622 | netbsd32_msqid_ds50p_t buf); } |
618 | #else | | 623 | #else |
619 | 302 EXCL __msgctl13 | | 624 | 302 EXCL __msgctl13 |
620 | #endif | | 625 | #endif |
621 | #if defined(SYSVSHM) || !defined(_KERNEL_OPT) | | 626 | #if defined(SYSVSHM) || !defined(_KERNEL_OPT) |
622 | 303 COMPAT_50 { int|netbsd32|13|shmctl(int shmid, int cmd, \ | | 627 | 303 COMPAT_50 { int|netbsd32|13|shmctl(int shmid, int cmd, \ |
623 | netbsd32_shmid_ds50p_t buf); } | | 628 | netbsd32_shmid_ds50p_t buf); } |
624 | #else | | 629 | #else |
625 | 303 EXCL __shmctl13 | | 630 | 303 EXCL __shmctl13 |
626 | #endif | | 631 | #endif |
627 | 304 STD { int|netbsd32||lchflags(netbsd32_charp path, \ | | 632 | 304 STD { int|netbsd32||lchflags(netbsd32_charp path, \ |
628 | netbsd32_u_long flags); } | | 633 | netbsd32_u_long flags); } |
629 | 305 NOARGS { int|sys||issetugid(void); } | | 634 | 305 NOARGS { int|sys||issetugid(void); } |
630 | 306 STD { int|netbsd32||utrace(netbsd32_charp label, \ | | 635 | 306 STD { int|netbsd32||utrace(netbsd32_charp label, \ |
631 | netbsd32_voidp addr, netbsd32_size_t len); } | | 636 | netbsd32_voidp addr, netbsd32_size_t len); } |
632 | 307 STD { int|netbsd32||getcontext(netbsd32_ucontextp ucp); } | | 637 | 307 STD { int|netbsd32||getcontext(netbsd32_ucontextp ucp); } |
633 | 308 STD { int|netbsd32||setcontext(netbsd32_ucontextp ucp); } | | 638 | 308 STD { int|netbsd32||setcontext(netbsd32_ucontextp ucp); } |
634 | 309 STD { int|netbsd32||_lwp_create(netbsd32_ucontextp ucp, \ | | 639 | 309 STD { int|netbsd32||_lwp_create(netbsd32_ucontextp ucp, \ |
635 | netbsd32_u_long flags, netbsd32_lwpidp new_lwp); } | | 640 | netbsd32_u_long flags, netbsd32_lwpidp new_lwp); } |
636 | 310 NOARGS { int|sys||_lwp_exit(void); } | | 641 | 310 NOARGS { int|sys||_lwp_exit(void); } |
637 | 311 NOARGS { lwpid_t|sys||_lwp_self(void); } | | 642 | 311 NOARGS { lwpid_t|sys||_lwp_self(void); } |
638 | 312 STD { int|netbsd32||_lwp_wait(lwpid_t wait_for, \ | | 643 | 312 STD { int|netbsd32||_lwp_wait(lwpid_t wait_for, \ |
639 | netbsd32_lwpidp departed); } | | 644 | netbsd32_lwpidp departed); } |
640 | 313 STD { int|netbsd32||_lwp_suspend(lwpid_t target); } | | 645 | 313 STD { int|netbsd32||_lwp_suspend(lwpid_t target); } |
641 | 314 STD { int|netbsd32||_lwp_continue(lwpid_t target); } | | 646 | 314 STD { int|netbsd32||_lwp_continue(lwpid_t target); } |
642 | 315 STD { int|netbsd32||_lwp_wakeup(lwpid_t target); } | | 647 | 315 STD { int|netbsd32||_lwp_wakeup(lwpid_t target); } |
643 | 316 NOARGS { netbsd32_voidp|sys||_lwp_getprivate(void); } | | 648 | 316 NOARGS { netbsd32_voidp|sys||_lwp_getprivate(void); } |
644 | 317 STD { void|netbsd32||_lwp_setprivate(netbsd32_voidp ptr); } | | 649 | 317 STD { void|netbsd32||_lwp_setprivate(netbsd32_voidp ptr); } |
645 | 318 STD { int|netbsd32||_lwp_kill(lwpid_t target, int signo); } | | 650 | 318 STD { int|netbsd32||_lwp_kill(lwpid_t target, int signo); } |
646 | 319 STD { int|netbsd32||_lwp_detach(lwpid_t target); } | | 651 | 319 STD { int|netbsd32||_lwp_detach(lwpid_t target); } |
647 | 320 COMPAT_50 { int|netbsd32||_lwp_park(netbsd32_timespec50p_t ts, \ | | 652 | 320 COMPAT_50 { int|netbsd32||_lwp_park(netbsd32_timespec50p_t ts, \ |
648 | lwpid_t unpark, netbsd32_voidp hint, \ | | 653 | lwpid_t unpark, netbsd32_voidp hint, \ |
649 | netbsd32_voidp unparkhint); } | | 654 | netbsd32_voidp unparkhint); } |
650 | 321 STD { int|netbsd32||_lwp_unpark(lwpid_t target, \ | | 655 | 321 STD { int|netbsd32||_lwp_unpark(lwpid_t target, \ |
651 | netbsd32_voidp hint); } | | 656 | netbsd32_voidp hint); } |
652 | 322 STD { netbsd32_size_t|netbsd32||_lwp_unpark_all( \ | | 657 | 322 STD { netbsd32_size_t|netbsd32||_lwp_unpark_all( \ |
653 | netbsd32_lwpidp targets, netbsd32_size_t ntargets, \ | | 658 | netbsd32_lwpidp targets, netbsd32_size_t ntargets, \ |
654 | netbsd32_voidp hint); } | | 659 | netbsd32_voidp hint); } |
655 | 323 STD { int|netbsd32||_lwp_setname(lwpid_t target, \ | | 660 | 323 STD { int|netbsd32||_lwp_setname(lwpid_t target, \ |
656 | netbsd32_charp name); } | | 661 | netbsd32_charp name); } |
657 | 324 STD { int|netbsd32||_lwp_getname(lwpid_t target, \ | | 662 | 324 STD { int|netbsd32||_lwp_getname(lwpid_t target, \ |
658 | netbsd32_charp name, netbsd32_size_t len); } | | 663 | netbsd32_charp name, netbsd32_size_t len); } |
659 | 325 STD { int|netbsd32||_lwp_ctl(int features, \ | | 664 | 325 STD { int|netbsd32||_lwp_ctl(int features, \ |
660 | netbsd32_pointer_t address); } | | 665 | netbsd32_pointer_t address); } |
661 | 326 UNIMPL | | 666 | 326 UNIMPL |
662 | 327 UNIMPL | | 667 | 327 UNIMPL |
663 | 328 UNIMPL | | 668 | 328 UNIMPL |
664 | 329 UNIMPL | | 669 | 329 UNIMPL |
665 | 330 OBSOL netbsd32_sa_register | | 670 | 330 OBSOL netbsd32_sa_register |
666 | 331 OBSOL netbsd32_sa_stacks | | 671 | 331 OBSOL netbsd32_sa_stacks |
667 | 332 OBSOL sa_enable | | 672 | 332 OBSOL sa_enable |
668 | 333 OBSOL netbsd32_sa_setconcurrency | | 673 | 333 OBSOL netbsd32_sa_setconcurrency |
669 | 334 OBSOL sa_yield | | 674 | 334 OBSOL sa_yield |
670 | 335 OBSOL netbsd32_sa_preempt | | 675 | 335 OBSOL netbsd32_sa_preempt |
671 | 336 OBSOL sys_sa_unblockyield | | 676 | 336 OBSOL sys_sa_unblockyield |
672 | 337 UNIMPL | | 677 | 337 UNIMPL |
673 | 338 UNIMPL | | 678 | 338 UNIMPL |
674 | 339 UNIMPL | | 679 | 339 UNIMPL |
675 | 340 STD { int|netbsd32||__sigaction_sigtramp(int signum, \ | | 680 | 340 STD { int|netbsd32||__sigaction_sigtramp(int signum, \ |
676 | netbsd32_sigactionp_t nsa, \ | | 681 | netbsd32_sigactionp_t nsa, \ |
677 | netbsd32_sigactionp_t osa, \ | | 682 | netbsd32_sigactionp_t osa, \ |
678 | netbsd32_voidp tramp, int vers); } | | 683 | netbsd32_voidp tramp, int vers); } |
679 | 341 UNIMPL | | 684 | 341 UNIMPL |
680 | 342 UNIMPL | | 685 | 342 UNIMPL |
681 | 343 STD { int|netbsd32||rasctl(netbsd32_voidp addr, \ | | 686 | 343 STD { int|netbsd32||rasctl(netbsd32_voidp addr, \ |
682 | netbsd32_size_t len, int op); } | | 687 | netbsd32_size_t len, int op); } |
683 | 344 NOARGS { int|sys||kqueue(void); } | | 688 | 344 NOARGS { int|sys||kqueue(void); } |
684 | 345 COMPAT_50 { int|netbsd32||kevent(int fd, \ | | 689 | 345 COMPAT_50 { int|netbsd32||kevent(int fd, \ |
685 | netbsd32_keventp_t changelist, \ | | 690 | netbsd32_keventp_t changelist, \ |
686 | netbsd32_size_t nchanges, \ | | 691 | netbsd32_size_t nchanges, \ |
687 | netbsd32_keventp_t eventlist, \ | | 692 | netbsd32_keventp_t eventlist, \ |
688 | netbsd32_size_t nevents, \ | | 693 | netbsd32_size_t nevents, \ |
689 | netbsd32_timespec50p_t timeout); } | | 694 | netbsd32_timespec50p_t timeout); } |
690 | ; Scheduling system calls. | | 695 | ; Scheduling system calls. |
691 | 346 STD { int|netbsd32||_sched_setparam(pid_t pid, lwpid_t lid, \ | | 696 | 346 STD { int|netbsd32||_sched_setparam(pid_t pid, lwpid_t lid, \ |
692 | int policy, const netbsd32_sched_paramp_t params); } | | 697 | int policy, const netbsd32_sched_paramp_t params); } |
693 | 347 STD { int|netbsd32||_sched_getparam(pid_t pid, lwpid_t lid, \ | | 698 | 347 STD { int|netbsd32||_sched_getparam(pid_t pid, lwpid_t lid, \ |
694 | netbsd32_intp policy, \ | | 699 | netbsd32_intp policy, \ |
695 | netbsd32_sched_paramp_t params); } | | 700 | netbsd32_sched_paramp_t params); } |
696 | 348 STD { int|netbsd32||_sched_setaffinity(pid_t pid, \ | | 701 | 348 STD { int|netbsd32||_sched_setaffinity(pid_t pid, \ |
697 | lwpid_t lid, netbsd32_size_t size, \ | | 702 | lwpid_t lid, netbsd32_size_t size, \ |
698 | const netbsd32_cpusetp_t cpuset); } | | 703 | const netbsd32_cpusetp_t cpuset); } |
699 | 349 STD { int|netbsd32||_sched_getaffinity(pid_t pid, \ | | 704 | 349 STD { int|netbsd32||_sched_getaffinity(pid_t pid, \ |
700 | lwpid_t lid, netbsd32_size_t size, \ | | 705 | lwpid_t lid, netbsd32_size_t size, \ |
701 | netbsd32_cpusetp_t cpuset); } | | 706 | netbsd32_cpusetp_t cpuset); } |
702 | 350 NOARGS { int|sys||sched_yield(void); } | | 707 | 350 NOARGS { int|sys||sched_yield(void); } |
703 | 351 UNIMPL | | 708 | 351 UNIMPL |
704 | 352 UNIMPL | | 709 | 352 UNIMPL |
705 | 353 UNIMPL | | 710 | 353 UNIMPL |
706 | 354 STD { int|netbsd32||fsync_range(int fd, int flags, \ | | 711 | 354 STD { int|netbsd32||fsync_range(int fd, int flags, \ |
707 | netbsd32_off_t start, netbsd32_off_t length); } | | 712 | netbsd32_off_t start, netbsd32_off_t length); } |
708 | 355 STD { int|netbsd32||uuidgen(netbsd32_uuidp_t store, \ | | 713 | 355 STD { int|netbsd32||uuidgen(netbsd32_uuidp_t store, \ |
709 | int count); } | | 714 | int count); } |
710 | 356 STD { int|netbsd32||getvfsstat(netbsd32_statvfsp_t buf, \ | | 715 | 356 STD { int|netbsd32||getvfsstat(netbsd32_statvfsp_t buf, \ |
711 | netbsd32_size_t bufsize, int flags); } | | 716 | netbsd32_size_t bufsize, int flags); } |
712 | 357 STD { int|netbsd32||statvfs1(netbsd32_charp path, \ | | 717 | 357 STD { int|netbsd32||statvfs1(netbsd32_charp path, \ |
713 | netbsd32_statvfsp_t buf, int flags); } | | 718 | netbsd32_statvfsp_t buf, int flags); } |
714 | 358 STD { int|netbsd32||fstatvfs1(int fd, \ | | 719 | 358 STD { int|netbsd32||fstatvfs1(int fd, \ |
715 | netbsd32_statvfsp_t buf, int flags); } | | 720 | netbsd32_statvfsp_t buf, int flags); } |
716 | 359 COMPAT_30 { int|netbsd32||fhstatvfs1(netbsd32_fhandlep_t fhp, \ | | 721 | 359 COMPAT_30 { int|netbsd32||fhstatvfs1(netbsd32_fhandlep_t fhp, \ |
717 | netbsd32_statvfsp_t buf, int flags); } | | 722 | netbsd32_statvfsp_t buf, int flags); } |
718 | 360 STD { int|netbsd32||extattrctl(netbsd32_charp path, \ | | 723 | 360 STD { int|netbsd32||extattrctl(netbsd32_charp path, \ |
719 | int cmd, netbsd32_charp filename, \ | | 724 | int cmd, netbsd32_charp filename, \ |
720 | int attrnamespace, netbsd32_charp attrname); } | | 725 | int attrnamespace, netbsd32_charp attrname); } |
721 | 361 STD { int|netbsd32||extattr_set_file(netbsd32_charp path, \ | | 726 | 361 STD { int|netbsd32||extattr_set_file(netbsd32_charp path, \ |
722 | int attrnamespace, netbsd32_charp attrname, \ | | 727 | int attrnamespace, netbsd32_charp attrname, \ |
723 | netbsd32_voidp data, netbsd32_size_t nbytes); } | | 728 | netbsd32_voidp data, netbsd32_size_t nbytes); } |
724 | 362 STD { int|netbsd32||extattr_get_file(netbsd32_charp path, \ | | 729 | 362 STD { int|netbsd32||extattr_get_file(netbsd32_charp path, \ |
725 | int attrnamespace, netbsd32_charp attrname, \ | | 730 | int attrnamespace, netbsd32_charp attrname, \ |
726 | netbsd32_voidp data, netbsd32_size_t nbytes); } | | 731 | netbsd32_voidp data, netbsd32_size_t nbytes); } |
727 | 363 STD { int|netbsd32||extattr_delete_file( \ | | 732 | 363 STD { int|netbsd32||extattr_delete_file( \ |
728 | netbsd32_charp path, int attrnamespace, \ | | 733 | netbsd32_charp path, int attrnamespace, \ |
729 | netbsd32_charp attrname); } | | 734 | netbsd32_charp attrname); } |
730 | 364 STD { int|netbsd32||extattr_set_fd(int fd, \ | | 735 | 364 STD { int|netbsd32||extattr_set_fd(int fd, \ |
731 | int attrnamespace, netbsd32_charp attrname, \ | | 736 | int attrnamespace, netbsd32_charp attrname, \ |
732 | netbsd32_voidp data, netbsd32_size_t nbytes); } | | 737 | netbsd32_voidp data, netbsd32_size_t nbytes); } |
733 | 365 STD { int|netbsd32||extattr_get_fd(int fd, \ | | 738 | 365 STD { int|netbsd32||extattr_get_fd(int fd, \ |
734 | int attrnamespace, netbsd32_charp attrname, \ | | 739 | int attrnamespace, netbsd32_charp attrname, \ |
735 | netbsd32_voidp data, netbsd32_size_t nbytes); } | | 740 | netbsd32_voidp data, netbsd32_size_t nbytes); } |
736 | 366 STD { int|netbsd32||extattr_delete_fd(int fd, \ | | 741 | 366 STD { int|netbsd32||extattr_delete_fd(int fd, \ |
737 | int attrnamespace, netbsd32_charp attrname); } | | 742 | int attrnamespace, netbsd32_charp attrname); } |
738 | 367 STD { int|netbsd32||extattr_set_link(netbsd32_charp path, \ | | 743 | 367 STD { int|netbsd32||extattr_set_link(netbsd32_charp path, \ |
739 | int attrnamespace, netbsd32_charp attrname, \ | | 744 | int attrnamespace, netbsd32_charp attrname, \ |
740 | netbsd32_voidp data, netbsd32_size_t nbytes); } | | 745 | netbsd32_voidp data, netbsd32_size_t nbytes); } |
741 | 368 STD { int|netbsd32||extattr_get_link(netbsd32_charp path, \ | | 746 | 368 STD { int|netbsd32||extattr_get_link(netbsd32_charp path, \ |
742 | int attrnamespace, netbsd32_charp attrname, \ | | 747 | int attrnamespace, netbsd32_charp attrname, \ |
743 | netbsd32_voidp data, netbsd32_size_t nbytes); } | | 748 | netbsd32_voidp data, netbsd32_size_t nbytes); } |
744 | 369 STD { int|netbsd32||extattr_delete_link( \ | | 749 | 369 STD { int|netbsd32||extattr_delete_link( \ |
745 | netbsd32_charp path, int attrnamespace, \ | | 750 | netbsd32_charp path, int attrnamespace, \ |
746 | netbsd32_charp attrname); } | | 751 | netbsd32_charp attrname); } |
747 | 370 STD { int|netbsd32||extattr_list_fd(int fd, \ | | 752 | 370 STD { int|netbsd32||extattr_list_fd(int fd, \ |
748 | int attrnamespace, netbsd32_voidp data, \ | | 753 | int attrnamespace, netbsd32_voidp data, \ |
749 | netbsd32_size_t nbytes); } | | 754 | netbsd32_size_t nbytes); } |
750 | 371 STD { int|netbsd32||extattr_list_file(netbsd32_charp path, \ | | 755 | 371 STD { int|netbsd32||extattr_list_file(netbsd32_charp path, \ |
751 | int attrnamespace, netbsd32_voidp data, \ | | 756 | int attrnamespace, netbsd32_voidp data, \ |
752 | netbsd32_size_t nbytes); } | | 757 | netbsd32_size_t nbytes); } |
753 | 372 STD { int|netbsd32||extattr_list_link(netbsd32_charp path, \ | | 758 | 372 STD { int|netbsd32||extattr_list_link(netbsd32_charp path, \ |
754 | int attrnamespace, netbsd32_voidp data, \ | | 759 | int attrnamespace, netbsd32_voidp data, \ |
755 | netbsd32_size_t nbytes); } | | 760 | netbsd32_size_t nbytes); } |
756 | 373 COMPAT_50 { int|netbsd32||pselect(int nd, netbsd32_fd_setp_t in, \ | | 761 | 373 COMPAT_50 { int|netbsd32||pselect(int nd, netbsd32_fd_setp_t in, \ |
757 | netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \ | | 762 | netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \ |
758 | netbsd32_timespec50p_t ts, \ | | 763 | netbsd32_timespec50p_t ts, \ |
759 | netbsd32_sigsetp_t mask); } | | 764 | netbsd32_sigsetp_t mask); } |
760 | 374 COMPAT_50 { int|netbsd32||pollts(netbsd32_pollfdp_t fds, \ | | 765 | 374 COMPAT_50 { int|netbsd32||pollts(netbsd32_pollfdp_t fds, \ |
761 | u_int nfds, netbsd32_timespec50p_t ts, \ | | 766 | u_int nfds, netbsd32_timespec50p_t ts, \ |
762 | netbsd32_sigsetp_t mask); } | | 767 | netbsd32_sigsetp_t mask); } |
763 | 375 STD { int|netbsd32||setxattr(netbsd32_charp path, \ | | 768 | 375 STD { int|netbsd32||setxattr(netbsd32_charp path, \ |
764 | netbsd32_charp name, netbsd32_voidp value, \ | | 769 | netbsd32_charp name, netbsd32_voidp value, \ |
765 | netbsd32_size_t size, int flags); } | | 770 | netbsd32_size_t size, int flags); } |
766 | 376 STD { int|netbsd32||lsetxattr(netbsd32_charp path, \ | | 771 | 376 STD { int|netbsd32||lsetxattr(netbsd32_charp path, \ |
767 | netbsd32_charp name, netbsd32_voidp value, \ | | 772 | netbsd32_charp name, netbsd32_voidp value, \ |
768 | netbsd32_size_t size, int flags); } | | 773 | netbsd32_size_t size, int flags); } |
769 | 377 STD { int|netbsd32||fsetxattr(int fd, \ | | 774 | 377 STD { int|netbsd32||fsetxattr(int fd, \ |
770 | netbsd32_charp name, netbsd32_voidp value, \ | | 775 | netbsd32_charp name, netbsd32_voidp value, \ |
771 | netbsd32_size_t size, int flags); } | | 776 | netbsd32_size_t size, int flags); } |
772 | 378 STD { int|netbsd32||getxattr(netbsd32_charp path, \ | | 777 | 378 STD { int|netbsd32||getxattr(netbsd32_charp path, \ |
773 | netbsd32_charp name, netbsd32_voidp value, \ | | 778 | netbsd32_charp name, netbsd32_voidp value, \ |
774 | netbsd32_size_t size); } | | 779 | netbsd32_size_t size); } |
775 | 379 STD { int|netbsd32||lgetxattr(netbsd32_charp path, \ | | 780 | 379 STD { int|netbsd32||lgetxattr(netbsd32_charp path, \ |
776 | netbsd32_charp name, netbsd32_voidp value, \ | | 781 | netbsd32_charp name, netbsd32_voidp value, \ |
777 | netbsd32_size_t size); } | | 782 | netbsd32_size_t size); } |
778 | 380 STD { int|netbsd32||fgetxattr(int fd, \ | | 783 | 380 STD { int|netbsd32||fgetxattr(int fd, \ |
779 | netbsd32_charp name, netbsd32_voidp value, \ | | 784 | netbsd32_charp name, netbsd32_voidp value, \ |
780 | netbsd32_size_t size); } | | 785 | netbsd32_size_t size); } |
781 | 381 STD { int|netbsd32||listxattr(netbsd32_charp path, \ | | 786 | 381 STD { int|netbsd32||listxattr(netbsd32_charp path, \ |
782 | netbsd32_charp list, netbsd32_size_t size); } | | 787 | netbsd32_charp list, netbsd32_size_t size); } |
783 | 382 STD { int|netbsd32||llistxattr(netbsd32_charp path, \ | | 788 | 382 STD { int|netbsd32||llistxattr(netbsd32_charp path, \ |
784 | netbsd32_charp list, netbsd32_size_t size); } | | 789 | netbsd32_charp list, netbsd32_size_t size); } |
785 | 383 STD { int|netbsd32||flistxattr(int fd, \ | | 790 | 383 STD { int|netbsd32||flistxattr(int fd, \ |
786 | netbsd32_charp list, netbsd32_size_t size); } | | 791 | netbsd32_charp list, netbsd32_size_t size); } |
787 | 384 STD { int|netbsd32||removexattr(netbsd32_charp path, \ | | 792 | 384 STD { int|netbsd32||removexattr(netbsd32_charp path, \ |
788 | netbsd32_charp name); } | | 793 | netbsd32_charp name); } |
789 | 385 STD { int|netbsd32||lremovexattr(netbsd32_charp path, \ | | 794 | 385 STD { int|netbsd32||lremovexattr(netbsd32_charp path, \ |
790 | netbsd32_charp name); } | | 795 | netbsd32_charp name); } |
791 | 386 STD { int|netbsd32||fremovexattr(int fd, \ | | 796 | 386 STD { int|netbsd32||fremovexattr(int fd, \ |
792 | netbsd32_charp name); } | | 797 | netbsd32_charp name); } |
793 | 387 COMPAT_50 { int|netbsd32|30|stat(netbsd32_charp path, \ | | 798 | 387 COMPAT_50 { int|netbsd32|30|stat(netbsd32_charp path, \ |
794 | netbsd32_stat50p_t ub); } | | 799 | netbsd32_stat50p_t ub); } |
795 | 388 COMPAT_50 { int|netbsd32|30|fstat(int fd, \ | | 800 | 388 COMPAT_50 { int|netbsd32|30|fstat(int fd, \ |
796 | netbsd32_stat50p_t sb); } | | 801 | netbsd32_stat50p_t sb); } |
797 | 389 COMPAT_50 { int|netbsd32|30|lstat( \ | | 802 | 389 COMPAT_50 { int|netbsd32|30|lstat( \ |
798 | netbsd32_charp path, netbsd32_stat50p_t ub); } | | 803 | netbsd32_charp path, netbsd32_stat50p_t ub); } |
799 | 390 STD { int|netbsd32|30|getdents(int fd, \ | | 804 | 390 STD { int|netbsd32|30|getdents(int fd, \ |
800 | netbsd32_charp buf, netbsd32_size_t count); } | | 805 | netbsd32_charp buf, netbsd32_size_t count); } |
801 | 391 IGNORED old posix fadvise | | 806 | 391 IGNORED old posix fadvise |
802 | 392 COMPAT_30 { int|netbsd32|30|fhstat( \ | | 807 | 392 COMPAT_30 { int|netbsd32|30|fhstat( \ |
803 | netbsd32_fhandlep_t fhp, \ | | 808 | netbsd32_fhandlep_t fhp, \ |
804 | netbsd32_stat50p_t sb); } | | 809 | netbsd32_stat50p_t sb); } |
805 | #if defined(NTP) || !defined(_KERNEL_OPT) | | 810 | #if defined(NTP) || !defined(_KERNEL_OPT) |
806 | 393 COMPAT_50 { int|netbsd32||ntp_gettime( \ | | 811 | 393 COMPAT_50 { int|netbsd32||ntp_gettime( \ |
807 | netbsd32_ntptimeval50p_t ntvp); } | | 812 | netbsd32_ntptimeval50p_t ntvp); } |
808 | #else | | 813 | #else |
809 | 393 EXCL __ntp_gettime30 | | 814 | 393 EXCL __ntp_gettime30 |
810 | #endif | | 815 | #endif |
811 | 394 STD { int|netbsd32|30|socket(int domain, int type, \ | | 816 | 394 STD { int|netbsd32|30|socket(int domain, int type, \ |
812 | int protocol); } | | 817 | int protocol); } |
813 | 395 STD { int|netbsd32|30|getfh(netbsd32_charp fname, \ | | 818 | 395 STD { int|netbsd32|30|getfh(netbsd32_charp fname, \ |
814 | netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } | | 819 | netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } |
815 | 396 STD { int|netbsd32|40|fhopen(netbsd32_pointer_t fhp, \ | | 820 | 396 STD { int|netbsd32|40|fhopen(netbsd32_pointer_t fhp, \ |
816 | netbsd32_size_t fh_size, int flags); } | | 821 | netbsd32_size_t fh_size, int flags); } |
817 | 397 STD { int|netbsd32|40|fhstatvfs1( \ | | 822 | 397 STD { int|netbsd32|40|fhstatvfs1( \ |
818 | netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\ | | 823 | netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\ |
819 | netbsd32_statvfsp_t buf, int flags); } | | 824 | netbsd32_statvfsp_t buf, int flags); } |
820 | 398 COMPAT_50 { int|netbsd32|40|fhstat( \ | | 825 | 398 COMPAT_50 { int|netbsd32|40|fhstat( \ |
821 | netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\ | | 826 | netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\ |
822 | netbsd32_stat50p_t sb); } | | 827 | netbsd32_stat50p_t sb); } |
823 | | | 828 | |
824 | ; Asynchronous I/O system calls | | 829 | ; Asynchronous I/O system calls |
825 | 399 UNIMPL sys_aio_cancel | | 830 | 399 UNIMPL sys_aio_cancel |
826 | 400 UNIMPL sys_aio_error | | 831 | 400 UNIMPL sys_aio_error |
827 | 401 UNIMPL sys_aio_fsync | | 832 | 401 UNIMPL sys_aio_fsync |
828 | 402 UNIMPL sys_aio_read | | 833 | 402 UNIMPL sys_aio_read |
829 | 403 UNIMPL sys_aio_return | | 834 | 403 UNIMPL sys_aio_return |
830 | 404 UNIMPL sys_aio_suspend | | 835 | 404 UNIMPL sys_aio_suspend |
831 | 405 UNIMPL sys_aio_write | | 836 | 405 UNIMPL sys_aio_write |
832 | 406 UNIMPL sys_lio_listio | | 837 | 406 UNIMPL sys_lio_listio |
833 | | | 838 | |
834 | 407 UNIMPL | | 839 | 407 UNIMPL |
835 | 408 UNIMPL | | 840 | 408 UNIMPL |
836 | 409 UNIMPL | | 841 | 409 UNIMPL |
837 | | | 842 | |
838 | 410 STD { int|netbsd32||__mount50(netbsd32_charp type, \ | | 843 | 410 STD { int|netbsd32||__mount50(netbsd32_charp type, \ |
839 | netbsd32_charp path, int flags, \ | | 844 | netbsd32_charp path, int flags, \ |
840 | netbsd32_voidp data, netbsd32_size_t data_len); } | | 845 | netbsd32_voidp data, netbsd32_size_t data_len); } |
841 | 411 STD { netbsd32_voidp|netbsd32||mremap( \ | | 846 | 411 STD { netbsd32_voidp|netbsd32||mremap( \ |
842 | netbsd32_voidp old_address, \ | | 847 | netbsd32_voidp old_address, \ |
843 | netbsd32_size_t old_size, \ | | 848 | netbsd32_size_t old_size, \ |
844 | netbsd32_voidp new_address, \ | | 849 | netbsd32_voidp new_address, \ |
845 | netbsd32_size_t new_size, int flags); } | | 850 | netbsd32_size_t new_size, int flags); } |
846 | | | 851 | |
847 | 412 UNIMPL | | 852 | 412 UNIMPL |
848 | 413 UNIMPL | | 853 | 413 UNIMPL |
849 | 414 UNIMPL | | 854 | 414 UNIMPL |
850 | 415 UNIMPL | | 855 | 415 UNIMPL |
851 | | | 856 | |
852 | 416 STD { int|netbsd32|50|posix_fadvise(int fd, int PAD, \ | | 857 | 416 STD { int|netbsd32|50|posix_fadvise(int fd, int PAD, \ |
853 | netbsd32_off_t offset, netbsd32_off_t len, int advice); } | | 858 | netbsd32_off_t offset, netbsd32_off_t len, int advice); } |
854 | 417 STD { int|netbsd32|50|select(int nd, \ | | 859 | 417 STD { int|netbsd32|50|select(int nd, \ |
855 | netbsd32_fd_setp_t in, netbsd32_fd_setp_t ou, \ | | 860 | netbsd32_fd_setp_t in, netbsd32_fd_setp_t ou, \ |
856 | netbsd32_fd_setp_t ex, netbsd32_timevalp_t tv); } | | 861 | netbsd32_fd_setp_t ex, netbsd32_timevalp_t tv); } |
857 | 418 STD { int|netbsd32|50|gettimeofday( \ | | 862 | 418 STD { int|netbsd32|50|gettimeofday( \ |
858 | netbsd32_timevalp_t tp, netbsd32_voidp tzp); } | | 863 | netbsd32_timevalp_t tp, netbsd32_voidp tzp); } |
859 | 419 STD { int|netbsd32|50|settimeofday( \ | | 864 | 419 STD { int|netbsd32|50|settimeofday( \ |
860 | const netbsd32_timevalp_t tv, \ | | 865 | const netbsd32_timevalp_t tv, \ |
861 | const netbsd32_voidp tzp); } | | 866 | const netbsd32_voidp tzp); } |
862 | 420 STD { int|netbsd32|50|utimes(const netbsd32_charp path, \ | | 867 | 420 STD { int|netbsd32|50|utimes(const netbsd32_charp path, \ |
863 | const netbsd32_timevalp_t tptr); } | | 868 | const netbsd32_timevalp_t tptr); } |
864 | 421 STD { int|netbsd32|50|adjtime( \ | | 869 | 421 STD { int|netbsd32|50|adjtime( \ |
865 | const netbsd32_timevalp_t delta, \ | | 870 | const netbsd32_timevalp_t delta, \ |
866 | netbsd32_timevalp_t olddelta); } | | 871 | netbsd32_timevalp_t olddelta); } |
867 | 422 EXCL __lfs_segwait50 | | 872 | 422 EXCL __lfs_segwait50 |
868 | 423 STD { int|netbsd32|50|futimes(int fd, \ | | 873 | 423 STD { int|netbsd32|50|futimes(int fd, \ |
869 | const netbsd32_timevalp_t tptr); } | | 874 | const netbsd32_timevalp_t tptr); } |
870 | 424 STD { int|netbsd32|50|lutimes(const netbsd32_charp path, \ | | 875 | 424 STD { int|netbsd32|50|lutimes(const netbsd32_charp path, \ |
871 | const netbsd32_timevalp_t tptr); } | | 876 | const netbsd32_timevalp_t tptr); } |
872 | 425 STD { int|netbsd32|50|setitimer(int which, \ | | 877 | 425 STD { int|netbsd32|50|setitimer(int which, \ |
873 | const netbsd32_itimervalp_t itv, \ | | 878 | const netbsd32_itimervalp_t itv, \ |
874 | netbsd32_itimervalp_t oitv); } | | 879 | netbsd32_itimervalp_t oitv); } |
875 | 426 STD { int|netbsd32|50|getitimer(int which, \ | | 880 | 426 STD { int|netbsd32|50|getitimer(int which, \ |
876 | netbsd32_itimervalp_t itv); } | | 881 | netbsd32_itimervalp_t itv); } |
877 | 427 STD { int|netbsd32|50|clock_gettime(clockid_t clock_id, \ | | 882 | 427 STD { int|netbsd32|50|clock_gettime(clockid_t clock_id, \ |
878 | netbsd32_timespecp_t tp); } | | 883 | netbsd32_timespecp_t tp); } |
879 | 428 STD { int|netbsd32|50|clock_settime(clockid_t clock_id, \ | | 884 | 428 STD { int|netbsd32|50|clock_settime(clockid_t clock_id, \ |
880 | const netbsd32_timespecp_t tp); } | | 885 | const netbsd32_timespecp_t tp); } |
881 | 429 STD { int|netbsd32|50|clock_getres(clockid_t clock_id, \ | | 886 | 429 STD { int|netbsd32|50|clock_getres(clockid_t clock_id, \ |
882 | netbsd32_timespecp_t tp); } | | 887 | netbsd32_timespecp_t tp); } |
883 | 430 STD { int|netbsd32|50|nanosleep( \ | | 888 | 430 STD { int|netbsd32|50|nanosleep( \ |
884 | const netbsd32_timespecp_t rqtp, \ | | 889 | const netbsd32_timespecp_t rqtp, \ |
885 | netbsd32_timespecp_t rmtp); } | | 890 | netbsd32_timespecp_t rmtp); } |
886 | 431 STD { int|netbsd32|50|__sigtimedwait( \ | | 891 | 431 STD { int|netbsd32|50|__sigtimedwait( \ |
887 | const netbsd32_sigsetp_t set, \ | | 892 | const netbsd32_sigsetp_t set, \ |
888 | netbsd32_siginfop_t info, \ | | 893 | netbsd32_siginfop_t info, \ |
889 | netbsd32_timespecp_t timeout); } | | 894 | netbsd32_timespecp_t timeout); } |
890 | 432 UNIMPL netbsd32___mq_timedsend50 | | 895 | 432 UNIMPL netbsd32___mq_timedsend50 |
891 | 433 UNIMPL netbsd32___mq_timedreceive50 | | 896 | 433 UNIMPL netbsd32___mq_timedreceive50 |
892 | 434 COMPAT_60 { int|netbsd32||_lwp_park( \ | | 897 | 434 COMPAT_60 { int|netbsd32||_lwp_park( \ |
893 | const netbsd32_timespecp_t ts, \ | | 898 | const netbsd32_timespecp_t ts, \ |
894 | lwpid_t unpark, const netbsd32_voidp hint, \ | | 899 | lwpid_t unpark, const netbsd32_voidp hint, \ |
895 | const netbsd32_voidp unparkhint); } | | 900 | const netbsd32_voidp unparkhint); } |
896 | 435 STD { int|netbsd32|50|kevent(int fd, \ | | 901 | 435 STD { int|netbsd32|50|kevent(int fd, \ |
897 | const netbsd32_keventp_t changelist, \ | | 902 | const netbsd32_keventp_t changelist, \ |
898 | netbsd32_size_t nchanges, \ | | 903 | netbsd32_size_t nchanges, \ |
899 | netbsd32_keventp_t eventlist, \ | | 904 | netbsd32_keventp_t eventlist, \ |
900 | netbsd32_size_t nevents, \ | | 905 | netbsd32_size_t nevents, \ |
901 | const netbsd32_timespecp_t timeout); } | | 906 | const netbsd32_timespecp_t timeout); } |
902 | 436 STD { int|netbsd32|50|pselect(int nd, \ | | 907 | 436 STD { int|netbsd32|50|pselect(int nd, \ |
903 | netbsd32_fd_setp_t in, \ | | 908 | netbsd32_fd_setp_t in, \ |
904 | netbsd32_fd_setp_t ou, \ | | 909 | netbsd32_fd_setp_t ou, \ |
905 | netbsd32_fd_setp_t ex, \ | | 910 | netbsd32_fd_setp_t ex, \ |
906 | const netbsd32_timespecp_t ts, \ | | 911 | const netbsd32_timespecp_t ts, \ |
907 | const netbsd32_sigsetp_t mask); } | | 912 | const netbsd32_sigsetp_t mask); } |
908 | 437 STD { int|netbsd32|50|pollts(netbsd32_pollfdp_t fds, \ | | 913 | 437 STD { int|netbsd32|50|pollts(netbsd32_pollfdp_t fds, \ |
909 | u_int nfds, const netbsd32_timespecp_t ts, \ | | 914 | u_int nfds, const netbsd32_timespecp_t ts, \ |
910 | const netbsd32_sigsetp_t mask); } | | 915 | const netbsd32_sigsetp_t mask); } |
911 | 438 UNIMPL netbsd32___aio_suspend50 | | 916 | 438 UNIMPL netbsd32___aio_suspend50 |
912 | 439 STD { int|netbsd32|50|stat(const netbsd32_charp path, \ | | 917 | 439 STD { int|netbsd32|50|stat(const netbsd32_charp path, \ |
913 | netbsd32_statp_t ub); } | | 918 | netbsd32_statp_t ub); } |
914 | 440 STD { int|netbsd32|50|fstat(int fd, netbsd32_statp_t sb); } | | 919 | 440 STD { int|netbsd32|50|fstat(int fd, netbsd32_statp_t sb); } |
915 | 441 STD { int|netbsd32|50|lstat(const netbsd32_charp path, \ | | 920 | 441 STD { int|netbsd32|50|lstat(const netbsd32_charp path, \ |
916 | netbsd32_statp_t ub); } | | 921 | netbsd32_statp_t ub); } |
917 | #if defined(SYSVSEM) || !defined(_KERNEL_OPT) | | 922 | #if defined(SYSVSEM) || !defined(_KERNEL_OPT) |
918 | 442 STD { int|netbsd32|50|__semctl(int semid, int semnum, \ | | 923 | 442 STD { int|netbsd32|50|__semctl(int semid, int semnum, \ |
919 | int cmd, ... netbsd32_semunp_t arg); } | | 924 | int cmd, ... netbsd32_semunp_t arg); } |
920 | #else | | 925 | #else |
921 | 442 EXCL ____semctl50 | | 926 | 442 EXCL ____semctl50 |
922 | #endif | | 927 | #endif |
923 | #if defined(SYSVSHM) || !defined(_KERNEL_OPT) | | 928 | #if defined(SYSVSHM) || !defined(_KERNEL_OPT) |
924 | 443 STD { int|netbsd32|50|shmctl(int shmid, int cmd, \ | | 929 | 443 STD { int|netbsd32|50|shmctl(int shmid, int cmd, \ |
925 | netbsd32_shmid_dsp_t buf); } | | 930 | netbsd32_shmid_dsp_t buf); } |
926 | #else | | 931 | #else |
927 | 443 EXCL ____shmctl50 | | 932 | 443 EXCL ____shmctl50 |
928 | #endif | | 933 | #endif |
929 | #if defined(SYSVMSG) || !defined(_KERNEL_OPT) | | 934 | #if defined(SYSVMSG) || !defined(_KERNEL_OPT) |
930 | 444 STD { int|netbsd32|50|msgctl(int msqid, int cmd, \ | | 935 | 444 STD { int|netbsd32|50|msgctl(int msqid, int cmd, \ |
931 | netbsd32_msqid_dsp_t buf); } | | 936 | netbsd32_msqid_dsp_t buf); } |
932 | #else | | 937 | #else |
933 | 444 EXCL ____msgctl50 | | 938 | 444 EXCL ____msgctl50 |
934 | #endif | | 939 | #endif |
935 | 445 STD { int|netbsd32|50|getrusage(int who, \ | | 940 | 445 STD { int|netbsd32|50|getrusage(int who, \ |
936 | netbsd32_rusagep_t rusage); } | | 941 | netbsd32_rusagep_t rusage); } |
937 | 446 STD { int|netbsd32|50|timer_settime(timer_t timerid, \ | | 942 | 446 STD { int|netbsd32|50|timer_settime(timer_t timerid, \ |
938 | int flags, const netbsd32_itimerspecp_t value, \ | | 943 | int flags, const netbsd32_itimerspecp_t value, \ |
939 | netbsd32_itimerspecp_t ovalue); } | | 944 | netbsd32_itimerspecp_t ovalue); } |
940 | 447 STD { int|netbsd32|50|timer_gettime(timer_t timerid, \ | | 945 | 447 STD { int|netbsd32|50|timer_gettime(timer_t timerid, \ |
941 | netbsd32_itimerspecp_t value); } | | 946 | netbsd32_itimerspecp_t value); } |
942 | #if defined(NTP) || !defined(_KERNEL_OPT) | | 947 | #if defined(NTP) || !defined(_KERNEL_OPT) |
943 | 448 STD { int|netbsd32|50|ntp_gettime( \ | | 948 | 448 STD { int|netbsd32|50|ntp_gettime( \ |
944 | netbsd32_ntptimevalp_t ntvp); } | | 949 | netbsd32_ntptimevalp_t ntvp); } |
945 | #else | | 950 | #else |
946 | 448 EXCL ___ntp_gettime50 | | 951 | 448 EXCL ___ntp_gettime50 |
947 | #endif | | 952 | #endif |
948 | 449 STD { int|netbsd32|50|wait4(int pid, \ | | 953 | 449 STD { int|netbsd32|50|wait4(int pid, \ |
949 | netbsd32_intp status, \ | | 954 | netbsd32_intp status, \ |
950 | int options, netbsd32_rusagep_t rusage); } | | 955 | int options, netbsd32_rusagep_t rusage); } |
951 | 450 STD { int|netbsd32|50|mknod(const netbsd32_charp path, \ | | 956 | 450 STD { int|netbsd32|50|mknod(const netbsd32_charp path, \ |
952 | mode_t mode, netbsd32_dev_t dev); } | | 957 | mode_t mode, netbsd32_dev_t dev); } |
953 | 451 STD { int|netbsd32|50|fhstat(const netbsd32_voidp fhp, \ | | 958 | 451 STD { int|netbsd32|50|fhstat(const netbsd32_voidp fhp, \ |
954 | netbsd32_size_t fh_size, netbsd32_statp_t sb); } | | 959 | netbsd32_size_t fh_size, netbsd32_statp_t sb); } |
955 | 452 OBSOL 5.99 quotactl | | 960 | 452 OBSOL 5.99 quotactl |
956 | 453 STD { int|netbsd32||pipe2(netbsd32_intp fildes, int flags); } | | 961 | 453 STD { int|netbsd32||pipe2(netbsd32_intp fildes, int flags); } |
957 | 454 STD { int|netbsd32||dup3(int from, int to, int flags); } | | 962 | 454 STD { int|netbsd32||dup3(int from, int to, int flags); } |
958 | 455 STD { int|netbsd32||kqueue1(int flags); } | | 963 | 455 STD { int|netbsd32||kqueue1(int flags); } |
959 | 456 STD { int|netbsd32||paccept(int s, \ | | 964 | 456 STD { int|netbsd32||paccept(int s, \ |
960 | netbsd32_sockaddrp_t name, \ | | 965 | netbsd32_sockaddrp_t name, \ |
961 | netbsd32_socklenp_t anamelen, \ | | 966 | netbsd32_socklenp_t anamelen, \ |
962 | const netbsd32_sigsetp_t mask, \ | | 967 | const netbsd32_sigsetp_t mask, \ |
963 | int flags); } | | 968 | int flags); } |
964 | 457 STD { int|netbsd32||linkat(int fd1, \ | | 969 | 457 STD { int|netbsd32||linkat(int fd1, \ |
965 | const netbsd32_charp name1, \ | | 970 | const netbsd32_charp name1, \ |
966 | int fd2, \ | | 971 | int fd2, \ |
967 | const netbsd32_charp name2, \ | | 972 | const netbsd32_charp name2, \ |
968 | int flags); } | | 973 | int flags); } |
969 | 458 STD { int|netbsd32||renameat(int fromfd, \ | | 974 | 458 STD { int|netbsd32||renameat(int fromfd, \ |
970 | const netbsd32_charp from, \ | | 975 | const netbsd32_charp from, \ |
971 | int tofd, \ | | 976 | int tofd, \ |
972 | const netbsd32_charp to); } | | 977 | const netbsd32_charp to); } |
973 | 459 STD { int|netbsd32||mkfifoat(int fd, \ | | 978 | 459 STD { int|netbsd32||mkfifoat(int fd, \ |
974 | const netbsd32_charp path, \ | | 979 | const netbsd32_charp path, \ |
975 | mode_t mode); } | | 980 | mode_t mode); } |
976 | 460 STD { int|netbsd32||mknodat(int fd, \ | | 981 | 460 STD { int|netbsd32||mknodat(int fd, \ |
977 | const netbsd32_charp path, \ | | 982 | const netbsd32_charp path, \ |
978 | mode_t mode, int PAD, \ | | 983 | mode_t mode, int PAD, \ |
979 | netbsd32_dev_t dev); } | | 984 | netbsd32_dev_t dev); } |
980 | 461 STD { int|netbsd32||mkdirat(int fd, \ | | 985 | 461 STD { int|netbsd32||mkdirat(int fd, \ |
981 | const netbsd32_charp path, \ | | 986 | const netbsd32_charp path, \ |
982 | mode_t mode); } | | 987 | mode_t mode); } |
983 | 462 STD { int|netbsd32||faccessat(int fd, \ | | 988 | 462 STD { int|netbsd32||faccessat(int fd, \ |
984 | const netbsd32_charp path, \ | | 989 | const netbsd32_charp path, \ |
985 | int amode, \ | | 990 | int amode, \ |
986 | int flag); } | | 991 | int flag); } |
987 | 463 STD { int|netbsd32||fchmodat(int fd, \ | | 992 | 463 STD { int|netbsd32||fchmodat(int fd, \ |
988 | const netbsd32_charp path, \ | | 993 | const netbsd32_charp path, \ |
989 | mode_t mode, \ | | 994 | mode_t mode, \ |
990 | int flag); } | | 995 | int flag); } |
991 | 464 STD { int|netbsd32||fchownat(int fd, \ | | 996 | 464 STD { int|netbsd32||fchownat(int fd, \ |
992 | const netbsd32_charp path, \ | | 997 | const netbsd32_charp path, \ |
993 | uid_t owner, \ | | 998 | uid_t owner, \ |
994 | gid_t group, \ | | 999 | gid_t group, \ |
995 | int flag); } | | 1000 | int flag); } |
996 | 465 STD { int|netbsd32||fexecve(int fd, \ | | 1001 | 465 STD { int|netbsd32||fexecve(int fd, \ |
997 | netbsd32_charpp argp, \ | | 1002 | netbsd32_charpp argp, \ |
998 | netbsd32_charpp envp); } | | 1003 | netbsd32_charpp envp); } |
999 | 466 STD { int|netbsd32||fstatat(int fd, \ | | 1004 | 466 STD { int|netbsd32||fstatat(int fd, \ |
1000 | const netbsd32_charp path, \ | | 1005 | const netbsd32_charp path, \ |
1001 | netbsd32_statp_t buf, \ | | 1006 | netbsd32_statp_t buf, \ |
1002 | int flag); } | | 1007 | int flag); } |
1003 | 467 STD { int|netbsd32||utimensat(int fd, \ | | 1008 | 467 STD { int|netbsd32||utimensat(int fd, \ |
1004 | const netbsd32_charp path, \ | | 1009 | const netbsd32_charp path, \ |
1005 | const netbsd32_timespecp_t tptr, \ | | 1010 | const netbsd32_timespecp_t tptr, \ |
1006 | int flag); } | | 1011 | int flag); } |
1007 | 468 STD { int|netbsd32||openat(int fd, \ | | 1012 | 468 STD { int|netbsd32||openat(int fd, \ |
1008 | const netbsd32_charp path, \ | | 1013 | const netbsd32_charp path, \ |
1009 | int oflags, ... \ | | 1014 | int oflags, ... \ |
1010 | mode_t mode); } | | 1015 | mode_t mode); } |
1011 | 469 STD { netbsd32_ssize_t|netbsd32||readlinkat(int fd, \ | | 1016 | 469 STD { netbsd32_ssize_t|netbsd32||readlinkat(int fd, \ |
1012 | const netbsd32_charp path, \ | | 1017 | const netbsd32_charp path, \ |
1013 | netbsd32_charp buf, \ | | 1018 | netbsd32_charp buf, \ |
1014 | size_t bufsize); } | | 1019 | size_t bufsize); } |
1015 | 470 STD { int|netbsd32||symlinkat(const netbsd32_charp path1, \ | | 1020 | 470 STD { int|netbsd32||symlinkat(const netbsd32_charp path1, \ |
1016 | int fd, \ | | 1021 | int fd, \ |
1017 | const netbsd32_charp path2); } | | 1022 | const netbsd32_charp path2); } |
1018 | 471 STD { int|netbsd32||unlinkat(int fd, \ | | 1023 | 471 STD { int|netbsd32||unlinkat(int fd, \ |
1019 | const netbsd32_charp path, \ | | 1024 | const netbsd32_charp path, \ |
1020 | int flag); } | | 1025 | int flag); } |
1021 | 472 STD { int|netbsd32||futimens(int fd, \ | | 1026 | 472 STD { int|netbsd32||futimens(int fd, \ |
1022 | const netbsd32_timespecp_t tptr); } | | 1027 | const netbsd32_timespecp_t tptr); } |
1023 | 473 STD { int|netbsd32||__quotactl(const netbsd32_charp path, \ | | 1028 | 473 STD { int|netbsd32||__quotactl(const netbsd32_charp path, \ |
1024 | netbsd32_voidp args); } | | 1029 | netbsd32_voidp args); } |
1025 | 474 NOERR { int|netbsd32||posix_spawn(netbsd32_pid_tp pid, \ | | 1030 | 474 NOERR { int|netbsd32||posix_spawn(netbsd32_pid_tp pid, \ |
1026 | const netbsd32_charp path, \ | | 1031 | const netbsd32_charp path, \ |
1027 | const netbsd32_posix_spawn_file_actionsp \ | | 1032 | const netbsd32_posix_spawn_file_actionsp \ |
1028 | file_actions, \ | | 1033 | file_actions, \ |
1029 | const netbsd32_posix_spawnattrp attrp, \ | | 1034 | const netbsd32_posix_spawnattrp attrp, \ |
1030 | netbsd32_charpp argv, netbsd32_charpp envp); } | | 1035 | netbsd32_charpp argv, netbsd32_charpp envp); } |
1031 | | | 1036 | |
1032 | 475 UNIMPL { int|netbsd32||recvmmsg(int s, struct mmsghdr *mmsg, \ | | 1037 | 475 UNIMPL { int|netbsd32||recvmmsg(int s, struct mmsghdr *mmsg, \ |
1033 | unsigned int vlen, unsigned int flags, \ | | 1038 | unsigned int vlen, unsigned int flags, \ |
1034 | netbsd32_timespecp_t timeout); } | | 1039 | netbsd32_timespecp_t timeout); } |
1035 | 476 UNIMPL { int|netbsd32||sendmmsg(int s, struct mmsghdr *mmsg, \ | | 1040 | 476 UNIMPL { int|netbsd32||sendmmsg(int s, struct mmsghdr *mmsg, \ |
1036 | unsigned int vlen, unsigned int flags); } | | 1041 | unsigned int vlen, unsigned int flags); } |
1037 | 477 STD { int|netbsd32||clock_nanosleep(\ | | 1042 | 477 STD { int|netbsd32||clock_nanosleep(\ |
1038 | netbsd32_clockid_t clock_id, \ | | 1043 | netbsd32_clockid_t clock_id, \ |
1039 | int flags, const netbsd32_timespecp_t rqtp, \ | | 1044 | int flags, const netbsd32_timespecp_t rqtp, \ |
1040 | netbsd32_timespecp_t rmtp); } | | 1045 | netbsd32_timespecp_t rmtp); } |
1041 | 478 STD { int|netbsd32|60|_lwp_park(\ | | 1046 | 478 STD { int|netbsd32|60|_lwp_park(\ |
1042 | netbsd32_clockid_t clock_id, \ | | 1047 | netbsd32_clockid_t clock_id, \ |
1043 | int flags, const netbsd32_timespecp_t ts, \ | | 1048 | int flags, const netbsd32_timespecp_t ts, \ |
1044 | lwpid_t unpark, netbsd32_voidp hint, \ | | 1049 | lwpid_t unpark, netbsd32_voidp hint, \ |
1045 | netbsd32_voidp unparkhint); } | | 1050 | netbsd32_voidp unparkhint); } |