Wed Mar 9 22:12:45 2011 UTC ()
actually, revert previous for now.  quotactl doesn't play with the
same rules as all the other compat functions.


(pooka)
diff -r1.247 -r1.248 src/sys/kern/syscalls.master

cvs diff -r1.247 -r1.248 src/sys/kern/syscalls.master (expand / switch to unified diff)

--- src/sys/kern/syscalls.master 2011/03/09 21:52:31 1.247
+++ src/sys/kern/syscalls.master 2011/03/09 22:12:45 1.248
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1 $NetBSD: syscalls.master,v 1.247 2011/03/09 21:52:31 pooka Exp $ 1 $NetBSD: syscalls.master,v 1.248 2011/03/09 22:12:45 pooka Exp $
2 2
3; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 3; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
4 4
5; NetBSD system call name/number "master" file. 5; NetBSD system call name/number "master" file.
6; (See syscalls.conf to see what it is processed into.) 6; (See syscalls.conf to see what it is processed into.)
7; 7;
8; Fields: number type [type-dependent ...] 8; Fields: number type [type-dependent ...]
9; number system call number, must be in order 9; number system call number, must be in order
10; type one of STD, OBSOL, UNIMPL, IGNORED, NODEF, NOARGS, or one of 10; type one of STD, OBSOL, UNIMPL, IGNORED, NODEF, NOARGS, or one of
11; the compatibility options defined in syscalls.conf. 11; the compatibility options defined in syscalls.conf.
12; 12;
13; Optional fields are specified after the type field 13; Optional fields are specified after the type field
14; (NOTE! they *must* be specified in this order): 14; (NOTE! they *must* be specified in this order):
@@ -272,27 +272,27 @@ @@ -272,27 +272,27 @@
272139 OBSOL 4.2 sigreturn 272139 OBSOL 4.2 sigreturn
273140 COMPAT_50 MODULAR { int|sys||adjtime(const struct timeval50 *delta, \ 273140 COMPAT_50 MODULAR { int|sys||adjtime(const struct timeval50 *delta, \
274 struct timeval50 *olddelta); } 274 struct timeval50 *olddelta); }
275141 COMPAT_43 MODULAR { int|sys||getpeername(int fdes, void *asa, \ 275141 COMPAT_43 MODULAR { int|sys||getpeername(int fdes, void *asa, \
276 int *alen); } ogetpeername 276 int *alen); } ogetpeername
277142 COMPAT_43 MODULAR { int32_t|sys||gethostid(void); } ogethostid 277142 COMPAT_43 MODULAR { int32_t|sys||gethostid(void); } ogethostid
278143 COMPAT_43 MODULAR { int|sys||sethostid(int32_t hostid); } osethostid 278143 COMPAT_43 MODULAR { int|sys||sethostid(int32_t hostid); } osethostid
279144 COMPAT_43 MODULAR { int|sys||getrlimit(int which, \ 279144 COMPAT_43 MODULAR { int|sys||getrlimit(int which, \
280 struct orlimit *rlp); } ogetrlimit 280 struct orlimit *rlp); } ogetrlimit
281145 COMPAT_43 MODULAR { int|sys||setrlimit(int which, \ 281145 COMPAT_43 MODULAR { int|sys||setrlimit(int which, \
282 const struct orlimit *rlp); } osetrlimit 282 const struct orlimit *rlp); } osetrlimit
283146 COMPAT_43 MODULAR { int|sys||killpg(int pgid, int signum); } okillpg 283146 COMPAT_43 MODULAR { int|sys||killpg(int pgid, int signum); } okillpg
284147 STD RUMP { int|sys||setsid(void); } 284147 STD RUMP { int|sys||setsid(void); }
285148 COMPAT_50 MODULAR RUMP { int|sys||quotactl(const char *path, int cmd, \ 285148 COMPAT_50 MODULAR { int|sys||quotactl(const char *path, int cmd, \
286 int uid, void *arg); } 286 int uid, void *arg); }
287149 COMPAT_43 MODULAR { int|sys||quota(void); } oquota 287149 COMPAT_43 MODULAR { int|sys||quota(void); } oquota
288150 COMPAT_43 MODULAR { int|sys||getsockname(int fdec, void *asa, \ 288150 COMPAT_43 MODULAR { int|sys||getsockname(int fdec, void *asa, \
289 int *alen); } ogetsockname 289 int *alen); } ogetsockname
290 290
291; Syscalls 151-180 inclusive are reserved for vendor-specific 291; Syscalls 151-180 inclusive are reserved for vendor-specific
292; system calls. (This includes various calls added for compatibity 292; system calls. (This includes various calls added for compatibity
293; with other Unix variants.) 293; with other Unix variants.)
294; Some of these calls are now supported by BSD... 294; Some of these calls are now supported by BSD...
295151 UNIMPL 295151 UNIMPL
296152 UNIMPL 296152 UNIMPL
297153 UNIMPL 297153 UNIMPL
298154 UNIMPL 298154 UNIMPL