diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-01-05 00:36:14 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-01-05 00:36:14 +0000 |
commit | 61e7751eca16b3bbc16168c631f6cbcd28206ab2 (patch) | |
tree | aa12501141a6599be65d52138cd9badfc1d105be /sys/compat/ultrix/ultrix_sysent.c | |
parent | f09a15b3e5bf201587fe4441b9655b355d8607d7 (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/ultrix/ultrix_sysent.c')
-rw-r--r-- | sys/compat/ultrix/ultrix_sysent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/ultrix/ultrix_sysent.c b/sys/compat/ultrix/ultrix_sysent.c index b7feb2757b2..836f7276be1 100644 --- a/sys/compat/ultrix/ultrix_sysent.c +++ b/sys/compat/ultrix/ultrix_sysent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ultrix_sysent.c,v 1.14 2007/11/27 18:05:59 art Exp $ */ +/* $OpenBSD: ultrix_sysent.c,v 1.15 2008/01/05 00:36:13 miod Exp $ */ /* * System call switch table. @@ -166,8 +166,8 @@ struct sysent ultrix_sysent[] = { sys_sstk }, /* 70 = sstk */ { 6, s(struct ultrix_sys_mmap_args), 0, ultrix_sys_mmap }, /* 71 = mmap */ - { 1, s(struct sys_ovadvise_args), 0, - sys_ovadvise }, /* 72 = vadvise */ + { 0, 0, 0, + sys_nosys }, /* 72 = obsolete vadvise */ { 2, s(struct sys_munmap_args), 0, sys_munmap }, /* 73 = munmap */ { 3, s(struct sys_mprotect_args), 0, |