]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/sched.h
CRED: Differentiate objective and effective subjective credentials on a task
[linux-2.6-omap-h63xx.git] / include / linux / sched.h
index 121d655e460dab5e76c9bf3bb39ac5fdff5edcec..3443123b07096512f14c283a075043db1bdee54e 100644 (file)
@@ -1145,7 +1145,10 @@ struct task_struct {
        struct list_head cpu_timers[3];
 
 /* process credentials */
-       const struct cred *cred;        /* actual/objective task credentials (COW) */
+       const struct cred *real_cred;   /* objective and real subjective task
+                                        * credentials (COW) */
+       const struct cred *cred;        /* effective (overridable) subjective task
+                                        * credentials (COW) */
        struct mutex cred_exec_mutex;   /* execve vs ptrace cred calculation mutex */
 
        char comm[TASK_COMM_LEN]; /* executable name excluding path