]> git.baikalelectronics.ru Git - kernel.git/commit
CRED: Detach the credentials from task_struct
authorDavid Howells <dhowells@redhat.com>
Thu, 13 Nov 2008 23:39:17 +0000 (10:39 +1100)
committerJames Morris <jmorris@namei.org>
Thu, 13 Nov 2008 23:39:17 +0000 (10:39 +1100)
commitba089e1403bc86632d5bfdfefa006140bdd7248d
tree16bc51166d38815092de36a461b845b0b4b522f9
parent6149979bc069afde772ce1c44ab82357ce74b74b
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