From 0235ddf796ebb9773975781824d0fe616473efd0 Mon Sep 17 00:00:00 2001 From: miod <> Date: Sat, 10 May 2003 17:51:39 +0000 Subject: [PATCH] Do not let userland access the swapon system call anymore (nothing uses it anyway). ok deraadt@ weingart@ --- src/include/unistd.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/include/unistd.h b/src/include/unistd.h index ea3db0d8..fd130d72 100644 --- a/src/include/unistd.h +++ b/src/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);