summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/commoncap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/commoncap.c b/security/commoncap.c
index cf01b2eebb60..61669730da98 100644
--- a/security/commoncap.c
+++ b/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 &&
OpenPOWER on IntegriCloud