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
KEYS: special dot prefixed keyring name bug fix
[firefly-linux-kernel-4.4.55.git]
/
security
/
keys
/
proc.c
diff --git
a/security/keys/proc.c
b/security/keys/proc.c
index 88e9a466940f642af60f61b407888155ba057be5..d3f6f2fd21db84bc197ed82b14808b6bc9bc4e87 100644
(file)
--- a/
security/keys/proc.c
+++ b/
security/keys/proc.c
@@
-218,7
+218,7
@@
static int proc_keys_show(struct seq_file *m, void *v)
* - the caller holds a spinlock, and thus the RCU read lock, making our
* access to __current_cred() safe
*/
- rc = key_task_permission(key_ref, ctx.cred, KEY_VIEW);
+ rc = key_task_permission(key_ref, ctx.cred, KEY_
NEED_
VIEW);
if (rc < 0)
return 0;