Re: 2.6.25.3: su gets stuck for root

From: Alan Cox
Date: Mon Jun 02 2008 - 08:29:19 EST


On Mon, Jun 02, 2008 at 12:57:07PM +0200, Vegard Nossum wrote:
> I guess this still doesn't explain why TTOU doesn't block (IOW, stop
> the process, right?) in this case, because my test program does not
> touch it.

I see the parent process sleeping and the child taking TTOU and going to
state T. That again is correct.

alan 3219 0.0 0.0 3652 384 pts/5 S 13:11 0:00 ./repro
alan 3220 0.0 0.0 3652 204 pts/5 T 13:11 0:00 ./repro

If you run it without any straces etc do you see it blocked in T or sitting
in R ?

Alan


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/