Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/aoutm68k compat/aoutm68k: Drop SYS_vadvise
details: https://anonhg.NetBSD.org/src/rev/6f24a42024d7
branches: trunk
changeset: 358281:6f24a42024d7
user: kamil <kamil%NetBSD.org@localhost>
date: Tue Dec 19 19:17:17 2017 +0000
description:
compat/aoutm68k: Drop SYS_vadvise
The (o)vadvise syscall is dummy since the beginning of NetBSD.
Sponsored by <The NetBSD Foundation>
diffstat:
sys/compat/aoutm68k/aoutm68k_syscall.h | 8 +++-----
sys/compat/aoutm68k/aoutm68k_syscallargs.h | 8 ++------
sys/compat/aoutm68k/aoutm68k_syscalls.c | 10 +++++-----
sys/compat/aoutm68k/aoutm68k_sysent.c | 11 +++++------
sys/compat/aoutm68k/syscalls.master | 4 ++--
5 files changed, 17 insertions(+), 24 deletions(-)
diffs (151 lines):
diff -r 7f35d24f7d10 -r 6f24a42024d7 sys/compat/aoutm68k/aoutm68k_syscall.h
--- a/sys/compat/aoutm68k/aoutm68k_syscall.h Tue Dec 19 19:13:30 2017 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_syscall.h Tue Dec 19 19:17:17 2017 +0000
@@ -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
diff -r 7f35d24f7d10 -r 6f24a42024d7 sys/compat/aoutm68k/aoutm68k_syscallargs.h
--- a/sys/compat/aoutm68k/aoutm68k_syscallargs.h Tue Dec 19 19:13:30 2017 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_syscallargs.h Tue Dec 19 19:17:17 2017 +0000
@@ -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 @@
#else
#endif
-struct sys_ovadvise_args;
-
struct sys_munmap_args;
struct sys_mprotect_args;
@@ -823,8 +821,6 @@
#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 *);
diff -r 7f35d24f7d10 -r 6f24a42024d7 sys/compat/aoutm68k/aoutm68k_syscalls.c
--- a/sys/compat/aoutm68k/aoutm68k_syscalls.c Tue Dec 19 19:13:30 2017 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_syscalls.c Tue Dec 19 19:17:17 2017 +0000
@@ -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 @@
#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 @@
#else
/* 71 */ NULL, /* excluded compat_43_sys_mmap */
#endif
- /* 72 */ "ovadvise",
+ /* 72 */ NULL, /* obsolete vadvise */
/* 73 */ NULL, /* munmap */
/* 74 */ NULL, /* mprotect */
/* 75 */ NULL, /* madvise */
diff -r 7f35d24f7d10 -r 6f24a42024d7 sys/compat/aoutm68k/aoutm68k_sysent.c
--- a/sys/compat/aoutm68k/aoutm68k_sysent.c Tue Dec 19 19:13:30 2017 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_sysent.c Tue Dec 19 19:17:17 2017 +0000
@@ -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 @@
}, /* 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,
diff -r 7f35d24f7d10 -r 6f24a42024d7 sys/compat/aoutm68k/syscalls.master
--- a/sys/compat/aoutm68k/syscalls.master Tue Dec 19 19:13:30 2017 +0000
+++ b/sys/compat/aoutm68k/syscalls.master Tue Dec 19 19:17:17 2017 +0000
@@ -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); }
Home |
Main Index |
Thread Index |
Old Index