Messages in this thread | | | Date | Wed, 23 Mar 2011 18:09:20 +0100 | From | Oleg Nesterov <> | Subject | Re: [PATCH 1/8] job control: Don't set group_stop exit_code if re-entering job control stop |
| |
On 03/23, Tejun Heo wrote: > > Hey, > > On Wed, Mar 23, 2011 at 05:40:14PM +0100, Oleg Nesterov wrote: > > > Hmmm... There are two competing signals in that case - SIGTTIN sent by > > > the parent and SIGSTOP sent by someone else. > > > > "someone else" can be PTRACE_CONT(SIGSTOP) from the debugger. > > The debugger should be doing PTRACE_CONT(notified_signo).
Why? it can change the signal.
> Am I > missing something? Anyways, this doesn't really matter. I kinda like > just testing STOP_STOPPED both in stop initiation and notification > paths but well it's no biggie either way.
OK, agreed, please forget.
Oleg.
| |