diff options
| author | 2008-01-05 00:36:10 +0000 | |
|---|---|---|
| committer | 2008-01-05 00:36:10 +0000 | |
| commit | 8be17eb37d178d22ff69bfb7b206865b692236c8 (patch) | |
| tree | c91db4b4c5a74df757dbd093f98495586f7402ce /sys/uvm/uvm_unix.c | |
| parent | For each channel, tell if it is single-ended or differential if we can know (diff) | |
| download | wireguard-openbsd-8be17eb37d178d22ff69bfb7b206865b692236c8.tar.xz wireguard-openbsd-8be17eb37d178d22ff69bfb7b206865b692236c8.zip | |
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.c | 22 |
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! */ |
