summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorprovos <provos@openbsd.org>2002-03-01 02:57:32 +0000
committerprovos <provos@openbsd.org>2002-03-01 02:57:32 +0000
commit8477726646c25cb2bb9e8792a7202a1eb54db0eb (patch)
treec8819121b9ca663523890165993ed600597582cf /lib/libc/gen
parentsysctl for cryptodevallowsoft - /dev/crypto will allow the software engine (diff)
downloadwireguard-openbsd-8477726646c25cb2bb9e8792a7202a1eb54db0eb.tar.xz
wireguard-openbsd-8477726646c25cb2bb9e8792a7202a1eb54db0eb.zip
document cryptodevallowsoft
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/sysctl.39
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 508748251d2..e7b73fd1578 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.3,v 1.80 2002/02/23 08:07:59 deraadt Exp $
+.\" $OpenBSD: sysctl.3,v 1.81 2002/03/01 02:57:32 provos Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -266,7 +266,7 @@ The types of data currently available are process information,
system vnodes, the open file entries, routing table entries,
virtual memory statistics, load average history, and clock rate
information.
-.Bl -column "KERNXCHOWNXRESTRICTEDXXX" "struct clockrateXXX" -offset indent
+.Bl -column "KERNXCRYPTODEVALLOWSOFTXXX" "struct clockrateXXX" -offset indent
.It Sy Second level name Type Changeable
.It Dv KERN_ARGMAX No " integer no"
.It Dv KERN_ARND No " integer no"
@@ -314,6 +314,7 @@ information.
.It Dv KERN_VNODE No " struct vnode no"
.It Dv KERN_STACKGAPRANDOM No " integer yes"
.It Dv KERN_USERCRYPTO No " integer yes"
+.It Dv KERN_CRYPTODEVALLOWSOFT No " integer no"
.El
.Pp
.Bl -tag -width "123456"
@@ -623,6 +624,10 @@ but it also means bigger waste of memory.
Permits userland to use
.Pa /dev/crypto
for cryptographic support via hardware cryptographic devices.
+.It Dv KERN_CRYPTODEVALLOWSOFT
+Permits userland to use
+.Pa /dev/crypto
+even if there is no hardware crypto accelerator in the system.
.El
.Ss CTL_MACHDEP
The set of variables defined is architecture dependent.