aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/keys/keyctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/keyctl.c b/security/keys/keyctl.c
index 562f7fe287a0..aa1d11a29136 100644
--- a/security/keys/keyctl.c
+++ b/security/keys/keyctl.c
@@ -771,7 +771,7 @@ long keyctl_read_key(key_serial_t keyid, char __user *buffer, size_t buflen)
771 if (ret == 0) 771 if (ret == 0)
772 goto can_read_key; 772 goto can_read_key;
773 if (ret != -EACCES) 773 if (ret != -EACCES)
774 goto error; 774 goto error2;
775 775
776 /* we can't; see if it's searchable from this process's keyrings 776 /* we can't; see if it's searchable from this process's keyrings
777 * - we automatically take account of the fact that it may be 777 * - we automatically take account of the fact that it may be