Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/aoutm68k add quota check



details:   https://anonhg.NetBSD.org/src/rev/6b8d75781a5d
branches:  trunk
changeset: 999755:6b8d75781a5d
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jun 18 01:38:07 2019 +0000

description:
add quota check

diffstat:

 sys/compat/aoutm68k/syscalls.master |  14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diffs (42 lines):

diff -r f5ab505e2217 -r 6b8d75781a5d sys/compat/aoutm68k/syscalls.master
--- a/sys/compat/aoutm68k/syscalls.master       Tue Jun 18 01:37:03 2019 +0000
+++ b/sys/compat/aoutm68k/syscalls.master       Tue Jun 18 01:38:07 2019 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.42 2019/01/27 02:08:39 pgoyette Exp $
+       $NetBSD: syscalls.master,v 1.43 2019/06/18 01:38:07 christos Exp $
 
 ;      @(#)syscalls.master     8.2 (Berkeley) 1/13/94
 
@@ -41,6 +41,7 @@
 #include "opt_compat_netbsd.h"
 #include "opt_sysv.h"
 #include "opt_compat_43.h"
+#include "opt_quota.h"
 #endif
 
 #include <sys/param.h>
@@ -406,15 +407,22 @@
 146    EXCL            compat_43_sys_killpg
 #endif
 147    NOARGS          { int|sys||setsid(void); }
+#if defined(QUOTA) || !defined(_KERNEL_OPT)
 148    NOARGS          { int|compat_50_sys||quotactl(const char *path, \
                            int cmd, int uid, void *arg); }
-#if defined(COMPAT_43) || !defined(_KERNEL)
+#else
+148    EXCL            compat_50_sys_quotactl
+#endif
+#if (defined(QUOTA) && defined(COMPAT_43)) || !defined(_KERNEL_OPT)
 149    NOARGS          { int|compat_43_sys||quota(void); } oquota
+#else
+149    EXCL            compat_43_sys_quota
+#endif
+#if defined(COMPAT_43) || !defined(_KERNEL_OPT)
 150    NOARGS          { int|compat_43_sys||getsockname(int fdec, void *asa, \
                            int *alen); } ogetsockname
 #else
 149    EXCL            compat_43_sys_quota
-150    EXCL            compat_43_sys_getsockname
 #endif
 
 ; Syscalls 151-180 inclusive are reserved for vendor-specific



Home | Main Index | Thread Index | Old Index