Re: [PATCH 19] "disable" tracehook_prepare_clone()

2009-09-04 Thread Roland McGrath
> I need to re-check this, but iirc this hook is not needed at all since > "[PATCH 10] ptrace_report_clone: rework auto-attaching". It certainly should never be needed in the clean version of reality. Thanks, Roland

[PATCH 19] "disable" tracehook_prepare_clone()

2009-09-02 Thread Oleg Nesterov
The most problematic user of "->ptrace & PT_" checks is tracehook_prepare_clone(). I need to re-check this, but iirc this hook is not needed at all since "[PATCH 10] ptrace_report_clone: rework auto-attaching". This patch changes it to always return 0. --- include/linux/tracehook.h | 12