From d75f0db46defeecaa76e7ddd4763817b28d4c87a Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 4 May 2017 15:59:39 +0000 Subject: 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 --- usr.sbin/config/config.8 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'usr.sbin/config/config.8') 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 -- cgit v1.2.3-59-g8ed1b