KEYS: Don't return EAGAIN to keyctl_assume_authority()
authorDavid Howells <dhowells@redhat.com>
Mon, 13 Jun 2011 21:33:52 +0000 (22:33 +0100)
committerJames Morris <jmorris@namei.org>
Tue, 14 Jun 2011 05:03:29 +0000 (15:03 +1000)
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>

No differences found