[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080325145607.GQ2170@one.firstfloor.org>
Date: Tue, 25 Mar 2008 15:56:07 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Pavel Machek <pavel@....cz>
Cc: Andi Kleen <andi@...stfloor.org>, Krzysztof Halasa <khc@...waw.pl>,
Andrew Morton <akpm@...ux-foundation.org>,
Oleg Nesterov <oleg@...sign.ru>, ebiederm@...ssion.com,
xemul@...nvz.org, sds@...ho.nsa.gov, roland@...hat.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ptrace: it is fun to strace /sbin/init
On Tue, Mar 25, 2008 at 03:47:54PM +0100, Pavel Machek wrote:
> Hi!
>
> > > > I like the general idea -- i used to patch kernels to allow this too,
> > > > but it is dangerous.
> > >
> > > Though root-only. Root doesn't want to be limited and knows better
> > > anyway.
> >
> > The problem is that you can deadlock if you are not very careful.
>
> How is that different from ptracing any other process with _lot_ of
> children -- like X? You'll get same zombies in both cases, leading to
> same issues, no?
There is no unresolvable deadlock no.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists