[PATCH/v2 0/0] Try to do followfork using PTRACE_SETOPTIONS

Wang Chao wang.chao at cn.fujitsu.com
Thu Oct 7 02:28:40 UTC 2010


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





More information about the Strace-devel mailing list