summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_unix.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-01-05 00:36:14 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-01-05 00:36:14 +0000
commit61e7751eca16b3bbc16168c631f6cbcd28206ab2 (patch)
treeaa12501141a6599be65d52138cd9badfc1d105be /sys/uvm/uvm_unix.c
parentf09a15b3e5bf201587fe4441b9655b355d8607d7 (diff)
Mark vadvise(2) as obsolete and remove its implementation, so instead of
returning EINVAL, you'll get ENOSYS. No serious code has used this system call in at least fifteen years. The libc stub will be removed at the next major crank time. ok henning@ deraadt@ krw@ toby@
Diffstat (limited to 'sys/uvm/uvm_unix.c')
-rw-r--r--sys/uvm/uvm_unix.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/sys/uvm/uvm_unix.c b/sys/uvm/uvm_unix.c
index 649c8b74869..b81d7aa8958 100644
--- a/sys/uvm/uvm_unix.c
+++ b/sys/uvm/uvm_unix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_unix.c,v 1.31 2007/12/16 14:32:02 kettenis Exp $ */
+/* $OpenBSD: uvm_unix.c,v 1.32 2008/01/05 00:36:13 miod Exp $ */
/* $NetBSD: uvm_unix.c,v 1.18 2000/09/13 15:00:25 thorpej Exp $ */
/*
@@ -153,26 +153,6 @@ uvm_grow(p, sp)
}
/*
- * sys_oadvise: old advice system call
- */
-
-/* ARGSUSED */
-int
-sys_ovadvise(p, v, retval)
- struct proc *p;
- void *v;
- register_t *retval;
-{
-#if 0
- struct sys_ovadvise_args /* {
- syscallarg(int) anom;
- } */ *uap = v;
-#endif
-
- return (EINVAL);
-}
-
-/*
* uvm_coredump: dump core!
*/