aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKees Cook2010-02-04 16:28:06 -0600
committerJames Morris2010-02-05 00:48:51 -0600
commitf40a70861ace69001524644473cc389543b06c3c (patch)
tree16bb5b4426cce70775f36ded01ca435a0c14d2ad /security/commoncap.c
parentd78ca3cd733d8a2c3dcd88471beb1a15d973eed8 (diff)
downloadkernel-common-f40a70861ace69001524644473cc389543b06c3c.tar.gz
kernel-common-f40a70861ace69001524644473cc389543b06c3c.tar.xz
kernel-common-f40a70861ace69001524644473cc389543b06c3c.zip
syslog: clean up needless comment
Drop my typoed comment as it is both unhelpful and redundant. Signed-off-by: Kees Cook <kees.cook@canonical.com> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/commoncap.c')
-rw-r--r--security/commoncap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/commoncap.c b/security/commoncap.c
index cf01b2eebb6..61669730da9 100644
--- a/security/commoncap.c
+++ b/security/commoncap.c
@@ -896,7 +896,6 @@ error:
896 */ 896 */
897int cap_syslog(int type, bool from_file) 897int cap_syslog(int type, bool from_file)
898{ 898{
899 /* /proc/kmsg can open be opened by CAP_SYS_ADMIN */
900 if (type != SYSLOG_ACTION_OPEN && from_file) 899 if (type != SYSLOG_ACTION_OPEN && from_file)
901 return 0; 900 return 0;
902 if ((type != SYSLOG_ACTION_READ_ALL && 901 if ((type != SYSLOG_ACTION_READ_ALL &&