summaryrefslogtreecommitdiff
path: root/usr.sbin/config/config.8
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2017-05-04 15:59:40 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2017-05-04 15:59:40 +0000
commit0205ae46fbf09e7a391640d5124f603b367aaf11 (patch)
tree5d12a6bb9e5e5280a2fda2d83e33c7ece7df42fe /usr.sbin/config/config.8
parent4e5a40803fcd3d9d6318881e6355e1074be7e8ed (diff)
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/config.8')
-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