projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KEYS: Move the flags representing required permission to linux/key.h
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
security
/
keys
/
proc.c
diff --git
a/security/keys/proc.c
b/security/keys/proc.c
index
88e9a46
..
d3f6f2f
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;