summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/sysctl.212
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/libc/sys/sysctl.2 b/lib/libc/sys/sysctl.2
index 50814281390..9caf5b509d8 100644
--- a/lib/libc/sys/sysctl.2
+++ b/lib/libc/sys/sysctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.2,v 1.36 2019/12/08 14:10:15 jmc Exp $
+.\" $OpenBSD: sysctl.2,v 1.37 2020/01/24 15:17:16 mpi Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 8 2019 $
+.Dd $Mdocdate: January 24 2020 $
.Dt SYSCTL 2
.Os
.Sh NAME
@@ -419,6 +419,7 @@ virtual memory statistics, load average history, and clock rate
information.
.Bl -column "KERN_PROC_NOBROADCASTKILL" "u_int64_t[CPUSTATES]" "no" -offset indent
.It Sy "Second level name" Ta Sy "Type" Ta Sy "Changeable"
+.It Dv KERN_ALLOWDT Ta "integer" Ta "yes"
.It Dv KERN_ALLOWKMEM Ta "integer" Ta "yes"
.It Dv KERN_ARGMAX Ta "integer" Ta "no"
.It Dv KERN_AUDIO Ta "node" Ta "yes"
@@ -495,6 +496,13 @@ information.
.It Dv KERN_WXABORT Ta "integer" Ta "yes"
.El
.Bl -tag -width "123456"
+.It Dv KERN_ALLOWDT Pq Va kern.allowdt
+Allow userland processes access to
+.Pa /dev/dt .
+When running with a
+.Xr securelevel 7
+greater than 0,
+this variable may not be changed.
.It Dv KERN_ALLOWKMEM Pq Va kern.allowkmem
Allow userland processes access to
.Pa /dev/mem