]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ptrace: make pid of child process available for PTRACE_EVENT_VFORK_DONE
authorChuck Ebbert <76306.1226@compuserve.com>
Sat, 5 Aug 2006 19:14:11 +0000 (12:14 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 6 Aug 2006 15:57:46 +0000 (08:57 -0700)
commit9f59ce5d0e0dd837853385927b150f5cef3a7f52
tree12d158ca678e803e77803cd9476fd6104e8ae0c0
parentf9abd1ace43d6186268856dbec2ebf411218d6ca
[PATCH] ptrace: make pid of child process available for PTRACE_EVENT_VFORK_DONE

When delivering PTRACE_EVENT_VFORK_DONE, provide pid of the child process
when tracer calls ptrace(PTRACE_GETEVENTMSG).  This is already
(accidentally) available when the tracer is tracing VFORK in addition to
VFORK_DONE.

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Cc: Daniel Jacobowitz <dan@debian.org>
Cc: Albert Cahalan <acahalan@gmail.com>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/fork.c