git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
proc: do translation + unlink atomically at remove_proc_entry()
[safe/jmp/linux-2.6]
/
security
/
commoncap.c
diff --git
a/security/commoncap.c
b/security/commoncap.c
index
cf01b2e
..
6166973
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 &&