]> git.baikalelectronics.ru Git - kernel.git/commit
KEYS: Make request key instantiate the per-user keyrings
authorDavid Howells <dhowells@redhat.com>
Mon, 10 Nov 2008 19:00:05 +0000 (19:00 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Nov 2008 21:20:57 +0000 (13:20 -0800)
commit4f74601a9b0d4f5f362e328d7dd9c971aa6cb6c5
treeccbfebc2fd565b8a979bde1f50d58b32328e4ddf
parent4146aa2afb5547e76a32c3eedf6cb1dc0457516a
KEYS: Make request key instantiate the per-user keyrings

Make request_key() instantiate the per-user keyrings so that it doesn't oops
if it needs to get hold of the user session keyring because there isn't a
session keyring in place.

Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Steve French <smfrench@gmail.com>
Tested-by: Rutger Nijlunsing <rutger.nijlunsing@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
security/keys/internal.h
security/keys/process_keys.c
security/keys/request_key.c