summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorKees Cook <kees.cook@canonical.com>2010-02-04 23:28:06 +0100
committerJames Morris <jmorris@namei.org>2010-02-05 07:48:51 +0100
commitf40a70861ace69001524644473cc389543b06c3c (patch)
tree16bb5b4426cce70775f36ded01ca435a0c14d2ad /security
parentsyslog: use defined constants instead of raw numbers (diff)
downloadlinux-f40a70861ace69001524644473cc389543b06c3c.tar.xz
linux-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')
-rw-r--r--security/commoncap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/commoncap.c b/security/commoncap.c
index cf01b2eebb60..61669730da98 100644
--- a/security/commoncap.c
+++ b/security/commoncap.c
@@ -896,7 +896,6 @@ error:
*/
int cap_syslog(int type, bool from_file)
{
- /* /proc/kmsg can open be opened by CAP_SYS_ADMIN */
if (type != SYSLOG_ACTION_OPEN && from_file)
return 0;
if ((type != SYSLOG_ACTION_READ_ALL &&