From: Wang C. <wan...@cn...> - 2010-10-07 02:27:45
|
Hello all, This is the version 2 patch which try to do followfork using PTRACE_SETOPTIONS. During the period from v1, I've done the following changes, mainly based on comments since v1. 1) To reduce redundancy code in setbpt and PTRACE_SETOPTIONS methods, I move most code handling syscall exit point in internal_fork() to a new common function handle_new_child. Function reparent() in v1 disappeared since this work is included in the new function. 2) Add missing macro definitions of PTRACE_EVENT_*. 3) Do more error check, coding style changs and so on. Thanks, Wang Chao |