summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-09-12 02:22:17 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-09-12 02:22:17 +0000
commit430bfcc0dc1762cfa322df3d8b50b72ed951619b (patch)
tree9ca9e222d099e5d64c1750962c6451191ab9b088 /lib/libc/gen
parent233ec8fc888d117728fe67bd3c1736e381f72824 (diff)
Update the documentation regarding /dev/mem and /dev/kmem;
Theo already clamped down on these devices last year. Triggered by a question from Nan Xiao <xiaonan830818 at gmail dot com>. OK deraadt@
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/sysctl.36
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 08095c62466..e021e73f443 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.3,v 1.282 2017/09/10 11:30:43 tom Exp $
+.\" $OpenBSD: sysctl.3,v 1.283 2017/09/12 02:22:15 schwarze 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: September 10 2017 $
+.Dd $Mdocdate: September 12 2017 $
.Dt SYSCTL 3
.Os
.Sh NAME
@@ -484,6 +484,8 @@ information.
.Bl -tag -width "123456"
.It Dv KERN_ALLOWKMEM Pq Va kern.allowkmem
Allow userland processes access to
+.Pa /dev/mem
+and
.Pa /dev/kmem .
When running with a
.Xr securelevel 7