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 /usr.bin/sup | |
parent | 9b7d98550083aea3580f8b15d9f64df12d0c67d7 (diff) |
Do not let userland access the swapon system call anymore (nothing uses it
anyway).
ok deraadt@ weingart@
Diffstat (limited to 'usr.bin/sup')
-rw-r--r-- | usr.bin/sup/src/sysent.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/sup/src/sysent.h b/usr.bin/sup/src/sysent.h index f6a1d5141b0..7d639fdf365 100644 --- a/usr.bin/sup/src/sysent.h +++ b/usr.bin/sup/src/sysent.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sysent.h,v 1.7 2002/02/19 19:39:39 millert Exp $ */ +/* $OpenBSD: sysent.h,v 1.8 2003/05/10 17:52:17 miod Exp $ */ /* * Copyright (c) 1991 Carnegie Mellon University @@ -109,7 +109,6 @@ extern int setpgrp(int, int); extern int setquota(const char *, const char *); extern int setregid(gid_t, gid_t); extern int setreuid(uid_t, uid_t); -extern int swapon(const char *); extern int symlink(const char *, const char *); extern void sync(void); extern int syscall(int, ...); |