diff options
Diffstat (limited to 'security/keys/proc.c')
-rw-r--r-- | security/keys/proc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/security/keys/proc.c b/security/keys/proc.c index 9d01021ca0c8..55eeba418dca 100644 --- a/security/keys/proc.c +++ b/security/keys/proc.c | |||
@@ -194,8 +194,6 @@ static int proc_keys_show(struct seq_file *m, void *v) | |||
194 | 194 | ||
195 | /* check whether the current task is allowed to view the key (assuming | 195 | /* check whether the current task is allowed to view the key (assuming |
196 | * non-possession) | 196 | * non-possession) |
197 | * - the caller holds a spinlock, and thus the RCU read lock, making our | ||
198 | * access to __current_cred() safe | ||
199 | */ | 197 | */ |
200 | rc = key_task_permission(make_key_ref(key, 0), current_cred(), | 198 | rc = key_task_permission(make_key_ref(key, 0), current_cred(), |
201 | KEY_VIEW); | 199 | KEY_VIEW); |