Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755878AbYCYOxL (ORCPT ); Tue, 25 Mar 2008 10:53:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754598AbYCYOw6 (ORCPT ); Tue, 25 Mar 2008 10:52:58 -0400 Received: from one.firstfloor.org ([213.235.205.2]:57243 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754337AbYCYOw5 (ORCPT ); Tue, 25 Mar 2008 10:52:57 -0400 Date: Tue, 25 Mar 2008 15:56:07 +0100 From: Andi Kleen To: Pavel Machek Cc: Andi Kleen , 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: <20080325145607.GQ2170@one.firstfloor.org> 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> <20080325144753.GA4128@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080325144753.GA4128@ucw.cz> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 803 Lines: 23 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/