login
Header Space

 
 

Re: [PATCH 0/3] orphaned pgrp fixes

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Roland McGrath <roland@...>
Cc: Andrew Morton <akpm@...>, Alan Cox <alan@...>, Davide Libenzi <davidel@...>, Eric W. Biederman <ebiederm@...>, Ingo Molnar <mingo@...>, Linus Torvalds <torvalds@...>, <linux-kernel@...>
Date: Wednesday, March 5, 2008 - 12:48 pm

On 03/04, Roland McGrath wrote:

Sorry! I was unclear.

Multiple reasons. Just for example,

	1:~$ strace -o /dev/null perl -e 'kill SIGSTOP,$$; for (;;) {}' &
	[1] 6714
	1:~$ kill -9 $!
	[1]+  Killed                  strace -o /dev/null perl -e 'kill SIGSTOP,$$; for (;;) {}'
	1:~$ grep State: /proc/`pidof perl`/status
	State:  R (running)

but its signal->flags = SIGNAL_STOP_STOPPED.

Please note that unless SIGCONT comes it will exit() with SIGNAL_STOP_STOPPED
set too, this complicates fixing do_wait(WSTOPPED). We can shadow this problem
though, do_wait() can first check TASK_ZOMBIE, and only then SIGNAL_STOP_STOPPED.
I am going to try to cook some patches soon.


Yes. Somehow the conception of orphaned pgrp doesn't fit in my brain, but I'd
like to at least try to think about this...

Oleg.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] orphaned pgrp fixes, Oleg Nesterov, (Sun Mar 2, 2:44 pm)
Re: [PATCH 0/3] orphaned pgrp fixes, Roland McGrath, (Tue Mar 4, 8:26 am)
Re: [PATCH 0/3] orphaned pgrp fixes, Oleg Nesterov, (Wed Mar 5, 1:11 pm)
Re: [PATCH 0/3] orphaned pgrp fixes, Roland McGrath, (Thu Mar 6, 11:53 pm)
Re: [PATCH 0/3] orphaned pgrp fixes, Eric W. Biederman, (Wed Mar 5, 9:14 pm)
Re: [PATCH 0/3] orphaned pgrp fixes, Oleg Nesterov, (Thu Mar 6, 9:52 pm)
Re: [PATCH 0/3] orphaned pgrp fixes, Oleg Nesterov, (Tue Mar 4, 11:51 am)
Re: [PATCH 0/3] orphaned pgrp fixes, Roland McGrath, (Tue Mar 4, 9:11 pm)
Re: [PATCH 0/3] orphaned pgrp fixes, Oleg Nesterov, (Wed Mar 5, 12:48 pm)
speck-geostationary