projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vsprintf: clarify comments for printf_spec flags
[firefly-linux-kernel-4.4.55.git]
/
security
/
commoncap.c
diff --git
a/security/commoncap.c
b/security/commoncap.c
index cf01b2eebb60629fd261b858a99a74a632c445a6..61669730da98e05c77d18c77e853fc922f3031a5 100644
(file)
--- 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 &&