summaryrefslogtreecommitdiff
path: root/sys/kern/syscalls.master
diff options
context:
space:
mode:
authorbouyer <bouyer@NetBSD.org>2011-03-06 17:08:10 +0000
committerbouyer <bouyer@NetBSD.org>2011-03-06 17:08:10 +0000
commit0367ea04357cc3132acde34301e004c31404e00a (patch)
treefbee7a75c9221f005c8e599dca212da52915cbe2 /sys/kern/syscalls.master
parente6c5a781a6101ca215918815f4f048df623ddf85 (diff)
merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs metadata. Usage is checked by fsck_ffs (no more quotacheck) and is covered by the WAPBL journal. Enabled with kernel option QUOTA2 (added where QUOTA was enabled in kernel config files), turned on with tunefs(8) on a per-filesystem basis. mount_mfs(8) can also turn quotas on. See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html for details.
Diffstat (limited to 'sys/kern/syscalls.master')
-rw-r--r--sys/kern/syscalls.master6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index c487f886361..d01b3852aa3 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.245 2011/02/21 23:20:19 pooka Exp $
+ $NetBSD: syscalls.master,v 1.246 2011/03/06 17:08:36 bouyer Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -282,7 +282,7 @@
const struct orlimit *rlp); } osetrlimit
146 COMPAT_43 MODULAR { int|sys||killpg(int pgid, int signum); } okillpg
147 STD RUMP { int|sys||setsid(void); }
-148 STD { int|sys||quotactl(const char *path, int cmd, \
+148 COMPAT_50 MODULAR { int|sys||quotactl(const char *path, int cmd, \
int uid, void *arg); }
149 COMPAT_43 MODULAR { int|sys||quota(void); } oquota
150 COMPAT_43 MODULAR { int|sys||getsockname(int fdec, void *asa, \
@@ -884,3 +884,5 @@
dev_t dev); }
451 STD RUMP { int|sys|50|fhstat(const void *fhp, \
size_t fh_size, struct stat *sb); }
+452 STD RUMP { int|sys|50|quotactl(const char *path, \
+ struct plistref *pref); }