Module Name:    src
Committed By:   kamil
Date:           Tue Dec 19 18:10:22 UTC 2017

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

Log Message:
compat/aoutm68k: Drop SYS_sbrk

sbrk - change data segment size

This syscall is dummy since the inception of the project. It's implemented
in userland in libc.

Sponsored by <The NetBSD Foundation>


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/compat/aoutm68k/aoutm68k_syscall.h
cvs rdiff -u -r1.47 -r1.48 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h
cvs rdiff -u -r1.46 -r1.47 src/sys/compat/aoutm68k/aoutm68k_syscalls.c
cvs rdiff -u -r1.51 -r1.52 src/sys/compat/aoutm68k/aoutm68k_sysent.c
cvs rdiff -u -r1.38 -r1.39 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/aoutm68k_syscall.h
diff -u src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.49 src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.50
--- src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.49	Tue Dec 19 08:09:36 2017
+++ src/sys/compat/aoutm68k/aoutm68k_syscall.h	Tue Dec 19 18:10:22 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: aoutm68k_syscall.h,v 1.49 2017/12/19 08:09:36 kamil Exp $ */
+/* $NetBSD: aoutm68k_syscall.h,v 1.50 2017/12/19 18:10:22 kamil Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp
+ * created from	NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp
  */
 
 #ifndef _AOUTM68K_SYS_SYSCALL_H_
@@ -264,9 +264,7 @@
 
 				/* 67 is obsolete vread */
 				/* 68 is obsolete vwrite */
-/* syscall: "sbrk" ret: "int" args: "intptr_t" */
-#define	AOUTM68K_SYS_sbrk	69
-
+				/* 69 is obsolete sbrk */
 				/* 70 is obsolete sstk */
 #if defined(COMPAT_43) || !defined(_KERNEL)
 /* syscall: "ommap" ret: "int" args: "void *" "size_t" "int" "int" "int" "long" */

Index: src/sys/compat/aoutm68k/aoutm68k_syscallargs.h
diff -u src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.47 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.48
--- src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.47	Tue Dec 19 08:09:36 2017
+++ src/sys/compat/aoutm68k/aoutm68k_syscallargs.h	Tue Dec 19 18:10:22 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: aoutm68k_syscallargs.h,v 1.47 2017/12/19 08:09:36 kamil Exp $ */
+/* $NetBSD: aoutm68k_syscallargs.h,v 1.48 2017/12/19 18:10:22 kamil Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp
+ * created from	NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp
  */
 
 #ifndef _AOUTM68K_SYS_SYSCALLARGS_H_
@@ -189,8 +189,6 @@ struct compat_43_sys_getkerninfo_args;
 struct compat_12_sys_msync_args;
 #else
 #endif
-
-struct sys_sbrk_args;
 #if defined(COMPAT_43) || !defined(_KERNEL)
 
 struct compat_43_sys_mmap_args;
@@ -820,8 +818,6 @@ int	compat_12_sys_msync(struct lwp *, co
 #endif
 int	sys_vfork(struct lwp *, const void *, register_t *);
 
-int	sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *);
-
 #if defined(COMPAT_43) || !defined(_KERNEL)
 int	compat_43_sys_mmap(struct lwp *, const struct compat_43_sys_mmap_args *, register_t *);
 

Index: src/sys/compat/aoutm68k/aoutm68k_syscalls.c
diff -u src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.46 src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.47
--- src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.46	Tue Dec 19 08:09:36 2017
+++ src/sys/compat/aoutm68k/aoutm68k_syscalls.c	Tue Dec 19 18:10:22 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: aoutm68k_syscalls.c,v 1.46 2017/12/19 08:09:36 kamil Exp $ */
+/* $NetBSD: aoutm68k_syscalls.c,v 1.47 2017/12/19 18:10:22 kamil Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp
+ * created from	NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.46 2017/12/19 08:09:36 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.47 2017/12/19 18:10:22 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -151,7 +151,7 @@ const char *const aoutm68k_syscallnames[
 	/*  66 */	"vfork",
 	/*  67 */	"#67 (obsolete vread)",
 	/*  68 */	"#68 (obsolete vwrite)",
-	/*  69 */	"sbrk",
+	/*  69 */	"#69 (obsolete sbrk)",
 	/*  70 */	"#70 (obsolete sstk)",
 #if defined(COMPAT_43) || !defined(_KERNEL)
 	/*  71 */	"ommap",
@@ -898,7 +898,7 @@ const char *const altaoutm68k_syscallnam
 	/*  66 */	NULL, /* vfork */
 	/*  67 */	NULL, /* obsolete vread */
 	/*  68 */	NULL, /* obsolete vwrite */
-	/*  69 */	NULL, /* sbrk */
+	/*  69 */	NULL, /* obsolete sbrk */
 	/*  70 */	NULL, /* obsolete sstk */
 #if defined(COMPAT_43) || !defined(_KERNEL)
 	/*  71 */	"mmap",

Index: src/sys/compat/aoutm68k/aoutm68k_sysent.c
diff -u src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.51 src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.52
--- src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.51	Tue Dec 19 08:09:36 2017
+++ src/sys/compat/aoutm68k/aoutm68k_sysent.c	Tue Dec 19 18:10:22 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: aoutm68k_sysent.c,v 1.51 2017/12/19 08:09:36 kamil Exp $ */
+/* $NetBSD: aoutm68k_sysent.c,v 1.52 2017/12/19 18:10:22 kamil Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.37 2011/03/07 19:26:35 bouyer Exp
+ * created from	NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.51 2017/12/19 08:09:36 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.52 2017/12/19 18:10:22 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ktrace.h"
@@ -417,9 +417,8 @@ struct sysent aoutm68k_sysent[] = {
 		.sy_call = sys_nosys,
 	},		/* 68 = filler */
 	{
-		ns(struct sys_sbrk_args),
-		.sy_call = (sy_call_t *)sys_sbrk
-	},		/* 69 = sbrk */
+		.sy_call = sys_nosys,
+	},		/* 69 = filler */
 	{
 		.sy_call = sys_nosys,
 	},		/* 70 = filler */

Index: src/sys/compat/aoutm68k/syscalls.master
diff -u src/sys/compat/aoutm68k/syscalls.master:1.38 src/sys/compat/aoutm68k/syscalls.master:1.39
--- src/sys/compat/aoutm68k/syscalls.master:1.38	Tue Dec 19 08:09:36 2017
+++ src/sys/compat/aoutm68k/syscalls.master	Tue Dec 19 18:10:22 2017
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp $
+	$NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp $
 
 ;	@(#)syscalls.master	8.2 (Berkeley) 1/13/94
 
@@ -212,7 +212,7 @@
 66	NOARGS		{ int|sys||vfork(void); }
 67	OBSOL		vread
 68	OBSOL		vwrite
-69	NOARGS		{ int|sys||sbrk(intptr_t incr); }
+69	OBSOL		sbrk
 70	OBSOL		sstk
 #if defined(COMPAT_43) || !defined(_KERNEL)
 71	NOARGS		{ int|compat_43_sys||mmap(void *addr, size_t len, \

Reply via email to