diff options
author | David Howells <dhowells@redhat.com> | 2008-11-13 18:39:17 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-11-13 18:39:17 -0500 |
commit | f1752eec6145c97163dbce62d17cf5d928e28a27 (patch) | |
tree | 16bc51166d38815092de36a461b845b0b4b522f9 /include/linux/sched.h | |
parent | b6dff3ec5e116e3af6f537d4caedcad6b9e5082a (diff) |
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>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index c8b92502354d..740cf946c8cc 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1151,7 +1151,6 @@ struct task_struct { | |||
1151 | struct list_head cpu_timers[3]; | 1151 | struct list_head cpu_timers[3]; |
1152 | 1152 | ||
1153 | /* process credentials */ | 1153 | /* process credentials */ |
1154 | struct cred __temp_cred __deprecated; /* temporary credentials to be removed */ | ||
1155 | struct cred *cred; /* actual/objective task credentials */ | 1154 | struct cred *cred; /* actual/objective task credentials */ |
1156 | 1155 | ||
1157 | char comm[TASK_COMM_LEN]; /* executable name excluding path | 1156 | char comm[TASK_COMM_LEN]; /* executable name excluding path |