Эх сурвалжийг харах

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>
Kees Cook 15 жил өмнө
parent
commit
f40a70861a
1 өөрчлөгдсөн 0 нэмэгдсэн , 1 устгасан
  1. 0 1
      security/commoncap.c

+ 0 - 1
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 &&