Re: [PATCH 40] PTRACE_EVENT_VFORK_DONE: set ev_options = PTRACE_O_TRACEVFORKDONE

2009-09-17 Thread Roland McGrath
ptrace_report_clone() still needs more changes. I think it is simple to fix it now, but can't we simplify the utrace's behaviour first? utrace_report_clone() does not set utrace-vfork_stop without CLONE_VFORK, this adds some complications. Perhaps we can kill CLONE_VFORK check? Please

[PATCH 40] PTRACE_EVENT_VFORK_DONE: set ev_options = PTRACE_O_TRACEVFORKDONE

2009-09-15 Thread Oleg Nesterov
PTRACE_EVENT_VFORK_DONE should not be reported if the tracer cleared PTRACE_O_TRACEVFORKDONE after the tracee stopped in PTRACE_EVENT_VFORK report. Now that we have ptrace_event-ev_options this is trivial. ptrace_report_clone() still needs more changes. I think it is simple to fix it now, but