]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/sched.h
Add in_execve flag into task_struct.
[linux-2.6-omap-h63xx.git] / include / linux / sched.h
index 2127e959e0f4ac86565ff0832063586ac6387dab..397c20cfb6a50d1468d8c367b92781cbbe84bdbb 100644 (file)
@@ -1158,6 +1158,8 @@ struct task_struct {
        /* ??? */
        unsigned int personality;
        unsigned did_exec:1;
+       unsigned in_execve:1;   /* Tell the LSMs that the process is doing an
+                                * execve */
        pid_t pid;
        pid_t tgid;