summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/swapctl.210
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libc/sys/swapctl.2 b/lib/libc/sys/swapctl.2
index 4cf69543f8d..cc705b9d340 100644
--- a/lib/libc/sys/swapctl.2
+++ b/lib/libc/sys/swapctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: swapctl.2,v 1.16 2007/05/31 19:19:34 jmc Exp $
+.\" $OpenBSD: swapctl.2,v 1.17 2009/03/28 08:33:00 espie Exp $
.\" $NetBSD: swapctl.2,v 1.10 1998/08/29 17:11:09 mrg Exp $
.\"
.\" Copyright (c) 1997 Matthew R. Green
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: March 28 2009 $
.Dt SWAPCTL 2
.Os
.Sh NAME
@@ -103,6 +103,12 @@ The flags are defined as
SWF_BUSY busy: I/O happening here
SWF_FAKE fake: still being built
.Ed
+.Pp
+All but
+.Dv SWAP_NSWAP
+and
+.Dv SWAP_STATS
+require superuser privileges.
.It
If
.Fa cmd