[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m3fxuedh3m.fsf@maximus.localdomain>
Date: Tue, 25 Mar 2008 15:16:13 +0100
From: Krzysztof Halasa <khc@...waw.pl>
To: Andi Kleen <andi@...stfloor.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Oleg Nesterov <oleg@...sign.ru>, ebiederm@...ssion.com,
xemul@...nvz.org, pavel@....cz, sds@...ho.nsa.gov,
roland@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ptrace: it is fun to strace /sbin/init
Andi Kleen <andi@...stfloor.org> writes:
> It would be fine to allow this unconditionally if there was some mechanism
> to make sure someone else takes over reaping childs while init is
> ptraced.
Well, I think it isn't even necessary, unless you ptrace init for a
long time. I would simply go with the simple 1-line patch.
> 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. I think ptracing init is useful even when no one takes care
of the dead (especially if you want to trace waits).
--
Krzysztof Halasa
--
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