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 <The NetBSD Foundation> 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 <sys/cdefs.h> -__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 +++ src/sys/compat/aoutm68k/aoutm68k_sysent.c Tue Dec 19 19:17:17 2017 @@ -1,14 +1,14 @@ -/* $NetBSD: aoutm68k_sysent.c,v 1.52 2017/12/19 18:10:22 kamil Exp $ */ +/* $NetBSD: aoutm68k_sysent.c,v 1.53 2017/12/19 19:17:17 kamil Exp $ */ /* * System call switch table. * * 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 <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.52 2017/12/19 18:10:22 kamil Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.53 2017/12/19 19:17:17 kamil Exp $"); #if defined(_KERNEL_OPT) #include "opt_ktrace.h" @@ -434,9 +434,8 @@ struct sysent aoutm68k_sysent[] = { }, /* 71 = filler */ #endif { - 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/aoutm68k/syscalls.master diff -u src/sys/compat/aoutm68k/syscalls.master:1.39 src/sys/compat/aoutm68k/syscalls.master:1.40 --- src/sys/compat/aoutm68k/syscalls.master:1.39 Tue Dec 19 18:10:22 2017 +++ src/sys/compat/aoutm68k/syscalls.master Tue Dec 19 19:17:17 2017 @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp $ + $NetBSD: syscalls.master,v 1.40 2017/12/19 19:17:17 kamil Exp $ ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 @@ -220,7 +220,7 @@ #else 71 EXCL compat_43_sys_mmap #endif -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); }