ptrace children revamp
authorRoland McGrath <roland@redhat.com>
Tue, 25 Mar 2008 01:36:23 +0000 (18:36 -0700)
committerRoland McGrath <roland@redhat.com>
Thu, 17 Jul 2008 01:02:33 +0000 (18:02 -0700)
commitf470021adb9190819c03d6d8c5c860a17480aa6d
tree9e5c2808138624e272b562a502cfd035ae59c268
parent98abed02007b19bbfd68b6d06a5485afc3eeb01b
ptrace children revamp

ptrace no longer fiddles with the children/sibling links, and the
old ptrace_children list is gone.  Now ptrace, whether of one's own
children or another's via PTRACE_ATTACH, just uses the new ptraced
list instead.

There should be no user-visible difference that matters.  The only
change is the order in which do_wait() sees multiple stopped
children and stopped ptrace attachees.  Since wait_task_stopped()
was changed earlier so it no longer reorders the children list, we
already know this won't cause any new problems.

Signed-off-by: Roland McGrath <roland@redhat.com>
include/linux/init_task.h
include/linux/sched.h
kernel/exit.c
kernel/fork.c
kernel/ptrace.c