This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Fri May 31 08:19:39 2024 Received: from entropy.muc.muohio.edu (IDENT:root@entropy.muc.muohio.edu [134.53.213.10]) by herbie.ucs.indiana.edu (8.9.3/8.9.3) with ESMTP id UAA19349 for ; Tue, 20 Jul 1999 20:08:37 -0500 (EST) Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2]) by entropy.muc.muohio.edu (8.8.7/8.8.7) with ESMTP id UAA03273; Tue, 20 Jul 1999 20:54:47 -0400 Received: by vger.rutgers.edu via listexpand id ; Tue, 20 Jul 1999 20:03:26 -0400 Received: by vger.rutgers.edu id ; Tue, 20 Jul 1999 20:01:09 -0400 Received: from isunix.it.ilstu.edu ([138.87.124.103]:2988 "EHLO isunix.it.ilstu.edu") by vger.rutgers.edu with ESMTP id ; Tue, 20 Jul 1999 19:56:02 -0400 Received: (from thockin@localhost) by isunix.it.ilstu.edu (8.8.7/8.8.7) id SAA14284; Tue, 20 Jul 1999 18:12:01 -0500 From: Tim Hockin Message-Id: <199907202312.SAA14284@isunix.it.ilstu.edu> Subject: Re: Patch: CLONE_PPID (was kernel thread support - LWP's) To: jeremy@goop.org (Jeremy Fitzhardinge) Date: Tue, 20 Jul 1999 18:12:00 -0500 (CDT) Cc: linux-kernel@vger.rutgers.edu In-Reply-To: from "Jeremy Fitzhardinge" at Jul 20, 99 04:49:02 pm Content-Type: text Sender: owner-linux-kernel@vger.rutgers.edu Precedence: bulk X-Loop: majordomo@vger.rutgers.edu X-Orcpt: rfc822;linux-kernel-outgoing-dig > >>> There may be code out there which gets confused on receiving a SIGCLD > >>> for (or wait()ing on) a child which it doesn't remember creating. > >> > >>Any process can have children it doesn't know about creating, so this is not > >>a > >>new situation. It doesn't seem worth adding cruft to prevent. > > > > Are you prepared to give an example? > > > > Sure: > if (fork()) > execl("unsuspecting program"); > else > { > /* do things, exit when it's least expected */ > } how is that having a child it doesn't know about? exec replaces the current process, not forks another. And even if it did fork, the third task would be a child of the second, not the first. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/