The man page of acpidump(8) says that "kern.allowkmem" must be set to some value in order for the program to work properly. However it does not define to what value it must be set. I am not certainly sure if there are other options between 0 and 1 but if so the man page should be fixed anyway with these options IMO.


Index: usr.sbin/acpidump/acpidump.8
RCS file: /cvs/src/usr.sbin/acpidump/acpidump.8,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 acpidump.8
--- usr.sbin/acpidump/acpidump.8        1 Jun 2017 12:26:14 -0000       1.18
+++ usr.sbin/acpidump/acpidump.8        22 Nov 2020 16:21:01 -0000
@@ -68,8 +68,9 @@ $ iasl -d <prefix>.<sig>.<id>
 requires the ability to open
 .Pa /dev/kmem
-which may be restricted based upon the value of the
+which requires
 .Ar kern.allowkmem
+to be set to 1 by
 .Xr sysctl 8 .

Reply via email to