summaryrefslogtreecommitdiff
path: root/sys/compat/osf1/osf1_syscall.h
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_syscall.h
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_syscall.h')
-rw-r--r--sys/compat/osf1/osf1_syscall.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/osf1/osf1_syscall.h b/sys/compat/osf1/osf1_syscall.h
index 0b006149cc7..48dde365750 100644
--- a/sys/compat/osf1/osf1_syscall.h
+++ b/sys/compat/osf1/osf1_syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: osf1_syscall.h,v 1.12 2007/11/27 18:05:59 art Exp $ */
+/* $OpenBSD: osf1_syscall.h,v 1.13 2008/01/05 00:36:13 miod Exp $ */
/*
* System call numbers.
@@ -164,6 +164,7 @@
/* syscall: "mmap" ret: "caddr_t" args: "caddr_t" "size_t" "int" "int" "int" "off_t" */
#define OSF1_SYS_mmap 71
+ /* 72 is obsolete vadvise */
/* syscall: "munmap" ret: "int" args: "caddr_t" "size_t" */
#define OSF1_SYS_munmap 73