Skip to content
Snippets Groups Projects
Commit f40a7086 authored by Kees Cook's avatar Kees Cook Committed by James Morris
Browse files

syslog: clean up needless comment


Drop my typoed comment as it is both unhelpful and redundant.

Signed-off-by: default avatarKees Cook <kees.cook@canonical.com>
Acked-by: default avatarSerge Hallyn <serue@us.ibm.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent d78ca3cd
No related branches found
No related tags found
No related merge requests found
...@@ -896,7 +896,6 @@ error: ...@@ -896,7 +896,6 @@ error:
*/ */
int cap_syslog(int type, bool from_file) 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) if (type != SYSLOG_ACTION_OPEN && from_file)
return 0; return 0;
if ((type != SYSLOG_ACTION_READ_ALL && if ((type != SYSLOG_ACTION_READ_ALL &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment