Re: [PATCH] ptrace: it is fun to strace /sbin/init

From: Andi Kleen
Date: Tue Mar 25 2008 - 10:32:44 EST


On Tue, Mar 25, 2008 at 03:30:29PM +0100, Krzysztof Halasa wrote:
> Andi Kleen <andi@xxxxxxxxxxxxxx> writes:
>
> > The problem is that you can deadlock if you are not very careful.
>
> I can damage the system in trillion ways, one more is not a problem
> :-)

We don't actually have that many ways for hard deadlocks even
as root (short of doing really nasty things on /dev/kmem)

> Hopefully someone will write the details down to enable root to be
> very careful.

Sure, but if the deadlocks can be avoided on the kernel level (just
making sure the children are already reaped) then it would be even
better.

-Andi
--
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/