mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
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>
This commit is contained in:
parent
d78ca3cd73
commit
f40a70861a
1 changed files with 0 additions and 1 deletions
|
@ -896,7 +896,6 @@ int cap_task_prctl(int option, unsigned long arg2, unsigned long arg3,
|
||||||
*/
|
*/
|
||||||
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 &&
|
||||||
|
|
Loading…
Reference in a new issue