Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756151AbYCYOsR (ORCPT ); Tue, 25 Mar 2008 10:48:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754297AbYCYOsD (ORCPT ); Tue, 25 Mar 2008 10:48:03 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:1363 "EHLO spitz.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754293AbYCYOsB (ORCPT ); Tue, 25 Mar 2008 10:48:01 -0400 Date: Tue, 25 Mar 2008 15:47:54 +0100 From: Pavel Machek To: Andi Kleen Cc: Krzysztof Halasa , Andrew Morton , Oleg Nesterov , ebiederm@xmission.com, xemul@openvz.org, sds@tycho.nsa.gov, roland@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ptrace: it is fun to strace /sbin/init Message-ID: <20080325144753.GA4128@ucw.cz> References: <20080323135110.GA294@tv-sign.ru> <20080324152906.dee7b272.akpm@linux-foundation.org> <20080324225611.GA157@tv-sign.ru> <20080324160819.cea2d921.akpm@linux-foundation.org> <87r6dzi0mw.fsf@basil.nowhere.org> <20080325142259.GO2170@one.firstfloor.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080325142259.GO2170@one.firstfloor.org> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 806 Lines: 22 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? -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/