diff options
author | Serge E. Hallyn <serge@hallyn.com> | 2010-12-08 18:19:01 +0300 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-12-09 01:48:48 +0300 |
commit | 38ef4c2e437d11b5922723504b62824e96761459 (patch) | |
tree | ccec1f38348af3c2776fc5bc0b589e14504f4b33 /REPORTING-BUGS | |
parent | 5c6d1125f8dbd1bfef39e38fbc2837003be78a59 (diff) | |
download | linux-38ef4c2e437d11b5922723504b62824e96761459.tar.xz |
syslog: check cap_syslog when dmesg_restrict
Eric Paris pointed out that it doesn't make sense to require
both CAP_SYS_ADMIN and CAP_SYSLOG for certain syslog actions.
So require CAP_SYSLOG, not CAP_SYS_ADMIN, when dmesg_restrict
is set.
(I'm also consolidating the now common error path)
Signed-off-by: Serge E. Hallyn <serge.hallyn@canonical.com>
Acked-by: Eric Paris <eparis@redhat.com>
Acked-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions