summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2017-05-04 15:59:39 +0000
committertb <tb@openbsd.org>2017-05-04 15:59:39 +0000
commitd75f0db46defeecaa76e7ddd4763817b28d4c87a (patch)
tree8f6d90141fce19bb183fa7d67bec44f2cffeffbd /usr.sbin/config
parentRemove side effects from assignment. Fixes warning with cppcheck. (diff)
downloadwireguard-openbsd-d75f0db46defeecaa76e7ddd4763817b28d4c87a.tar.xz
wireguard-openbsd-d75f0db46defeecaa76e7ddd4763817b28d4c87a.zip
Document that -u wants to read from /dev/mem, so it needs kern.allowkmem=1.
Problem reported by jdd () cs ! toronto ! edu on bugs. ok brynet deraadt jmc
Diffstat (limited to 'usr.sbin/config')
-rw-r--r--usr.sbin/config/config.89
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/config/config.8 b/usr.sbin/config/config.8
index 179af831b98..ad3fc3aed18 100644
--- a/usr.sbin/config/config.8
+++ b/usr.sbin/config/config.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: config.8,v 1.63 2017/05/01 06:39:25 mpi Exp $
+.\" $OpenBSD: config.8,v 1.64 2017/05/04 15:59:39 tb Exp $
.\" $NetBSD: config.8,v 1.10 1996/08/31 20:58:16 mycroft Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" from: @(#)config.8 8.2 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: May 1 2017 $
+.Dd $Mdocdate: May 4 2017 $
.Dt CONFIG 8
.Os
.Sh NAME
@@ -130,6 +130,11 @@ If so, compare the running kernel with the kernel to be edited
.Pq Ar infile .
If they seem to be the same, apply all configuration changes performed at
boot.
+Using this option requires read access to
+.Pa /dev/mem ,
+which may be restricted based upon the value of the
+.Ar kern.allowkmem
+.Xr sysctl 8 .
.El
.Sh KERNEL BUILDING
The output of