aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2014-01-23 18:55:52 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-23 19:37:02 -0500
commit98611e4e6a2b4a03fd2d4750cce8e4455a995c8d (patch)
tree5979f4761ba67616eaeb3c5fd6fd19dbd265f9f2 /include/linux/sched.h
parent63e46b95e9eae1161832bf45cb40bbad37bfb182 (diff)
exec: kill task_struct->did_exec
We can kill either task->did_exec or PF_FORKNOEXEC, they are mutually exclusive. The patch kills ->did_exec because it has a single user. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Kees Cook <keescook@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 66a17ad55bcb..68a0e84463a0 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1239,7 +1239,6 @@ struct task_struct {
1239 /* Used for emulating ABI behavior of previous Linux versions */ 1239 /* Used for emulating ABI behavior of previous Linux versions */
1240 unsigned int personality; 1240 unsigned int personality;
1241 1241
1242 unsigned did_exec:1;
1243 unsigned in_execve:1; /* Tell the LSMs that the process is doing an 1242 unsigned in_execve:1; /* Tell the LSMs that the process is doing an
1244 * execve */ 1243 * execve */
1245 unsigned in_iowait:1; 1244 unsigned in_iowait:1;