Module Name:    src
Committed By:   christos
Date:           Tue Jun 18 01:38:07 UTC 2019

Modified Files:
        src/sys/compat/aoutm68k: syscalls.master

Log Message:
add quota check


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/compat/aoutm68k/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/aoutm68k/syscalls.master
diff -u src/sys/compat/aoutm68k/syscalls.master:1.42 src/sys/compat/aoutm68k/syscalls.master:1.43
--- src/sys/compat/aoutm68k/syscalls.master:1.42	Sat Jan 26 21:08:39 2019
+++ src/sys/compat/aoutm68k/syscalls.master	Mon Jun 17 21:38:07 2019
@@ -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

Reply via email to