Re: [PATCH 4/4] kill task_struct->did_exec

2013-11-22 Thread KOSAKI Motohiro
(11/22/2013 12:54 PM), Oleg Nesterov wrote: > We can kill either task->did_exec or PF_FORKNOEXEC, they are > mutually exclusive. The patch kill ->did_exec because it has > a single user. It's ok. but, > - * Auch. Had to add the 'did_exec' flag to conform completely to POSIX. > - * LBT 04.03.94

[PATCH 4/4] kill task_struct->did_exec

2013-11-22 Thread Oleg Nesterov
We can kill either task->did_exec or PF_FORKNOEXEC, they are mutually exclusive. The patch kill ->did_exec because it has a single user. Signed-off-by: Oleg Nesterov --- fs/exec.c |1 - include/linux/sched.h |1 - kernel/fork.c |1 - kernel/sys.c |5

[PATCH 4/4] kill task_struct-did_exec

2013-11-22 Thread Oleg Nesterov
We can kill either task-did_exec or PF_FORKNOEXEC, they are mutually exclusive. The patch kill -did_exec because it has a single user. Signed-off-by: Oleg Nesterov o...@redhat.com --- fs/exec.c |1 - include/linux/sched.h |1 - kernel/fork.c |1 - kernel/sys.c

Re: [PATCH 4/4] kill task_struct-did_exec

2013-11-22 Thread KOSAKI Motohiro
(11/22/2013 12:54 PM), Oleg Nesterov wrote: We can kill either task-did_exec or PF_FORKNOEXEC, they are mutually exclusive. The patch kill -did_exec because it has a single user. It's ok. but, - * Auch. Had to add the 'did_exec' flag to conform completely to POSIX. - * LBT 04.03.94 + *