summaryrefslogtreecommitdiff
path: root/sys/compat/osf1/osf1_sysent.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/compat/osf1/osf1_sysent.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/compat/osf1/osf1_sysent.c')
-rw-r--r--sys/compat/osf1/osf1_sysent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/osf1/osf1_sysent.c b/sys/compat/osf1/osf1_sysent.c
index de3752c0df4..2264fb25bda 100644
--- a/sys/compat/osf1/osf1_sysent.c
+++ b/sys/compat/osf1/osf1_sysent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: osf1_sysent.c,v 1.12 2007/11/27 18:05:59 art Exp $ */
+/* $OpenBSD: osf1_sysent.c,v 1.13 2008/01/05 00:36:13 miod Exp $ */
/*
* System call switch table.
@@ -169,7 +169,7 @@ struct sysent osf1_sysent[] = {
{ 6, s(struct osf1_sys_mmap_args), 0,
osf1_sys_mmap }, /* 71 = mmap */
{ 0, 0, 0,
- sys_nosys }, /* 72 = unimplemented ovadvise */
+ sys_nosys }, /* 72 = obsolete vadvise */
{ 2, s(struct sys_munmap_args), 0,
sys_munmap }, /* 73 = munmap */
{ 3, s(struct osf1_sys_mprotect_args), 0,