I guess my intent is clear, but just in case... the second patch
is the only change in ptrace.h we need and we can send it upstream
right now.
I am thinking how can we fix utrace_control(SINGLESTEP). I don't
have good ideas so far. But, perhaps we can add
utrace-please_enable_single_step:1 ?
ptrace_init_task() looks confusing, as if we always auto-attach when
bool ptrace argument is true, while in fact we attach only if current
is traced.
Make the code more explicit and kill now unused ptrace_link().
Signed-off-by: Oleg Nesterov o...@redhat.com
---
include/linux/ptrace.h | 11