summaryrefslogtreecommitdiffstats
path: root/sys-utils/dmesg.1
diff options
context:
space:
mode:
authorSami Kerola2018-04-26 22:44:08 +0200
committerKarel Zak2018-05-03 10:47:01 +0200
commit1c199a6e1571ea8f0630e25d05dcdc678f933caf (patch)
treecabb97a2ad18a4d0c2c0736d004f721bb2b141f9 /sys-utils/dmesg.1
parentlibfdisk: fix compiler warning [-Wunused-parameter] (diff)
downloadkernel-qcow2-util-linux-1c199a6e1571ea8f0630e25d05dcdc678f933caf.tar.gz
kernel-qcow2-util-linux-1c199a6e1571ea8f0630e25d05dcdc678f933caf.tar.xz
kernel-qcow2-util-linux-1c199a6e1571ea8f0630e25d05dcdc678f933caf.zip
dmesg: link together with syslog(2) manual page
The dmesg may require capabilities(7) when /proc/sys/kernel/dmesg_restrict has none zero value. This is explained in detail in syslog(2) manual page. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/dmesg.1')
-rw-r--r--sys-utils/dmesg.18
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-utils/dmesg.1 b/sys-utils/dmesg.1
index 1dc9994ec..2b61c3739 100644
--- a/sys-utils/dmesg.1
+++ b/sys-utils/dmesg.1
@@ -228,7 +228,13 @@ The text of the message with the warning log priority.
.TP
.B segfault
The text of the message that inform about segmentation fault.
-
+.SH EXIT STATUS
+.B dmesg
+can fail reporting permission denied error. This is usually caused by
+.B dmesg_restrict
+kernel setting, please see
+.BR syslog (2)
+for more details.
.SH SEE ALSO
.BR terminal-colors.d (5),
.BR syslogd (8)