Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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 &&