commit | 4d67431f80b1b822f0286afc9123ee453eac7334 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Mon Jun 13 22:33:52 2011 +0100 |
committer | James Morris <jmorris@namei.org> | Tue Jun 14 15:03:29 2011 +1000 |
tree | 47ae7c273186e49a49440f95d0655cc538e2b829 | |
parent | 2ce9738bac1b386f46e8478fd2c263460e7c2b09 [diff] |
KEYS: Don't return EAGAIN to keyctl_assume_authority() Don't return EAGAIN to keyctl_assume_authority() to indicate that a key could not be found (ENOKEY is only returned if a negative key is found). Instead return ENOKEY in both cases. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>