CRED: Detach the credentials from task_struct
commitf1752eec6145c97163dbce62d17cf5d928e28a27
authorDavid Howells <dhowells@redhat.com>
Thu, 13 Nov 2008 23:39:17 +0000 (14 10:39 +1100)
committerJames Morris <jmorris@namei.org>
Thu, 13 Nov 2008 23:39:17 +0000 (14 10:39 +1100)
tree16bc51166d38815092de36a461b845b0b4b522f9
parentb6dff3ec5e116e3af6f537d4caedcad6b9e5082a
CRED: Detach the credentials from task_struct

Detach the credentials from task_struct, duplicating them in copy_process()
and releasing them in __put_task_struct().

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: James Morris <jmorris@namei.org>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/cred.h
include/linux/init_task.h
include/linux/sched.h
include/linux/security.h
kernel/Makefile
kernel/cred.c [new file with mode: 0644]
kernel/fork.c
security/capability.c
security/security.c
security/selinux/hooks.c
security/smack/smack_lsm.c