Re: [PATCH 90] ptrace_wake_up: add bool force_wakeup argument for implicit detach

2009-10-16 Thread Oleg Nesterov
On 10/15, Roland McGrath wrote: ptrace_detach(sig) checks valid_signal(sig) to detect the explicit detach and passes bool voluntary to ptrace_wake_up(). ptrace_detach_task() does. ptrace_detach() has already bailed out if !valid_signal(sig) was really pass in from userland.

Re: [PATCH 90] ptrace_wake_up: add bool force_wakeup argument for implicit detach

2009-10-15 Thread Roland McGrath
ptrace_detach(sig) checks valid_signal(sig) to detect the explicit detach and passes bool voluntary to ptrace_wake_up(). ptrace_detach_task() does. ptrace_detach() has already bailed out if !valid_signal(sig) was really pass in from userland. valid_signal(0) = true, so this is