diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-05-10 17:52:18 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-05-10 17:52:18 +0000 |
commit | 47790a2a1ac318adfbe4ddf3d304cdf0272c2d76 (patch) | |
tree | 68aee2ed366572bb2f7e2fcb91867a3590ea1c0a /include | |
parent | 9b7d98550083aea3580f8b15d9f64df12d0c67d7 (diff) |
Do not let userland access the swapon system call anymore (nothing uses it
anyway).
ok deraadt@ weingart@
Diffstat (limited to 'include')
-rw-r--r-- | include/unistd.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h index ea3db0d8941..fd130d72461 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: unistd.h,v 1.45 2002/12/03 20:24:29 millert Exp $ */ +/* $OpenBSD: unistd.h,v 1.46 2003/05/10 17:51:39 miod Exp $ */ /* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */ /*- @@ -205,7 +205,6 @@ int setruid(uid_t); void setusershell(void); int strtofflags(char **, u_int32_t *, u_int32_t *); void swab(const void *, void *, size_t); -int swapon(const char *); int swapctl(int cmd, const void *arg, int misc); int symlink(const char *, const char *); void sync(void); |