From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965287AbXDKUSW (ORCPT ); Wed, 11 Apr 2007 16:18:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965275AbXDKUSW (ORCPT ); Wed, 11 Apr 2007 16:18:22 -0400 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:45836 "EHLO ebiederm.dsl.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965287AbXDKUSV (ORCPT ); Wed, 11 Apr 2007 16:18:21 -0400 From: ebiederm@xmission.com (Eric W. Biederman) To: Bill Davidsen Cc: Oleg Nesterov , Ingo Molnar , Robin Holt , Linus Torvalds , Chris Snook , linux-kernel@vger.kernel.org, Jack Steiner Subject: Re: init's children list is long and slows reaping children. References: <46159987.6090006@redhat.com> <20070406104301.GB19755@lnx-holt.americas.sgi.com> <20070406163100.GA554@tv-sign.ru> <20070406173249.GA2517@elte.hu> <20070410134814.GA28016@elte.hu> <20070410164441.GB104@tv-sign.ru> <461D3D3E.2060709@tmr.com> Date: Wed, 11 Apr 2007 14:17:13 -0600 In-Reply-To: <461D3D3E.2060709@tmr.com> (Bill Davidsen's message of "Wed, 11 Apr 2007 15:55:42 -0400") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Bill Davidsen writes: > As long as the original parent is preserved for getppid(). There are programs > out there which communicate between the parent and child with signals, and if > the original parent dies, it undesirable to have the child getppid() and start > sending signals to a program not expecting them. Invites undefined behavior. Then the programs are broken. getppid is defined to change if the process is reparented to init. Eric