summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-09-12 02:22:15 +0000
committerschwarze <schwarze@openbsd.org>2017-09-12 02:22:15 +0000
commit20d80f81a44786abd0238ec5bd70aee84efc30a3 (patch)
treefaadc661669d03df5eb72e2f233fde2e407eb9db /lib/libc
parentadd functions to provide direct access to guest memory as vmd addresses (diff)
downloadwireguard-openbsd-20d80f81a44786abd0238ec5bd70aee84efc30a3.tar.xz
wireguard-openbsd-20d80f81a44786abd0238ec5bd70aee84efc30a3.zip
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')
-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