linux-stable-rt/security/keys
David Howells 1e456a1243 KEYS: request_key() should return -ENOKEY if the constructed key is negative
request_key() should return -ENOKEY if the key it constructs has been
negatively instantiated.

Without this, request_key() can return an unusable key to its caller,
and if the caller then does key_validate() that won't catch the problem.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-06 09:17:02 -07:00
..
Makefile
compat.c
gc.c
internal.h
key.c
keyctl.c
keyring.c
permission.c
proc.c
process_keys.c
request_key.c
request_key_auth.c
sysctl.c
user_defined.c