CVS commit: src/sys/arch/amiga/dev

2017-12-19 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Dec 20 05:27:06 UTC 2017

Modified Files:
src/sys/arch/amiga/dev: ite_rh.c

Log Message:
 rt_init() in a comment must be rh_init(). Fix it.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/amiga/dev/ite_rh.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/arch/amiga/dev/ite_rh.c
diff -u src/sys/arch/amiga/dev/ite_rh.c:1.13 src/sys/arch/amiga/dev/ite_rh.c:1.14
--- src/sys/arch/amiga/dev/ite_rh.c:1.13	Mon Oct 26 19:16:54 2009
+++ src/sys/arch/amiga/dev/ite_rh.c	Wed Dec 20 05:27:06 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: ite_rh.c,v 1.13 2009/10/26 19:16:54 cegger Exp $ */
+/*	$NetBSD: ite_rh.c,v 1.14 2017/12/20 05:27:06 msaitoh Exp $ */
 
 /*
  * Copyright (c) 1994 Markus Wild
@@ -33,7 +33,7 @@
 #include "opt_retina.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: ite_rh.c,v 1.13 2009/10/26 19:16:54 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ite_rh.c,v 1.14 2017/12/20 05:27:06 msaitoh Exp $");
 
 #include "grfrh.h"
 #if NGRFRH > 0
@@ -61,7 +61,7 @@ static void screen_down(struct ite_softc
 /*
  * grfrh_cnprobe is called when the console is being initialized
  * i.e. very early.  grfconfig() has been called, so this implies
- * that rt_init() was called.  If we are functioning rh_inited
+ * that rh_init() was called.  If we are functioning rh_inited
  * will be true.
  */
 int



CVS commit: src/sys/compat/common

2017-12-19 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Dec 20 04:46:19 UTC 2017

Modified Files:
src/sys/compat/common: Makefile

Log Message:
Pass LDFLAGS to ld.

Without this, mips64-ld thinks we want to link our n64 objects with the
default ABI, n32.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/compat/common/Makefile

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/common/Makefile
diff -u src/sys/compat/common/Makefile:1.62 src/sys/compat/common/Makefile:1.63
--- src/sys/compat/common/Makefile:1.62	Sat Dec 16 10:15:12 2017
+++ src/sys/compat/common/Makefile	Wed Dec 20 04:46:19 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.62 2017/12/16 10:15:12 maxv Exp $
+#	$NetBSD: Makefile,v 1.63 2017/12/20 04:46:19 maya Exp $
 
 LIB=		compat
 NOPIC=		# defined
@@ -26,12 +26,12 @@ libinstall::
 lib${LIB}.o:: ${OBJS:O}
 	@echo building standard ${LIB} library
 	@rm -f lib${LIB}.o
-	@${LD} -r -o lib${LIB}.o `NM=${NM} ${LORDER} ${OBJS} | ${TSORT}`
+	@${LD} -r -o lib${LIB}.o ${LDFLAGS} `NM=${NM} ${LORDER} ${OBJS} | ${TSORT}`
 
 lib${LIB}.po:: ${POBJS:O}
 	@echo building profiled ${LIB} library
 	@rm -f lib${LIB}.po
-	@${LD} -r -o lib${LIB}.po `NM=${NM} ${LORDER} ${POBJS} | ${TSORT}`
+	@${LD} -r -o lib${LIB}.po ${LDFLAGS} `NM=${NM} ${LORDER} ${POBJS} | ${TSORT}`
 
 showsources: ${SRCS}
 	@echo ${.ALLSRC}



CVS commit: src/share/man/man9

2017-12-19 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Dec 20 03:24:57 UTC 2017

Modified Files:
src/share/man/man9: module.9

Log Message:
Provide the real width of the MODULE_CLASS_xxx table's first column.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/share/man/man9/module.9

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

Modified files:

Index: src/share/man/man9/module.9
diff -u src/share/man/man9/module.9:1.40 src/share/man/man9/module.9:1.41
--- src/share/man/man9/module.9:1.40	Sat Dec 16 21:13:07 2017
+++ src/share/man/man9/module.9	Wed Dec 20 03:24:56 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: module.9,v 1.40 2017/12/16 21:13:07 pgoyette Exp $
+.\"	$NetBSD: module.9,v 1.41 2017/12/20 03:24:56 pgoyette Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -103,7 +103,7 @@ structure.
 The
 .Fa class
 argument identifies the class of module, and must be one of the following:
-.Bl -tag -width XXX -offset indent
+.Bl -tag -width MODULE_CLASS_SECMODEL -offset indent
 .It Dv MODULE_CLASS_VFS
 The module provide a virtual file system - see
 .Xr vfs 9



CVS commit: src/distrib/sets/lists/comp

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Wed Dec 20 00:07:56 UTC 2017

Modified Files:
src/distrib/sets/lists/comp: mi

Log Message:
Try to correct removal of 


To generate a diff of this commit:
cvs rdiff -u -r1.2163 -r1.2164 src/distrib/sets/lists/comp/mi

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

Modified files:

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.2163 src/distrib/sets/lists/comp/mi:1.2164
--- src/distrib/sets/lists/comp/mi:1.2163	Tue Dec 19 19:10:13 2017
+++ src/distrib/sets/lists/comp/mi	Wed Dec 20 00:07:55 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.2163 2017/12/19 19:10:13 kamil Exp $
+#	$NetBSD: mi,v 1.2164 2017/12/20 00:07:55 kamil Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 ./etc/mtree/set.compcomp-sys-root
@@ -3004,7 +3004,7 @@
 ./usr/include/sys/user.h			comp-obsolete		obsolete
 ./usr/include/sys/utsname.h			comp-c-include
 ./usr/include/sys/uuid.h			comp-c-include
-./usr/include/sys/vadvise.h			comp-obsolete
+./usr/include/sys/vadvise.h			comp-obsolete		obsolete
 ./usr/include/sys/vcmd.h			comp-obsolete		obsolete
 ./usr/include/sys/verified_exec.h		comp-c-include
 ./usr/include/sys/videoio.h			comp-c-include



CVS commit: src/doc

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 19:58:37 UTC 2017

Modified Files:
src/doc: CHANGES

Log Message:
Document SYS_vadvise removal in doc/CHANGES

ovadvise: Remove the old vadvise syscall

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.2341 -r1.2342 src/doc/CHANGES

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

Modified files:

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.2341 src/doc/CHANGES:1.2342
--- src/doc/CHANGES:1.2341	Tue Dec 19 18:37:39 2017
+++ src/doc/CHANGES	Tue Dec 19 19:58:37 2017
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2341 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2342 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -95,3 +95,4 @@ Changes from NetBSD 8.0 to NetBSD 9.0:
 		[mbalmer 20171213]
 	sstk: Remove the "stack section size change" syscall [kamil 20171219]
 	sbrk: Remove the "data section size change" syscall [kamil 20171219]
+	ovadvise: Remove the old vadvise syscall [kamil 20171219]



CVS commit: src/sys

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 19:40:04 UTC 2017

Modified Files:
src/sys/compat/netbsd32: netbsd32_netbsd.c netbsd32_syscall.h
netbsd32_syscallargs.h netbsd32_syscalls.c
netbsd32_syscalls_autoload.c netbsd32_sysent.c
netbsd32_systrace_args.c syscalls.master
src/sys/kern: init_sysent.c syscalls.c syscalls.master
syscalls_autoload.c systrace_args.c
src/sys/rump/include/rump: rump_syscalls.h
src/sys/rump/librump/rumpkern: rump_syscalls.c
src/sys/sys: syscall.h syscallargs.h
src/sys/uvm: uvm_unix.c

Log Message:
Drop SYS_vadvise

The (o)vadvise syscall is dummy since the beginning of NetBSD.

It is an obsolete remnant from the old UNIX.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.210 -r1.211 src/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -u -r1.132 -r1.133 src/sys/compat/netbsd32/netbsd32_syscall.h \
src/sys/compat/netbsd32/netbsd32_syscallargs.h
cvs rdiff -u -r1.130 -r1.131 src/sys/compat/netbsd32/netbsd32_syscalls.c \
src/sys/compat/netbsd32/netbsd32_sysent.c
cvs rdiff -u -r1.11 -r1.12 \
src/sys/compat/netbsd32/netbsd32_syscalls_autoload.c
cvs rdiff -u -r1.22 -r1.23 src/sys/compat/netbsd32/netbsd32_systrace_args.c
cvs rdiff -u -r1.118 -r1.119 src/sys/compat/netbsd32/syscalls.master
cvs rdiff -u -r1.317 -r1.318 src/sys/kern/init_sysent.c
cvs rdiff -u -r1.308 -r1.309 src/sys/kern/syscalls.c
cvs rdiff -u -r1.289 -r1.290 src/sys/kern/syscalls.master
cvs rdiff -u -r1.25 -r1.26 src/sys/kern/syscalls_autoload.c
cvs rdiff -u -r1.27 -r1.28 src/sys/kern/systrace_args.c
cvs rdiff -u -r1.106 -r1.107 src/sys/rump/include/rump/rump_syscalls.h
cvs rdiff -u -r1.135 -r1.136 src/sys/rump/librump/rumpkern/rump_syscalls.c
cvs rdiff -u -r1.302 -r1.303 src/sys/sys/syscall.h
cvs rdiff -u -r1.286 -r1.287 src/sys/sys/syscallargs.h
cvs rdiff -u -r1.48 -r1.49 src/sys/uvm/uvm_unix.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/netbsd32/netbsd32_netbsd.c
diff -u src/sys/compat/netbsd32/netbsd32_netbsd.c:1.210 src/sys/compat/netbsd32/netbsd32_netbsd.c:1.211
--- src/sys/compat/netbsd32/netbsd32_netbsd.c:1.210	Tue Dec 19 18:34:47 2017
+++ src/sys/compat/netbsd32/netbsd32_netbsd.c	Tue Dec 19 19:40:03 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbsd32_netbsd.c,v 1.210 2017/12/19 18:34:47 kamil Exp $	*/
+/*	$NetBSD: netbsd32_netbsd.c,v 1.211 2017/12/19 19:40:03 kamil Exp $	*/
 
 /*
  * Copyright (c) 1998, 2001, 2008 Matthew R. Green
@@ -27,7 +27,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.210 2017/12/19 18:34:47 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.211 2017/12/19 19:40:03 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ddb.h"
@@ -2006,17 +2006,6 @@ netbsd32___fhopen40(struct lwp *l, const
 }
 
 /* virtual memory syscalls */
-int
-netbsd32_ovadvise(struct lwp *l, const struct netbsd32_ovadvise_args *uap, register_t *retval)
-{
-	/* {
-		syscallarg(int) anom;
-	} */
-	struct sys_ovadvise_args ua;
-
-	NETBSD32TO64_UAP(anom);
-	return (sys_ovadvise(l, , retval));
-}
 
 void
 netbsd32_adjust_limits(struct proc *p)

Index: src/sys/compat/netbsd32/netbsd32_syscall.h
diff -u src/sys/compat/netbsd32/netbsd32_syscall.h:1.132 src/sys/compat/netbsd32/netbsd32_syscall.h:1.133
--- src/sys/compat/netbsd32/netbsd32_syscall.h:1.132	Tue Dec 19 18:34:47 2017
+++ src/sys/compat/netbsd32/netbsd32_syscall.h	Tue Dec 19 19:40:03 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.132 2017/12/19 18:34:47 kamil Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.133 2017/12/19 19:40:03 kamil Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.117 2017/12/19 08:48:19 kamil Exp
+ * created from	NetBSD: syscalls.master,v 1.118 2017/12/19 18:34:47 kamil Exp
  */
 
 #ifndef _NETBSD32_SYS_SYSCALL_H_
@@ -218,9 +218,7 @@
 /* syscall: "compat_43_netbsd32_ommap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" */
 #define	NETBSD32_SYS_compat_43_netbsd32_ommap	71
 
-/* syscall: "vadvise" ret: "int" args: "int" */
-#define	NETBSD32_SYS_vadvise	72
-
+/* 72 is obsolete vadvise */
 /* syscall: "netbsd32_munmap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */
 #define	NETBSD32_SYS_netbsd32_munmap	73
 
Index: src/sys/compat/netbsd32/netbsd32_syscallargs.h
diff -u src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.132 src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.133
--- src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.132	Tue Dec 19 18:34:47 2017
+++ src/sys/compat/netbsd32/netbsd32_syscallargs.h	Tue Dec 19 19:40:03 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.132 2017/12/19 18:34:47 kamil Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.133 2017/12/19 19:40:03 kamil Exp $ */
 
 /*
  * 

CVS commit: src/sys/compat/ultrix

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 19:20:31 UTC 2017

Modified Files:
src/sys/compat/ultrix: syscalls.master ultrix_syscall.h
ultrix_syscallargs.h ultrix_syscalls.c ultrix_sysent.c

Log Message:
compat/ultrix: Drop SYS_vadvise

The (o)vadvise syscall is dummy since the beginning of NetBSD.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/compat/ultrix/syscalls.master
cvs rdiff -u -r1.70 -r1.71 src/sys/compat/ultrix/ultrix_syscall.h
cvs rdiff -u -r1.65 -r1.66 src/sys/compat/ultrix/ultrix_syscallargs.h
cvs rdiff -u -r1.69 -r1.70 src/sys/compat/ultrix/ultrix_syscalls.c
cvs rdiff -u -r1.72 -r1.73 src/sys/compat/ultrix/ultrix_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/ultrix/syscalls.master
diff -u src/sys/compat/ultrix/syscalls.master:1.54 src/sys/compat/ultrix/syscalls.master:1.55
--- src/sys/compat/ultrix/syscalls.master:1.54	Tue Dec 19 18:20:11 2017
+++ src/sys/compat/ultrix/syscalls.master	Tue Dec 19 19:20:30 2017
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.54 2017/12/19 18:20:11 kamil Exp $
+	$NetBSD: syscalls.master,v 1.55 2017/12/19 19:20:30 kamil Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -122,7 +122,7 @@
 70	OBSOL		sstk
 71	STD		{ int|ultrix_sys||mmap(void *addr, size_t len, \
 			int prot, u_int flags, int fd, long pos); }
-72	NOARGS		{ int|sys||ovadvise(int anom); } vadvise
+72	OBSOL		vadvise
 73	NOARGS		{ int|sys||munmap(void *addr, size_t len); }
 74	NOARGS		{ int|sys||mprotect(void *addr, size_t len, \
 			int prot); }

Index: src/sys/compat/ultrix/ultrix_syscall.h
diff -u src/sys/compat/ultrix/ultrix_syscall.h:1.70 src/sys/compat/ultrix/ultrix_syscall.h:1.71
--- src/sys/compat/ultrix/ultrix_syscall.h:1.70	Tue Dec 19 18:20:11 2017
+++ src/sys/compat/ultrix/ultrix_syscall.h	Tue Dec 19 19:20:30 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: ultrix_syscall.h,v 1.70 2017/12/19 18:20:11 kamil Exp $ */
+/* $NetBSD: ultrix_syscall.h,v 1.71 2017/12/19 19:20:30 kamil Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.53 2017/12/19 08:23:22 kamil Exp
+ * created from	NetBSD: syscalls.master,v 1.54 2017/12/19 18:20:11 kamil Exp
  */
 
 #ifndef _ULTRIX_SYS_SYSCALL_H_
@@ -161,9 +161,7 @@
 /* syscall: "mmap" ret: "int" args: "void *" "size_t" "int" "u_int" "int" "long" */
 #define	ULTRIX_SYS_mmap	71
 
-/* syscall: "vadvise" ret: "int" args: "int" */
-#define	ULTRIX_SYS_vadvise	72
-
+/* 72 is obsolete vadvise */
 /* syscall: "munmap" ret: "int" args: "void *" "size_t" */
 #define	ULTRIX_SYS_munmap	73
 

Index: src/sys/compat/ultrix/ultrix_syscallargs.h
diff -u src/sys/compat/ultrix/ultrix_syscallargs.h:1.65 src/sys/compat/ultrix/ultrix_syscallargs.h:1.66
--- src/sys/compat/ultrix/ultrix_syscallargs.h:1.65	Tue Dec 19 18:20:11 2017
+++ src/sys/compat/ultrix/ultrix_syscallargs.h	Tue Dec 19 19:20:30 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: ultrix_syscallargs.h,v 1.65 2017/12/19 18:20:11 kamil Exp $ */
+/* $NetBSD: ultrix_syscallargs.h,v 1.66 2017/12/19 19:20:30 kamil Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.53 2017/12/19 08:23:22 kamil Exp
+ * created from	NetBSD: syscalls.master,v 1.54 2017/12/19 18:20:11 kamil Exp
  */
 
 #ifndef _ULTRIX_SYS_SYSCALLARGS_H_
@@ -155,8 +155,6 @@ struct ultrix_sys_mmap_args {
 };
 check_syscall_args(ultrix_sys_mmap)
 
-struct sys_ovadvise_args;
-
 struct sys_munmap_args;
 
 struct sys_mprotect_args;
@@ -524,8 +522,6 @@ int	sys_vfork(struct lwp *, const void *
 
 int	ultrix_sys_mmap(struct lwp *, const struct ultrix_sys_mmap_args *, register_t *);
 
-int	sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
-
 int	sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
 
 int	sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *);

Index: src/sys/compat/ultrix/ultrix_syscalls.c
diff -u src/sys/compat/ultrix/ultrix_syscalls.c:1.69 src/sys/compat/ultrix/ultrix_syscalls.c:1.70
--- src/sys/compat/ultrix/ultrix_syscalls.c:1.69	Tue Dec 19 18:20:11 2017
+++ src/sys/compat/ultrix/ultrix_syscalls.c	Tue Dec 19 19:20:30 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: ultrix_syscalls.c,v 1.69 2017/12/19 18:20:11 kamil Exp $ */
+/* $NetBSD: ultrix_syscalls.c,v 1.70 2017/12/19 19:20:30 kamil Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.53 2017/12/19 08:23:22 kamil Exp
+ * created from	NetBSD: syscalls.master,v 1.54 2017/12/19 18:20:11 kamil Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: ultrix_syscalls.c,v 1.69 2017/12/19 18:20:11 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ultrix_syscalls.c,v 1.70 2017/12/19 19:20:30 kamil Exp 

CVS commit: src/sys/compat/sunos32

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 19:19:51 UTC 2017

Modified Files:
src/sys/compat/sunos32: sunos32_syscall.h sunos32_syscallargs.h
sunos32_syscalls.c sunos32_sysent.c syscalls.master

Log Message:
compat/sunos32: Drop SYS_vadvise

The (o)vadvise syscall is dummy since the beginning of NetBSD.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/compat/sunos32/sunos32_syscall.h
cvs rdiff -u -r1.34 -r1.35 src/sys/compat/sunos32/sunos32_syscallargs.h \
src/sys/compat/sunos32/sunos32_syscalls.c
cvs rdiff -u -r1.36 -r1.37 src/sys/compat/sunos32/sunos32_sysent.c
cvs rdiff -u -r1.24 -r1.25 src/sys/compat/sunos32/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/sunos32/sunos32_syscall.h
diff -u src/sys/compat/sunos32/sunos32_syscall.h:1.35 src/sys/compat/sunos32/sunos32_syscall.h:1.36
--- src/sys/compat/sunos32/sunos32_syscall.h:1.35	Tue Dec 19 18:25:53 2017
+++ src/sys/compat/sunos32/sunos32_syscall.h	Tue Dec 19 19:19:50 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: sunos32_syscall.h,v 1.35 2017/12/19 18:25:53 kamil Exp $ */
+/* $NetBSD: sunos32_syscall.h,v 1.36 2017/12/19 19:19:50 kamil Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from;	NetBSD: syscalls.master,v 1.23 2017/12/19 08:24:41 kamil Exp
+ * created from;	NetBSD: syscalls.master,v 1.24 2017/12/19 18:25:53 kamil Exp
  */
 
 #ifndef _SUNOS32_SYS_SYSCALL_H_
@@ -161,9 +161,7 @@
 /* syscall: "mmap" ret: "netbsd32_voidp" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" */
 #define	SUNOS32_SYS_mmap	71
 
-/* syscall: "vadvise" ret: "int" args: "int" */
-#define	SUNOS32_SYS_vadvise	72
-
+/* 72 is obsolete vadvise */
 /* syscall: "netbsd32_munmap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */
 #define	SUNOS32_SYS_netbsd32_munmap	73
 

Index: src/sys/compat/sunos32/sunos32_syscallargs.h
diff -u src/sys/compat/sunos32/sunos32_syscallargs.h:1.34 src/sys/compat/sunos32/sunos32_syscallargs.h:1.35
--- src/sys/compat/sunos32/sunos32_syscallargs.h:1.34	Tue Dec 19 18:25:53 2017
+++ src/sys/compat/sunos32/sunos32_syscallargs.h	Tue Dec 19 19:19:50 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: sunos32_syscallargs.h,v 1.34 2017/12/19 18:25:53 kamil Exp $ */
+/* $NetBSD: sunos32_syscallargs.h,v 1.35 2017/12/19 19:19:50 kamil Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from;	NetBSD: syscalls.master,v 1.23 2017/12/19 08:24:41 kamil Exp
+ * created from;	NetBSD: syscalls.master,v 1.24 2017/12/19 18:25:53 kamil Exp
  */
 
 #ifndef _SUNOS32_SYS_SYSCALLARGS_H_
@@ -189,8 +189,6 @@ struct sunos32_sys_mmap_args {
 };
 check_syscall_args(sunos32_sys_mmap)
 
-struct netbsd32_ovadvise_args;
-
 struct netbsd32_munmap_args;
 
 struct netbsd32_mprotect_args;
@@ -564,8 +562,6 @@ int	sys_vfork(struct lwp *, const void *
 
 int	sunos32_sys_mmap(struct lwp *, const struct sunos32_sys_mmap_args *, register_t *);
 
-int	netbsd32_ovadvise(struct lwp *, const struct netbsd32_ovadvise_args *, register_t *);
-
 int	netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *);
 
 int	netbsd32_mprotect(struct lwp *, const struct netbsd32_mprotect_args *, register_t *);
Index: src/sys/compat/sunos32/sunos32_syscalls.c
diff -u src/sys/compat/sunos32/sunos32_syscalls.c:1.34 src/sys/compat/sunos32/sunos32_syscalls.c:1.35
--- src/sys/compat/sunos32/sunos32_syscalls.c:1.34	Tue Dec 19 18:25:53 2017
+++ src/sys/compat/sunos32/sunos32_syscalls.c	Tue Dec 19 19:19:50 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: sunos32_syscalls.c,v 1.34 2017/12/19 18:25:53 kamil Exp $ */
+/* $NetBSD: sunos32_syscalls.c,v 1.35 2017/12/19 19:19:50 kamil Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from;	NetBSD: syscalls.master,v 1.23 2017/12/19 08:24:41 kamil Exp
+ * created from;	NetBSD: syscalls.master,v 1.24 2017/12/19 18:25:53 kamil Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: sunos32_syscalls.c,v 1.34 2017/12/19 18:25:53 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos32_syscalls.c,v 1.35 2017/12/19 19:19:50 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -104,7 +104,7 @@ const char *const sunos32_syscallnames[]
 	/*  69 */	"#69 (obsolete sbrk)",
 	/*  70 */	"#70 (obsolete sstk)",
 	/*  71 */	"mmap",
-	/*  72 */	"vadvise",
+	/*  72 */	"#72 (obsolete vadvise)",
 	/*  73 */	"netbsd32_munmap",
 	/*  74 */	"netbsd32_mprotect",
 	/*  75 */	"netbsd32_madvise",
@@ -377,7 +377,7 @@ const char *const altsunos32_syscallname
 	/*  69 */	NULL, /* obsolete sbrk */
 	/*  70 */	NULL, /* obsolete sstk */
 	/*  71 */	NULL, /* mmap */
-	/*  72 */	"ovadvise",
+	/*  72 */	NULL, /* obsolete vadvise */
 	/*  73 */	"munmap",
 	/*  74 */	"mprotect",
 	/*  75 */	"madvise",


CVS commit: src/sys/compat/freebsd

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 19:18:18 UTC 2017

Modified Files:
src/sys/compat/freebsd: freebsd_syscall.h freebsd_syscallargs.h
freebsd_syscalls.c freebsd_sysent.c syscalls.master

Log Message:
compat/freebsd: Drop SYS_vadvise

The (o)vadvise syscall is dummy since the beginning of NetBSD.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/compat/freebsd/freebsd_syscall.h
cvs rdiff -u -r1.89 -r1.90 src/sys/compat/freebsd/freebsd_syscallargs.h \
src/sys/compat/freebsd/freebsd_sysent.c
cvs rdiff -u -r1.87 -r1.88 src/sys/compat/freebsd/freebsd_syscalls.c
cvs rdiff -u -r1.70 -r1.71 src/sys/compat/freebsd/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/freebsd/freebsd_syscall.h
diff -u src/sys/compat/freebsd/freebsd_syscall.h:1.86 src/sys/compat/freebsd/freebsd_syscall.h:1.87
--- src/sys/compat/freebsd/freebsd_syscall.h:1.86	Tue Dec 19 18:15:08 2017
+++ src/sys/compat/freebsd/freebsd_syscall.h	Tue Dec 19 19:18:18 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: freebsd_syscall.h,v 1.86 2017/12/19 18:15:08 kamil Exp $ */
+/* $NetBSD: freebsd_syscall.h,v 1.87 2017/12/19 19:18:18 kamil Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.69 2017/12/19 08:27:05 kamil Exp
+ * created from	NetBSD: syscalls.master,v 1.70 2017/12/19 18:15:08 kamil Exp
  */
 
 #ifndef _FREEBSD_SYS_SYSCALL_H_
@@ -222,9 +222,7 @@
 /* syscall: "ommap" ret: "int" args: "void *" "size_t" "int" "int" "int" "long" */
 #define	FREEBSD_SYS_ommap	71
 
-/* syscall: "vadvise" ret: "int" args: "int" */
-#define	FREEBSD_SYS_vadvise	72
-
+/* 72 is obsolete vadvise */
 /* syscall: "munmap" ret: "int" args: "void *" "size_t" */
 #define	FREEBSD_SYS_munmap	73
 

Index: src/sys/compat/freebsd/freebsd_syscallargs.h
diff -u src/sys/compat/freebsd/freebsd_syscallargs.h:1.89 src/sys/compat/freebsd/freebsd_syscallargs.h:1.90
--- src/sys/compat/freebsd/freebsd_syscallargs.h:1.89	Tue Dec 19 18:15:08 2017
+++ src/sys/compat/freebsd/freebsd_syscallargs.h	Tue Dec 19 19:18:18 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: freebsd_syscallargs.h,v 1.89 2017/12/19 18:15:08 kamil Exp $ */
+/* $NetBSD: freebsd_syscallargs.h,v 1.90 2017/12/19 19:18:18 kamil Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.69 2017/12/19 08:27:05 kamil Exp
+ * created from	NetBSD: syscalls.master,v 1.70 2017/12/19 18:15:08 kamil Exp
  */
 
 #ifndef _FREEBSD_SYS_SYSCALLARGS_H_
@@ -167,8 +167,6 @@ check_syscall_args(freebsd_sys_msync)
 
 struct compat_43_sys_mmap_args;
 
-struct sys_ovadvise_args;
-
 struct sys_munmap_args;
 
 struct sys_mprotect_args;
@@ -738,8 +736,6 @@ int	sys_vfork(struct lwp *, const void *
 
 int	compat_43_sys_mmap(struct lwp *, const struct compat_43_sys_mmap_args *, register_t *);
 
-int	sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
-
 int	sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
 
 int	sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *);
Index: src/sys/compat/freebsd/freebsd_sysent.c
diff -u src/sys/compat/freebsd/freebsd_sysent.c:1.89 src/sys/compat/freebsd/freebsd_sysent.c:1.90
--- src/sys/compat/freebsd/freebsd_sysent.c:1.89	Tue Dec 19 18:15:08 2017
+++ src/sys/compat/freebsd/freebsd_sysent.c	Tue Dec 19 19:18:18 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: freebsd_sysent.c,v 1.89 2017/12/19 18:15:08 kamil Exp $ */
+/* $NetBSD: freebsd_sysent.c,v 1.90 2017/12/19 19:18:18 kamil Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.69 2017/12/19 08:27:05 kamil Exp
+ * created from	NetBSD: syscalls.master,v 1.70 2017/12/19 18:15:08 kamil Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.89 2017/12/19 18:15:08 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.90 2017/12/19 19:18:18 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ktrace.h"
@@ -351,9 +351,8 @@ struct sysent freebsd_sysent[] = {
 		.sy_call = (sy_call_t *)compat_43_sys_mmap
 	},		/* 71 = ommap */
 	{
-		ns(struct sys_ovadvise_args),
-		.sy_call = (sy_call_t *)sys_ovadvise
-	},		/* 72 = vadvise */
+		.sy_call = sys_nosys,
+	},		/* 72 = filler */
 	{
 		ns(struct sys_munmap_args),
 		.sy_flags = SYCALL_ARG_PTR,

Index: src/sys/compat/freebsd/freebsd_syscalls.c
diff -u src/sys/compat/freebsd/freebsd_syscalls.c:1.87 src/sys/compat/freebsd/freebsd_syscalls.c:1.88
--- src/sys/compat/freebsd/freebsd_syscalls.c:1.87	Tue Dec 19 18:15:08 2017
+++ src/sys/compat/freebsd/freebsd_syscalls.c	Tue Dec 19 19:18:18 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: freebsd_syscalls.c,v 1.87 2017/12/19 18:15:08 kamil Exp $ */
+/* 

CVS commit: src/sys/compat/aoutm68k

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 19:17:17 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_vadvise

The (o)vadvise syscall is dummy since the beginning of NetBSD.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/compat/aoutm68k/aoutm68k_syscall.h
cvs rdiff -u -r1.48 -r1.49 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h
cvs rdiff -u -r1.47 -r1.48 src/sys/compat/aoutm68k/aoutm68k_syscalls.c
cvs rdiff -u -r1.52 -r1.53 src/sys/compat/aoutm68k/aoutm68k_sysent.c
cvs rdiff -u -r1.39 -r1.40 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.50 src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.51
--- src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.50	Tue Dec 19 18:10:22 2017
+++ src/sys/compat/aoutm68k/aoutm68k_syscall.h	Tue Dec 19 19:17:17 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: aoutm68k_syscall.h,v 1.50 2017/12/19 18:10:22 kamil Exp $ */
+/* $NetBSD: aoutm68k_syscall.h,v 1.51 2017/12/19 19:17:17 kamil Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp
+ * created from	NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp
  */
 
 #ifndef _AOUTM68K_SYS_SYSCALL_H_
@@ -273,9 +273,7 @@
 #else
 /* 71 is excluded compat_43_sys_mmap */
 #endif
-/* syscall: "vadvise" ret: "int" args: "int" */
-#define	AOUTM68K_SYS_vadvise	72
-
+/* 72 is obsolete vadvise */
 /* syscall: "munmap" ret: "int" args: "void *" "size_t" */
 #define	AOUTM68K_SYS_munmap	73
 

Index: src/sys/compat/aoutm68k/aoutm68k_syscallargs.h
diff -u src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.48 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.49
--- src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.48	Tue Dec 19 18:10:22 2017
+++ src/sys/compat/aoutm68k/aoutm68k_syscallargs.h	Tue Dec 19 19:17:17 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: aoutm68k_syscallargs.h,v 1.48 2017/12/19 18:10:22 kamil Exp $ */
+/* $NetBSD: aoutm68k_syscallargs.h,v 1.49 2017/12/19 19:17:17 kamil Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp
+ * created from	NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp
  */
 
 #ifndef _AOUTM68K_SYS_SYSCALLARGS_H_
@@ -195,8 +195,6 @@ struct compat_43_sys_mmap_args;
 #else
 #endif
 
-struct sys_ovadvise_args;
-
 struct sys_munmap_args;
 
 struct sys_mprotect_args;
@@ -823,8 +821,6 @@ int	compat_43_sys_mmap(struct lwp *, con
 
 #else
 #endif
-int	sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
-
 int	sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
 
 int	sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *);

Index: src/sys/compat/aoutm68k/aoutm68k_syscalls.c
diff -u src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.47 src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.48
--- src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.47	Tue Dec 19 18:10:22 2017
+++ src/sys/compat/aoutm68k/aoutm68k_syscalls.c	Tue Dec 19 19:17:17 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: aoutm68k_syscalls.c,v 1.47 2017/12/19 18:10:22 kamil Exp $ */
+/* $NetBSD: aoutm68k_syscalls.c,v 1.48 2017/12/19 19:17:17 kamil Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp
+ * created from	NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.47 2017/12/19 18:10:22 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.48 2017/12/19 19:17:17 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -158,7 +158,7 @@ const char *const aoutm68k_syscallnames[
 #else
 	/*  71 */	"#71 (excluded compat_43_sys_mmap)",
 #endif
-	/*  72 */	"vadvise",
+	/*  72 */	"#72 (obsolete vadvise)",
 	/*  73 */	"munmap",
 	/*  74 */	"mprotect",
 	/*  75 */	"madvise",
@@ -905,7 +905,7 @@ const char *const altaoutm68k_syscallnam
 #else
 	/*  71 */	NULL, /* excluded compat_43_sys_mmap */
 #endif
-	/*  72 */	"ovadvise",
+	/*  72 */	NULL, /* obsolete vadvise */
 	/*  73 */	NULL, /* munmap */
 	/*  74 */	NULL, /* mprotect */
 	/*  75 */	NULL, /* madvise */

Index: src/sys/compat/aoutm68k/aoutm68k_sysent.c
diff -u src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.52 src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.53
--- src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.52	Tue Dec 19 18:10:22 2017
+++ 

CVS commit: src/external/gpl3

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 19:13:30 UTC 2017

Modified Files:
src/external/gpl3/gdb.old/dist/sim/ppc: emul_netbsd.c
src/external/gpl3/gdb/dist/sim/ppc: emul_netbsd.c

Log Message:
Deregister (o)vadvise from gdb & gdb.org: ppc/emul_netbsd

The (o)vadvise syscall is dummy since the beginning of NetBSD.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gdb/dist/sim/ppc/emul_netbsd.c

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

Modified files:

Index: src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c
diff -u src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c:1.8 src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c:1.9
--- src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c:1.8	Tue Dec 19 09:01:24 2017
+++ src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c	Tue Dec 19 19:13:30 2017
@@ -1155,7 +1155,7 @@ static emul_syscall_descriptor netbsd_de
   /* 69 */ { 0, "sbrk" },
   { 0, }, /* 70 is obsolete sstk */
   { 0, }, /* 71 is old mmap */
-  /* 72 */ { 0, "vadvise" },
+  { 0, }, /* 72 is obsolete vadvise */
   /* 73 */ { 0, "munmap" },
   /* 74 */ { 0, "mprotect" },
   /* 75 */ { 0, "madvise" },

Index: src/external/gpl3/gdb/dist/sim/ppc/emul_netbsd.c
diff -u src/external/gpl3/gdb/dist/sim/ppc/emul_netbsd.c:1.8 src/external/gpl3/gdb/dist/sim/ppc/emul_netbsd.c:1.9
--- src/external/gpl3/gdb/dist/sim/ppc/emul_netbsd.c:1.8	Tue Dec 19 08:02:55 2017
+++ src/external/gpl3/gdb/dist/sim/ppc/emul_netbsd.c	Tue Dec 19 19:13:30 2017
@@ -1155,7 +1155,7 @@ static emul_syscall_descriptor netbsd_de
   /* 69 */ { 0, "sbrk" },
   { 0, }, /* 70 is obsolete sstk */
   { 0, }, /* 71 is old mmap */
-  /* 72 */ { 0, "vadvise" },
+  { 0, }, /* 72 is obsolete vadvise */
   /* 73 */ { 0, "munmap" },
   /* 74 */ { 0, "mprotect" },
   /* 75 */ { 0, "madvise" },



CVS commit: src

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 19:10:14 UTC 2017

Modified Files:
src/distrib/sets/lists/comp: mi
src/sys/sys: Makefile
Removed Files:
src/sys/sys: vadvise.h

Log Message:
Drop 

The (o)vadvise syscall is dummy since the beginning of NetBSD.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.2162 -r1.2163 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.163 -r1.164 src/sys/sys/Makefile
cvs rdiff -u -r1.11 -r0 src/sys/sys/vadvise.h

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

Modified files:

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.2162 src/distrib/sets/lists/comp/mi:1.2163
--- src/distrib/sets/lists/comp/mi:1.2162	Sun Dec 10 20:38:14 2017
+++ src/distrib/sets/lists/comp/mi	Tue Dec 19 19:10:13 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.2162 2017/12/10 20:38:14 bouyer Exp $
+#	$NetBSD: mi,v 1.2163 2017/12/19 19:10:13 kamil Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 ./etc/mtree/set.compcomp-sys-root
@@ -3004,7 +3004,7 @@
 ./usr/include/sys/user.h			comp-obsolete		obsolete
 ./usr/include/sys/utsname.h			comp-c-include
 ./usr/include/sys/uuid.h			comp-c-include
-./usr/include/sys/vadvise.h			comp-c-include
+./usr/include/sys/vadvise.h			comp-obsolete
 ./usr/include/sys/vcmd.h			comp-obsolete		obsolete
 ./usr/include/sys/verified_exec.h		comp-c-include
 ./usr/include/sys/videoio.h			comp-c-include

Index: src/sys/sys/Makefile
diff -u src/sys/sys/Makefile:1.163 src/sys/sys/Makefile:1.164
--- src/sys/sys/Makefile:1.163	Thu Nov 30 05:47:24 2017
+++ src/sys/sys/Makefile	Tue Dec 19 19:10:13 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.163 2017/11/30 05:47:24 riastradh Exp $
+#	$NetBSD: Makefile,v 1.164 2017/12/19 19:10:13 kamil Exp $
 
 .include 
 
@@ -44,7 +44,7 @@ INCS=	acct.h agpio.h aio.h ansi.h aout_m
 	timex.h tls.h trace.h tree.h tty.h ttychars.h ttycom.h \
 	ttydefaults.h ttydev.h types.h \
 	ucontext.h ucred.h uio.h un.h unistd.h unpcb.h utsname.h uuid.h \
-	vadvise.h verified_exec.h videoio.h vmmeter.h vnode.h vnode_if.h \
+	verified_exec.h videoio.h vmmeter.h vnode.h vnode_if.h \
 	wait.h wapbl.h wapbl_replay.h wdog.h xattr.h
 
 INCSYMLINKS=\



CVS commit: src/share/man/tools

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 19:04:12 UTC 2017

Removed Files:
src/share/man/tools: missing

Log Message:
Drop share/man/tools/missing

This is a remnant from the 4.4BSD-Lite2 import (1992).

It notes old tools: vadvise(2) obsolete syscall.
vplot(1) & vsort(1) were never implemented on NetBSD.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r0 src/share/man/tools/missing

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



CVS commit: src/sys/sys

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 18:47:59 UTC 2017

Modified Files:
src/sys/sys: trace.h

Log Message:
Deregister TR_VADVISE from sys/sys/trace.h

The (o)vadvise syscall is dummy since the beginning of NetBSD.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/sys/trace.h

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

Modified files:

Index: src/sys/sys/trace.h
diff -u src/sys/sys/trace.h:1.11 src/sys/sys/trace.h:1.12
--- src/sys/sys/trace.h:1.11	Sun Dec 11 12:25:21 2005
+++ src/sys/sys/trace.h	Tue Dec 19 18:47:58 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: trace.h,v 1.11 2005/12/11 12:25:21 christos Exp $	*/
+/*	$NetBSD: trace.h,v 1.12 2017/12/19 18:47:58 kamil Exp $	*/
 
 /*-
  * Copyright (c) 1982, 1986, 1993
@@ -72,11 +72,6 @@
 #define	TR_SWAPIO	34	/* swap i/o request arrives */
 
 /*
- * System call trace points.
- */
-#define	TR_VADVISE	40	/* vadvise occurred with  */
-
-/*
  * Miscellaneous
  */
 #define	TR_STAMP	45	/* user said vtrace(VTR_STAMP, value); */



CVS commit: src/lib/libc/sys

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 18:43:42 UTC 2017

Modified Files:
src/lib/libc/sys: Makefile.inc

Log Message:
Deregister vadvise.S from lib/libc/sys/Makefile.inc

Such file was never registered since the inception of NetBSD.
The (o)vadvise is dummy since the beginning of NetBSD.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.236 -r1.237 src/lib/libc/sys/Makefile.inc

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

Modified files:

Index: src/lib/libc/sys/Makefile.inc
diff -u src/lib/libc/sys/Makefile.inc:1.236 src/lib/libc/sys/Makefile.inc:1.237
--- src/lib/libc/sys/Makefile.inc:1.236	Sat Apr  1 14:31:05 2017
+++ src/lib/libc/sys/Makefile.inc	Tue Dec 19 18:43:42 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.236 2017/04/01 14:31:05 abhinav Exp $
+#	$NetBSD: Makefile.inc,v 1.237 2017/12/19 18:43:42 kamil Exp $
 #	@(#)Makefile.inc	8.3 (Berkeley) 10/24/94
 
 # sys sources
@@ -149,7 +149,7 @@ ASM=	access.S acct.S \
 	timer_create.S timer_delete.S __timer_gettime50.S timer_getoverrun.S \
 		semctl50.S __timer_settime50.S \
 	umask.S undelete.S unlink.S unlinkat.S unmount.S __utimes50.S \
-		utimensat.S utrace.S uuidgen.S vadvise.S
+		utimensat.S utrace.S uuidgen.S
 
 # sa compat syscalls
 SAASM+=	sa_register.S sa_stacks.S sa_enable.S sa_setconcurrency.S sa_yield.S \



CVS commit: src/doc

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 18:37:39 UTC 2017

Modified Files:
src/doc: CHANGES

Log Message:
Document SYS_sbrk removal in doc/CHANGES

sbrk: Remove the "data section size change" syscall

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.2340 -r1.2341 src/doc/CHANGES

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

Modified files:

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.2340 src/doc/CHANGES:1.2341
--- src/doc/CHANGES:1.2340	Tue Dec 19 09:09:28 2017
+++ src/doc/CHANGES	Tue Dec 19 18:37:39 2017
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2340 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2341 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -94,3 +94,4 @@ Changes from NetBSD 8.0 to NetBSD 9.0:
 	lua: Applied 6th bugfix to Lua 5.3.4 from lua.org/bugs.html.
 		[mbalmer 20171213]
 	sstk: Remove the "stack section size change" syscall [kamil 20171219]
+	sbrk: Remove the "data section size change" syscall [kamil 20171219]



CVS commit: src/sys

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 18:34:48 UTC 2017

Modified Files:
src/sys/compat/netbsd32: netbsd32_netbsd.c netbsd32_syscall.h
netbsd32_syscallargs.h netbsd32_syscalls.c netbsd32_sysent.c
netbsd32_systrace_args.c syscalls.master
src/sys/kern: init_sysent.c syscalls.c syscalls.master systrace_args.c
src/sys/rump/librump/rumpkern: rump_syscalls.c
src/sys/sys: syscall.h syscallargs.h
src/sys/uvm: uvm_mmap.c

Log Message:
Drop SYS_sbrk

sbrk - change data segment size

This syscall is dummy since the inception of the project.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.209 -r1.210 src/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -u -r1.131 -r1.132 src/sys/compat/netbsd32/netbsd32_syscall.h \
src/sys/compat/netbsd32/netbsd32_syscallargs.h
cvs rdiff -u -r1.129 -r1.130 src/sys/compat/netbsd32/netbsd32_syscalls.c \
src/sys/compat/netbsd32/netbsd32_sysent.c
cvs rdiff -u -r1.21 -r1.22 src/sys/compat/netbsd32/netbsd32_systrace_args.c
cvs rdiff -u -r1.117 -r1.118 src/sys/compat/netbsd32/syscalls.master
cvs rdiff -u -r1.316 -r1.317 src/sys/kern/init_sysent.c
cvs rdiff -u -r1.307 -r1.308 src/sys/kern/syscalls.c
cvs rdiff -u -r1.288 -r1.289 src/sys/kern/syscalls.master
cvs rdiff -u -r1.26 -r1.27 src/sys/kern/systrace_args.c
cvs rdiff -u -r1.134 -r1.135 src/sys/rump/librump/rumpkern/rump_syscalls.c
cvs rdiff -u -r1.301 -r1.302 src/sys/sys/syscall.h
cvs rdiff -u -r1.285 -r1.286 src/sys/sys/syscallargs.h
cvs rdiff -u -r1.168 -r1.169 src/sys/uvm/uvm_mmap.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/netbsd32/netbsd32_netbsd.c
diff -u src/sys/compat/netbsd32/netbsd32_netbsd.c:1.209 src/sys/compat/netbsd32/netbsd32_netbsd.c:1.210
--- src/sys/compat/netbsd32/netbsd32_netbsd.c:1.209	Tue Dec 19 08:48:19 2017
+++ src/sys/compat/netbsd32/netbsd32_netbsd.c	Tue Dec 19 18:34:47 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbsd32_netbsd.c,v 1.209 2017/12/19 08:48:19 kamil Exp $	*/
+/*	$NetBSD: netbsd32_netbsd.c,v 1.210 2017/12/19 18:34:47 kamil Exp $	*/
 
 /*
  * Copyright (c) 1998, 2001, 2008 Matthew R. Green
@@ -27,7 +27,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.209 2017/12/19 08:48:19 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.210 2017/12/19 18:34:47 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ddb.h"
@@ -701,18 +701,6 @@ netbsd32_chroot(struct lwp *l, const str
 }
 
 int
-netbsd32_sbrk(struct lwp *l, const struct netbsd32_sbrk_args *uap, register_t *retval)
-{
-	/* {
-		syscallarg(int) incr;
-	} */
-	struct sys_sbrk_args ua;
-
-	NETBSD32TO64_UAP(incr);
-	return (sys_sbrk(l, , retval));
-}
-
-int
 netbsd32_munmap(struct lwp *l, const struct netbsd32_munmap_args *uap, register_t *retval)
 {
 	/* {

Index: src/sys/compat/netbsd32/netbsd32_syscall.h
diff -u src/sys/compat/netbsd32/netbsd32_syscall.h:1.131 src/sys/compat/netbsd32/netbsd32_syscall.h:1.132
--- src/sys/compat/netbsd32/netbsd32_syscall.h:1.131	Tue Dec 19 08:48:19 2017
+++ src/sys/compat/netbsd32/netbsd32_syscall.h	Tue Dec 19 18:34:47 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.131 2017/12/19 08:48:19 kamil Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.132 2017/12/19 18:34:47 kamil Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.116 2017/12/19 07:58:50 kamil Exp
+ * created from	NetBSD: syscalls.master,v 1.117 2017/12/19 08:48:19 kamil Exp
  */
 
 #ifndef _NETBSD32_SYS_SYSCALL_H_
@@ -213,9 +213,7 @@
 
 /* 67 is obsolete vread */
 /* 68 is obsolete vwrite */
-/* syscall: "netbsd32_sbrk" ret: "int" args: "netbsd32_intptr_t" */
-#define	NETBSD32_SYS_netbsd32_sbrk	69
-
+/* 69 is obsolete sbrk */
 /* 70 is obsolete sstk */
 /* syscall: "compat_43_netbsd32_ommap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" */
 #define	NETBSD32_SYS_compat_43_netbsd32_ommap	71
Index: src/sys/compat/netbsd32/netbsd32_syscallargs.h
diff -u src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.131 src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.132
--- src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.131	Tue Dec 19 08:48:19 2017
+++ src/sys/compat/netbsd32/netbsd32_syscallargs.h	Tue Dec 19 18:34:47 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.131 2017/12/19 08:48:19 kamil Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.132 2017/12/19 18:34:47 kamil Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.116 2017/12/19 07:58:50 kamil Exp
+ * created from	NetBSD: syscalls.master,v 1.117 2017/12/19 08:48:19 kamil Exp
  */
 
 #ifndef _NETBSD32_SYS_SYSCALLARGS_H_
@@ -375,11 +375,6 @@ struct compat_12_netbsd32_msync_args {
 };
 

CVS commit: src/sys/compat/sunos32

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 18:25:53 UTC 2017

Modified Files:
src/sys/compat/sunos32: sunos32_syscall.h sunos32_syscallargs.h
sunos32_syscalls.c sunos32_sysent.c syscalls.master

Log Message:
compat/sunos32: Drop SYS_sbrk

sbrk - change data segment size

This syscall is dummy since the inception of the project.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/compat/sunos32/sunos32_syscall.h
cvs rdiff -u -r1.33 -r1.34 src/sys/compat/sunos32/sunos32_syscallargs.h \
src/sys/compat/sunos32/sunos32_syscalls.c
cvs rdiff -u -r1.35 -r1.36 src/sys/compat/sunos32/sunos32_sysent.c
cvs rdiff -u -r1.23 -r1.24 src/sys/compat/sunos32/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/sunos32/sunos32_syscall.h
diff -u src/sys/compat/sunos32/sunos32_syscall.h:1.34 src/sys/compat/sunos32/sunos32_syscall.h:1.35
--- src/sys/compat/sunos32/sunos32_syscall.h:1.34	Tue Dec 19 08:24:41 2017
+++ src/sys/compat/sunos32/sunos32_syscall.h	Tue Dec 19 18:25:53 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: sunos32_syscall.h,v 1.34 2017/12/19 08:24:41 kamil Exp $ */
+/* $NetBSD: sunos32_syscall.h,v 1.35 2017/12/19 18:25:53 kamil Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from;	NetBSD: syscalls.master,v 1.22 2013/11/07 19:37:19 njoly Exp
+ * created from;	NetBSD: syscalls.master,v 1.23 2017/12/19 08:24:41 kamil Exp
  */
 
 #ifndef _SUNOS32_SYS_SYSCALL_H_
@@ -156,9 +156,7 @@
 
 /* 67 is obsolete vread */
 /* 68 is obsolete vwrite */
-/* syscall: "netbsd32_sbrk" ret: "int" args: "netbsd32_intptr_t" */
-#define	SUNOS32_SYS_netbsd32_sbrk	69
-
+/* 69 is obsolete sbrk */
 /* 70 is obsolete sstk */
 /* syscall: "mmap" ret: "netbsd32_voidp" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" */
 #define	SUNOS32_SYS_mmap	71

Index: src/sys/compat/sunos32/sunos32_syscallargs.h
diff -u src/sys/compat/sunos32/sunos32_syscallargs.h:1.33 src/sys/compat/sunos32/sunos32_syscallargs.h:1.34
--- src/sys/compat/sunos32/sunos32_syscallargs.h:1.33	Tue Dec 19 08:24:41 2017
+++ src/sys/compat/sunos32/sunos32_syscallargs.h	Tue Dec 19 18:25:53 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: sunos32_syscallargs.h,v 1.33 2017/12/19 08:24:41 kamil Exp $ */
+/* $NetBSD: sunos32_syscallargs.h,v 1.34 2017/12/19 18:25:53 kamil Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from;	NetBSD: syscalls.master,v 1.22 2013/11/07 19:37:19 njoly Exp
+ * created from;	NetBSD: syscalls.master,v 1.23 2017/12/19 08:24:41 kamil Exp
  */
 
 #ifndef _SUNOS32_SYS_SYSCALLARGS_H_
@@ -179,8 +179,6 @@ struct sunos32_sys_omsync_args {
 };
 check_syscall_args(sunos32_sys_omsync)
 
-struct netbsd32_sbrk_args;
-
 struct sunos32_sys_mmap_args {
 	syscallarg(netbsd32_voidp) addr;
 	syscallarg(netbsd32_size_t) len;
@@ -564,8 +562,6 @@ int	sunos32_sys_omsync(struct lwp *, con
 
 int	sys_vfork(struct lwp *, const void *, register_t *);
 
-int	netbsd32_sbrk(struct lwp *, const struct netbsd32_sbrk_args *, register_t *);
-
 int	sunos32_sys_mmap(struct lwp *, const struct sunos32_sys_mmap_args *, register_t *);
 
 int	netbsd32_ovadvise(struct lwp *, const struct netbsd32_ovadvise_args *, register_t *);
Index: src/sys/compat/sunos32/sunos32_syscalls.c
diff -u src/sys/compat/sunos32/sunos32_syscalls.c:1.33 src/sys/compat/sunos32/sunos32_syscalls.c:1.34
--- src/sys/compat/sunos32/sunos32_syscalls.c:1.33	Tue Dec 19 08:24:41 2017
+++ src/sys/compat/sunos32/sunos32_syscalls.c	Tue Dec 19 18:25:53 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: sunos32_syscalls.c,v 1.33 2017/12/19 08:24:41 kamil Exp $ */
+/* $NetBSD: sunos32_syscalls.c,v 1.34 2017/12/19 18:25:53 kamil Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from;	NetBSD: syscalls.master,v 1.22 2013/11/07 19:37:19 njoly Exp
+ * created from;	NetBSD: syscalls.master,v 1.23 2017/12/19 08:24:41 kamil Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: sunos32_syscalls.c,v 1.33 2017/12/19 08:24:41 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos32_syscalls.c,v 1.34 2017/12/19 18:25:53 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -101,7 +101,7 @@ const char *const sunos32_syscallnames[]
 	/*  66 */	"vfork",
 	/*  67 */	"#67 (obsolete vread)",
 	/*  68 */	"#68 (obsolete vwrite)",
-	/*  69 */	"netbsd32_sbrk",
+	/*  69 */	"#69 (obsolete sbrk)",
 	/*  70 */	"#70 (obsolete sstk)",
 	/*  71 */	"mmap",
 	/*  72 */	"vadvise",
@@ -374,7 +374,7 @@ const char *const altsunos32_syscallname
 	/*  66 */	NULL, /* vfork */
 	/*  67 */	NULL, /* obsolete vread */
 	/*  68 */	NULL, /* obsolete vwrite */
-	/*  69 */	"sbrk",
+	/*  69 */	NULL, /* obsolete sbrk */
 	/*  70 */	NULL, /* obsolete sstk */
 	/*  71 */	NULL, /* mmap */
 	/* 

CVS commit: src/sys/compat/sunos

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 18:24:21 UTC 2017

Modified Files:
src/sys/compat/sunos: sunos_syscall.h sunos_syscallargs.h
sunos_syscalls.c sunos_sysent.c syscalls.master

Log Message:
compat/sunos: Drop SYS_sbrk

sbrk - change data segment size

This syscall is dummy since the inception of the project.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/compat/sunos/sunos_syscall.h
cvs rdiff -u -r1.77 -r1.78 src/sys/compat/sunos/sunos_syscallargs.h \
src/sys/compat/sunos/syscalls.master
cvs rdiff -u -r1.92 -r1.93 src/sys/compat/sunos/sunos_syscalls.c
cvs rdiff -u -r1.88 -r1.89 src/sys/compat/sunos/sunos_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/sunos/sunos_syscall.h
diff -u src/sys/compat/sunos/sunos_syscall.h:1.93 src/sys/compat/sunos/sunos_syscall.h:1.94
--- src/sys/compat/sunos/sunos_syscall.h:1.93	Tue Dec 19 08:25:37 2017
+++ src/sys/compat/sunos/sunos_syscall.h	Tue Dec 19 18:24:21 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: sunos_syscall.h,v 1.93 2017/12/19 08:25:37 kamil Exp $ */
+/* $NetBSD: sunos_syscall.h,v 1.94 2017/12/19 18:24:21 kamil Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.76 2013/11/07 19:37:19 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.77 2017/12/19 08:25:37 kamil Exp
  */
 
 #ifndef _SUNOS_SYS_SYSCALL_H_
@@ -156,9 +156,7 @@
 
 /* 67 is obsolete vread */
 /* 68 is obsolete vwrite */
-/* syscall: "sbrk" ret: "int" args: "intptr_t" */
-#define	SUNOS_SYS_sbrk	69
-
+/* 69 is obsolete sbrk */
 /* 70 is obsolete sstk */
 /* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" */
 #define	SUNOS_SYS_mmap	71

Index: src/sys/compat/sunos/sunos_syscallargs.h
diff -u src/sys/compat/sunos/sunos_syscallargs.h:1.77 src/sys/compat/sunos/sunos_syscallargs.h:1.78
--- src/sys/compat/sunos/sunos_syscallargs.h:1.77	Tue Dec 19 08:25:37 2017
+++ src/sys/compat/sunos/sunos_syscallargs.h	Tue Dec 19 18:24:21 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: sunos_syscallargs.h,v 1.77 2017/12/19 08:25:37 kamil Exp $ */
+/* $NetBSD: sunos_syscallargs.h,v 1.78 2017/12/19 18:24:21 kamil Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.76 2013/11/07 19:37:19 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.77 2017/12/19 08:25:37 kamil Exp
  */
 
 #ifndef _SUNOS_SYS_SYSCALLARGS_H_
@@ -167,8 +167,6 @@ struct sunos_sys_omsync_args {
 };
 check_syscall_args(sunos_sys_omsync)
 
-struct sys_sbrk_args;
-
 struct sunos_sys_mmap_args {
 	syscallarg(void *) addr;
 	syscallarg(size_t) len;
@@ -552,8 +550,6 @@ int	sunos_sys_omsync(struct lwp *, const
 
 int	sys_vfork(struct lwp *, const void *, register_t *);
 
-int	sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *);
-
 int	sunos_sys_mmap(struct lwp *, const struct sunos_sys_mmap_args *, register_t *);
 
 int	sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
Index: src/sys/compat/sunos/syscalls.master
diff -u src/sys/compat/sunos/syscalls.master:1.77 src/sys/compat/sunos/syscalls.master:1.78
--- src/sys/compat/sunos/syscalls.master:1.77	Tue Dec 19 08:25:37 2017
+++ src/sys/compat/sunos/syscalls.master	Tue Dec 19 18:24:21 2017
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.77 2017/12/19 08:25:37 kamil Exp $
+	$NetBSD: syscalls.master,v 1.78 2017/12/19 18:24:21 kamil Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -128,7 +128,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
 71	STD		{ void *|sunos_sys||mmap(void *addr, size_t len, \
 			int prot, int flags, int fd, long pos); }

Index: src/sys/compat/sunos/sunos_syscalls.c
diff -u src/sys/compat/sunos/sunos_syscalls.c:1.92 src/sys/compat/sunos/sunos_syscalls.c:1.93
--- src/sys/compat/sunos/sunos_syscalls.c:1.92	Tue Dec 19 08:25:37 2017
+++ src/sys/compat/sunos/sunos_syscalls.c	Tue Dec 19 18:24:21 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: sunos_syscalls.c,v 1.92 2017/12/19 08:25:37 kamil Exp $ */
+/* $NetBSD: sunos_syscalls.c,v 1.93 2017/12/19 18:24:21 kamil Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.76 2013/11/07 19:37:19 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.77 2017/12/19 08:25:37 kamil Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: sunos_syscalls.c,v 1.92 2017/12/19 08:25:37 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos_syscalls.c,v 1.93 2017/12/19 18:24:21 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -97,7 +97,7 @@ const char *const sunos_syscallnames[] =
 	/*  66 */	

CVS commit: src/sys/compat/ultrix

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 18:20:12 UTC 2017

Modified Files:
src/sys/compat/ultrix: syscalls.master ultrix_syscall.h
ultrix_syscallargs.h ultrix_syscalls.c ultrix_sysent.c

Log Message:
compat/ultrix: Drop SYS_sbrk

sbrk - change data segment size

This syscall is dummy since the inception of the project.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/compat/ultrix/syscalls.master
cvs rdiff -u -r1.69 -r1.70 src/sys/compat/ultrix/ultrix_syscall.h
cvs rdiff -u -r1.64 -r1.65 src/sys/compat/ultrix/ultrix_syscallargs.h
cvs rdiff -u -r1.68 -r1.69 src/sys/compat/ultrix/ultrix_syscalls.c
cvs rdiff -u -r1.71 -r1.72 src/sys/compat/ultrix/ultrix_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/ultrix/syscalls.master
diff -u src/sys/compat/ultrix/syscalls.master:1.53 src/sys/compat/ultrix/syscalls.master:1.54
--- src/sys/compat/ultrix/syscalls.master:1.53	Tue Dec 19 08:23:22 2017
+++ src/sys/compat/ultrix/syscalls.master	Tue Dec 19 18:20:11 2017
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.53 2017/12/19 08:23:22 kamil Exp $
+	$NetBSD: syscalls.master,v 1.54 2017/12/19 18:20:11 kamil Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -118,7 +118,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
 71	STD		{ int|ultrix_sys||mmap(void *addr, size_t len, \
 			int prot, u_int flags, int fd, long pos); }

Index: src/sys/compat/ultrix/ultrix_syscall.h
diff -u src/sys/compat/ultrix/ultrix_syscall.h:1.69 src/sys/compat/ultrix/ultrix_syscall.h:1.70
--- src/sys/compat/ultrix/ultrix_syscall.h:1.69	Tue Dec 19 08:23:22 2017
+++ src/sys/compat/ultrix/ultrix_syscall.h	Tue Dec 19 18:20:11 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: ultrix_syscall.h,v 1.69 2017/12/19 08:23:22 kamil Exp $ */
+/* $NetBSD: ultrix_syscall.h,v 1.70 2017/12/19 18:20:11 kamil Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.52 2013/11/07 19:37:19 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.53 2017/12/19 08:23:22 kamil Exp
  */
 
 #ifndef _ULTRIX_SYS_SYSCALL_H_
@@ -156,9 +156,7 @@
 
 /* 67 is obsolete vread */
 /* 68 is obsolete vwrite */
-/* syscall: "sbrk" ret: "int" args: "intptr_t" */
-#define	ULTRIX_SYS_sbrk	69
-
+/* 69 is obsolete sbrk */
 /* 70 is obsolete sstk */
 /* syscall: "mmap" ret: "int" args: "void *" "size_t" "int" "u_int" "int" "long" */
 #define	ULTRIX_SYS_mmap	71

Index: src/sys/compat/ultrix/ultrix_syscallargs.h
diff -u src/sys/compat/ultrix/ultrix_syscallargs.h:1.64 src/sys/compat/ultrix/ultrix_syscallargs.h:1.65
--- src/sys/compat/ultrix/ultrix_syscallargs.h:1.64	Tue Dec 19 08:23:22 2017
+++ src/sys/compat/ultrix/ultrix_syscallargs.h	Tue Dec 19 18:20:11 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: ultrix_syscallargs.h,v 1.64 2017/12/19 08:23:22 kamil Exp $ */
+/* $NetBSD: ultrix_syscallargs.h,v 1.65 2017/12/19 18:20:11 kamil Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.52 2013/11/07 19:37:19 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.53 2017/12/19 08:23:22 kamil Exp
  */
 
 #ifndef _ULTRIX_SYS_SYSCALLARGS_H_
@@ -145,8 +145,6 @@ struct sys_chroot_args;
 
 struct compat_43_sys_fstat_args;
 
-struct sys_sbrk_args;
-
 struct ultrix_sys_mmap_args {
 	syscallarg(void *) addr;
 	syscallarg(size_t) len;
@@ -524,8 +522,6 @@ int	compat_43_sys_getpagesize(struct lwp
 
 int	sys_vfork(struct lwp *, const void *, register_t *);
 
-int	sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *);
-
 int	ultrix_sys_mmap(struct lwp *, const struct ultrix_sys_mmap_args *, register_t *);
 
 int	sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);

Index: src/sys/compat/ultrix/ultrix_syscalls.c
diff -u src/sys/compat/ultrix/ultrix_syscalls.c:1.68 src/sys/compat/ultrix/ultrix_syscalls.c:1.69
--- src/sys/compat/ultrix/ultrix_syscalls.c:1.68	Tue Dec 19 08:23:22 2017
+++ src/sys/compat/ultrix/ultrix_syscalls.c	Tue Dec 19 18:20:11 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: ultrix_syscalls.c,v 1.68 2017/12/19 08:23:22 kamil Exp $ */
+/* $NetBSD: ultrix_syscalls.c,v 1.69 2017/12/19 18:20:11 kamil Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.52 2013/11/07 19:37:19 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.53 2017/12/19 08:23:22 kamil Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: ultrix_syscalls.c,v 1.68 2017/12/19 08:23:22 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ultrix_syscalls.c,v 1.69 2017/12/19 18:20:11 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #include 
@@ -92,7 +92,7 @@ 

CVS commit: src/sys/compat/freebsd

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 18:15:08 UTC 2017

Modified Files:
src/sys/compat/freebsd: freebsd_syscall.h freebsd_syscallargs.h
freebsd_syscalls.c freebsd_sysent.c syscalls.master

Log Message:
compat/freebsd: Drop SYS_sbrk

sbrk - change data segment size

This syscall is dummy since the inception of the project.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/compat/freebsd/freebsd_syscall.h
cvs rdiff -u -r1.88 -r1.89 src/sys/compat/freebsd/freebsd_syscallargs.h \
src/sys/compat/freebsd/freebsd_sysent.c
cvs rdiff -u -r1.86 -r1.87 src/sys/compat/freebsd/freebsd_syscalls.c
cvs rdiff -u -r1.69 -r1.70 src/sys/compat/freebsd/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/freebsd/freebsd_syscall.h
diff -u src/sys/compat/freebsd/freebsd_syscall.h:1.85 src/sys/compat/freebsd/freebsd_syscall.h:1.86
--- src/sys/compat/freebsd/freebsd_syscall.h:1.85	Tue Dec 19 08:27:05 2017
+++ src/sys/compat/freebsd/freebsd_syscall.h	Tue Dec 19 18:15:08 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: freebsd_syscall.h,v 1.85 2017/12/19 08:27:05 kamil Exp $ */
+/* $NetBSD: freebsd_syscall.h,v 1.86 2017/12/19 18:15:08 kamil Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.68 2017/08/08 08:04:06 maxv Exp
+ * created from	NetBSD: syscalls.master,v 1.69 2017/12/19 08:27:05 kamil Exp
  */
 
 #ifndef _FREEBSD_SYS_SYSCALL_H_
@@ -217,9 +217,7 @@
 
 /* 67 is obsolete vread */
 /* 68 is obsolete vwrite */
-/* syscall: "sbrk" ret: "int" args: "intptr_t" */
-#define	FREEBSD_SYS_sbrk	69
-
+/* 69 is obsolete sbrk */
 /* 70 is obsolete sstk */
 /* syscall: "ommap" ret: "int" args: "void *" "size_t" "int" "int" "int" "long" */
 #define	FREEBSD_SYS_ommap	71

Index: src/sys/compat/freebsd/freebsd_syscallargs.h
diff -u src/sys/compat/freebsd/freebsd_syscallargs.h:1.88 src/sys/compat/freebsd/freebsd_syscallargs.h:1.89
--- src/sys/compat/freebsd/freebsd_syscallargs.h:1.88	Tue Dec 19 08:27:05 2017
+++ src/sys/compat/freebsd/freebsd_syscallargs.h	Tue Dec 19 18:15:08 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: freebsd_syscallargs.h,v 1.88 2017/12/19 08:27:05 kamil Exp $ */
+/* $NetBSD: freebsd_syscallargs.h,v 1.89 2017/12/19 18:15:08 kamil Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.68 2017/08/08 08:04:06 maxv Exp
+ * created from	NetBSD: syscalls.master,v 1.69 2017/12/19 08:27:05 kamil Exp
  */
 
 #ifndef _FREEBSD_SYS_SYSCALLARGS_H_
@@ -165,8 +165,6 @@ struct freebsd_sys_msync_args {
 };
 check_syscall_args(freebsd_sys_msync)
 
-struct sys_sbrk_args;
-
 struct compat_43_sys_mmap_args;
 
 struct sys_ovadvise_args;
@@ -738,8 +736,6 @@ int	freebsd_sys_msync(struct lwp *, cons
 
 int	sys_vfork(struct lwp *, const void *, register_t *);
 
-int	sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *);
-
 int	compat_43_sys_mmap(struct lwp *, const struct compat_43_sys_mmap_args *, register_t *);
 
 int	sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
Index: src/sys/compat/freebsd/freebsd_sysent.c
diff -u src/sys/compat/freebsd/freebsd_sysent.c:1.88 src/sys/compat/freebsd/freebsd_sysent.c:1.89
--- src/sys/compat/freebsd/freebsd_sysent.c:1.88	Tue Dec 19 08:27:05 2017
+++ src/sys/compat/freebsd/freebsd_sysent.c	Tue Dec 19 18:15:08 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: freebsd_sysent.c,v 1.88 2017/12/19 08:27:05 kamil Exp $ */
+/* $NetBSD: freebsd_sysent.c,v 1.89 2017/12/19 18:15:08 kamil Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.68 2017/08/08 08:04:06 maxv Exp
+ * created from	NetBSD: syscalls.master,v 1.69 2017/12/19 08:27:05 kamil Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.88 2017/12/19 08:27:05 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.89 2017/12/19 18:15:08 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ktrace.h"
@@ -340,9 +340,8 @@ struct sysent freebsd_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/freebsd/freebsd_syscalls.c
diff -u src/sys/compat/freebsd/freebsd_syscalls.c:1.86 src/sys/compat/freebsd/freebsd_syscalls.c:1.87
--- src/sys/compat/freebsd/freebsd_syscalls.c:1.86	Tue Dec 19 08:27:05 2017
+++ src/sys/compat/freebsd/freebsd_syscalls.c	Tue Dec 19 18:15:08 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: freebsd_syscalls.c,v 1.86 2017/12/19 08:27:05 kamil Exp $ */
+/* $NetBSD: freebsd_syscalls.c,v 1.87 2017/12/19 

CVS commit: src/sys/compat/aoutm68k

2017-12-19 Thread Kamil Rytarowski
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 


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 
-__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 

CVS commit: src/usr.bin/netstat

2017-12-19 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Tue Dec 19 17:05:15 UTC 2017

Modified Files:
src/usr.bin/netstat: inet6.c

Log Message:
Add names of a few more ICMPv6 messages, from RFC6275 (Mobile IPv6)
and RFC4286 (Multicast Router Discovery.) and as shown in the IANA
parameters page available at:
  https://www.ietf.org/assignments/icmpv6-parameters/icmpv6-parameters.txt

Also make the array be explicitly 256 entries long, one for each possible
code, which will detect attempts to insert names without deleting the
place holder (and mean a good solid NULL de-ref if too many place holders
are deleted, rather than just random results.)


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/usr.bin/netstat/inet6.c

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

Modified files:

Index: src/usr.bin/netstat/inet6.c
diff -u src/usr.bin/netstat/inet6.c:1.69 src/usr.bin/netstat/inet6.c:1.70
--- src/usr.bin/netstat/inet6.c:1.69	Sat Dec 17 09:12:22 2016
+++ src/usr.bin/netstat/inet6.c	Tue Dec 19 17:05:15 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: inet6.c,v 1.69 2016/12/17 09:12:22 mlelstv Exp $	*/
+/*	$NetBSD: inet6.c,v 1.70 2017/12/19 17:05:15 kre Exp $	*/
 /*	BSDI inet.c,v 2.3 1995/10/24 02:19:29 prb Exp	*/
 
 /*
@@ -64,7 +64,7 @@
 #if 0
 static char sccsid[] = "@(#)inet.c	8.4 (Berkeley) 4/20/94";
 #else
-__RCSID("$NetBSD: inet6.c,v 1.69 2016/12/17 09:12:22 mlelstv Exp $");
+__RCSID("$NetBSD: inet6.c,v 1.70 2017/12/19 17:05:15 kre Exp $");
 #endif
 #endif /* not lint */
 
@@ -860,7 +860,7 @@ ip6_ifstats(const char *ifname)
 #undef p_5
 }
 
-static	const char *icmp6names[] = {
+static	const char *icmp6names[256] = {
 	"#0",
 	"unreach",
 	"packet too big",
@@ -1004,17 +1004,17 @@ static	const char *icmp6names[] = {
 	"node information reply",
 	"#141",
 	"#142",
-	"#143",
-	"#144",
-	"#145",
-	"#146",
-	"#147",
+	"multicast listener report (v2)",
+	"home agent discovery request",
+	"home agent discovery reply",
+	"mobile prefix solicitation",
+	"mobile prefix advertisement",
 	"#148",
 	"#149",	
 	"#150",
-	"#151",
-	"#152",
-	"#153",
+	"multicast router advertisement",
+	"multicast router solicitation",
+	"multicast router termination",
 	"#154",
 	"#155",
 	"#156",



CVS commit: src/sys/dev/usb

2017-12-19 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Dec 19 16:04:27 UTC 2017

Modified Files:
src/sys/dev/usb: xhci.c

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/dev/usb/xhci.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/dev/usb/xhci.c
diff -u src/sys/dev/usb/xhci.c:1.81 src/sys/dev/usb/xhci.c:1.82
--- src/sys/dev/usb/xhci.c:1.81	Sun Dec 10 17:50:01 2017
+++ src/sys/dev/usb/xhci.c	Tue Dec 19 16:04:27 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: xhci.c,v 1.81 2017/12/10 17:50:01 hannken Exp $	*/
+/*	$NetBSD: xhci.c,v 1.82 2017/12/19 16:04:27 skrll Exp $	*/
 
 /*
  * Copyright (c) 2013 Jonathan A. Kollasch
@@ -34,7 +34,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.81 2017/12/10 17:50:01 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.82 2017/12/19 16:04:27 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -623,7 +623,7 @@ xhci_detach(struct xhci_softc *sc, int f
 
 	kmem_free(sc->sc_slots, sizeof(*sc->sc_slots) * sc->sc_maxslots);
 
-	kmem_free(sc->sc_ctlrportbus, 
+	kmem_free(sc->sc_ctlrportbus,
 	howmany(sc->sc_maxports * sizeof(uint8_t), NBBY));
 	kmem_free(sc->sc_ctlrportmap, sc->sc_maxports * sizeof(int));
 



CVS commit: src/sys/arch/sparc64/conf

2017-12-19 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Tue Dec 19 14:34:08 UTC 2017

Modified Files:
src/sys/arch/sparc64/conf: files.sparc64

Log Message:
files.ofw is now mandatory, so use its dependency.


To generate a diff of this commit:
cvs rdiff -u -r1.153 -r1.154 src/sys/arch/sparc64/conf/files.sparc64

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

Modified files:

Index: src/sys/arch/sparc64/conf/files.sparc64
diff -u src/sys/arch/sparc64/conf/files.sparc64:1.153 src/sys/arch/sparc64/conf/files.sparc64:1.154
--- src/sys/arch/sparc64/conf/files.sparc64:1.153	Thu Jul  6 11:09:00 2017
+++ src/sys/arch/sparc64/conf/files.sparc64	Tue Dec 19 14:34:08 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: files.sparc64,v 1.153 2017/07/06 11:09:00 martin Exp $
+#	$NetBSD: files.sparc64,v 1.154 2017/12/19 14:34:08 nakayama Exp $
 
 # @(#)files.sparc64	8.1 (Berkeley) 7/19/93
 # sparc64-specific configuration info
@@ -11,7 +11,7 @@ maxusers 2 8 1024
 defflag	opt_sparc_arch.h	SUN4U SUN4V
 
 define mainbus {}
-device mainbus: mainbus
+device mainbus: mainbus, ofw_subr
 attach mainbus at root
 
 define upa {}
@@ -314,9 +314,6 @@ file	dev/md_root.c			memory_disk_hooks
 
 include "arch/sparc64/conf/majors.sparc64"
 
-# OpenFirmware convenience stuff
-file  dev/ofw/ofw_subr.c
-
 # Virtual rtc
 device	vrtc
 attach	vrtc at vbus



CVS commit: src/sys/arch/arm/ti

2017-12-19 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Dec 19 09:15:23 UTC 2017

Modified Files:
src/sys/arch/arm/ti: ti_platform.c

Log Message:
Remove duplicate DEVMAP_* macros


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/ti/ti_platform.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/arch/arm/ti/ti_platform.c
diff -u src/sys/arch/arm/ti/ti_platform.c:1.1 src/sys/arch/arm/ti/ti_platform.c:1.2
--- src/sys/arch/arm/ti/ti_platform.c:1.1	Thu Oct 26 01:16:32 2017
+++ src/sys/arch/arm/ti/ti_platform.c	Tue Dec 19 09:15:23 2017
@@ -1,9 +1,9 @@
-/* $NetBSD: ti_platform.c,v 1.1 2017/10/26 01:16:32 jakllsch Exp $ */
+/* $NetBSD: ti_platform.c,v 1.2 2017/12/19 09:15:23 skrll Exp $ */
 
 #include "opt_fdt_arm.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: ti_platform.c,v 1.1 2017/10/26 01:16:32 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ti_platform.c,v 1.2 2017/12/19 09:15:23 skrll Exp $");
 
 #include 
 
@@ -14,18 +14,6 @@ __KERNEL_RCSID(0, "$NetBSD: ti_platform.
 
 #include 
 
-#define DEVMAP_ALIGN(a) ((a) & ~L1_S_OFFSET)
-#define DEVMAP_SIZE(s)	roundup2((s), L1_S_SIZE)
-#define DEVMAP_ENTRY(va, pa, sz)			\
-	{		\
-		.pd_va = DEVMAP_ALIGN(va),		\
-		.pd_pa = DEVMAP_ALIGN(pa),		\
-		.pd_size = DEVMAP_SIZE(sz),		\
-		.pd_prot = VM_PROT_READ|VM_PROT_WRITE,	\
-		.pd_cache = PTE_NOCACHE			\
-	}
-#define	DEVMAP_ENTRY_END	{ 0 }
-
 extern struct bus_space armv7_generic_bs_tag;
 extern struct bus_space armv7_generic_a4x_bs_tag;
 extern struct arm32_bus_dma_tag armv7_generic_dma_tag;



CVS commit: src/doc

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 09:09:28 UTC 2017

Modified Files:
src/doc: CHANGES

Log Message:
Document sstk removal in doc/CHANGES

sstk: Remove the "stack section size change" syscall

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.2339 -r1.2340 src/doc/CHANGES

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

Modified files:

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.2339 src/doc/CHANGES:1.2340
--- src/doc/CHANGES:1.2339	Wed Dec 13 13:03:23 2017
+++ src/doc/CHANGES	Tue Dec 19 09:09:28 2017
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2339 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2340 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -93,4 +93,4 @@ Changes from NetBSD 8.0 to NetBSD 9.0:
 	ihidev(4), ims(4): Added drivers for i2c HID mice. [bouyer 20171210]
 	lua: Applied 6th bugfix to Lua 5.3.4 from lua.org/bugs.html.
 		[mbalmer 20171213]
-
+	sstk: Remove the "stack section size change" syscall [kamil 20171219]



CVS commit: src/sys/arch/arm

2017-12-19 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Dec 19 09:04:19 UTC 2017

Modified Files:
src/sys/arch/arm/nvidia: tegra_platform.c
src/sys/arch/arm/samsung: exynos_platform.c
src/sys/arch/arm/sunxi: sunxi_platform.c
src/sys/arch/arm/vexpress: vexpress_platform.c

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/nvidia/tegra_platform.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/samsung/exynos_platform.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/arm/sunxi/sunxi_platform.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/vexpress/vexpress_platform.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/arch/arm/nvidia/tegra_platform.c
diff -u src/sys/arch/arm/nvidia/tegra_platform.c:1.8 src/sys/arch/arm/nvidia/tegra_platform.c:1.9
--- src/sys/arch/arm/nvidia/tegra_platform.c:1.8	Sun Oct 22 20:35:32 2017
+++ src/sys/arch/arm/nvidia/tegra_platform.c	Tue Dec 19 09:04:18 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_platform.c,v 1.8 2017/10/22 20:35:32 skrll Exp $ */
+/* $NetBSD: tegra_platform.c,v 1.9 2017/12/19 09:04:18 skrll Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared D. McNeill 
@@ -33,7 +33,7 @@
 #include "ukbd.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: tegra_platform.c,v 1.8 2017/10/22 20:35:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_platform.c,v 1.9 2017/12/19 09:04:18 skrll Exp $");
 
 #include 
 #include 
@@ -79,7 +79,7 @@ tegra_platform_devmap(void)
 			 TEGRA_AHB_A2_BASE,
 			 TEGRA_AHB_A2_SIZE),
 		DEVMAP_ENTRY_END
-	};	
+	};
 
 	return devmap;
 }

Index: src/sys/arch/arm/samsung/exynos_platform.c
diff -u src/sys/arch/arm/samsung/exynos_platform.c:1.7 src/sys/arch/arm/samsung/exynos_platform.c:1.8
--- src/sys/arch/arm/samsung/exynos_platform.c:1.7	Sun Oct 22 20:35:32 2017
+++ src/sys/arch/arm/samsung/exynos_platform.c	Tue Dec 19 09:04:19 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: exynos_platform.c,v 1.7 2017/10/22 20:35:32 skrll Exp $ */
+/* $NetBSD: exynos_platform.c,v 1.8 2017/12/19 09:04:19 skrll Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared D. McNeill 
@@ -33,7 +33,7 @@
 #include "ukbd.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: exynos_platform.c,v 1.7 2017/10/22 20:35:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: exynos_platform.c,v 1.8 2017/12/19 09:04:19 skrll Exp $");
 
 #include 
 #include 
@@ -70,7 +70,7 @@ exynos_platform_devmap(void)
 			 EXYNOS5_AUDIOCORE_PBASE,
 			 EXYNOS5_AUDIOCORE_SIZE),
 		DEVMAP_ENTRY_END
-	};	
+	};
 
 	return devmap;
 }

Index: src/sys/arch/arm/sunxi/sunxi_platform.c
diff -u src/sys/arch/arm/sunxi/sunxi_platform.c:1.16 src/sys/arch/arm/sunxi/sunxi_platform.c:1.17
--- src/sys/arch/arm/sunxi/sunxi_platform.c:1.16	Mon Nov  6 21:03:58 2017
+++ src/sys/arch/arm/sunxi/sunxi_platform.c	Tue Dec 19 09:04:19 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_platform.c,v 1.16 2017/11/06 21:03:58 jmcneill Exp $ */
+/* $NetBSD: sunxi_platform.c,v 1.17 2017/12/19 09:04:19 skrll Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill 
@@ -31,7 +31,7 @@
 #include "opt_fdt_arm.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: sunxi_platform.c,v 1.16 2017/11/06 21:03:58 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_platform.c,v 1.17 2017/12/19 09:04:19 skrll Exp $");
 
 #include 
 #include 
@@ -107,7 +107,7 @@ sunxi_platform_devmap(void)
 			 SUNXI_CORE_PBASE,
 			 SUNXI_CORE_SIZE),
 		DEVMAP_ENTRY_END
-	};	
+	};
 
 	return devmap;
 }

Index: src/sys/arch/arm/vexpress/vexpress_platform.c
diff -u src/sys/arch/arm/vexpress/vexpress_platform.c:1.5 src/sys/arch/arm/vexpress/vexpress_platform.c:1.6
--- src/sys/arch/arm/vexpress/vexpress_platform.c:1.5	Sat Nov 18 00:25:43 2017
+++ src/sys/arch/arm/vexpress/vexpress_platform.c	Tue Dec 19 09:04:19 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: vexpress_platform.c,v 1.5 2017/11/18 00:25:43 jmcneill Exp $ */
+/* $NetBSD: vexpress_platform.c,v 1.6 2017/12/19 09:04:19 skrll Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill 
@@ -30,7 +30,7 @@
 #include "opt_fdt_arm.h"
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: vexpress_platform.c,v 1.5 2017/11/18 00:25:43 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vexpress_platform.c,v 1.6 2017/12/19 09:04:19 skrll Exp $");
 
 #include 
 #include 
@@ -143,7 +143,7 @@ vexpress_platform_devmap(void)
 			 VEXPRESS_GIC_PBASE,
 			 VEXPRESS_GIC_SIZE),
 		DEVMAP_ENTRY_END
-	};	
+	};
 
 	return devmap;
 }



CVS commit: src/external/gpl3/gdb.old/dist/sim/ppc

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 09:01:24 UTC 2017

Modified Files:
src/external/gpl3/gdb.old/dist/sim/ppc: emul_netbsd.c

Log Message:
gdb.old: Add missing */

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c

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

Modified files:

Index: src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c
diff -u src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c:1.7 src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c:1.8
--- src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c:1.7	Tue Dec 19 08:02:55 2017
+++ src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c	Tue Dec 19 09:01:24 2017
@@ -1153,7 +1153,7 @@ static emul_syscall_descriptor netbsd_de
   { 0, }, /* 67 is obsolete vread */
   { 0, }, /* 68 is obsolete vwrite */
   /* 69 */ { 0, "sbrk" },
-  { 0, }, /* 70 is obsolete sstk *
+  { 0, }, /* 70 is obsolete sstk */
   { 0, }, /* 71 is old mmap */
   /* 72 */ { 0, "vadvise" },
   /* 73 */ { 0, "munmap" },



CVS commit: src/sys/kern

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 08:51:09 UTC 2017

Modified Files:
src/sys/kern: systrace_args.c

Log Message:
Regenerate kern/systrace_args.c for the ___lwp_wait60 prototype change

___lwp_part60 removed 'const' from the ts argument.

'const struct timespec *ts' -> 'struct timespec *ts'

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/kern/systrace_args.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/kern/systrace_args.c
diff -u src/sys/kern/systrace_args.c:1.25 src/sys/kern/systrace_args.c:1.26
--- src/sys/kern/systrace_args.c:1.25	Tue Dec 19 08:48:19 2017
+++ src/sys/kern/systrace_args.c	Tue Dec 19 08:51:09 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: systrace_args.c,v 1.25 2017/12/19 08:48:19 kamil Exp $ */
+/* $NetBSD: systrace_args.c,v 1.26 2017/12/19 08:51:09 kamil Exp $ */
 
 /*
  * System call argument to DTrace register array converstion.
@@ -3630,7 +3630,7 @@ systrace_args(register_t sysnum, const v
 		const struct syslwp_park60_args *p = params;
 		iarg[0] = SCARG(p, clock_id); /* clockid_t */
 		iarg[1] = SCARG(p, flags); /* int */
-		uarg[2] = (intptr_t) SCARG(p, ts); /* const struct timespec * */
+		uarg[2] = (intptr_t) SCARG(p, ts); /* struct timespec * */
 		iarg[3] = SCARG(p, unpark); /* lwpid_t */
 		uarg[4] = (intptr_t) SCARG(p, hint); /* const void * */
 		uarg[5] = (intptr_t) SCARG(p, unparkhint); /* const void * */
@@ -9815,7 +9815,7 @@ systrace_entry_setargdesc(int sysnum, in
 			p = "int";
 			break;
 		case 2:
-			p = "const struct timespec *";
+			p = "struct timespec *";
 			break;
 		case 3:
 			p = "lwpid_t";



CVS commit: src/sys

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 08:48:19 UTC 2017

Modified Files:
src/sys/compat/netbsd32: netbsd32_netbsd.c netbsd32_syscall.h
netbsd32_syscallargs.h netbsd32_syscalls.c netbsd32_sysent.c
netbsd32_systrace_args.c syscalls.master
src/sys/kern: init_sysent.c syscalls.c syscalls.master systrace_args.c
src/sys/rump/librump/rumpkern: rump_syscalls.c
src/sys/sys: syscall.h syscallargs.h
src/sys/uvm: uvm_mmap.c

Log Message:
Drop the sstk(2) syscall stub

sstk - change stack section size

This functionality has never been implemented and is a remnant from 16-bit
UNIX. This stub appeared with the first NetBSD commit.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.208 -r1.209 src/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -u -r1.130 -r1.131 src/sys/compat/netbsd32/netbsd32_syscall.h \
src/sys/compat/netbsd32/netbsd32_syscallargs.h
cvs rdiff -u -r1.128 -r1.129 src/sys/compat/netbsd32/netbsd32_syscalls.c \
src/sys/compat/netbsd32/netbsd32_sysent.c
cvs rdiff -u -r1.20 -r1.21 src/sys/compat/netbsd32/netbsd32_systrace_args.c
cvs rdiff -u -r1.116 -r1.117 src/sys/compat/netbsd32/syscalls.master
cvs rdiff -u -r1.315 -r1.316 src/sys/kern/init_sysent.c
cvs rdiff -u -r1.306 -r1.307 src/sys/kern/syscalls.c
cvs rdiff -u -r1.287 -r1.288 src/sys/kern/syscalls.master
cvs rdiff -u -r1.24 -r1.25 src/sys/kern/systrace_args.c
cvs rdiff -u -r1.133 -r1.134 src/sys/rump/librump/rumpkern/rump_syscalls.c
cvs rdiff -u -r1.300 -r1.301 src/sys/sys/syscall.h
cvs rdiff -u -r1.284 -r1.285 src/sys/sys/syscallargs.h
cvs rdiff -u -r1.167 -r1.168 src/sys/uvm/uvm_mmap.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/netbsd32/netbsd32_netbsd.c
diff -u src/sys/compat/netbsd32/netbsd32_netbsd.c:1.208 src/sys/compat/netbsd32/netbsd32_netbsd.c:1.209
--- src/sys/compat/netbsd32/netbsd32_netbsd.c:1.208	Wed Dec  6 19:15:27 2017
+++ src/sys/compat/netbsd32/netbsd32_netbsd.c	Tue Dec 19 08:48:19 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbsd32_netbsd.c,v 1.208 2017/12/06 19:15:27 christos Exp $	*/
+/*	$NetBSD: netbsd32_netbsd.c,v 1.209 2017/12/19 08:48:19 kamil Exp $	*/
 
 /*
  * Copyright (c) 1998, 2001, 2008 Matthew R. Green
@@ -27,7 +27,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.208 2017/12/06 19:15:27 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.209 2017/12/19 08:48:19 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ddb.h"
@@ -713,18 +713,6 @@ netbsd32_sbrk(struct lwp *l, const struc
 }
 
 int
-netbsd32_sstk(struct lwp *l, const struct netbsd32_sstk_args *uap, register_t *retval)
-{
-	/* {
-		syscallarg(int) incr;
-	} */
-	struct sys_sstk_args ua;
-
-	NETBSD32TO64_UAP(incr);
-	return (sys_sstk(l, , retval));
-}
-
-int
 netbsd32_munmap(struct lwp *l, const struct netbsd32_munmap_args *uap, register_t *retval)
 {
 	/* {

Index: src/sys/compat/netbsd32/netbsd32_syscall.h
diff -u src/sys/compat/netbsd32/netbsd32_syscall.h:1.130 src/sys/compat/netbsd32/netbsd32_syscall.h:1.131
--- src/sys/compat/netbsd32/netbsd32_syscall.h:1.130	Tue Dec 19 07:58:50 2017
+++ src/sys/compat/netbsd32/netbsd32_syscall.h	Tue Dec 19 08:48:19 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.130 2017/12/19 07:58:50 kamil Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.131 2017/12/19 08:48:19 kamil Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.115 2016/10/19 09:44:01 skrll Exp
+ * created from	NetBSD: syscalls.master,v 1.116 2017/12/19 07:58:50 kamil Exp
  */
 
 #ifndef _NETBSD32_SYS_SYSCALL_H_
@@ -216,9 +216,7 @@
 /* syscall: "netbsd32_sbrk" ret: "int" args: "netbsd32_intptr_t" */
 #define	NETBSD32_SYS_netbsd32_sbrk	69
 
-/* syscall: "netbsd32_sstk" ret: "int" args: "int" */
-#define	NETBSD32_SYS_netbsd32_sstk	70
-
+/* 70 is obsolete sstk */
 /* syscall: "compat_43_netbsd32_ommap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" */
 #define	NETBSD32_SYS_compat_43_netbsd32_ommap	71
 
Index: src/sys/compat/netbsd32/netbsd32_syscallargs.h
diff -u src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.130 src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.131
--- src/sys/compat/netbsd32/netbsd32_syscallargs.h:1.130	Tue Dec 19 07:58:50 2017
+++ src/sys/compat/netbsd32/netbsd32_syscallargs.h	Tue Dec 19 08:48:19 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.130 2017/12/19 07:58:50 kamil Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.131 2017/12/19 08:48:19 kamil Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.115 2016/10/19 09:44:01 skrll Exp
+ * created from	NetBSD: syscalls.master,v 1.116 2017/12/19 07:58:50 kamil Exp
  */
 
 #ifndef 

CVS commit: src/sys/compat/freebsd

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 08:27:05 UTC 2017

Modified Files:
src/sys/compat/freebsd: freebsd_syscall.h freebsd_syscallargs.h
freebsd_syscalls.c freebsd_sysent.c syscalls.master

Log Message:
compat freebsd: Drop the sstk(2) syscall

sstk(2) has never been implemented by the NetBSD kernel.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/compat/freebsd/freebsd_syscall.h
cvs rdiff -u -r1.87 -r1.88 src/sys/compat/freebsd/freebsd_syscallargs.h \
src/sys/compat/freebsd/freebsd_sysent.c
cvs rdiff -u -r1.85 -r1.86 src/sys/compat/freebsd/freebsd_syscalls.c
cvs rdiff -u -r1.68 -r1.69 src/sys/compat/freebsd/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/freebsd/freebsd_syscall.h
diff -u src/sys/compat/freebsd/freebsd_syscall.h:1.84 src/sys/compat/freebsd/freebsd_syscall.h:1.85
--- src/sys/compat/freebsd/freebsd_syscall.h:1.84	Wed May 10 06:19:48 2017
+++ src/sys/compat/freebsd/freebsd_syscall.h	Tue Dec 19 08:27:05 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: freebsd_syscall.h,v 1.84 2017/05/10 06:19:48 riastradh Exp $ */
+/* $NetBSD: freebsd_syscall.h,v 1.85 2017/12/19 08:27:05 kamil Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.67 2013/11/07 19:37:18 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.68 2017/08/08 08:04:06 maxv Exp
  */
 
 #ifndef _FREEBSD_SYS_SYSCALL_H_
@@ -220,9 +220,7 @@
 /* syscall: "sbrk" ret: "int" args: "intptr_t" */
 #define	FREEBSD_SYS_sbrk	69
 
-/* syscall: "sstk" ret: "int" args: "int" */
-#define	FREEBSD_SYS_sstk	70
-
+/* 70 is obsolete sstk */
 /* syscall: "ommap" ret: "int" args: "void *" "size_t" "int" "int" "int" "long" */
 #define	FREEBSD_SYS_ommap	71
 

Index: src/sys/compat/freebsd/freebsd_syscallargs.h
diff -u src/sys/compat/freebsd/freebsd_syscallargs.h:1.87 src/sys/compat/freebsd/freebsd_syscallargs.h:1.88
--- src/sys/compat/freebsd/freebsd_syscallargs.h:1.87	Wed May 10 06:19:48 2017
+++ src/sys/compat/freebsd/freebsd_syscallargs.h	Tue Dec 19 08:27:05 2017
@@ -1,10 +1,10 @@
-/* $NetBSD: freebsd_syscallargs.h,v 1.87 2017/05/10 06:19:48 riastradh Exp $ */
+/* $NetBSD: freebsd_syscallargs.h,v 1.88 2017/12/19 08:27:05 kamil Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.67 2013/11/07 19:37:18 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.68 2017/08/08 08:04:06 maxv Exp
  */
 
 #ifndef _FREEBSD_SYS_SYSCALLARGS_H_
@@ -167,8 +167,6 @@ check_syscall_args(freebsd_sys_msync)
 
 struct sys_sbrk_args;
 
-struct sys_sstk_args;
-
 struct compat_43_sys_mmap_args;
 
 struct sys_ovadvise_args;
@@ -742,8 +740,6 @@ int	sys_vfork(struct lwp *, const void *
 
 int	sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *);
 
-int	sys_sstk(struct lwp *, const struct sys_sstk_args *, register_t *);
-
 int	compat_43_sys_mmap(struct lwp *, const struct compat_43_sys_mmap_args *, register_t *);
 
 int	sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
Index: src/sys/compat/freebsd/freebsd_sysent.c
diff -u src/sys/compat/freebsd/freebsd_sysent.c:1.87 src/sys/compat/freebsd/freebsd_sysent.c:1.88
--- src/sys/compat/freebsd/freebsd_sysent.c:1.87	Tue Aug  8 08:04:06 2017
+++ src/sys/compat/freebsd/freebsd_sysent.c	Tue Dec 19 08:27:05 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: freebsd_sysent.c,v 1.87 2017/08/08 08:04:06 maxv Exp $ */
+/* $NetBSD: freebsd_sysent.c,v 1.88 2017/12/19 08:27:05 kamil Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from	NetBSD: syscalls.master,v 1.67 2013/11/07 19:37:18 njoly Exp
+ * created from	NetBSD: syscalls.master,v 1.68 2017/08/08 08:04:06 maxv Exp
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.87 2017/08/08 08:04:06 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.88 2017/12/19 08:27:05 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ktrace.h"
@@ -344,9 +344,8 @@ struct sysent freebsd_sysent[] = {
 		.sy_call = (sy_call_t *)sys_sbrk
 	},		/* 69 = sbrk */
 	{
-		ns(struct sys_sstk_args),
-		.sy_call = (sy_call_t *)sys_sstk
-	},		/* 70 = sstk */
+		.sy_call = sys_nosys,
+	},		/* 70 = filler */
 	{
 		ns(struct compat_43_sys_mmap_args),
 		.sy_flags = SYCALL_ARG_PTR,

Index: src/sys/compat/freebsd/freebsd_syscalls.c
diff -u src/sys/compat/freebsd/freebsd_syscalls.c:1.85 src/sys/compat/freebsd/freebsd_syscalls.c:1.86
--- src/sys/compat/freebsd/freebsd_syscalls.c:1.85	Tue Aug  8 08:04:06 2017
+++ src/sys/compat/freebsd/freebsd_syscalls.c	Tue Dec 19 08:27:05 2017
@@ -1,14 +1,14 @@
-/* $NetBSD: freebsd_syscalls.c,v 1.85 2017/08/08 08:04:06 maxv Exp $ */
+/* $NetBSD: freebsd_syscalls.c,v 1.86 2017/12/19 08:27:05 

CVS commit: src/sys/compat/sunos

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 08:25:37 UTC 2017

Modified Files:
src/sys/compat/sunos: sunos_syscall.h sunos_syscallargs.h
sunos_syscalls.c sunos_sysent.c syscalls.master

Log Message:
compat sunos: Drop the sstk(2) syscall

sstk(2) has never been implemented by the NetBSD kernel.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/compat/sunos/sunos_syscall.h
cvs rdiff -u -r1.76 -r1.77 src/sys/compat/sunos/sunos_syscallargs.h \
src/sys/compat/sunos/syscalls.master
cvs rdiff -u -r1.91 -r1.92 src/sys/compat/sunos/sunos_syscalls.c
cvs rdiff -u -r1.87 -r1.88 src/sys/compat/sunos/sunos_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/sunos/sunos_syscall.h
diff -u src/sys/compat/sunos/sunos_syscall.h:1.92 src/sys/compat/sunos/sunos_syscall.h:1.93
--- src/sys/compat/sunos/sunos_syscall.h:1.92	Wed May 10 06:19:49 2017
+++ src/sys/compat/sunos/sunos_syscall.h	Tue Dec 19 08:25:37 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: sunos_syscall.h,v 1.92 2017/05/10 06:19:49 riastradh Exp $ */
+/* $NetBSD: sunos_syscall.h,v 1.93 2017/12/19 08:25:37 kamil Exp $ */
 
 /*
  * System call numbers.
@@ -159,9 +159,7 @@
 /* syscall: "sbrk" ret: "int" args: "intptr_t" */
 #define	SUNOS_SYS_sbrk	69
 
-/* syscall: "sstk" ret: "int" args: "int" */
-#define	SUNOS_SYS_sstk	70
-
+/* 70 is obsolete sstk */
 /* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" */
 #define	SUNOS_SYS_mmap	71
 

Index: src/sys/compat/sunos/sunos_syscallargs.h
diff -u src/sys/compat/sunos/sunos_syscallargs.h:1.76 src/sys/compat/sunos/sunos_syscallargs.h:1.77
--- src/sys/compat/sunos/sunos_syscallargs.h:1.76	Wed May 10 06:19:49 2017
+++ src/sys/compat/sunos/sunos_syscallargs.h	Tue Dec 19 08:25:37 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: sunos_syscallargs.h,v 1.76 2017/05/10 06:19:49 riastradh Exp $ */
+/* $NetBSD: sunos_syscallargs.h,v 1.77 2017/12/19 08:25:37 kamil Exp $ */
 
 /*
  * System call argument lists.
@@ -169,8 +169,6 @@ check_syscall_args(sunos_sys_omsync)
 
 struct sys_sbrk_args;
 
-struct sys_sstk_args;
-
 struct sunos_sys_mmap_args {
 	syscallarg(void *) addr;
 	syscallarg(size_t) len;
@@ -556,8 +554,6 @@ int	sys_vfork(struct lwp *, const void *
 
 int	sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *);
 
-int	sys_sstk(struct lwp *, const struct sys_sstk_args *, register_t *);
-
 int	sunos_sys_mmap(struct lwp *, const struct sunos_sys_mmap_args *, register_t *);
 
 int	sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
Index: src/sys/compat/sunos/syscalls.master
diff -u src/sys/compat/sunos/syscalls.master:1.76 src/sys/compat/sunos/syscalls.master:1.77
--- src/sys/compat/sunos/syscalls.master:1.76	Thu Nov  7 19:37:19 2013
+++ src/sys/compat/sunos/syscalls.master	Tue Dec 19 08:25:37 2017
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.76 2013/11/07 19:37:19 njoly Exp $
+	$NetBSD: syscalls.master,v 1.77 2017/12/19 08:25:37 kamil Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -129,7 +129,7 @@
 67	OBSOL		vread
 68	OBSOL		vwrite
 69	NOARGS		{ int|sys||sbrk(intptr_t incr); }
-70	NOARGS		{ int|sys||sstk(int incr); }
+70	OBSOL		sstk
 71	STD		{ void *|sunos_sys||mmap(void *addr, size_t len, \
 			int prot, int flags, int fd, long pos); }
 72	NOARGS		{ int|sys||ovadvise(int anom); } vadvise

Index: src/sys/compat/sunos/sunos_syscalls.c
diff -u src/sys/compat/sunos/sunos_syscalls.c:1.91 src/sys/compat/sunos/sunos_syscalls.c:1.92
--- src/sys/compat/sunos/sunos_syscalls.c:1.91	Wed May 10 06:19:49 2017
+++ src/sys/compat/sunos/sunos_syscalls.c	Tue Dec 19 08:25:37 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: sunos_syscalls.c,v 1.91 2017/05/10 06:19:49 riastradh Exp $ */
+/* $NetBSD: sunos_syscalls.c,v 1.92 2017/12/19 08:25:37 kamil Exp $ */
 
 /*
  * System call names.
@@ -8,7 +8,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: sunos_syscalls.c,v 1.91 2017/05/10 06:19:49 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos_syscalls.c,v 1.92 2017/12/19 08:25:37 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -98,7 +98,7 @@ const char *const sunos_syscallnames[] =
 	/*  67 */	"#67 (obsolete vread)",
 	/*  68 */	"#68 (obsolete vwrite)",
 	/*  69 */	"sbrk",
-	/*  70 */	"sstk",
+	/*  70 */	"#70 (obsolete sstk)",
 	/*  71 */	"mmap",
 	/*  72 */	"vadvise",
 	/*  73 */	"munmap",
@@ -371,7 +371,7 @@ const char *const altsunos_syscallnames[
 	/*  67 */	NULL, /* obsolete vread */
 	/*  68 */	NULL, /* obsolete vwrite */
 	/*  69 */	NULL, /* sbrk */
-	/*  70 */	NULL, /* sstk */
+	/*  70 */	NULL, /* obsolete sstk */
 	/*  71 */	NULL, /* mmap */
 	/*  72 */	"ovadvise",
 	/*  73 */	NULL, /* munmap */

Index: src/sys/compat/sunos/sunos_sysent.c
diff -u src/sys/compat/sunos/sunos_sysent.c:1.87 src/sys/compat/sunos/sunos_sysent.c:1.88
--- src/sys/compat/sunos/sunos_sysent.c:1.87	Wed May 

CVS commit: src/sys/compat/sunos32

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 08:24:41 UTC 2017

Modified Files:
src/sys/compat/sunos32: sunos32_syscall.h sunos32_syscallargs.h
sunos32_syscalls.c sunos32_sysent.c syscalls.master

Log Message:
compat sunos32: Drop the sstk(2) syscall

sstk(2) has never been implemented by the NetBSD kernel.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/compat/sunos32/sunos32_syscall.h
cvs rdiff -u -r1.32 -r1.33 src/sys/compat/sunos32/sunos32_syscallargs.h \
src/sys/compat/sunos32/sunos32_syscalls.c
cvs rdiff -u -r1.34 -r1.35 src/sys/compat/sunos32/sunos32_sysent.c
cvs rdiff -u -r1.22 -r1.23 src/sys/compat/sunos32/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/sunos32/sunos32_syscall.h
diff -u src/sys/compat/sunos32/sunos32_syscall.h:1.33 src/sys/compat/sunos32/sunos32_syscall.h:1.34
--- src/sys/compat/sunos32/sunos32_syscall.h:1.33	Wed May 10 06:19:49 2017
+++ src/sys/compat/sunos32/sunos32_syscall.h	Tue Dec 19 08:24:41 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: sunos32_syscall.h,v 1.33 2017/05/10 06:19:49 riastradh Exp $ */
+/* $NetBSD: sunos32_syscall.h,v 1.34 2017/12/19 08:24:41 kamil Exp $ */
 
 /*
  * System call numbers.
@@ -159,9 +159,7 @@
 /* syscall: "netbsd32_sbrk" ret: "int" args: "netbsd32_intptr_t" */
 #define	SUNOS32_SYS_netbsd32_sbrk	69
 
-/* syscall: "netbsd32_sstk" ret: "int" args: "int" */
-#define	SUNOS32_SYS_netbsd32_sstk	70
-
+/* 70 is obsolete sstk */
 /* syscall: "mmap" ret: "netbsd32_voidp" args: "netbsd32_voidp" "netbsd32_size_t" "int" "int" "int" "netbsd32_long" */
 #define	SUNOS32_SYS_mmap	71
 

Index: src/sys/compat/sunos32/sunos32_syscallargs.h
diff -u src/sys/compat/sunos32/sunos32_syscallargs.h:1.32 src/sys/compat/sunos32/sunos32_syscallargs.h:1.33
--- src/sys/compat/sunos32/sunos32_syscallargs.h:1.32	Wed May 10 06:19:49 2017
+++ src/sys/compat/sunos32/sunos32_syscallargs.h	Tue Dec 19 08:24:41 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: sunos32_syscallargs.h,v 1.32 2017/05/10 06:19:49 riastradh Exp $ */
+/* $NetBSD: sunos32_syscallargs.h,v 1.33 2017/12/19 08:24:41 kamil Exp $ */
 
 /*
  * System call argument lists.
@@ -181,8 +181,6 @@ check_syscall_args(sunos32_sys_omsync)
 
 struct netbsd32_sbrk_args;
 
-struct netbsd32_sstk_args;
-
 struct sunos32_sys_mmap_args {
 	syscallarg(netbsd32_voidp) addr;
 	syscallarg(netbsd32_size_t) len;
@@ -568,8 +566,6 @@ int	sys_vfork(struct lwp *, const void *
 
 int	netbsd32_sbrk(struct lwp *, const struct netbsd32_sbrk_args *, register_t *);
 
-int	netbsd32_sstk(struct lwp *, const struct netbsd32_sstk_args *, register_t *);
-
 int	sunos32_sys_mmap(struct lwp *, const struct sunos32_sys_mmap_args *, register_t *);
 
 int	netbsd32_ovadvise(struct lwp *, const struct netbsd32_ovadvise_args *, register_t *);
Index: src/sys/compat/sunos32/sunos32_syscalls.c
diff -u src/sys/compat/sunos32/sunos32_syscalls.c:1.32 src/sys/compat/sunos32/sunos32_syscalls.c:1.33
--- src/sys/compat/sunos32/sunos32_syscalls.c:1.32	Wed May 10 06:19:49 2017
+++ src/sys/compat/sunos32/sunos32_syscalls.c	Tue Dec 19 08:24:41 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: sunos32_syscalls.c,v 1.32 2017/05/10 06:19:49 riastradh Exp $ */
+/* $NetBSD: sunos32_syscalls.c,v 1.33 2017/12/19 08:24:41 kamil Exp $ */
 
 /*
  * System call names.
@@ -8,7 +8,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: sunos32_syscalls.c,v 1.32 2017/05/10 06:19:49 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos32_syscalls.c,v 1.33 2017/12/19 08:24:41 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -102,7 +102,7 @@ const char *const sunos32_syscallnames[]
 	/*  67 */	"#67 (obsolete vread)",
 	/*  68 */	"#68 (obsolete vwrite)",
 	/*  69 */	"netbsd32_sbrk",
-	/*  70 */	"netbsd32_sstk",
+	/*  70 */	"#70 (obsolete sstk)",
 	/*  71 */	"mmap",
 	/*  72 */	"vadvise",
 	/*  73 */	"netbsd32_munmap",
@@ -375,7 +375,7 @@ const char *const altsunos32_syscallname
 	/*  67 */	NULL, /* obsolete vread */
 	/*  68 */	NULL, /* obsolete vwrite */
 	/*  69 */	"sbrk",
-	/*  70 */	"sstk",
+	/*  70 */	NULL, /* obsolete sstk */
 	/*  71 */	NULL, /* mmap */
 	/*  72 */	"ovadvise",
 	/*  73 */	"munmap",

Index: src/sys/compat/sunos32/sunos32_sysent.c
diff -u src/sys/compat/sunos32/sunos32_sysent.c:1.34 src/sys/compat/sunos32/sunos32_sysent.c:1.35
--- src/sys/compat/sunos32/sunos32_sysent.c:1.34	Wed May 10 06:19:49 2017
+++ src/sys/compat/sunos32/sunos32_sysent.c	Tue Dec 19 08:24:41 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: sunos32_sysent.c,v 1.34 2017/05/10 06:19:49 riastradh Exp $ */
+/* $NetBSD: sunos32_sysent.c,v 1.35 2017/12/19 08:24:41 kamil Exp $ */
 
 /*
  * System call switch table.
@@ -8,7 +8,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: sunos32_sysent.c,v 1.34 2017/05/10 06:19:49 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos32_sysent.c,v 1.35 2017/12/19 08:24:41 kamil Exp $");
 
 #if 

CVS commit: src/sys/compat/ultrix

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 08:23:23 UTC 2017

Modified Files:
src/sys/compat/ultrix: syscalls.master ultrix_syscall.h
ultrix_syscallargs.h ultrix_syscalls.c ultrix_sysent.c

Log Message:
compat ultrix: Drop the sstk(2) syscall

sstk(2) has never been implemented by the NetBSD kernel.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/compat/ultrix/syscalls.master
cvs rdiff -u -r1.68 -r1.69 src/sys/compat/ultrix/ultrix_syscall.h
cvs rdiff -u -r1.63 -r1.64 src/sys/compat/ultrix/ultrix_syscallargs.h
cvs rdiff -u -r1.67 -r1.68 src/sys/compat/ultrix/ultrix_syscalls.c
cvs rdiff -u -r1.70 -r1.71 src/sys/compat/ultrix/ultrix_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/ultrix/syscalls.master
diff -u src/sys/compat/ultrix/syscalls.master:1.52 src/sys/compat/ultrix/syscalls.master:1.53
--- src/sys/compat/ultrix/syscalls.master:1.52	Thu Nov  7 19:37:19 2013
+++ src/sys/compat/ultrix/syscalls.master	Tue Dec 19 08:23:22 2017
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.52 2013/11/07 19:37:19 njoly Exp $
+	$NetBSD: syscalls.master,v 1.53 2017/12/19 08:23:22 kamil Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -119,7 +119,7 @@
 67	OBSOL		vread
 68	OBSOL		vwrite
 69	NOARGS		{ int|sys||sbrk(intptr_t incr); }
-70	NOARGS		{ int|sys||sstk(int incr); }
+70	OBSOL		sstk
 71	STD		{ int|ultrix_sys||mmap(void *addr, size_t len, \
 			int prot, u_int flags, int fd, long pos); }
 72	NOARGS		{ int|sys||ovadvise(int anom); } vadvise
@@ -358,4 +358,3 @@
 			unsigned nbytes, int *start, char *arg); }
 257	STD		{ int|ultrix_sys||setsysinfo(unsigned op, char *buffer, \
 			unsigned nbytes, unsigned arg, unsigned flag); }
-

Index: src/sys/compat/ultrix/ultrix_syscall.h
diff -u src/sys/compat/ultrix/ultrix_syscall.h:1.68 src/sys/compat/ultrix/ultrix_syscall.h:1.69
--- src/sys/compat/ultrix/ultrix_syscall.h:1.68	Wed May 10 06:19:49 2017
+++ src/sys/compat/ultrix/ultrix_syscall.h	Tue Dec 19 08:23:22 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: ultrix_syscall.h,v 1.68 2017/05/10 06:19:49 riastradh Exp $ */
+/* $NetBSD: ultrix_syscall.h,v 1.69 2017/12/19 08:23:22 kamil Exp $ */
 
 /*
  * System call numbers.
@@ -159,9 +159,7 @@
 /* syscall: "sbrk" ret: "int" args: "intptr_t" */
 #define	ULTRIX_SYS_sbrk	69
 
-/* syscall: "sstk" ret: "int" args: "int" */
-#define	ULTRIX_SYS_sstk	70
-
+/* 70 is obsolete sstk */
 /* syscall: "mmap" ret: "int" args: "void *" "size_t" "int" "u_int" "int" "long" */
 #define	ULTRIX_SYS_mmap	71
 

Index: src/sys/compat/ultrix/ultrix_syscallargs.h
diff -u src/sys/compat/ultrix/ultrix_syscallargs.h:1.63 src/sys/compat/ultrix/ultrix_syscallargs.h:1.64
--- src/sys/compat/ultrix/ultrix_syscallargs.h:1.63	Wed May 10 06:19:49 2017
+++ src/sys/compat/ultrix/ultrix_syscallargs.h	Tue Dec 19 08:23:22 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: ultrix_syscallargs.h,v 1.63 2017/05/10 06:19:49 riastradh Exp $ */
+/* $NetBSD: ultrix_syscallargs.h,v 1.64 2017/12/19 08:23:22 kamil Exp $ */
 
 /*
  * System call argument lists.
@@ -147,8 +147,6 @@ struct compat_43_sys_fstat_args;
 
 struct sys_sbrk_args;
 
-struct sys_sstk_args;
-
 struct ultrix_sys_mmap_args {
 	syscallarg(void *) addr;
 	syscallarg(size_t) len;
@@ -528,8 +526,6 @@ int	sys_vfork(struct lwp *, const void *
 
 int	sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *);
 
-int	sys_sstk(struct lwp *, const struct sys_sstk_args *, register_t *);
-
 int	ultrix_sys_mmap(struct lwp *, const struct ultrix_sys_mmap_args *, register_t *);
 
 int	sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);

Index: src/sys/compat/ultrix/ultrix_syscalls.c
diff -u src/sys/compat/ultrix/ultrix_syscalls.c:1.67 src/sys/compat/ultrix/ultrix_syscalls.c:1.68
--- src/sys/compat/ultrix/ultrix_syscalls.c:1.67	Wed May 10 06:19:49 2017
+++ src/sys/compat/ultrix/ultrix_syscalls.c	Tue Dec 19 08:23:22 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: ultrix_syscalls.c,v 1.67 2017/05/10 06:19:49 riastradh Exp $ */
+/* $NetBSD: ultrix_syscalls.c,v 1.68 2017/12/19 08:23:22 kamil Exp $ */
 
 /*
  * System call names.
@@ -8,7 +8,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: ultrix_syscalls.c,v 1.67 2017/05/10 06:19:49 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ultrix_syscalls.c,v 1.68 2017/12/19 08:23:22 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #include 
@@ -93,7 +93,7 @@ const char *const ultrix_syscallnames[] 
 	/*  67 */	"#67 (obsolete vread)",
 	/*  68 */	"#68 (obsolete vwrite)",
 	/*  69 */	"sbrk",
-	/*  70 */	"sstk",
+	/*  70 */	"#70 (obsolete sstk)",
 	/*  71 */	"mmap",
 	/*  72 */	"vadvise",
 	/*  73 */	"munmap",
@@ -615,7 +615,7 @@ const char *const altultrix_syscallnames
 	/*  67 */	NULL, /* obsolete vread */
 	/*  68 */	NULL, /* obsolete vwrite */
 	/*  69 */	NULL, /* sbrk */
-	/*  70 */	NULL, /* sstk */
+	/*  70 */	NULL, /* obsolete sstk */
 	/*  

CVS commit: src/sys/compat/aoutm68k

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 08:09:36 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: Mark sstk(2) as OBSOL

Remove the sstk(2) syscall support and mark it as obsolete.
It has never been implemented in the kernel.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/compat/aoutm68k/aoutm68k_syscall.h
cvs rdiff -u -r1.46 -r1.47 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h
cvs rdiff -u -r1.45 -r1.46 src/sys/compat/aoutm68k/aoutm68k_syscalls.c
cvs rdiff -u -r1.50 -r1.51 src/sys/compat/aoutm68k/aoutm68k_sysent.c
cvs rdiff -u -r1.37 -r1.38 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.48 src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.49
--- src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.48	Wed May 10 06:19:48 2017
+++ src/sys/compat/aoutm68k/aoutm68k_syscall.h	Tue Dec 19 08:09:36 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: aoutm68k_syscall.h,v 1.48 2017/05/10 06:19:48 riastradh Exp $ */
+/* $NetBSD: aoutm68k_syscall.h,v 1.49 2017/12/19 08:09:36 kamil Exp $ */
 
 /*
  * System call numbers.
@@ -267,9 +267,7 @@
 /* syscall: "sbrk" ret: "int" args: "intptr_t" */
 #define	AOUTM68K_SYS_sbrk	69
 
-/* syscall: "sstk" ret: "int" args: "int" */
-#define	AOUTM68K_SYS_sstk	70
-
+/* 70 is obsolete sstk */
 #if defined(COMPAT_43) || !defined(_KERNEL)
 /* syscall: "ommap" ret: "int" args: "void *" "size_t" "int" "int" "int" "long" */
 #define	AOUTM68K_SYS_ommap	71

Index: src/sys/compat/aoutm68k/aoutm68k_syscallargs.h
diff -u src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.46 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.47
--- src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.46	Wed May 10 06:19:48 2017
+++ src/sys/compat/aoutm68k/aoutm68k_syscallargs.h	Tue Dec 19 08:09:36 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: aoutm68k_syscallargs.h,v 1.46 2017/05/10 06:19:48 riastradh Exp $ */
+/* $NetBSD: aoutm68k_syscallargs.h,v 1.47 2017/12/19 08:09:36 kamil Exp $ */
 
 /*
  * System call argument lists.
@@ -191,8 +191,6 @@ struct compat_12_sys_msync_args;
 #endif
 
 struct sys_sbrk_args;
-
-struct sys_sstk_args;
 #if defined(COMPAT_43) || !defined(_KERNEL)
 
 struct compat_43_sys_mmap_args;
@@ -824,8 +822,6 @@ int	sys_vfork(struct lwp *, const void *
 
 int	sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *);
 
-int	sys_sstk(struct lwp *, const struct sys_sstk_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.45 src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.46
--- src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.45	Wed May 10 06:19:48 2017
+++ src/sys/compat/aoutm68k/aoutm68k_syscalls.c	Tue Dec 19 08:09:36 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: aoutm68k_syscalls.c,v 1.45 2017/05/10 06:19:48 riastradh Exp $ */
+/* $NetBSD: aoutm68k_syscalls.c,v 1.46 2017/12/19 08:09:36 kamil Exp $ */
 
 /*
  * System call names.
@@ -8,7 +8,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.45 2017/05/10 06:19:48 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.46 2017/12/19 08:09:36 kamil Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -152,7 +152,7 @@ const char *const aoutm68k_syscallnames[
 	/*  67 */	"#67 (obsolete vread)",
 	/*  68 */	"#68 (obsolete vwrite)",
 	/*  69 */	"sbrk",
-	/*  70 */	"sstk",
+	/*  70 */	"#70 (obsolete sstk)",
 #if defined(COMPAT_43) || !defined(_KERNEL)
 	/*  71 */	"ommap",
 #else
@@ -899,7 +899,7 @@ const char *const altaoutm68k_syscallnam
 	/*  67 */	NULL, /* obsolete vread */
 	/*  68 */	NULL, /* obsolete vwrite */
 	/*  69 */	NULL, /* sbrk */
-	/*  70 */	NULL, /* sstk */
+	/*  70 */	NULL, /* obsolete sstk */
 #if defined(COMPAT_43) || !defined(_KERNEL)
 	/*  71 */	"mmap",
 #else

Index: src/sys/compat/aoutm68k/aoutm68k_sysent.c
diff -u src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.50 src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.51
--- src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.50	Wed May 10 06:19:48 2017
+++ src/sys/compat/aoutm68k/aoutm68k_sysent.c	Tue Dec 19 08:09:36 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: aoutm68k_sysent.c,v 1.50 2017/05/10 06:19:48 riastradh Exp $ */
+/* $NetBSD: aoutm68k_sysent.c,v 1.51 2017/12/19 08:09:36 kamil Exp $ */
 
 /*
  * System call switch table.
@@ -8,7 +8,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.50 2017/05/10 06:19:48 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.51 2017/12/19 08:09:36 kamil Exp $");
 
 #if 

CVS commit: src/external/gpl3

2017-12-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Dec 19 08:02:55 UTC 2017

Modified Files:
src/external/gpl3/gdb.old/dist/sim/ppc: emul_netbsd.c
src/external/gpl3/gdb/dist/sim/ppc: emul_netbsd.c

Log Message:
gdb & gdb.old: Forget about sstk in ppc/emul_netbsd.c

The sstk(2) syscall has not been implemented and will be removed.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gdb/dist/sim/ppc/emul_netbsd.c

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

Modified files:

Index: src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c
diff -u src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c:1.6 src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c:1.7
--- src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c:1.6	Tue Nov 28 18:10:15 2017
+++ src/external/gpl3/gdb.old/dist/sim/ppc/emul_netbsd.c	Tue Dec 19 08:02:55 2017
@@ -1153,7 +1153,7 @@ static emul_syscall_descriptor netbsd_de
   { 0, }, /* 67 is obsolete vread */
   { 0, }, /* 68 is obsolete vwrite */
   /* 69 */ { 0, "sbrk" },
-  /* 70 */ { 0, "sstk" },
+  { 0, }, /* 70 is obsolete sstk *
   { 0, }, /* 71 is old mmap */
   /* 72 */ { 0, "vadvise" },
   /* 73 */ { 0, "munmap" },

Index: src/external/gpl3/gdb/dist/sim/ppc/emul_netbsd.c
diff -u src/external/gpl3/gdb/dist/sim/ppc/emul_netbsd.c:1.7 src/external/gpl3/gdb/dist/sim/ppc/emul_netbsd.c:1.8
--- src/external/gpl3/gdb/dist/sim/ppc/emul_netbsd.c:1.7	Tue Nov 28 22:04:55 2017
+++ src/external/gpl3/gdb/dist/sim/ppc/emul_netbsd.c	Tue Dec 19 08:02:55 2017
@@ -1153,7 +1153,7 @@ static emul_syscall_descriptor netbsd_de
   { 0, }, /* 67 is obsolete vread */
   { 0, }, /* 68 is obsolete vwrite */
   /* 69 */ { 0, "sbrk" },
-  /* 70 */ { 0, "sstk" },
+  { 0, }, /* 70 is obsolete sstk */
   { 0, }, /* 71 is old mmap */
   /* 72 */ { 0, "vadvise" },
   /* 73 */ { 0, "munmap" },