diff options
| author | Ingo Molnar <mingo@elte.hu> | 2002-09-15 19:28:22 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-09-15 19:28:22 -0700 |
| commit | 25f0da24a7638cdf4890f7fcc03ce9c2b6644145 (patch) | |
| tree | 981e7f7061a65c06a96f57ae5753e0e8d89e6e0a /include/linux/raid | |
| parent | 3568bea5afd07a98f146d0f4bd40d6cc36a210c5 (diff) | |
[PATCH] thread-exec-fix-2.5.35-A5, BK-curr
This fixes a number of sys_execve() problems:
- ptrace of thread groups over exec works again.
- if the exec() is done in a non-leader thread then we must inherit the
parent links properly - otherwise the shell will see an early
child-exit notification.
- if the exec()-ing thread is detached then make it use SIGCHLD like the
leader thread.
- wait for the leader thread to become TASK_ZOMBIE properly -
wait_task_inactive() alone was not enough. This should be a rare
codepath.
now sys_execve() from thread groups works as expected in every combination
i could test: standalone, from the leader thread, from one of the child
threads, ptraced, non-ptraced, SMP and UP.
Diffstat (limited to 'include/linux/raid')
0 files changed, 0 insertions, 0 deletions
