diff options
author | Oleg Nesterov <oleg@redhat.com> | 2009-03-02 22:58:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-16 17:52:52 -0700 |
commit | 6437d6f99da2b1bdd6105f6f6467102bb937bc23 (patch) | |
tree | 3400ccd4a95b1a170c014627dd5b59e808e15287 /net/ipv6/syncookies.c | |
parent | 360a98ed7849323bedc8ccf75fed49701db8a03c (diff) |
copy_process: fix CLONE_PARENT && parent_exec_id interaction
commit 2d5516cbb9daf7d0e342a2e3b0fc6f8c39a81205 upstream.
CLONE_PARENT can fool the ->self_exec_id/parent_exec_id logic. If we
re-use the old parent, we must also re-use ->parent_exec_id to make
sure exit_notify() sees the right ->xxx_exec_id's when the CLONE_PARENT'ed
task exits.
Also, move down the "p->parent_exec_id = p->self_exec_id" thing, to place
two different cases together.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Serge E. Hallyn <serge@hallyn.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/ipv6/syncookies.c')
0 files changed, 0 insertions, 0 deletions