Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/freebsd add quota option



details:   https://anonhg.NetBSD.org/src/rev/a3c9ab82e8b2
branches:  trunk
changeset: 999759:a3c9ab82e8b2
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jun 18 01:42:36 2019 +0000

description:
add quota option

diffstat:

 sys/compat/freebsd/syscalls.master |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 00414d6f6523 -r a3c9ab82e8b2 sys/compat/freebsd/syscalls.master
--- a/sys/compat/freebsd/syscalls.master        Tue Jun 18 01:39:39 2019 +0000
+++ b/sys/compat/freebsd/syscalls.master        Tue Jun 18 01:42:36 2019 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.72 2018/01/06 16:41:23 kamil Exp $
+       $NetBSD: syscalls.master,v 1.73 2019/06/18 01:42:36 christos Exp $
 
 ;      from: @(#)syscalls.master       8.2 (Berkeley) 1/13/94
 
@@ -36,6 +36,7 @@
 #include "opt_ntp.h"
 #include "opt_sysv.h"
 #include "opt_compat_43.h"
+#include "opt_quota.h"
 #endif
 
 #include <sys/param.h>
@@ -277,9 +278,14 @@
 146    NOARGS          { int|compat_43_sys||killpg(int pgid, int signum); } \
                            okillpg
 147    NOARGS          { int|sys||setsid(void); }
+#if defined(QUOTA) || !defined(_KERNEL_OPT)
 148    NOARGS          { int|compat_50_sys||quotactl(char *path, int cmd, \
                            int uid, void *arg); }
 149    NOARGS          { int|compat_43_sys||quota(void); } oquota
+#else
+148    EXCL            compat_50_sys_quotactl
+149    EXCL            compat_43_sys_quota
+#endif
 150    NOARGS          { int|compat_43_sys||getsockname(int fdec, void *asa, \
                            int *alen); } ogetsockname
 



Home | Main Index | Thread Index | Old Index