Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/ultrix compat/ultrix: Drop SYS_vadvise
details: https://anonhg.NetBSD.org/src/rev/5c4f6af77439
branches: trunk
changeset: 358285:5c4f6af77439
user: kamil <kamil%NetBSD.org@localhost>
date: Tue Dec 19 19:20:30 2017 +0000
description:
compat/ultrix: Drop SYS_vadvise
The (o)vadvise syscall is dummy since the beginning of NetBSD.
Sponsored by <The NetBSD Foundation>
diffstat:
sys/compat/ultrix/syscalls.master | 4 ++--
sys/compat/ultrix/ultrix_syscall.h | 8 +++-----
sys/compat/ultrix/ultrix_syscallargs.h | 8 ++------
sys/compat/ultrix/ultrix_syscalls.c | 10 +++++-----
sys/compat/ultrix/ultrix_sysent.c | 11 +++++------
5 files changed, 17 insertions(+), 24 deletions(-)
diffs (151 lines):
diff -r aa33eec8da88 -r 5c4f6af77439 sys/compat/ultrix/syscalls.master
--- a/sys/compat/ultrix/syscalls.master Tue Dec 19 19:19:50 2017 +0000
+++ b/sys/compat/ultrix/syscalls.master Tue Dec 19 19:20:30 2017 +0000
@@ -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); }
diff -r aa33eec8da88 -r 5c4f6af77439 sys/compat/ultrix/ultrix_syscall.h
--- a/sys/compat/ultrix/ultrix_syscall.h Tue Dec 19 19:19:50 2017 +0000
+++ b/sys/compat/ultrix/ultrix_syscall.h Tue Dec 19 19:20:30 2017 +0000
@@ -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
diff -r aa33eec8da88 -r 5c4f6af77439 sys/compat/ultrix/ultrix_syscallargs.h
--- a/sys/compat/ultrix/ultrix_syscallargs.h Tue Dec 19 19:19:50 2017 +0000
+++ b/sys/compat/ultrix/ultrix_syscallargs.h Tue Dec 19 19:20:30 2017 +0000
@@ -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 @@
};
check_syscall_args(ultrix_sys_mmap)
-struct sys_ovadvise_args;
-
struct sys_munmap_args;
struct sys_mprotect_args;
@@ -524,8 +522,6 @@
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 *);
diff -r aa33eec8da88 -r 5c4f6af77439 sys/compat/ultrix/ultrix_syscalls.c
--- a/sys/compat/ultrix/ultrix_syscalls.c Tue Dec 19 19:19:50 2017 +0000
+++ b/sys/compat/ultrix/ultrix_syscalls.c Tue Dec 19 19:20:30 2017 +0000
@@ -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 <sys/cdefs.h>
-__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 $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@@ -95,7 +95,7 @@
/* 69 */ "#69 (obsolete sbrk)",
/* 70 */ "#70 (obsolete sstk)",
/* 71 */ "mmap",
- /* 72 */ "vadvise",
+ /* 72 */ "#72 (obsolete vadvise)",
/* 73 */ "munmap",
/* 74 */ "mprotect",
/* 75 */ "madvise",
@@ -617,7 +617,7 @@
/* 69 */ NULL, /* obsolete sbrk */
/* 70 */ NULL, /* obsolete sstk */
/* 71 */ NULL, /* mmap */
- /* 72 */ "ovadvise",
+ /* 72 */ NULL, /* obsolete vadvise */
/* 73 */ NULL, /* munmap */
/* 74 */ NULL, /* mprotect */
/* 75 */ NULL, /* madvise */
diff -r aa33eec8da88 -r 5c4f6af77439 sys/compat/ultrix/ultrix_sysent.c
--- a/sys/compat/ultrix/ultrix_sysent.c Tue Dec 19 19:19:50 2017 +0000
+++ b/sys/compat/ultrix/ultrix_sysent.c Tue Dec 19 19:20:30 2017 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: ultrix_sysent.c,v 1.72 2017/12/19 18:20:11 kamil Exp $ */
+/* $NetBSD: ultrix_sysent.c,v 1.73 2017/12/19 19:20:30 kamil Exp $ */
/*
* System call switch table.
*
* 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 <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ultrix_sysent.c,v 1.72 2017/12/19 18:20:11 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ultrix_sysent.c,v 1.73 2017/12/19 19:20:30 kamil Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -298,9 +298,8 @@
.sy_call = (sy_call_t *)ultrix_sys_mmap
}, /* 71 = mmap */
{
- 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,
Home |
Main Index |
Thread Index |
Old Index