CVS commit: src/sys/compat/aoutm68k

2019-06-17 Thread Christos Zoulas
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.



CVS commit: src/sys/compat/aoutm68k

2019-06-17 Thread Christos Zoulas
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 
@@ -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



CVS commit: src/sys/compat/aoutm68k

2019-06-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jun 18 01:39:09 UTC 2019

Modified Files:
src/sys/compat/aoutm68k: aoutm68k_syscall.h aoutm68k_syscallargs.h
aoutm68k_syscalls.c aoutm68k_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/compat/aoutm68k/aoutm68k_syscall.h
cvs rdiff -u -r1.52 -r1.53 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h
cvs rdiff -u -r1.51 -r1.52 src/sys/compat/aoutm68k/aoutm68k_syscalls.c
cvs rdiff -u -r1.56 -r1.57 src/sys/compat/aoutm68k/aoutm68k_sysent.c

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



CVS commit: src/sys/compat/aoutm68k

2019-06-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jun 18 01:39:01 UTC 2019

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

Log Message:
fix excl


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 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.



CVS commit: src/sys/compat/aoutm68k

2019-06-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jun 18 01:39:09 UTC 2019

Modified Files:
src/sys/compat/aoutm68k: aoutm68k_syscall.h aoutm68k_syscallargs.h
aoutm68k_syscalls.c aoutm68k_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/compat/aoutm68k/aoutm68k_syscall.h
cvs rdiff -u -r1.52 -r1.53 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h
cvs rdiff -u -r1.51 -r1.52 src/sys/compat/aoutm68k/aoutm68k_syscalls.c
cvs rdiff -u -r1.56 -r1.57 src/sys/compat/aoutm68k/aoutm68k_sysent.c

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/aoutm68k_syscall.h
diff -u src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.54 src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.55
--- src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.54	Sat Jan 26 21:08:39 2019
+++ src/sys/compat/aoutm68k/aoutm68k_syscall.h	Mon Jun 17 21:39:09 2019
@@ -1,10 +1,10 @@
-/* $NetBSD: aoutm68k_syscall.h,v 1.54 2019/01/27 02:08:39 pgoyette Exp $ */
+/* $NetBSD: aoutm68k_syscall.h,v 1.55 2019/06/18 01:39:09 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.41.2.1 2018/09/29 01:37:26 pgoyette Exp
+ * created from	NetBSD: syscalls.master,v 1.44 2019/06/18 01:39:01 christos Exp
  */
 
 #ifndef _AOUTM68K_SYS_SYSCALL_H_
@@ -548,18 +548,25 @@
 /* syscall: "setsid" ret: "int" args: */
 #define	AOUTM68K_SYS_setsid	147
 
+#if defined(QUOTA) || !defined(_KERNEL_OPT)
 /* syscall: "quotactl" ret: "int" args: "const char *" "int" "int" "void *" */
 #define	AOUTM68K_SYS_quotactl	148
 
-#if defined(COMPAT_43) || !defined(_KERNEL)
+#else
+/* 148 is excluded compat_50_sys_quotactl */
+#endif
+#if (defined(QUOTA) && defined(COMPAT_43)) || !defined(_KERNEL_OPT)
 /* syscall: "oquota" ret: "int" args: */
 #define	AOUTM68K_SYS_oquota	149
 
+#else
+/* 149 is excluded compat_43_sys_quota */
+#endif
+#if defined(COMPAT_43) || !defined(_KERNEL_OPT)
 /* syscall: "ogetsockname" ret: "int" args: "int" "void *" "int *" */
 #define	AOUTM68K_SYS_ogetsockname	150
 
 #else
-/* 149 is excluded compat_43_sys_quota */
 /* 150 is excluded compat_43_sys_getsockname */
 #endif
 /* 155 is excluded nfssvc */

Index: src/sys/compat/aoutm68k/aoutm68k_syscallargs.h
diff -u src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.52 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.53
--- src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.52	Sat Jan 26 21:08:39 2019
+++ src/sys/compat/aoutm68k/aoutm68k_syscallargs.h	Mon Jun 17 21:39:09 2019
@@ -1,10 +1,10 @@
-/* $NetBSD: aoutm68k_syscallargs.h,v 1.52 2019/01/27 02:08:39 pgoyette Exp $ */
+/* $NetBSD: aoutm68k_syscallargs.h,v 1.53 2019/06/18 01:39:09 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.41.2.1 2018/09/29 01:37:26 pgoyette Exp
+ * created from	NetBSD: syscalls.master,v 1.44 2019/06/18 01:39:01 christos Exp
  */
 
 #ifndef _AOUTM68K_SYS_SYSCALLARGS_H_
@@ -359,9 +359,15 @@ struct compat_43_sys_setrlimit_args;
 struct compat_43_sys_killpg_args;
 #else
 #endif
+#if defined(QUOTA) || !defined(_KERNEL_OPT)
 
 struct compat_50_sys_quotactl_args;
-#if defined(COMPAT_43) || !defined(_KERNEL)
+#else
+#endif
+#if (defined(QUOTA) && defined(COMPAT_43)) || !defined(_KERNEL_OPT)
+#else
+#endif
+#if defined(COMPAT_43) || !defined(_KERNEL_OPT)
 
 struct compat_43_sys_getsockname_args;
 #else
@@ -1007,11 +1013,17 @@ int	compat_43_sys_killpg(struct lwp *, c
 #endif
 int	sys_setsid(struct lwp *, const void *, register_t *);
 
+#if defined(QUOTA) || !defined(_KERNEL_OPT)
 int	compat_50_sys_quotactl(struct lwp *, const struct compat_50_sys_quotactl_args *, register_t *);
 
-#if defined(COMPAT_43) || !defined(_KERNEL)
+#else
+#endif
+#if (defined(QUOTA) && defined(COMPAT_43)) || !defined(_KERNEL_OPT)
 int	compat_43_sys_quota(struct lwp *, const void *, register_t *);
 
+#else
+#endif
+#if defined(COMPAT_43) || !defined(_KERNEL_OPT)
 int	compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockname_args *, register_t *);
 
 #else

Index: src/sys/compat/aoutm68k/aoutm68k_syscalls.c
diff -u src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.51 src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.52
--- src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.51	Sat Jan 26 21:08:39 2019
+++ src/sys/compat/aoutm68k/aoutm68k_syscalls.c	Mon Jun 17 21:39:09 2019
@@ -1,14 +1,14 @@
-/* $NetBSD: aoutm68k_syscalls.c,v 1.51 2019/01/27 02:08:39 pgoyette Exp $ */
+/* $NetBSD: aoutm68k_syscalls.c,v 1.52 2019/06/18 01:39:09 christos Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.41.2.1 2018/09/29 01:37:26 pgoyette Exp
+ * created from	NetBSD: syscalls.master,v 1.44 2019/06/18 01:39:01 c

CVS commit: src/sys/compat/aoutm68k

2019-06-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jun 18 01:39:01 UTC 2019

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

Log Message:
fix excl


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 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.43 src/sys/compat/aoutm68k/syscalls.master:1.44
--- src/sys/compat/aoutm68k/syscalls.master:1.43	Mon Jun 17 21:38:07 2019
+++ src/sys/compat/aoutm68k/syscalls.master	Mon Jun 17 21:39:01 2019
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.43 2019/06/18 01:38:07 christos Exp $
+	$NetBSD: syscalls.master,v 1.44 2019/06/18 01:39:01 christos Exp $
 
 ;	@(#)syscalls.master	8.2 (Berkeley) 1/13/94
 
@@ -422,7 +422,7 @@
 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