Fri Nov 6 09:16:49 2015 UTC ()
Additionally pull up following revision(s) (requested by mrg in ticket #956):
	sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.2
	sys/compat/netbsd32/syscalls.master: revision 1.109
Don't reference netbsd32_nfssvc unless NFSSERVER is defined.
Fixes PR 49994.
add missing opt_nfsserver.h


(martin)
diff -r1.3.4.2 -r1.3.4.3 src/sys/compat/netbsd32/netbsd32_nfssvc.c
diff -r1.101.2.2 -r1.101.2.3 src/sys/compat/netbsd32/syscalls.master

cvs diff -r1.3.4.2 -r1.3.4.3 src/sys/compat/netbsd32/netbsd32_nfssvc.c (switch to unified diff)

--- src/sys/compat/netbsd32/netbsd32_nfssvc.c 2015/11/04 17:46:21 1.3.4.2
+++ src/sys/compat/netbsd32/netbsd32_nfssvc.c 2015/11/06 09:16:48 1.3.4.3
@@ -1,187 +1,188 @@ @@ -1,187 +1,188 @@
1/* $NetBSD: netbsd32_nfssvc.c,v 1.3.4.2 2015/11/04 17:46:21 riz Exp $ */ 1/* $NetBSD: netbsd32_nfssvc.c,v 1.3.4.3 2015/11/06 09:16:48 martin Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2015 Matthew R. Green 4 * Copyright (c) 2015 Matthew R. Green
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
15 * 3. The name of the author may not be used to endorse or promote products 15 * 3. The name of the author may not be used to endorse or promote products
16 * derived from this software without specific prior written permission. 16 * derived from this software without specific prior written permission.
17 * 17 *
18 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 18 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
19 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 20 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 22 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
23 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
25 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE. 28 * SUCH DAMAGE.
29 */ 29 */
30 30
31#include <sys/cdefs.h> 31#include <sys/cdefs.h>
32__KERNEL_RCSID(0, "$NetBSD: netbsd32_nfssvc.c,v 1.3.4.2 2015/11/04 17:46:21 riz Exp $"); 32__KERNEL_RCSID(0, "$NetBSD: netbsd32_nfssvc.c,v 1.3.4.3 2015/11/06 09:16:48 martin Exp $");
33 33
34#if defined(_KERNEL_OPT) 34#if defined(_KERNEL_OPT)
35#include "opt_nfs.h" 35#include "opt_nfs.h"
 36#include "opt_nfsserver.h"
36#include "opt_compat_netbsd.h" 37#include "opt_compat_netbsd.h"
37#endif 38#endif
38 39
39#include <sys/param.h> 40#include <sys/param.h>
40#include <sys/vnode.h> 41#include <sys/vnode.h>
41#include <sys/filedesc.h> 42#include <sys/filedesc.h>
42 43
43#include <compat/netbsd32/netbsd32.h> 44#include <compat/netbsd32/netbsd32.h>
44#include <compat/netbsd32/netbsd32_syscall.h> 45#include <compat/netbsd32/netbsd32_syscall.h>
45#include <compat/netbsd32/netbsd32_syscallargs.h> 46#include <compat/netbsd32/netbsd32_syscallargs.h>
46#include <compat/netbsd32/netbsd32_conv.h> 47#include <compat/netbsd32/netbsd32_conv.h>
47 48
48#include <nfs/rpcv2.h> 49#include <nfs/rpcv2.h>
49#include <nfs/nfsproto.h> 50#include <nfs/nfsproto.h>
50#include <nfs/nfs.h> 51#include <nfs/nfs.h>
51#include <nfs/nfs_var.h> 52#include <nfs/nfs_var.h>
52 53
53static int nfssvc32_addsock_in(struct nfsd_args *, const void *); 54static int nfssvc32_addsock_in(struct nfsd_args *, const void *);
54static int nfssvc32_setexports_in(struct mountd_exports_list *, const void *); 55static int nfssvc32_setexports_in(struct mountd_exports_list *, const void *);
55static int nfssvc32_nsd_in(struct nfsd_srvargs *, const void *); 56static int nfssvc32_nsd_in(struct nfsd_srvargs *, const void *);
56static int nfssvc32_nsd_out(void *, const struct nfsd_srvargs *); 57static int nfssvc32_nsd_out(void *, const struct nfsd_srvargs *);
57static int nfssvc32_exp_in(struct export_args *, const void *, size_t); 58static int nfssvc32_exp_in(struct export_args *, const void *, size_t);
58 59
59static int 60static int
60nfssvc32_addsock_in(struct nfsd_args *nfsdarg, const void *argp) 61nfssvc32_addsock_in(struct nfsd_args *nfsdarg, const void *argp)
61{ 62{
62 struct netbsd32_nfsd_args args32; 63 struct netbsd32_nfsd_args args32;
63 int error; 64 int error;
64 65
65 error = copyin(argp, &args32, sizeof args32); 66 error = copyin(argp, &args32, sizeof args32);
66 if (!error) { 67 if (!error) {
67 nfsdarg->sock = args32.sock; 68 nfsdarg->sock = args32.sock;
68 nfsdarg->name = NETBSD32PTR64(args32.name); 69 nfsdarg->name = NETBSD32PTR64(args32.name);
69 nfsdarg->namelen = args32.namelen; 70 nfsdarg->namelen = args32.namelen;
70 } 71 }
71 72
72 return error; 73 return error;
73} 74}
74 75
75static int 76static int
76nfssvc32_setexports_in(struct mountd_exports_list *mel, const void *argp) 77nfssvc32_setexports_in(struct mountd_exports_list *mel, const void *argp)
77{ 78{
78 struct netbsd32_mountd_exports_list args32; 79 struct netbsd32_mountd_exports_list args32;
79 int error; 80 int error;
80 81
81 error = copyin(argp, &args32, sizeof args32); 82 error = copyin(argp, &args32, sizeof args32);
82 if (!error) { 83 if (!error) {
83 mel->mel_path = NETBSD32PTR64(args32.mel_path); 84 mel->mel_path = NETBSD32PTR64(args32.mel_path);
84 mel->mel_nexports = args32.mel_nexports; 85 mel->mel_nexports = args32.mel_nexports;
85 mel->mel_exports = NETBSD32PTR64(args32.mel_exports); 86 mel->mel_exports = NETBSD32PTR64(args32.mel_exports);
86 } 87 }
87 88
88 return error; 89 return error;
89} 90}
90 91
91static int 92static int
92nfssvc32_nsd_in(struct nfsd_srvargs *nsd, const void *argp) 93nfssvc32_nsd_in(struct nfsd_srvargs *nsd, const void *argp)
93{ 94{
94 struct netbsd32_nfsd_srvargs args32; 95 struct netbsd32_nfsd_srvargs args32;
95 int error; 96 int error;
96 97
97 error = copyin(argp, &args32, sizeof args32); 98 error = copyin(argp, &args32, sizeof args32);
98 if (!error) { 99 if (!error) {
99 nsd->nsd_nfsd = NETBSD32PTR64(args32.nsd_nfsd); 100 nsd->nsd_nfsd = NETBSD32PTR64(args32.nsd_nfsd);
100 nsd->nsd_uid = args32.nsd_uid; 101 nsd->nsd_uid = args32.nsd_uid;
101 nsd->nsd_haddr = args32.nsd_haddr; 102 nsd->nsd_haddr = args32.nsd_haddr;
102 nsd->nsd_cr = args32.nsd_cr; 103 nsd->nsd_cr = args32.nsd_cr;
103 nsd->nsd_authlen = args32.nsd_authlen; 104 nsd->nsd_authlen = args32.nsd_authlen;
104 nsd->nsd_authstr = NETBSD32PTR64(args32.nsd_authstr); 105 nsd->nsd_authstr = NETBSD32PTR64(args32.nsd_authstr);
105 nsd->nsd_verflen = args32.nsd_verflen; 106 nsd->nsd_verflen = args32.nsd_verflen;
106 nsd->nsd_uid = args32.nsd_uid; 107 nsd->nsd_uid = args32.nsd_uid;
107 netbsd32_to_timeval(&args32.nsd_timestamp, &nsd->nsd_timestamp); 108 netbsd32_to_timeval(&args32.nsd_timestamp, &nsd->nsd_timestamp);
108 nsd->nsd_ttl = args32.nsd_ttl; 109 nsd->nsd_ttl = args32.nsd_ttl;
109 nsd->nsd_key[0] = args32.nsd_key[0]; 110 nsd->nsd_key[0] = args32.nsd_key[0];
110 nsd->nsd_key[1] = args32.nsd_key[1]; 111 nsd->nsd_key[1] = args32.nsd_key[1];
111 } 112 }
112 113
113 return error; 114 return error;
114} 115}
115 116
116static int 117static int
117nfssvc32_nsd_out(void *argp, const struct nfsd_srvargs *nsd) 118nfssvc32_nsd_out(void *argp, const struct nfsd_srvargs *nsd)
118{ 119{
119 struct netbsd32_nfsd_srvargs args32; 120 struct netbsd32_nfsd_srvargs args32;
120 121
121 NETBSD32PTR32(args32.nsd_nfsd, nsd->nsd_nfsd); 122 NETBSD32PTR32(args32.nsd_nfsd, nsd->nsd_nfsd);
122 args32.nsd_uid = nsd->nsd_uid; 123 args32.nsd_uid = nsd->nsd_uid;
123 args32.nsd_haddr = nsd->nsd_haddr; 124 args32.nsd_haddr = nsd->nsd_haddr;
124 args32.nsd_cr = nsd->nsd_cr; 125 args32.nsd_cr = nsd->nsd_cr;
125 args32.nsd_authlen = nsd->nsd_authlen; 126 args32.nsd_authlen = nsd->nsd_authlen;
126 NETBSD32PTR32(args32.nsd_authstr, nsd->nsd_authstr); 127 NETBSD32PTR32(args32.nsd_authstr, nsd->nsd_authstr);
127 args32.nsd_verflen = nsd->nsd_verflen; 128 args32.nsd_verflen = nsd->nsd_verflen;
128 args32.nsd_uid = nsd->nsd_uid; 129 args32.nsd_uid = nsd->nsd_uid;
129 netbsd32_from_timeval(&nsd->nsd_timestamp, &args32.nsd_timestamp); 130 netbsd32_from_timeval(&nsd->nsd_timestamp, &args32.nsd_timestamp);
130 args32.nsd_ttl = nsd->nsd_ttl; 131 args32.nsd_ttl = nsd->nsd_ttl;
131 args32.nsd_key[0] = nsd->nsd_key[0]; 132 args32.nsd_key[0] = nsd->nsd_key[0];
132 args32.nsd_key[1] = nsd->nsd_key[1]; 133 args32.nsd_key[1] = nsd->nsd_key[1];
133 134
134 return copyout(nsd, argp, sizeof *nsd); 135 return copyout(nsd, argp, sizeof *nsd);
135} 136}
136 137
137static int 138static int
138nfssvc32_exp_in(struct export_args *exp, const void *argp, size_t nexports) 139nfssvc32_exp_in(struct export_args *exp, const void *argp, size_t nexports)
139{ 140{
140 struct netbsd32_export_args exp32; 141 struct netbsd32_export_args exp32;
141 struct netbsd32_export_args const *argp32 = argp; 142 struct netbsd32_export_args const *argp32 = argp;
142 int error = 0; 143 int error = 0;
143 144
144 for (size_t i = 0; i < nexports; i++) { 145 for (size_t i = 0; i < nexports; i++) {
145 error = copyin(argp32, &exp32, sizeof exp32); 146 error = copyin(argp32, &exp32, sizeof exp32);
146 if (error) 147 if (error)
147 break; 148 break;
148 exp->ex_flags = exp32.ex_flags; 149 exp->ex_flags = exp32.ex_flags;
149 exp->ex_root = exp32.ex_root; 150 exp->ex_root = exp32.ex_root;
150 exp->ex_anon = exp32.ex_anon; 151 exp->ex_anon = exp32.ex_anon;
151 exp->ex_addr = NETBSD32PTR64(exp32.ex_addr); 152 exp->ex_addr = NETBSD32PTR64(exp32.ex_addr);
152 exp->ex_addrlen = exp32.ex_addrlen; 153 exp->ex_addrlen = exp32.ex_addrlen;
153 exp->ex_mask = NETBSD32PTR64(exp32.ex_mask); 154 exp->ex_mask = NETBSD32PTR64(exp32.ex_mask);
154 exp->ex_masklen = exp32.ex_masklen; 155 exp->ex_masklen = exp32.ex_masklen;
155 exp->ex_indexfile = NETBSD32PTR64(exp32.ex_indexfile); 156 exp->ex_indexfile = NETBSD32PTR64(exp32.ex_indexfile);
156 exp++; 157 exp++;
157 argp32++; 158 argp32++;
158 } 159 }
159 160
160 return error; 161 return error;
161} 162}
162 163
163/* 164/*
164 * NFS server system calls 165 * NFS server system calls
165 */ 166 */
166 167
167static struct nfssvc_copy_ops netbsd32_ops = { 168static struct nfssvc_copy_ops netbsd32_ops = {
168 .addsock_in = nfssvc32_addsock_in, 169 .addsock_in = nfssvc32_addsock_in,
169 .setexports_in = nfssvc32_setexports_in, 170 .setexports_in = nfssvc32_setexports_in,
170 .nsd_in = nfssvc32_nsd_in, 171 .nsd_in = nfssvc32_nsd_in,
171 .nsd_out = nfssvc32_nsd_out, 172 .nsd_out = nfssvc32_nsd_out,
172 .exp_in = nfssvc32_exp_in, 173 .exp_in = nfssvc32_exp_in,
173}; 174};
174 175
175int 176int
176netbsd32_nfssvc(struct lwp *l, const struct netbsd32_nfssvc_args *uap, 177netbsd32_nfssvc(struct lwp *l, const struct netbsd32_nfssvc_args *uap,
177 register_t *retval) 178 register_t *retval)
178{ 179{
179 /* { 180 /* {
180 syscallarg(int) flag; 181 syscallarg(int) flag;
181 syscallarg(netbsd32_voidp *) argp; 182 syscallarg(netbsd32_voidp *) argp;
182 } */ 183 } */
183 int flag = SCARG(uap, flag); 184 int flag = SCARG(uap, flag);
184 void *argp = SCARG_P32(uap, argp); 185 void *argp = SCARG_P32(uap, argp);
185 186
186 return do_nfssvc(&netbsd32_ops, l, flag, argp, retval); 187 return do_nfssvc(&netbsd32_ops, l, flag, argp, retval);
187} 188}

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

--- src/sys/compat/netbsd32/syscalls.master 2015/11/04 17:46:21 1.101.2.2
+++ src/sys/compat/netbsd32/syscalls.master 2015/11/06 09:16:48 1.101.2.3
@@ -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
630 INDIR { int|netbsd32||syscall(int code, \ 640 INDIR { int|netbsd32||syscall(int code, \
64 ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } 65 ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); }
651 STD { void|netbsd32||exit(int rval); } 661 STD { void|netbsd32||exit(int rval); }
662 NOARGS { int|sys||fork(void); } 672 NOARGS { int|sys||fork(void); }
673 STD { netbsd32_ssize_t|netbsd32||read(int fd, \ 683 STD { netbsd32_ssize_t|netbsd32||read(int fd, \
68 netbsd32_voidp buf, netbsd32_size_t nbyte); } 69 netbsd32_voidp buf, netbsd32_size_t nbyte); }
694 STD { netbsd32_ssize_t|netbsd32||write(int fd, \ 704 STD { netbsd32_ssize_t|netbsd32||write(int fd, \
70 netbsd32_voidp buf, netbsd32_size_t nbyte); } 71 netbsd32_voidp buf, netbsd32_size_t nbyte); }
715 STD { int|netbsd32||open(netbsd32_charp path, int flags, \ 725 STD { int|netbsd32||open(netbsd32_charp path, int flags, \
72 ... mode_t mode); } 73 ... mode_t mode); }
736 STD { int|netbsd32||close(int fd); } 746 STD { int|netbsd32||close(int fd); }
747 COMPAT_50 { int|netbsd32||wait4(int pid, netbsd32_intp status, \ 757 COMPAT_50 { int|netbsd32||wait4(int pid, netbsd32_intp status, \
75 int options, netbsd32_rusage50p_t rusage); } 76 int options, netbsd32_rusage50p_t rusage); }
768 COMPAT_43 { int|netbsd32||ocreat(netbsd32_charp path, \ 778 COMPAT_43 { int|netbsd32||ocreat(netbsd32_charp path, \
77 mode_t mode); } 78 mode_t mode); }
789 STD { int|netbsd32||link(netbsd32_charp path, \ 799 STD { int|netbsd32||link(netbsd32_charp path, \
79 netbsd32_charp link); } 80 netbsd32_charp link); }
8010 STD { int|netbsd32||unlink(netbsd32_charp path); } 8110 STD { int|netbsd32||unlink(netbsd32_charp path); }
8111 OBSOL execv 8211 OBSOL execv
8212 STD { int|netbsd32||chdir(netbsd32_charp path); } 8312 STD { int|netbsd32||chdir(netbsd32_charp path); }
8313 STD { int|netbsd32||fchdir(int fd); } 8413 STD { int|netbsd32||fchdir(int fd); }
8414 COMPAT_50 { int|netbsd32||mknod(netbsd32_charp path, mode_t mode, \ 8514 COMPAT_50 { int|netbsd32||mknod(netbsd32_charp path, mode_t mode, \
85 uint32_t dev); } 86 uint32_t dev); }
8615 STD { int|netbsd32||chmod(netbsd32_charp path, mode_t mode); } 8715 STD { int|netbsd32||chmod(netbsd32_charp path, mode_t mode); }
8716 STD { int|netbsd32||chown(netbsd32_charp path, uid_t uid, \ 8816 STD { int|netbsd32||chown(netbsd32_charp path, uid_t uid, \
88 gid_t gid); } 89 gid_t gid); }
8917 STD { int|netbsd32||break(netbsd32_charp nsize); } 9017 STD { int|netbsd32||break(netbsd32_charp nsize); }
9018 COMPAT_20 { int|netbsd32||getfsstat(netbsd32_statfsp_t buf, \ 9118 COMPAT_20 { int|netbsd32||getfsstat(netbsd32_statfsp_t buf, \
91 netbsd32_long bufsize, int flags); } 92 netbsd32_long bufsize, int flags); }
9219 COMPAT_43 { netbsd32_long|netbsd32||olseek(int fd, \ 9319 COMPAT_43 { netbsd32_long|netbsd32||olseek(int fd, \
93 netbsd32_long offset, int whence); } 94 netbsd32_long offset, int whence); }
9420 NOARGS { pid_t|sys||getpid(void); } 9520 NOARGS { pid_t|sys||getpid(void); }
9521 STD { int|netbsd32||mount(netbsd32_charp type, \ 9621 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); }
9822 STD { int|netbsd32||unmount(netbsd32_charp path, \ 9922 STD { int|netbsd32||unmount(netbsd32_charp path, \
99 int flags); } 100 int flags); }
10023 STD { int|netbsd32||setuid(uid_t uid); } 10123 STD { int|netbsd32||setuid(uid_t uid); }
10124 NOARGS { uid_t|sys||getuid(void); } 10224 NOARGS { uid_t|sys||getuid(void); }
10225 NOARGS { uid_t|sys||geteuid(void); } 10325 NOARGS { uid_t|sys||geteuid(void); }
10326 STD { int|netbsd32||ptrace(int req, pid_t pid, \ 10426 STD { int|netbsd32||ptrace(int req, pid_t pid, \
104 netbsd32_voidp addr, int data); } 105 netbsd32_voidp addr, int data); }
10527 STD { netbsd32_ssize_t|netbsd32||recvmsg(int s, \ 10627 STD { netbsd32_ssize_t|netbsd32||recvmsg(int s, \
106 netbsd32_msghdrp_t msg, int flags); } 107 netbsd32_msghdrp_t msg, int flags); }
10728 STD { netbsd32_ssize_t|netbsd32||sendmsg(int s, \ 10828 STD { netbsd32_ssize_t|netbsd32||sendmsg(int s, \
108 netbsd32_msghdrp_t msg, int flags); } 109 netbsd32_msghdrp_t msg, int flags); }
10929 STD { netbsd32_ssize_t|netbsd32||recvfrom(int s, \ 11029 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); }
11330 STD { int|netbsd32||accept(int s, \ 11430 STD { int|netbsd32||accept(int s, \
114 netbsd32_sockaddrp_t name, \ 115 netbsd32_sockaddrp_t name, \
115 netbsd32_intp anamelen); } 116 netbsd32_intp anamelen); }
11631 STD { int|netbsd32||getpeername(int fdes, \ 11731 STD { int|netbsd32||getpeername(int fdes, \
117 netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 118 netbsd32_sockaddrp_t asa, netbsd32_intp alen); }
11832 STD { int|netbsd32||getsockname(int fdes, \ 11932 STD { int|netbsd32||getsockname(int fdes, \
119 netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 120 netbsd32_sockaddrp_t asa, netbsd32_intp alen); }
12033 STD { int|netbsd32||access(netbsd32_charp path, int flags); } 12133 STD { int|netbsd32||access(netbsd32_charp path, int flags); }
12134 STD { int|netbsd32||chflags(netbsd32_charp path, \ 12234 STD { int|netbsd32||chflags(netbsd32_charp path, \
122 netbsd32_u_long flags); } 123 netbsd32_u_long flags); }
12335 STD { int|netbsd32||fchflags(int fd, \ 12435 STD { int|netbsd32||fchflags(int fd, \
124 netbsd32_u_long flags); } 125 netbsd32_u_long flags); }
12536 NOARGS { void|sys||sync(void); } 12636 NOARGS { void|sys||sync(void); }
12637 STD { int|netbsd32||kill(int pid, int signum); } 12737 STD { int|netbsd32||kill(int pid, int signum); }
12738 COMPAT_43 { int|netbsd32||stat43(netbsd32_charp path, \ 12838 COMPAT_43 { int|netbsd32||stat43(netbsd32_charp path, \
128 netbsd32_stat43p_t ub); } 129 netbsd32_stat43p_t ub); }
12939 NOARGS { pid_t|sys||getppid(void); } 13039 NOARGS { pid_t|sys||getppid(void); }
13040 COMPAT_43 { int|netbsd32||lstat43(netbsd32_charp path, \ 13140 COMPAT_43 { int|netbsd32||lstat43(netbsd32_charp path, \
131 netbsd32_stat43p_t ub); } 132 netbsd32_stat43p_t ub); }
13241 STD { int|netbsd32||dup(int fd); } 13341 STD { int|netbsd32||dup(int fd); }
13342 NOARGS { int|sys||pipe(void); } 13442 NOARGS { int|sys||pipe(void); }
13443 NOARGS { gid_t|sys||getegid(void); } 13543 NOARGS { gid_t|sys||getegid(void); }
13544 STD { int|netbsd32||profil(netbsd32_voidp samples, \ 13644 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); }
13845 STD { int|netbsd32||ktrace(netbsd32_charp fname, int ops, \ 13945 STD { int|netbsd32||ktrace(netbsd32_charp fname, int ops, \
139 int facs, int pid); } 140 int facs, int pid); }
14046 STD { int|netbsd32||sigaction(int signum, \ 14146 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); }
14347 NOARGS { gid_t|sys||getgid(void); } 14447 NOARGS { gid_t|sys||getgid(void); }
14448 COMPAT_13 { int|netbsd32||sigprocmask(int how, \ 14548 COMPAT_13 { int|netbsd32||sigprocmask(int how, \
145 int mask); } sigprocmask13 146 int mask); } sigprocmask13
14649 STD { int|netbsd32||__getlogin(netbsd32_charp namebuf, \ 14749 STD { int|netbsd32||__getlogin(netbsd32_charp namebuf, \
147 u_int namelen); } 148 u_int namelen); }
14850 STD { int|netbsd32||setlogin(netbsd32_charp namebuf); } 14950 STD { int|netbsd32||setlogin(netbsd32_charp namebuf); }
14951 STD { int|netbsd32||acct(netbsd32_charp path); } 15051 STD { int|netbsd32||acct(netbsd32_charp path); }
15052 COMPAT_13 { int|sys||sigpending(void); } sigpending13 15152 COMPAT_13 { int|sys||sigpending(void); } sigpending13
15153 COMPAT_13 { int|netbsd32||sigaltstack13( \ 15253 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); }
15454 STD { int|netbsd32||ioctl(int fd, netbsd32_u_long com, \ 15554 STD { int|netbsd32||ioctl(int fd, netbsd32_u_long com, \
155 ... netbsd32_voidp data); } 156 ... netbsd32_voidp data); }
15655 COMPAT_12 { int|netbsd32||reboot(int opt); } 15755 COMPAT_12 { int|netbsd32||reboot(int opt); }
15756 STD { int|netbsd32||revoke(netbsd32_charp path); } 15856 STD { int|netbsd32||revoke(netbsd32_charp path); }
15857 STD { int|netbsd32||symlink(netbsd32_charp path, \ 15957 STD { int|netbsd32||symlink(netbsd32_charp path, \
159 netbsd32_charp link); } 160 netbsd32_charp link); }
16058 STD { int|netbsd32||readlink(netbsd32_charp path, \ 16158 STD { int|netbsd32||readlink(netbsd32_charp path, \
161 netbsd32_charp buf, netbsd32_size_t count); } 162 netbsd32_charp buf, netbsd32_size_t count); }
16259 STD { int|netbsd32||execve(netbsd32_charp path, \ 16359 STD { int|netbsd32||execve(netbsd32_charp path, \
163 netbsd32_charpp argp, netbsd32_charpp envp); } 164 netbsd32_charpp argp, netbsd32_charpp envp); }
16460 STD { mode_t|netbsd32||umask(mode_t newmask); } 16560 STD { mode_t|netbsd32||umask(mode_t newmask); }
16561 STD { int|netbsd32||chroot(netbsd32_charp path); } 16661 STD { int|netbsd32||chroot(netbsd32_charp path); }
16662 COMPAT_43 { int|netbsd32||fstat43(int fd, netbsd32_stat43p_t sb); } 16762 COMPAT_43 { int|netbsd32||fstat43(int fd, netbsd32_stat43p_t sb); }
16763 COMPAT_43 { int|netbsd32||ogetkerninfo(int op, \ 16863 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); }
17064 COMPAT_43 { int|sys||getpagesize(void); } ogetpagesize 17164 COMPAT_43 { int|sys||getpagesize(void); } ogetpagesize
17165 COMPAT_12 { int|netbsd32||msync(netbsd32_voidp addr, \ 17265 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)?
17466 NOARGS { int|sys||vfork(void); } 17566 NOARGS { int|sys||vfork(void); }
17567 OBSOL vread 17667 OBSOL vread
17668 OBSOL vwrite 17768 OBSOL vwrite
17769 STD { int|netbsd32||sbrk(netbsd32_intptr_t incr); } 17869 STD { int|netbsd32||sbrk(netbsd32_intptr_t incr); }
17870 STD { int|netbsd32||sstk(int incr); } 17970 STD { int|netbsd32||sstk(int incr); }
17971 COMPAT_43 { int|netbsd32||ommap(netbsd32_voidp addr, \ 18071 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); }
18272 STD { int|netbsd32||ovadvise(int anom); } vadvise 18372 STD { int|netbsd32||ovadvise(int anom); } vadvise
18373 STD { int|netbsd32||munmap(netbsd32_voidp addr, \ 18473 STD { int|netbsd32||munmap(netbsd32_voidp addr, \
184 netbsd32_size_t len); } 185 netbsd32_size_t len); }
18574 STD { int|netbsd32||mprotect(netbsd32_voidp addr, \ 18674 STD { int|netbsd32||mprotect(netbsd32_voidp addr, \
186 netbsd32_size_t len, int prot); } 187 netbsd32_size_t len, int prot); }
18775 STD { int|netbsd32||madvise(netbsd32_voidp addr, \ 18875 STD { int|netbsd32||madvise(netbsd32_voidp addr, \
188 netbsd32_size_t len, int behav); } 189 netbsd32_size_t len, int behav); }
18976 OBSOL vhangup 19076 OBSOL vhangup
19077 OBSOL vlimit 19177 OBSOL vlimit
19178 STD { int|netbsd32||mincore(netbsd32_voidp addr, \ 19278 STD { int|netbsd32||mincore(netbsd32_voidp addr, \
192 netbsd32_size_t len, netbsd32_charp vec); } 193 netbsd32_size_t len, netbsd32_charp vec); }
19379 STD { int|netbsd32||getgroups(int gidsetsize, \ 19479 STD { int|netbsd32||getgroups(int gidsetsize, \
194 netbsd32_gid_tp gidset); } 195 netbsd32_gid_tp gidset); }
19580 STD { int|netbsd32||setgroups(int gidsetsize, \ 19680 STD { int|netbsd32||setgroups(int gidsetsize, \
196 netbsd32_gid_tp gidset); } 197 netbsd32_gid_tp gidset); }
19781 NOARGS { int|sys||getpgrp(void); } 19881 NOARGS { int|sys||getpgrp(void); }
19882 STD { int|netbsd32||setpgid(int pid, int pgid); } 19982 STD { int|netbsd32||setpgid(int pid, int pgid); }
19983 COMPAT_50 { int|netbsd32||setitimer(int which, \ 20083 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); }
20284 COMPAT_43 { int|sys||wait(void); } owait 20384 COMPAT_43 { int|sys||wait(void); } owait
20385 COMPAT_12 { int|netbsd32||oswapon(netbsd32_charp name); } 20485 COMPAT_12 { int|netbsd32||oswapon(netbsd32_charp name); }
20486 COMPAT_50 { int|netbsd32||getitimer(int which, \ 20586 COMPAT_50 { int|netbsd32||getitimer(int which, \
205 netbsd32_itimerval50p_t itv); } 206 netbsd32_itimerval50p_t itv); }
20687 COMPAT_43 { int|netbsd32||ogethostname(netbsd32_charp hostname, \ 20787 COMPAT_43 { int|netbsd32||ogethostname(netbsd32_charp hostname, \
207 u_int len); } 208 u_int len); }
20888 COMPAT_43 { int|netbsd32||osethostname(netbsd32_charp hostname, \ 20988 COMPAT_43 { int|netbsd32||osethostname(netbsd32_charp hostname, \
209 u_int len); } 210 u_int len); }
21089 COMPAT_43 { int|sys||getdtablesize(void); } ogetdtablesize 21189 COMPAT_43 { int|sys||getdtablesize(void); } ogetdtablesize
21190 STD { int|netbsd32||dup2(int from, int to); } 21290 STD { int|netbsd32||dup2(int from, int to); }
21291 UNIMPL getdopt 21391 UNIMPL getdopt
21392 STD { int|netbsd32||fcntl(int fd, int cmd, \ 21492 STD { int|netbsd32||fcntl(int fd, int cmd, \
214 ... netbsd32_voidp arg); } 215 ... netbsd32_voidp arg); }
21593 COMPAT_50 { int|netbsd32||select(int nd, netbsd32_fd_setp_t in, \ 21693 COMPAT_50 { int|netbsd32||select(int nd, netbsd32_fd_setp_t in, \
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); }
21894 UNIMPL setdopt 21994 UNIMPL setdopt
21995 STD { int|netbsd32||fsync(int fd); } 22095 STD { int|netbsd32||fsync(int fd); }
22096 STD { int|netbsd32||setpriority(int which, int who, \ 22196 STD { int|netbsd32||setpriority(int which, int who, \
221 int prio); } 222 int prio); }
22297 COMPAT_30 { int|netbsd32||socket(int domain, int type, \ 22397 COMPAT_30 { int|netbsd32||socket(int domain, int type, \
223 int protocol); } 224 int protocol); }
22498 STD { int|netbsd32||connect(int s, \ 22598 STD { int|netbsd32||connect(int s, \
225 netbsd32_sockaddrp_t name, int namelen); } 226 netbsd32_sockaddrp_t name, int namelen); }
22699 COMPAT_43 { int|netbsd32||oaccept(int s, netbsd32_voidp name, \ 22799 COMPAT_43 { int|netbsd32||oaccept(int s, netbsd32_voidp name, \
227 netbsd32_intp anamelen); } 228 netbsd32_intp anamelen); }
228100 STD { int|netbsd32||getpriority(int which, int who); } 229100 STD { int|netbsd32||getpriority(int which, int who); }
229101 COMPAT_43 { int|netbsd32||osend(int s, netbsd32_voidp buf, \ 230101 COMPAT_43 { int|netbsd32||osend(int s, netbsd32_voidp buf, \
230 int len, int flags); } 231 int len, int flags); }
231102 COMPAT_43 { int|netbsd32||orecv(int s, netbsd32_voidp buf, \ 232102 COMPAT_43 { int|netbsd32||orecv(int s, netbsd32_voidp buf, \
232 int len, int flags); } 233 int len, int flags); }
233103 COMPAT_13 { int|netbsd32||sigreturn( \ 234103 COMPAT_13 { int|netbsd32||sigreturn( \
234 netbsd32_sigcontextp_t sigcntxp); } sigreturn13 235 netbsd32_sigcontextp_t sigcntxp); } sigreturn13
235104 STD { int|netbsd32||bind(int s, netbsd32_sockaddrp_t name, \ 236104 STD { int|netbsd32||bind(int s, netbsd32_sockaddrp_t name, \
236 int namelen); } 237 int namelen); }
237105 STD { int|netbsd32||setsockopt(int s, int level, int name, \ 238105 STD { int|netbsd32||setsockopt(int s, int level, int name, \
238 netbsd32_voidp val, int valsize); } 239 netbsd32_voidp val, int valsize); }
239106 STD { int|netbsd32||listen(int s, int backlog); } 240106 STD { int|netbsd32||listen(int s, int backlog); }
240107 OBSOL vtimes 241107 OBSOL vtimes
241108 COMPAT_43 { int|netbsd32||osigvec(int signum, \ 242108 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); }
243109 COMPAT_43 { int|netbsd32||sigblock(int mask); } 244109 COMPAT_43 { int|netbsd32||sigblock(int mask); }
244110 COMPAT_43 { int|netbsd32||sigsetmask(int mask); } 245110 COMPAT_43 { int|netbsd32||sigsetmask(int mask); }
245111 COMPAT_13 { int|netbsd32||sigsuspend(int mask); } sigsuspend13 246111 COMPAT_13 { int|netbsd32||sigsuspend(int mask); } sigsuspend13
246112 COMPAT_43 { int|netbsd32||osigstack(netbsd32_sigstackp_t nss, \ 247112 COMPAT_43 { int|netbsd32||osigstack(netbsd32_sigstackp_t nss, \
247 netbsd32_sigstackp_t oss); } 248 netbsd32_sigstackp_t oss); }
248113 COMPAT_43 { int|netbsd32||orecvmsg(int s, \ 249113 COMPAT_43 { int|netbsd32||orecvmsg(int s, \
249 netbsd32_omsghdrp_t msg, int flags); } 250 netbsd32_omsghdrp_t msg, int flags); }
250114 COMPAT_43 { int|netbsd32||osendmsg(int s, netbsd32_voidp msg, \ 251114 COMPAT_43 { int|netbsd32||osendmsg(int s, netbsd32_voidp msg, \
251 int flags); } 252 int flags); }
252115 OBSOL vtrace 253115 OBSOL vtrace
253116 COMPAT_50 { int|netbsd32||gettimeofday(netbsd32_timeval50p_t tp, \ 254116 COMPAT_50 { int|netbsd32||gettimeofday(netbsd32_timeval50p_t tp, \
254 netbsd32_timezonep_t tzp); } 255 netbsd32_timezonep_t tzp); }
255117 COMPAT_50 { int|netbsd32||getrusage(int who, \ 256117 COMPAT_50 { int|netbsd32||getrusage(int who, \
256 netbsd32_rusage50p_t rusage); } 257 netbsd32_rusage50p_t rusage); }
257118 STD { int|netbsd32||getsockopt(int s, int level, int name, \ 258118 STD { int|netbsd32||getsockopt(int s, int level, int name, \
258 netbsd32_voidp val, netbsd32_intp avalsize); } 259 netbsd32_voidp val, netbsd32_intp avalsize); }
259119 OBSOL resuba 260119 OBSOL resuba
260120 STD { netbsd32_ssize_t|netbsd32||readv(int fd, \ 261120 STD { netbsd32_ssize_t|netbsd32||readv(int fd, \
261 netbsd32_iovecp_t iovp, int iovcnt); } 262 netbsd32_iovecp_t iovp, int iovcnt); }
262121 STD { netbsd32_ssize_t|netbsd32||writev(int fd, \ 263121 STD { netbsd32_ssize_t|netbsd32||writev(int fd, \
263 netbsd32_iovecp_t iovp, int iovcnt); } 264 netbsd32_iovecp_t iovp, int iovcnt); }
264122 COMPAT_50 { int|netbsd32||settimeofday(netbsd32_timeval50p_t tv, \ 265122 COMPAT_50 { int|netbsd32||settimeofday(netbsd32_timeval50p_t tv, \
265 netbsd32_timezonep_t tzp); } 266 netbsd32_timezonep_t tzp); }
266123 STD { int|netbsd32||fchown(int fd, uid_t uid, gid_t gid); } 267123 STD { int|netbsd32||fchown(int fd, uid_t uid, gid_t gid); }
267124 STD { int|netbsd32||fchmod(int fd, mode_t mode); } 268124 STD { int|netbsd32||fchmod(int fd, mode_t mode); }
268125 COMPAT_43 { int|netbsd32||orecvfrom(int s, netbsd32_voidp buf, \ 269125 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); }
271126 STD { int|netbsd32||setreuid(uid_t ruid, uid_t euid); } 272126 STD { int|netbsd32||setreuid(uid_t ruid, uid_t euid); }
272127 STD { int|netbsd32||setregid(gid_t rgid, gid_t egid); } 273127 STD { int|netbsd32||setregid(gid_t rgid, gid_t egid); }
273128 STD { int|netbsd32||rename(netbsd32_charp from, \ 274128 STD { int|netbsd32||rename(netbsd32_charp from, \
274 netbsd32_charp to); } 275 netbsd32_charp to); }
275129 COMPAT_43 { int|netbsd32||otruncate(netbsd32_charp path, \ 276129 COMPAT_43 { int|netbsd32||otruncate(netbsd32_charp path, \
276 netbsd32_long length); } 277 netbsd32_long length); }
277130 COMPAT_43 { int|netbsd32||oftruncate(int fd, \ 278130 COMPAT_43 { int|netbsd32||oftruncate(int fd, \
278 netbsd32_long length); } 279 netbsd32_long length); }
279131 STD { int|netbsd32||flock(int fd, int how); } 280131 STD { int|netbsd32||flock(int fd, int how); }
280132 STD { int|netbsd32||mkfifo(netbsd32_charp path, \ 281132 STD { int|netbsd32||mkfifo(netbsd32_charp path, \
281 mode_t mode); } 282 mode_t mode); }
282133 STD { netbsd32_ssize_t|netbsd32||sendto(int s, \ 283133 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); }
285134 STD { int|netbsd32||shutdown(int s, int how); } 286134 STD { int|netbsd32||shutdown(int s, int how); }
286135 STD { int|netbsd32||socketpair(int domain, int type, \ 287135 STD { int|netbsd32||socketpair(int domain, int type, \
287 int protocol, netbsd32_intp rsv); } 288 int protocol, netbsd32_intp rsv); }
288136 STD { int|netbsd32||mkdir(netbsd32_charp path, \ 289136 STD { int|netbsd32||mkdir(netbsd32_charp path, \
289 mode_t mode); } 290 mode_t mode); }
290137 STD { int|netbsd32||rmdir(netbsd32_charp path); } 291137 STD { int|netbsd32||rmdir(netbsd32_charp path); }
291138 COMPAT_50 { int|netbsd32||utimes(netbsd32_charp path, \ 292138 COMPAT_50 { int|netbsd32||utimes(netbsd32_charp path, \
292 netbsd32_timeval50p_t tptr); } 293 netbsd32_timeval50p_t tptr); }
293139 OBSOL 4.2 sigreturn 294139 OBSOL 4.2 sigreturn
294140 COMPAT_50 { int|netbsd32||adjtime(netbsd32_timeval50p_t delta, \ 295140 COMPAT_50 { int|netbsd32||adjtime(netbsd32_timeval50p_t delta, \
295 netbsd32_timeval50p_t olddelta); } 296 netbsd32_timeval50p_t olddelta); }
296141 COMPAT_43 { int|netbsd32||ogetpeername(int fdes, \ 297141 COMPAT_43 { int|netbsd32||ogetpeername(int fdes, \
297 netbsd32_voidp asa, netbsd32_intp alen); } 298 netbsd32_voidp asa, netbsd32_intp alen); }
298142 COMPAT_43 { int32_t|sys||gethostid(void); } ogethostid 299142 COMPAT_43 { int32_t|sys||gethostid(void); } ogethostid
299143 COMPAT_43 { int|netbsd32||sethostid(int32_t hostid); } 300143 COMPAT_43 { int|netbsd32||sethostid(int32_t hostid); }
300144 COMPAT_43 { int|netbsd32||ogetrlimit(int which, \ 301144 COMPAT_43 { int|netbsd32||ogetrlimit(int which, \
301 netbsd32_orlimitp_t rlp); } 302 netbsd32_orlimitp_t rlp); }
302145 COMPAT_43 { int|netbsd32||osetrlimit(int which, \ 303145 COMPAT_43 { int|netbsd32||osetrlimit(int which, \
303 netbsd32_orlimitp_t rlp); } 304 netbsd32_orlimitp_t rlp); }
304146 COMPAT_43 { int|netbsd32||killpg(int pgid, int signum); } 305146 COMPAT_43 { int|netbsd32||killpg(int pgid, int signum); }
305147 NOARGS { int|sys||setsid(void); } 306147 NOARGS { int|sys||setsid(void); }
306148 COMPAT_50 { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \ 307148 COMPAT_50 { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \
307 int uid, netbsd32_voidp arg); } 308 int uid, netbsd32_voidp arg); }
308149 COMPAT_43 { int|sys||quota(void); } oquota 309149 COMPAT_43 { int|sys||quota(void); } oquota
309150 COMPAT_43 { int|netbsd32||ogetsockname(int fdec, \ 310150 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...
316151 UNIMPL 317151 UNIMPL
317152 UNIMPL 318152 UNIMPL
318153 UNIMPL 319153 UNIMPL
319154 UNIMPL 320154 UNIMPL
 321#if defined(NFSSERVER) || !defined(_KERNEL_OPT)
320155 STD { int|netbsd32||nfssvc(int flag, netbsd32_voidp argp); } 322155 STD { int|netbsd32||nfssvc(int flag, netbsd32_voidp argp); }
 323#else
 324155 EXCL netbsd32_nfssvc
 325#endif
321156 COMPAT_43 { int|netbsd32||ogetdirentries(int fd, \ 326156 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); }
324157 COMPAT_20 { int|netbsd32||statfs(netbsd32_charp path, \ 329157 COMPAT_20 { int|netbsd32||statfs(netbsd32_charp path, \
325 netbsd32_statfsp_t buf); } 330 netbsd32_statfsp_t buf); }
326158 COMPAT_20 { int|netbsd32||fstatfs(int fd, \ 331158 COMPAT_20 { int|netbsd32||fstatfs(int fd, \
327 netbsd32_statfsp_t buf); } 332 netbsd32_statfsp_t buf); }
328159 UNIMPL 333159 UNIMPL
329160 UNIMPL 334160 UNIMPL
330161 COMPAT_30 { int|netbsd32||getfh(netbsd32_charp fname, \ 335161 COMPAT_30 { int|netbsd32||getfh(netbsd32_charp fname, \
331 netbsd32_compat_30_fhandlep_t fhp); } 336 netbsd32_compat_30_fhandlep_t fhp); }
332162 COMPAT_09 { int|netbsd32||ogetdomainname( \ 337162 COMPAT_09 { int|netbsd32||ogetdomainname( \
333 netbsd32_charp domainname, int len); } 338 netbsd32_charp domainname, int len); }
334163 COMPAT_09 { int|netbsd32||osetdomainname( \ 339163 COMPAT_09 { int|netbsd32||osetdomainname( \
335 netbsd32_charp domainname, int len); } 340 netbsd32_charp domainname, int len); }
336164 COMPAT_09 { int|netbsd32||uname(netbsd32_outsnamep_t name); } 341164 COMPAT_09 { int|netbsd32||uname(netbsd32_outsnamep_t name); }
337165 STD { int|netbsd32||sysarch(int op, netbsd32_voidp parms); } 342165 STD { int|netbsd32||sysarch(int op, netbsd32_voidp parms); }
338166 UNIMPL 343166 UNIMPL
339167 UNIMPL 344167 UNIMPL
340168 UNIMPL 345168 UNIMPL
341#if defined(SYSVSEM) || !defined(_KERNEL_OPT) 346#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
342169 COMPAT_10 { int|netbsd32||semsys(int which, int a2, int a3, \ 347169 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
345169 EXCL netbsd32_semsys 350169 EXCL netbsd32_semsys
346#endif 351#endif
347#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 352#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
348170 COMPAT_10 { int|netbsd32||msgsys(int which, int a2, int a3, \ 353170 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
351170 EXCL netbsd32_msgsys 356170 EXCL netbsd32_msgsys
352#endif 357#endif
353#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 358#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
354171 COMPAT_10 { int|netbsd32||shmsys(int which, int a2, int a3, \ 359171 COMPAT_10 { int|netbsd32||shmsys(int which, int a2, int a3, \
355 int a4); } oshmsys 360 int a4); } oshmsys
356#else 361#else
357171 EXCL netbsd32_shmsys 362171 EXCL netbsd32_shmsys
358#endif 363#endif
359172 UNIMPL 364172 UNIMPL
360173 STD { netbsd32_ssize_t|netbsd32||pread(int fd, \ 365173 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); }
363174 STD { netbsd32_ssize_t|netbsd32||pwrite(int fd, \ 368174 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)
367175 COMPAT_30 { int|netbsd32||ntp_gettime( \ 372175 COMPAT_30 { int|netbsd32||ntp_gettime( \
368 netbsd32_ntptimeval50p_t ntvp); } 373 netbsd32_ntptimeval50p_t ntvp); }
369176 STD { int|netbsd32||ntp_adjtime(netbsd32_timexp_t tp); } 374176 STD { int|netbsd32||ntp_adjtime(netbsd32_timexp_t tp); }
370#else 375#else
371175 EXCL ntp_gettime 376175 EXCL ntp_gettime
372176 EXCL ntp_adjtime 377176 EXCL ntp_adjtime
373#endif 378#endif
374177 UNIMPL 379177 UNIMPL
375178 UNIMPL 380178 UNIMPL
376179 UNIMPL 381179 UNIMPL
377180 UNIMPL 382180 UNIMPL
378 383
379; Syscalls 180-199 are used by/reserved for BSD 384; Syscalls 180-199 are used by/reserved for BSD
380181 STD { int|netbsd32||setgid(gid_t gid); } 385181 STD { int|netbsd32||setgid(gid_t gid); }
381182 STD { int|netbsd32||setegid(gid_t egid); } 386182 STD { int|netbsd32||setegid(gid_t egid); }
382183 STD { int|netbsd32||seteuid(uid_t euid); } 387183 STD { int|netbsd32||seteuid(uid_t euid); }
383184 EXCL netbsd32_lfs_bmapv 388184 EXCL netbsd32_lfs_bmapv
384185 EXCL netbsd32_lfs_markv 389185 EXCL netbsd32_lfs_markv
385186 EXCL netbsd32_lfs_segclean 390186 EXCL netbsd32_lfs_segclean
386187 EXCL netbsd32_lfs_segwait 391187 EXCL netbsd32_lfs_segwait
387188 COMPAT_12 { int|netbsd32||stat12(netbsd32_charp path, \ 392188 COMPAT_12 { int|netbsd32||stat12(netbsd32_charp path, \
388 netbsd32_stat12p_t ub); } 393 netbsd32_stat12p_t ub); }
389189 COMPAT_12 { int|netbsd32||fstat12(int fd, netbsd32_stat12p_t sb); } 394189 COMPAT_12 { int|netbsd32||fstat12(int fd, netbsd32_stat12p_t sb); }
390190 COMPAT_12 { int|netbsd32||lstat12(netbsd32_charp path, \ 395190 COMPAT_12 { int|netbsd32||lstat12(netbsd32_charp path, \
391 netbsd32_stat12p_t ub); } 396 netbsd32_stat12p_t ub); }
392191 STD { netbsd32_long|netbsd32||pathconf(netbsd32_charp path, \ 397191 STD { netbsd32_long|netbsd32||pathconf(netbsd32_charp path, \
393 int name); } 398 int name); }
394192 STD { netbsd32_long|netbsd32||fpathconf(int fd, int name); } 399192 STD { netbsd32_long|netbsd32||fpathconf(int fd, int name); }
395193 UNIMPL 400193 UNIMPL
396194 STD { int|netbsd32||getrlimit(int which, \ 401194 STD { int|netbsd32||getrlimit(int which, \
397 netbsd32_rlimitp_t rlp); } 402 netbsd32_rlimitp_t rlp); }
398195 STD { int|netbsd32||setrlimit(int which, \ 403195 STD { int|netbsd32||setrlimit(int which, \
399 netbsd32_rlimitp_t rlp); } 404 netbsd32_rlimitp_t rlp); }
400196 COMPAT_12 { int|netbsd32||getdirentries(int fd, \ 405196 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); }
403197 STD { netbsd32_voidp|netbsd32||mmap(netbsd32_voidp addr, \ 408197 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); }
406198 INDIR { quad_t|netbsd32||___syscall(quad_t code, \ 411198 INDIR { quad_t|netbsd32||___syscall(quad_t code, \
407 ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } 412 ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); }
408199 STD { netbsd32_off_t|netbsd32||lseek(int fd, int PAD, \ 413199 STD { netbsd32_off_t|netbsd32||lseek(int fd, int PAD, \
409 netbsd32_off_t offset, int whence); } 414 netbsd32_off_t offset, int whence); }
410200 STD { int|netbsd32||truncate(netbsd32_charp path, int PAD, \ 415200 STD { int|netbsd32||truncate(netbsd32_charp path, int PAD, \
411 netbsd32_off_t length); } 416 netbsd32_off_t length); }
412201 STD { int|netbsd32||ftruncate(int fd, int PAD, \ 417201 STD { int|netbsd32||ftruncate(int fd, int PAD, \
413 netbsd32_off_t length); } 418 netbsd32_off_t length); }
414202 STD { int|netbsd32||__sysctl(netbsd32_intp name, \ 419202 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); }
418203 STD { int|netbsd32||mlock(netbsd32_voidp addr, \ 423203 STD { int|netbsd32||mlock(netbsd32_voidp addr, \
419 netbsd32_size_t len); } 424 netbsd32_size_t len); }
420204 STD { int|netbsd32||munlock(netbsd32_voidp addr, \ 425204 STD { int|netbsd32||munlock(netbsd32_voidp addr, \
421 netbsd32_size_t len); } 426 netbsd32_size_t len); }
422205 STD { int|netbsd32||undelete(netbsd32_charp path); } 427205 STD { int|netbsd32||undelete(netbsd32_charp path); }
423206 COMPAT_50 { int|netbsd32||futimes(int fd, \ 428206 COMPAT_50 { int|netbsd32||futimes(int fd, \
424 netbsd32_timeval50p_t tptr); } 429 netbsd32_timeval50p_t tptr); }
425207 STD { int|netbsd32||getpgid(pid_t pid); } 430207 STD { int|netbsd32||getpgid(pid_t pid); }
426208 STD { int|netbsd32||reboot(int opt, \ 431208 STD { int|netbsd32||reboot(int opt, \
427 netbsd32_charp bootstr); } 432 netbsd32_charp bootstr); }
428209 STD { int|netbsd32||poll(netbsd32_pollfdp_t fds, \ 433209 STD { int|netbsd32||poll(netbsd32_pollfdp_t fds, \
429 u_int nfds, int timeout); } 434 u_int nfds, int timeout); }
430210 UNIMPL 435210 UNIMPL
431211 UNIMPL 436211 UNIMPL
432212 UNIMPL 437212 UNIMPL
433213 UNIMPL 438213 UNIMPL
434214 UNIMPL 439214 UNIMPL
435215 UNIMPL 440215 UNIMPL
436216 UNIMPL 441216 UNIMPL
437217 UNIMPL 442217 UNIMPL
438218 UNIMPL 443218 UNIMPL
439219 UNIMPL 444219 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)
442220 COMPAT_14 { int|netbsd32||__semctl(int semid, int semnum, \ 447220 COMPAT_14 { int|netbsd32||__semctl(int semid, int semnum, \
443 int cmd, netbsd32_semunu_t arg); } 448 int cmd, netbsd32_semunu_t arg); }
444221 STD { int|netbsd32||semget(netbsd32_key_t key, int nsems, \ 449221 STD { int|netbsd32||semget(netbsd32_key_t key, int nsems, \
445 int semflg); } 450 int semflg); }
446222 STD { int|netbsd32||semop(int semid, \ 451222 STD { int|netbsd32||semop(int semid, \
447 netbsd32_sembufp_t sops, netbsd32_size_t nsops); } 452 netbsd32_sembufp_t sops, netbsd32_size_t nsops); }
448223 STD { int|netbsd32||semconfig(int flag); } 453223 STD { int|netbsd32||semconfig(int flag); }
449#else 454#else
450220 EXCL compat_14_netbsd32_semctl 455220 EXCL compat_14_netbsd32_semctl
451221 EXCL netbsd32_semget 456221 EXCL netbsd32_semget
452222 EXCL netbsd32_semop 457222 EXCL netbsd32_semop
453223 EXCL netbsd32_semconfig 458223 EXCL netbsd32_semconfig
454#endif 459#endif
455#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 460#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
456224 COMPAT_14 { int|netbsd32||msgctl(int msqid, int cmd, \ 461224 COMPAT_14 { int|netbsd32||msgctl(int msqid, int cmd, \
457 netbsd32_msqid_ds14p_t buf); } 462 netbsd32_msqid_ds14p_t buf); }
458225 STD { int|netbsd32||msgget(netbsd32_key_t key, int msgflg); } 463225 STD { int|netbsd32||msgget(netbsd32_key_t key, int msgflg); }
459226 STD { int|netbsd32||msgsnd(int msqid, netbsd32_voidp msgp, \ 464226 STD { int|netbsd32||msgsnd(int msqid, netbsd32_voidp msgp, \
460 netbsd32_size_t msgsz, int msgflg); } 465 netbsd32_size_t msgsz, int msgflg); }
461227 STD { netbsd32_ssize_t|netbsd32||msgrcv(int msqid, \ 466227 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
465224 EXCL compat_14_netbsd32_msgctl 470224 EXCL compat_14_netbsd32_msgctl
466225 EXCL netbsd32_msgget 471225 EXCL netbsd32_msgget
467226 EXCL netbsd32_msgsnd 472226 EXCL netbsd32_msgsnd
468227 EXCL netbsd32_msgrcv 473227 EXCL netbsd32_msgrcv
469#endif 474#endif
470#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 475#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
471228 STD { netbsd32_voidp|netbsd32||shmat(int shmid, \ 476228 STD { netbsd32_voidp|netbsd32||shmat(int shmid, \
472 netbsd32_voidp shmaddr, int shmflg); } 477 netbsd32_voidp shmaddr, int shmflg); }
473229 COMPAT_14 { int|netbsd32||shmctl(int shmid, int cmd, \ 478229 COMPAT_14 { int|netbsd32||shmctl(int shmid, int cmd, \
474 netbsd32_shmid_dsp_t buf); } 479 netbsd32_shmid_dsp_t buf); }
475230 STD { int|netbsd32||shmdt(netbsd32_voidp shmaddr); } 480230 STD { int|netbsd32||shmdt(netbsd32_voidp shmaddr); }
476231 STD { int|netbsd32||shmget(netbsd32_key_t key, \ 481231 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
479228 EXCL netbsd32_shmat 484228 EXCL netbsd32_shmat
480229 EXCL compat_14_netbsd32_shmctl 485229 EXCL compat_14_netbsd32_shmctl
481230 EXCL netbsd32_shmdt 486230 EXCL netbsd32_shmdt
482231 EXCL netbsd32_shmget 487231 EXCL netbsd32_shmget
483#endif 488#endif
484232 COMPAT_50 { int|netbsd32||clock_gettime( \ 489232 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); }
487233 COMPAT_50 { int|netbsd32||clock_settime( \ 492233 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); }
490234 COMPAT_50 { int|netbsd32||clock_getres( \ 495234 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); }
493235 STD { int|netbsd32||timer_create( \ 498235 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); }
497236 STD { int|netbsd32||timer_delete(netbsd32_timer_t timerid); } 502236 STD { int|netbsd32||timer_delete(netbsd32_timer_t timerid); }
498237 COMPAT_50 { int|netbsd32||timer_settime(netbsd32_timer_t timerid, \ 503237 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); }
502238 COMPAT_50 { int|netbsd32||timer_gettime(netbsd32_timer_t timerid, \ 507238 COMPAT_50 { int|netbsd32||timer_gettime(netbsd32_timer_t timerid, \
503 netbsd32_itimerspec50p_t value); } 508 netbsd32_itimerspec50p_t value); }
504239 STD { int|netbsd32||timer_getoverrun( \ 509239 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;
509240 COMPAT_50 { int|netbsd32||nanosleep(netbsd32_timespec50p_t rqtp, \ 514240 COMPAT_50 { int|netbsd32||nanosleep(netbsd32_timespec50p_t rqtp, \
510 netbsd32_timespec50p_t rmtp); } 515 netbsd32_timespec50p_t rmtp); }
511241 STD { int|netbsd32||fdatasync(int fd); } 516241 STD { int|netbsd32||fdatasync(int fd); }
512242 STD { int|netbsd32||mlockall(int flags); } 517242 STD { int|netbsd32||mlockall(int flags); }
513243 NOARGS { int|sys||munlockall(void); } 518243 NOARGS { int|sys||munlockall(void); }
514244 COMPAT_50 { int|netbsd32||__sigtimedwait(netbsd32_sigsetp_t set, \ 519244 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); }
517245 UNIMPL 522245 UNIMPL
518246 UNIMPL 523246 UNIMPL
519247 STD { int|netbsd32||_ksem_init(unsigned int value, \ 524247 STD { int|netbsd32||_ksem_init(unsigned int value, \
520 netbsd32_semidp_t idp); } 525 netbsd32_semidp_t idp); }
521248 STD { int|netbsd32||_ksem_open(netbsd32_charp name, \ 526248 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); }
524249 STD { int|netbsd32||_ksem_unlink(netbsd32_charp name); } 529249 STD { int|netbsd32||_ksem_unlink(netbsd32_charp name); }
525250 STD { int|netbsd32||_ksem_close(netbsd32_intptr_t id); } 530250 STD { int|netbsd32||_ksem_close(netbsd32_intptr_t id); }
526251 STD { int|netbsd32||_ksem_post(netbsd32_intptr_t id); } 531251 STD { int|netbsd32||_ksem_post(netbsd32_intptr_t id); }
527252 STD { int|netbsd32||_ksem_wait(netbsd32_intptr_t id); } 532252 STD { int|netbsd32||_ksem_wait(netbsd32_intptr_t id); }
528253 STD { int|netbsd32||_ksem_trywait(netbsd32_intptr_t id); } 533253 STD { int|netbsd32||_ksem_trywait(netbsd32_intptr_t id); }
529254 STD { int|netbsd32||_ksem_getvalue(netbsd32_intptr_t id, \ 534254 STD { int|netbsd32||_ksem_getvalue(netbsd32_intptr_t id, \
530 netbsd32_intp value); } 535 netbsd32_intp value); }
531255 STD { int|netbsd32||_ksem_destroy(netbsd32_intptr_t id); } 536255 STD { int|netbsd32||_ksem_destroy(netbsd32_intptr_t id); }
532256 STD { int|netbsd32||_ksem_timedwait(intptr_t id, \ 537256 STD { int|netbsd32||_ksem_timedwait(intptr_t id, \
533 const netbsd32_timespecp_t abstime); } 538 const netbsd32_timespecp_t abstime); }
534257 UNIMPL 539257 UNIMPL
535258 UNIMPL 540258 UNIMPL
536259 UNIMPL 541259 UNIMPL
537260 UNIMPL 542260 UNIMPL
538261 UNIMPL 543261 UNIMPL
539262 UNIMPL 544262 UNIMPL
540263 UNIMPL 545263 UNIMPL
541264 UNIMPL 546264 UNIMPL
542265 UNIMPL 547265 UNIMPL
543266 UNIMPL 548266 UNIMPL
544267 UNIMPL 549267 UNIMPL
545268 UNIMPL 550268 UNIMPL
546269 UNIMPL 551269 UNIMPL
547270 STD { int|netbsd32||__posix_rename(netbsd32_charp from, \ 552270 STD { int|netbsd32||__posix_rename(netbsd32_charp from, \
548 netbsd32_charp to); } 553 netbsd32_charp to); }
549271 STD { int|netbsd32||swapctl(int cmd, netbsd32_voidp arg, \ 554271 STD { int|netbsd32||swapctl(int cmd, netbsd32_voidp arg, \
550 int misc); } 555 int misc); }
551272 COMPAT_30 { int|netbsd32||getdents(int fd, netbsd32_charp buf, \ 556272 COMPAT_30 { int|netbsd32||getdents(int fd, netbsd32_charp buf, \
552 netbsd32_size_t count); } 557 netbsd32_size_t count); }
553273 STD { int|netbsd32||minherit(netbsd32_voidp addr, \ 558273 STD { int|netbsd32||minherit(netbsd32_voidp addr, \
554 netbsd32_size_t len, int inherit); } 559 netbsd32_size_t len, int inherit); }
555274 STD { int|netbsd32||lchmod(netbsd32_charp path, \ 560274 STD { int|netbsd32||lchmod(netbsd32_charp path, \
556 mode_t mode); } 561 mode_t mode); }
557275 STD { int|netbsd32||lchown(netbsd32_charp path, uid_t uid, \ 562275 STD { int|netbsd32||lchown(netbsd32_charp path, uid_t uid, \
558 gid_t gid); } 563 gid_t gid); }
559276 COMPAT_50 { int|netbsd32||lutimes(netbsd32_charp path, \ 564276 COMPAT_50 { int|netbsd32||lutimes(netbsd32_charp path, \
560 netbsd32_timeval50p_t tptr); } 565 netbsd32_timeval50p_t tptr); }
561277 STD { int|netbsd32|13|msync(netbsd32_voidp addr, \ 566277 STD { int|netbsd32|13|msync(netbsd32_voidp addr, \
562 netbsd32_size_t len, int flags); } 567 netbsd32_size_t len, int flags); }
563278 COMPAT_30 { int|netbsd32|13|stat(netbsd32_charp path, \ 568278 COMPAT_30 { int|netbsd32|13|stat(netbsd32_charp path, \
564 netbsd32_stat13p_t ub); } 569 netbsd32_stat13p_t ub); }
565279 COMPAT_30 { int|netbsd32|13|fstat(int fd, \ 570279 COMPAT_30 { int|netbsd32|13|fstat(int fd, \
566 netbsd32_stat13p_t sb); } 571 netbsd32_stat13p_t sb); }
567280 COMPAT_30 { int|netbsd32|13|lstat(netbsd32_charp path, \ 572280 COMPAT_30 { int|netbsd32|13|lstat(netbsd32_charp path, \
568 netbsd32_stat13p_t ub); } 573 netbsd32_stat13p_t ub); }
569281 STD { int|netbsd32|14|sigaltstack(\ 574281 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); }
572282 NOARGS { int|sys|14|vfork(void); } 577282 NOARGS { int|sys|14|vfork(void); }
573283 STD { int|netbsd32||__posix_chown(netbsd32_charp path, \ 578283 STD { int|netbsd32||__posix_chown(netbsd32_charp path, \
574 uid_t uid, gid_t gid); } 579 uid_t uid, gid_t gid); }
575284 STD { int|netbsd32||__posix_fchown(int fd, uid_t uid, \ 580284 STD { int|netbsd32||__posix_fchown(int fd, uid_t uid, \
576 gid_t gid); } 581 gid_t gid); }
577285 STD { int|netbsd32||__posix_lchown(netbsd32_charp path, \ 582285 STD { int|netbsd32||__posix_lchown(netbsd32_charp path, \
578 uid_t uid, gid_t gid); } 583 uid_t uid, gid_t gid); }
579286 STD { pid_t|netbsd32||getsid(pid_t pid); } 584286 STD { pid_t|netbsd32||getsid(pid_t pid); }
580287 STD { int|netbsd32||__clone(int flags, \ 585287 STD { int|netbsd32||__clone(int flags, \
581 netbsd32_voidp stack); } 586 netbsd32_voidp stack); }
582288 STD { int|netbsd32||fktrace(int fd, int ops, int facs, \ 587288 STD { int|netbsd32||fktrace(int fd, int ops, int facs, \
583 int pid); } 588 int pid); }
584289 STD { netbsd32_ssize_t|netbsd32||preadv(int fd, \ 589289 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); }
587290 STD { netbsd32_ssize_t|netbsd32||pwritev(int fd, \ 592290 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); }
590291 STD { int|netbsd32|14|sigaction(int signum, \ 595291 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); }
593292 STD { int|netbsd32|14|sigpending(netbsd32_sigsetp_t set); } 598292 STD { int|netbsd32|14|sigpending(netbsd32_sigsetp_t set); }
594293 STD { int|netbsd32|14|sigprocmask(int how, \ 599293 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); }
597294 STD { int|netbsd32|14|sigsuspend(netbsd32_sigsetp_t set); } 602294 STD { int|netbsd32|14|sigsuspend(netbsd32_sigsetp_t set); }
598295 COMPAT_16 { int|netbsd32|14|sigreturn( \ 603295 COMPAT_16 { int|netbsd32|14|sigreturn( \
599 netbsd32_sigcontextp_t sigcntxp); } 604 netbsd32_sigcontextp_t sigcntxp); }
600296 STD { int|netbsd32||__getcwd(netbsd32_charp bufp, \ 605296 STD { int|netbsd32||__getcwd(netbsd32_charp bufp, \
601 netbsd32_size_t length); } 606 netbsd32_size_t length); }
602297 STD { int|netbsd32||fchroot(int fd); } 607297 STD { int|netbsd32||fchroot(int fd); }
603298 COMPAT_30 { int|netbsd32||fhopen(netbsd32_fhandlep_t fhp, \ 608298 COMPAT_30 { int|netbsd32||fhopen(netbsd32_fhandlep_t fhp, \
604 int flags); } 609 int flags); }
605299 COMPAT_30 { int|netbsd32||fhstat(netbsd32_fhandlep_t fhp, \ 610299 COMPAT_30 { int|netbsd32||fhstat(netbsd32_fhandlep_t fhp, \
606 netbsd32_stat13p_t sb); } 611 netbsd32_stat13p_t sb); }
607300 COMPAT_20 { int|netbsd32||fhstatfs(netbsd32_fhandlep_t fhp, \ 612300 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)
610301 COMPAT_50 { int|netbsd32|14|semctl(int semid, int semnum, \ 615301 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
613301 EXCL __semctl14 618301 EXCL __semctl14
614#endif 619#endif
615#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 620#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
616302 COMPAT_50 { int|netbsd32|13|msgctl(int msqid, int cmd, \ 621302 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
619302 EXCL __msgctl13 624302 EXCL __msgctl13
620#endif 625#endif
621#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 626#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
622303 COMPAT_50 { int|netbsd32|13|shmctl(int shmid, int cmd, \ 627303 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
625303 EXCL __shmctl13 630303 EXCL __shmctl13
626#endif 631#endif
627304 STD { int|netbsd32||lchflags(netbsd32_charp path, \ 632304 STD { int|netbsd32||lchflags(netbsd32_charp path, \
628 netbsd32_u_long flags); } 633 netbsd32_u_long flags); }
629305 NOARGS { int|sys||issetugid(void); } 634305 NOARGS { int|sys||issetugid(void); }
630306 STD { int|netbsd32||utrace(netbsd32_charp label, \ 635306 STD { int|netbsd32||utrace(netbsd32_charp label, \
631 netbsd32_voidp addr, netbsd32_size_t len); } 636 netbsd32_voidp addr, netbsd32_size_t len); }
632307 STD { int|netbsd32||getcontext(netbsd32_ucontextp ucp); } 637307 STD { int|netbsd32||getcontext(netbsd32_ucontextp ucp); }
633308 STD { int|netbsd32||setcontext(netbsd32_ucontextp ucp); } 638308 STD { int|netbsd32||setcontext(netbsd32_ucontextp ucp); }
634309 STD { int|netbsd32||_lwp_create(netbsd32_ucontextp ucp, \ 639309 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); }
636310 NOARGS { int|sys||_lwp_exit(void); } 641310 NOARGS { int|sys||_lwp_exit(void); }
637311 NOARGS { lwpid_t|sys||_lwp_self(void); } 642311 NOARGS { lwpid_t|sys||_lwp_self(void); }
638312 STD { int|netbsd32||_lwp_wait(lwpid_t wait_for, \ 643312 STD { int|netbsd32||_lwp_wait(lwpid_t wait_for, \
639 netbsd32_lwpidp departed); } 644 netbsd32_lwpidp departed); }
640313 STD { int|netbsd32||_lwp_suspend(lwpid_t target); } 645313 STD { int|netbsd32||_lwp_suspend(lwpid_t target); }
641314 STD { int|netbsd32||_lwp_continue(lwpid_t target); } 646314 STD { int|netbsd32||_lwp_continue(lwpid_t target); }
642315 STD { int|netbsd32||_lwp_wakeup(lwpid_t target); } 647315 STD { int|netbsd32||_lwp_wakeup(lwpid_t target); }
643316 NOARGS { netbsd32_voidp|sys||_lwp_getprivate(void); } 648316 NOARGS { netbsd32_voidp|sys||_lwp_getprivate(void); }
644317 STD { void|netbsd32||_lwp_setprivate(netbsd32_voidp ptr); } 649317 STD { void|netbsd32||_lwp_setprivate(netbsd32_voidp ptr); }
645318 STD { int|netbsd32||_lwp_kill(lwpid_t target, int signo); } 650318 STD { int|netbsd32||_lwp_kill(lwpid_t target, int signo); }
646319 STD { int|netbsd32||_lwp_detach(lwpid_t target); } 651319 STD { int|netbsd32||_lwp_detach(lwpid_t target); }
647320 COMPAT_50 { int|netbsd32||_lwp_park(netbsd32_timespec50p_t ts, \ 652320 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); }
650321 STD { int|netbsd32||_lwp_unpark(lwpid_t target, \ 655321 STD { int|netbsd32||_lwp_unpark(lwpid_t target, \
651 netbsd32_voidp hint); } 656 netbsd32_voidp hint); }
652322 STD { netbsd32_size_t|netbsd32||_lwp_unpark_all( \ 657322 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); }
655323 STD { int|netbsd32||_lwp_setname(lwpid_t target, \ 660323 STD { int|netbsd32||_lwp_setname(lwpid_t target, \
656 netbsd32_charp name); } 661 netbsd32_charp name); }
657324 STD { int|netbsd32||_lwp_getname(lwpid_t target, \ 662324 STD { int|netbsd32||_lwp_getname(lwpid_t target, \
658 netbsd32_charp name, netbsd32_size_t len); } 663 netbsd32_charp name, netbsd32_size_t len); }
659325 STD { int|netbsd32||_lwp_ctl(int features, \ 664325 STD { int|netbsd32||_lwp_ctl(int features, \
660 netbsd32_pointer_t address); } 665 netbsd32_pointer_t address); }
661326 UNIMPL 666326 UNIMPL
662327 UNIMPL 667327 UNIMPL
663328 UNIMPL 668328 UNIMPL
664329 UNIMPL 669329 UNIMPL
665330 OBSOL netbsd32_sa_register 670330 OBSOL netbsd32_sa_register
666331 OBSOL netbsd32_sa_stacks 671331 OBSOL netbsd32_sa_stacks
667332 OBSOL sa_enable 672332 OBSOL sa_enable
668333 OBSOL netbsd32_sa_setconcurrency 673333 OBSOL netbsd32_sa_setconcurrency
669334 OBSOL sa_yield 674334 OBSOL sa_yield
670335 OBSOL netbsd32_sa_preempt 675335 OBSOL netbsd32_sa_preempt
671336 OBSOL sys_sa_unblockyield 676336 OBSOL sys_sa_unblockyield
672337 UNIMPL 677337 UNIMPL
673338 UNIMPL 678338 UNIMPL
674339 UNIMPL 679339 UNIMPL
675340 STD { int|netbsd32||__sigaction_sigtramp(int signum, \ 680340 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); }
679341 UNIMPL 684341 UNIMPL
680342 UNIMPL 685342 UNIMPL
681343 STD { int|netbsd32||rasctl(netbsd32_voidp addr, \ 686343 STD { int|netbsd32||rasctl(netbsd32_voidp addr, \
682 netbsd32_size_t len, int op); } 687 netbsd32_size_t len, int op); }
683344 NOARGS { int|sys||kqueue(void); } 688344 NOARGS { int|sys||kqueue(void); }
684345 COMPAT_50 { int|netbsd32||kevent(int fd, \ 689345 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.
691346 STD { int|netbsd32||_sched_setparam(pid_t pid, lwpid_t lid, \ 696346 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); }
693347 STD { int|netbsd32||_sched_getparam(pid_t pid, lwpid_t lid, \ 698347 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); }
696348 STD { int|netbsd32||_sched_setaffinity(pid_t pid, \ 701348 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); }
699349 STD { int|netbsd32||_sched_getaffinity(pid_t pid, \ 704349 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); }
702350 NOARGS { int|sys||sched_yield(void); } 707350 NOARGS { int|sys||sched_yield(void); }
703351 UNIMPL 708351 UNIMPL
704352 UNIMPL 709352 UNIMPL
705353 UNIMPL 710353 UNIMPL
706354 STD { int|netbsd32||fsync_range(int fd, int flags, \ 711354 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); }
708355 STD { int|netbsd32||uuidgen(netbsd32_uuidp_t store, \ 713355 STD { int|netbsd32||uuidgen(netbsd32_uuidp_t store, \
709 int count); } 714 int count); }
710356 STD { int|netbsd32||getvfsstat(netbsd32_statvfsp_t buf, \ 715356 STD { int|netbsd32||getvfsstat(netbsd32_statvfsp_t buf, \
711 netbsd32_size_t bufsize, int flags); } 716 netbsd32_size_t bufsize, int flags); }
712357 STD { int|netbsd32||statvfs1(netbsd32_charp path, \ 717357 STD { int|netbsd32||statvfs1(netbsd32_charp path, \
713 netbsd32_statvfsp_t buf, int flags); } 718 netbsd32_statvfsp_t buf, int flags); }
714358 STD { int|netbsd32||fstatvfs1(int fd, \ 719358 STD { int|netbsd32||fstatvfs1(int fd, \
715 netbsd32_statvfsp_t buf, int flags); } 720 netbsd32_statvfsp_t buf, int flags); }
716359 COMPAT_30 { int|netbsd32||fhstatvfs1(netbsd32_fhandlep_t fhp, \ 721359 COMPAT_30 { int|netbsd32||fhstatvfs1(netbsd32_fhandlep_t fhp, \
717 netbsd32_statvfsp_t buf, int flags); } 722 netbsd32_statvfsp_t buf, int flags); }
718360 STD { int|netbsd32||extattrctl(netbsd32_charp path, \ 723360 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); }
721361 STD { int|netbsd32||extattr_set_file(netbsd32_charp path, \ 726361 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); }
724362 STD { int|netbsd32||extattr_get_file(netbsd32_charp path, \ 729362 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); }
727363 STD { int|netbsd32||extattr_delete_file( \ 732363 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); }
730364 STD { int|netbsd32||extattr_set_fd(int fd, \ 735364 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); }
733365 STD { int|netbsd32||extattr_get_fd(int fd, \ 738365 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); }
736366 STD { int|netbsd32||extattr_delete_fd(int fd, \ 741366 STD { int|netbsd32||extattr_delete_fd(int fd, \
737 int attrnamespace, netbsd32_charp attrname); } 742 int attrnamespace, netbsd32_charp attrname); }
738367 STD { int|netbsd32||extattr_set_link(netbsd32_charp path, \ 743367 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); }
741368 STD { int|netbsd32||extattr_get_link(netbsd32_charp path, \ 746368 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); }
744369 STD { int|netbsd32||extattr_delete_link( \ 749369 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); }
747370 STD { int|netbsd32||extattr_list_fd(int fd, \ 752370 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); }
750371 STD { int|netbsd32||extattr_list_file(netbsd32_charp path, \ 755371 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); }
753372 STD { int|netbsd32||extattr_list_link(netbsd32_charp path, \ 758372 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); }
756373 COMPAT_50 { int|netbsd32||pselect(int nd, netbsd32_fd_setp_t in, \ 761373 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); }
760374 COMPAT_50 { int|netbsd32||pollts(netbsd32_pollfdp_t fds, \ 765374 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); }
763375 STD { int|netbsd32||setxattr(netbsd32_charp path, \ 768375 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); }
766376 STD { int|netbsd32||lsetxattr(netbsd32_charp path, \ 771376 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); }
769377 STD { int|netbsd32||fsetxattr(int fd, \ 774377 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); }
772378 STD { int|netbsd32||getxattr(netbsd32_charp path, \ 777378 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); }
775379 STD { int|netbsd32||lgetxattr(netbsd32_charp path, \ 780379 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); }
778380 STD { int|netbsd32||fgetxattr(int fd, \ 783380 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); }
781381 STD { int|netbsd32||listxattr(netbsd32_charp path, \ 786381 STD { int|netbsd32||listxattr(netbsd32_charp path, \
782 netbsd32_charp list, netbsd32_size_t size); } 787 netbsd32_charp list, netbsd32_size_t size); }
783382 STD { int|netbsd32||llistxattr(netbsd32_charp path, \ 788382 STD { int|netbsd32||llistxattr(netbsd32_charp path, \
784 netbsd32_charp list, netbsd32_size_t size); } 789 netbsd32_charp list, netbsd32_size_t size); }
785383 STD { int|netbsd32||flistxattr(int fd, \ 790383 STD { int|netbsd32||flistxattr(int fd, \
786 netbsd32_charp list, netbsd32_size_t size); } 791 netbsd32_charp list, netbsd32_size_t size); }
787384 STD { int|netbsd32||removexattr(netbsd32_charp path, \ 792384 STD { int|netbsd32||removexattr(netbsd32_charp path, \
788 netbsd32_charp name); } 793 netbsd32_charp name); }
789385 STD { int|netbsd32||lremovexattr(netbsd32_charp path, \ 794385 STD { int|netbsd32||lremovexattr(netbsd32_charp path, \
790 netbsd32_charp name); } 795 netbsd32_charp name); }
791386 STD { int|netbsd32||fremovexattr(int fd, \ 796386 STD { int|netbsd32||fremovexattr(int fd, \
792 netbsd32_charp name); } 797 netbsd32_charp name); }
793387 COMPAT_50 { int|netbsd32|30|stat(netbsd32_charp path, \ 798387 COMPAT_50 { int|netbsd32|30|stat(netbsd32_charp path, \
794 netbsd32_stat50p_t ub); } 799 netbsd32_stat50p_t ub); }
795388 COMPAT_50 { int|netbsd32|30|fstat(int fd, \ 800388 COMPAT_50 { int|netbsd32|30|fstat(int fd, \
796 netbsd32_stat50p_t sb); } 801 netbsd32_stat50p_t sb); }
797389 COMPAT_50 { int|netbsd32|30|lstat( \ 802389 COMPAT_50 { int|netbsd32|30|lstat( \
798 netbsd32_charp path, netbsd32_stat50p_t ub); } 803 netbsd32_charp path, netbsd32_stat50p_t ub); }
799390 STD { int|netbsd32|30|getdents(int fd, \ 804390 STD { int|netbsd32|30|getdents(int fd, \
800 netbsd32_charp buf, netbsd32_size_t count); } 805 netbsd32_charp buf, netbsd32_size_t count); }
801391 IGNORED old posix fadvise 806391 IGNORED old posix fadvise
802392 COMPAT_30 { int|netbsd32|30|fhstat( \ 807392 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)
806393 COMPAT_50 { int|netbsd32||ntp_gettime( \ 811393 COMPAT_50 { int|netbsd32||ntp_gettime( \
807 netbsd32_ntptimeval50p_t ntvp); } 812 netbsd32_ntptimeval50p_t ntvp); }
808#else 813#else
809393 EXCL __ntp_gettime30 814393 EXCL __ntp_gettime30
810#endif 815#endif
811394 STD { int|netbsd32|30|socket(int domain, int type, \ 816394 STD { int|netbsd32|30|socket(int domain, int type, \
812 int protocol); } 817 int protocol); }
813395 STD { int|netbsd32|30|getfh(netbsd32_charp fname, \ 818395 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); }
815396 STD { int|netbsd32|40|fhopen(netbsd32_pointer_t fhp, \ 820396 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); }
817397 STD { int|netbsd32|40|fhstatvfs1( \ 822397 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); }
820398 COMPAT_50 { int|netbsd32|40|fhstat( \ 825398 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
825399 UNIMPL sys_aio_cancel 830399 UNIMPL sys_aio_cancel
826400 UNIMPL sys_aio_error 831400 UNIMPL sys_aio_error
827401 UNIMPL sys_aio_fsync 832401 UNIMPL sys_aio_fsync
828402 UNIMPL sys_aio_read 833402 UNIMPL sys_aio_read
829403 UNIMPL sys_aio_return 834403 UNIMPL sys_aio_return
830404 UNIMPL sys_aio_suspend 835404 UNIMPL sys_aio_suspend
831405 UNIMPL sys_aio_write 836405 UNIMPL sys_aio_write
832406 UNIMPL sys_lio_listio 837406 UNIMPL sys_lio_listio
833 838
834407 UNIMPL 839407 UNIMPL
835408 UNIMPL 840408 UNIMPL
836409 UNIMPL 841409 UNIMPL
837 842
838410 STD { int|netbsd32||__mount50(netbsd32_charp type, \ 843410 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); }
841411 STD { netbsd32_voidp|netbsd32||mremap( \ 846411 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
847412 UNIMPL 852412 UNIMPL
848413 UNIMPL 853413 UNIMPL
849414 UNIMPL 854414 UNIMPL
850415 UNIMPL 855415 UNIMPL
851 856
852416 STD { int|netbsd32|50|posix_fadvise(int fd, int PAD, \ 857416 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); }
854417 STD { int|netbsd32|50|select(int nd, \ 859417 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); }
857418 STD { int|netbsd32|50|gettimeofday( \ 862418 STD { int|netbsd32|50|gettimeofday( \
858 netbsd32_timevalp_t tp, netbsd32_voidp tzp); } 863 netbsd32_timevalp_t tp, netbsd32_voidp tzp); }
859419 STD { int|netbsd32|50|settimeofday( \ 864419 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); }
862420 STD { int|netbsd32|50|utimes(const netbsd32_charp path, \ 867420 STD { int|netbsd32|50|utimes(const netbsd32_charp path, \
863 const netbsd32_timevalp_t tptr); } 868 const netbsd32_timevalp_t tptr); }
864421 STD { int|netbsd32|50|adjtime( \ 869421 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); }
867422 EXCL __lfs_segwait50 872422 EXCL __lfs_segwait50
868423 STD { int|netbsd32|50|futimes(int fd, \ 873423 STD { int|netbsd32|50|futimes(int fd, \
869 const netbsd32_timevalp_t tptr); } 874 const netbsd32_timevalp_t tptr); }
870424 STD { int|netbsd32|50|lutimes(const netbsd32_charp path, \ 875424 STD { int|netbsd32|50|lutimes(const netbsd32_charp path, \
871 const netbsd32_timevalp_t tptr); } 876 const netbsd32_timevalp_t tptr); }
872425 STD { int|netbsd32|50|setitimer(int which, \ 877425 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); }
875426 STD { int|netbsd32|50|getitimer(int which, \ 880426 STD { int|netbsd32|50|getitimer(int which, \
876 netbsd32_itimervalp_t itv); } 881 netbsd32_itimervalp_t itv); }
877427 STD { int|netbsd32|50|clock_gettime(clockid_t clock_id, \ 882427 STD { int|netbsd32|50|clock_gettime(clockid_t clock_id, \
878 netbsd32_timespecp_t tp); } 883 netbsd32_timespecp_t tp); }
879428 STD { int|netbsd32|50|clock_settime(clockid_t clock_id, \ 884428 STD { int|netbsd32|50|clock_settime(clockid_t clock_id, \
880 const netbsd32_timespecp_t tp); } 885 const netbsd32_timespecp_t tp); }
881429 STD { int|netbsd32|50|clock_getres(clockid_t clock_id, \ 886429 STD { int|netbsd32|50|clock_getres(clockid_t clock_id, \
882 netbsd32_timespecp_t tp); } 887 netbsd32_timespecp_t tp); }
883430 STD { int|netbsd32|50|nanosleep( \ 888430 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); }
886431 STD { int|netbsd32|50|__sigtimedwait( \ 891431 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); }
890432 UNIMPL netbsd32___mq_timedsend50 895432 UNIMPL netbsd32___mq_timedsend50
891433 UNIMPL netbsd32___mq_timedreceive50 896433 UNIMPL netbsd32___mq_timedreceive50
892434 COMPAT_60 { int|netbsd32||_lwp_park( \ 897434 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); }
896435 STD { int|netbsd32|50|kevent(int fd, \ 901435 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); }
902436 STD { int|netbsd32|50|pselect(int nd, \ 907436 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); }
908437 STD { int|netbsd32|50|pollts(netbsd32_pollfdp_t fds, \ 913437 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); }
911438 UNIMPL netbsd32___aio_suspend50 916438 UNIMPL netbsd32___aio_suspend50
912439 STD { int|netbsd32|50|stat(const netbsd32_charp path, \ 917439 STD { int|netbsd32|50|stat(const netbsd32_charp path, \
913 netbsd32_statp_t ub); } 918 netbsd32_statp_t ub); }
914440 STD { int|netbsd32|50|fstat(int fd, netbsd32_statp_t sb); } 919440 STD { int|netbsd32|50|fstat(int fd, netbsd32_statp_t sb); }
915441 STD { int|netbsd32|50|lstat(const netbsd32_charp path, \ 920441 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)
918442 STD { int|netbsd32|50|__semctl(int semid, int semnum, \ 923442 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
921442 EXCL ____semctl50 926442 EXCL ____semctl50
922#endif 927#endif
923#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 928#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
924443 STD { int|netbsd32|50|shmctl(int shmid, int cmd, \ 929443 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
927443 EXCL ____shmctl50 932443 EXCL ____shmctl50
928#endif 933#endif
929#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 934#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
930444 STD { int|netbsd32|50|msgctl(int msqid, int cmd, \ 935444 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
933444 EXCL ____msgctl50 938444 EXCL ____msgctl50
934#endif 939#endif
935445 STD { int|netbsd32|50|getrusage(int who, \ 940445 STD { int|netbsd32|50|getrusage(int who, \
936 netbsd32_rusagep_t rusage); } 941 netbsd32_rusagep_t rusage); }
937446 STD { int|netbsd32|50|timer_settime(timer_t timerid, \ 942446 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); }
940447 STD { int|netbsd32|50|timer_gettime(timer_t timerid, \ 945447 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)
943448 STD { int|netbsd32|50|ntp_gettime( \ 948448 STD { int|netbsd32|50|ntp_gettime( \
944 netbsd32_ntptimevalp_t ntvp); } 949 netbsd32_ntptimevalp_t ntvp); }
945#else 950#else
946448 EXCL ___ntp_gettime50 951448 EXCL ___ntp_gettime50
947#endif 952#endif
948449 STD { int|netbsd32|50|wait4(int pid, \ 953449 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); }
951450 STD { int|netbsd32|50|mknod(const netbsd32_charp path, \ 956450 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); }
953451 STD { int|netbsd32|50|fhstat(const netbsd32_voidp fhp, \ 958451 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); }
955452 OBSOL 5.99 quotactl 960452 OBSOL 5.99 quotactl
956453 STD { int|netbsd32||pipe2(netbsd32_intp fildes, int flags); } 961453 STD { int|netbsd32||pipe2(netbsd32_intp fildes, int flags); }
957454 STD { int|netbsd32||dup3(int from, int to, int flags); } 962454 STD { int|netbsd32||dup3(int from, int to, int flags); }
958455 STD { int|netbsd32||kqueue1(int flags); } 963455 STD { int|netbsd32||kqueue1(int flags); }
959456 STD { int|netbsd32||paccept(int s, \ 964456 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); }
964457 STD { int|netbsd32||linkat(int fd1, \ 969457 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); }
969458 STD { int|netbsd32||renameat(int fromfd, \ 974458 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); }
973459 STD { int|netbsd32||mkfifoat(int fd, \ 978459 STD { int|netbsd32||mkfifoat(int fd, \
974 const netbsd32_charp path, \ 979 const netbsd32_charp path, \
975 mode_t mode); } 980 mode_t mode); }
976460 STD { int|netbsd32||mknodat(int fd, \ 981460 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); }
980461 STD { int|netbsd32||mkdirat(int fd, \ 985461 STD { int|netbsd32||mkdirat(int fd, \
981 const netbsd32_charp path, \ 986 const netbsd32_charp path, \
982 mode_t mode); } 987 mode_t mode); }
983462 STD { int|netbsd32||faccessat(int fd, \ 988462 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); }
987463 STD { int|netbsd32||fchmodat(int fd, \ 992463 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); }
991464 STD { int|netbsd32||fchownat(int fd, \ 996464 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); }
996465 STD { int|netbsd32||fexecve(int fd, \ 1001465 STD { int|netbsd32||fexecve(int fd, \
997 netbsd32_charpp argp, \ 1002 netbsd32_charpp argp, \
998 netbsd32_charpp envp); } 1003 netbsd32_charpp envp); }
999466 STD { int|netbsd32||fstatat(int fd, \ 1004466 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); }
1003467 STD { int|netbsd32||utimensat(int fd, \ 1008467 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); }
1007468 STD { int|netbsd32||openat(int fd, \ 1012468 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); }
1011469 STD { netbsd32_ssize_t|netbsd32||readlinkat(int fd, \ 1016469 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); }
1015470 STD { int|netbsd32||symlinkat(const netbsd32_charp path1, \ 1020470 STD { int|netbsd32||symlinkat(const netbsd32_charp path1, \
1016 int fd, \ 1021 int fd, \
1017 const netbsd32_charp path2); } 1022 const netbsd32_charp path2); }
1018471 STD { int|netbsd32||unlinkat(int fd, \ 1023471 STD { int|netbsd32||unlinkat(int fd, \
1019 const netbsd32_charp path, \ 1024 const netbsd32_charp path, \
1020 int flag); } 1025 int flag); }
1021472 STD { int|netbsd32||futimens(int fd, \ 1026472 STD { int|netbsd32||futimens(int fd, \
1022 const netbsd32_timespecp_t tptr); } 1027 const netbsd32_timespecp_t tptr); }
1023473 STD { int|netbsd32||__quotactl(const netbsd32_charp path, \ 1028473 STD { int|netbsd32||__quotactl(const netbsd32_charp path, \
1024 netbsd32_voidp args); } 1029 netbsd32_voidp args); }
1025474 NOERR { int|netbsd32||posix_spawn(netbsd32_pid_tp pid, \ 1030474 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
1032475 UNIMPL { int|netbsd32||recvmmsg(int s, struct mmsghdr *mmsg, \ 1037475 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); }
1035476 UNIMPL { int|netbsd32||sendmmsg(int s, struct mmsghdr *mmsg, \ 1040476 UNIMPL { int|netbsd32||sendmmsg(int s, struct mmsghdr *mmsg, \
1036 unsigned int vlen, unsigned int flags); } 1041 unsigned int vlen, unsigned int flags); }
1037477 STD { int|netbsd32||clock_nanosleep(\ 1042477 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); }
1041478 STD { int|netbsd32|60|_lwp_park(\ 1046478 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); }