projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86-32, vdso: On system call restart after SYSENTER, use int $0x80
[cascardo/linux.git]
/
security
/
keys
/
request_key_auth.c
diff --git
a/security/keys/request_key_auth.c
b/security/keys/request_key_auth.c
index
6cff375
..
60d4e3f
100644
(file)
--- a/
security/keys/request_key_auth.c
+++ b/
security/keys/request_key_auth.c
@@
-251,6
+251,8
@@
struct key *key_get_instantiation_authkey(key_serial_t target_id)
if (IS_ERR(authkey_ref)) {
authkey = ERR_CAST(authkey_ref);
+ if (authkey == ERR_PTR(-EAGAIN))
+ authkey = ERR_PTR(-ENOKEY);
goto error;
}