summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/plat-s3c24xx
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-04-09 08:12:30 +0200
committerRoland McGrath <roland@redhat.com>2008-07-17 03:02:34 +0200
commit666f164f4fbfa78bd00fb4b74788b42a39842c64 (patch)
tree27c6a77edbce3da0860b5bd05cf3a7a842140c2c /include/asm-arm/plat-s3c24xx
parentdo_wait: return security_task_wait() error code in place of -ECHILD (diff)
downloadlinux-666f164f4fbfa78bd00fb4b74788b42a39842c64.tar.xz
linux-666f164f4fbfa78bd00fb4b74788b42a39842c64.zip
fix dangling zombie when new parent ignores children
This fixes an arcane bug that we think was a regression introduced by commit b2b2cbc4b2a2f389442549399a993a8306420baf. When a parent ignores SIGCHLD (or uses SA_NOCLDWAIT), its children would self-reap but they don't if it's using ptrace on them. When the parent thread later exits and ceases to ptrace a child but leaves other live threads in the parent's thread group, any zombie children are left dangling. The fix makes them self-reap then, as they would have done earlier if ptrace had not been in use. Signed-off-by: Roland McGrath <roland@redhat.com>
Diffstat (limited to 'include/asm-arm/plat-s3c24xx')
0 files changed, 0 insertions, 0 deletions