summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/gen/sysctl.39
-rw-r--r--sbin/sysctl/sysctl.83
2 files changed, 9 insertions, 3 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.
diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8
index 18bf3b10d79..e253f7576f2 100644
--- a/sbin/sysctl/sysctl.8
+++ b/sbin/sysctl/sysctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.8,v 1.79 2002/02/23 20:16:00 matthieu Exp $
+.\" $OpenBSD: sysctl.8,v 1.80 2002/03/01 02:57:32 provos Exp $
.\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $
.\"
.\" Copyright (c) 1993
@@ -150,6 +150,7 @@ privilege can change the value.
.It kern.nprocs int no
.It kern.stackgap_random int yes
.It kern.usercrypto int yes
+.It kern.cryptodevallowsoft int yes
.It vm.loadavg struct no
.It vm.psstrings struct no
.It vm.swapencrypt.enable integer yes