diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2012-11-28 12:04:14 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2012-11-28 12:04:14 +0100 |
| commit | 9f924d1702aa56a1b39eeca4f04702a9d1eacac5 (patch) | |
| tree | 37ca0321dca7497749624aea8c8ae48e6e625be9 | |
| parent | e4a952a1a961db5f0ef90fd0093cf4898a459706 (diff) | |
| download | man-pages-9f924d1702aa56a1b39eeca4f04702a9d1eacac5.tar.gz | |
syslog.2: Clarify discussion of privileges for commands 3 and 10
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man2/syslog.2 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/man2/syslog.2 b/man2/syslog.2 index 6ebc3d2a02..c9c5219e48 100644 --- a/man2/syslog.2 +++ b/man2/syslog.2 @@ -26,7 +26,7 @@ .\" 2008-02-15, Michael Kerrisk <mtk.manpages@gmail.com> .\" Update LOG_BUF_LEN details; update RETURN VALUE section. .\" -.TH SYSLOG 2 2012-05-05 "Linux" "Linux Programmer's Manual" +.TH SYSLOG 2 2012-11-28 "Linux" "Linux Programmer's Manual" .SH NAME syslog, klogctl \- read and/or clear kernel message ring buffer; set console_loglevel @@ -96,10 +96,11 @@ Return size of the log buffer .PP Type 9 was added in Linux 2.4.10; type 10 in Linux 2.6.6. +All commands except 3 and 10 require privilege. In Linux kernels before 2.6.37, -only command types 3 and 10 are allowed to unprivileged processes. -Since Linux 2.6.37, -command types 3 and 10 are only allowed to unprivileged processes if +command types 3 and 10 are allowed to unprivileged processes; +since Linux 2.6.37, +these commands are allowed to unprivileged processes only if .IR /proc/sys/kernel/dmesg_restrict has the value 0. Before Linux 2.6.37, "privileged" means that the caller has the |
