summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1999-12-30 20:56:29 +0000
committerNiels Provos <provos@cvs.openbsd.org>1999-12-30 20:56:29 +0000
commitf76f57ddf7d434b032ef35bac2102011bacdbcda (patch)
treeab8949238145a5f3ea28f492166d1f55fcdc2aed /lib/libc/gen
parentfc814e77d3e1484aae42e0f2999af5a02aa5d4e4 (diff)
VM_SWAPENCRYPT
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/sysctl.37
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 38b300880b3..0b9be1af9dd 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.3,v 1.30 1999/10/28 03:40:08 angelos Exp $
+.\" $OpenBSD: sysctl.3,v 1.31 1999/12/30 20:56:28 provos Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -738,6 +738,7 @@ privileges may change the value.
.It Sy Second level name Type Changeable
.It Dv VM_LOADAVG No " struct loadavg no"
.It Dv VM_METER No " struct vmtotal no"
+.It Dv VM_SWAPENCRYPT No " integer yes"
.El
.Pp
.Bl -tag -width "123456"
@@ -749,6 +750,10 @@ The returned data consists of a
Return the system wide virtual memory statistics.
The returned data consists of a
.Li struct vmtotal .
+.It Dv VM_SWAPENCRYPT
+Set to 1 to enable swap encryption for all processes. A 0
+disables swap encryption. Pages still on swap receive a
+grandfather clause.
.El
.Sh RETURN VALUES
If the call to