linux/Documentation
Serge E. Hallyn 38ef4c2e43 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>
2010-12-09 09:48:48 +11:00
..
2010-02-24 13:51:32 +01:00
2010-08-30 15:25:18 +02:00
2010-07-11 22:17:45 +02:00
2009-06-18 13:04:04 -07:00
2010-10-26 16:52:08 -07:00
2010-04-08 11:34:34 +02:00
2010-10-28 00:32:23 +02:00
2009-10-15 07:25:20 -06:00
2009-07-01 22:36:22 +02:00
2010-03-10 17:09:33 -05:00
2010-07-19 10:56:54 +02:00
2010-03-16 11:47:56 +01:00
2010-08-02 15:35:10 +10:00