aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/unifdef.c
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2009-03-02 21:58:45 +0000
committerLinus Torvalds <[email protected]>2009-03-09 20:23:25 +0000
commit2d5516cbb9daf7d0e342a2e3b0fc6f8c39a81205 (patch)
tree7f3fa06b708a508f4cc0fa6ef7894ede14101c87 /scripts/unifdef.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 (diff)
downloadkernel-2d5516cbb9daf7d0e342a2e3b0fc6f8c39a81205.tar.gz
kernel-2d5516cbb9daf7d0e342a2e3b0fc6f8c39a81205.zip
copy_process: fix CLONE_PARENT && parent_exec_id interaction
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 <[email protected]> Cc: Roland McGrath <[email protected]> Cc: Andrew Morton <[email protected]> Cc: David Howells <[email protected]> Cc: Serge E. Hallyn <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/unifdef.c')
0 files changed, 0 insertions, 0 deletions