diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 121d655e460d..3443123b0709 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1145,7 +1145,10 @@ struct task_struct { | |||
1145 | struct list_head cpu_timers[3]; | 1145 | struct list_head cpu_timers[3]; |
1146 | 1146 | ||
1147 | /* process credentials */ | 1147 | /* process credentials */ |
1148 | const struct cred *cred; /* actual/objective task credentials (COW) */ | 1148 | const struct cred *real_cred; /* objective and real subjective task |
1149 | * credentials (COW) */ | ||
1150 | const struct cred *cred; /* effective (overridable) subjective task | ||
1151 | * credentials (COW) */ | ||
1149 | struct mutex cred_exec_mutex; /* execve vs ptrace cred calculation mutex */ | 1152 | struct mutex cred_exec_mutex; /* execve vs ptrace cred calculation mutex */ |
1150 | 1153 | ||
1151 | char comm[TASK_COMM_LEN]; /* executable name excluding path | 1154 | char comm[TASK_COMM_LEN]; /* executable name excluding path |