CRED: Separate per-task-group keyrings from signal_struct
authorDavid Howells <dhowells@redhat.com>
Thu, 13 Nov 2008 23:39:20 +0000 (10:39 +1100)
committerJames Morris <jmorris@namei.org>
Thu, 13 Nov 2008 23:39:20 +0000 (10:39 +1100)
commitbb952bb98a7e479262c7eb25d5592545a3af147d
tree9a2158c07a22a5fbddcec412944d2e7534eecc8f
parent275bb41e9d058fbb327e7642f077e1beaeac162e
CRED: Separate per-task-group keyrings from signal_struct

Separate per-task-group keyrings from signal_struct and dangle their anchor
from the cred struct rather than the signal_struct.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/cred.h
include/linux/key.h
include/linux/sched.h
kernel/cred.c
kernel/fork.c
security/keys/process_keys.c
security/keys/request_key.c