Skip to content

Commit

Permalink
syslog: clean up needless comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kees Cook authored and James Morris committed Feb 5, 2010
1 parent d78ca3c commit f40a708
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion security/commoncap.c
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,6 @@ int cap_task_prctl(int option, unsigned long arg2, unsigned long arg3,
*/
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 &&
Expand Down

0 comments on commit f40a708

Please sign in to comment.