Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261932AbUFEU4E (ORCPT ); Sat, 5 Jun 2004 16:56:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261951AbUFEU4E (ORCPT ); Sat, 5 Jun 2004 16:56:04 -0400 Received: from mx1.redhat.com ([66.187.233.31]:22949 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S261932AbUFEU4B (ORCPT ); Sat, 5 Jun 2004 16:56:01 -0400 Date: Sat, 5 Jun 2004 22:55:47 +0200 From: Arjan van de Ven To: Linus Torvalds Cc: Russell Leighton , Kernel Mailing List Subject: Re: clone() <-> getpid() bug in 2.6? Message-ID: <20040605205547.GD20716@devserv.devel.redhat.com> References: <40C1E6A9.3010307@elegant-software.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FsscpQKzF/jJk6ya" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 994 Lines: 32 --FsscpQKzF/jJk6ya Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Jun 05, 2004 at 01:45:33PM -0700, Linus Torvalds wrote: > so I wonder if either the Fedora libc always adds that CLONE_THREAD thing > to the clone() calls, or whether the FC2 kernel is buggy. ... or glibc internally caches the getpid() result and doesn't notice the app calls clone() internally... strace seems to show 1 getpid() call total not 2. --FsscpQKzF/jJk6ya Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAwjNTxULwo51rQBIRAngBAJ4kXtb3/Dm/R3Q1zarhJyeEtlECFgCfQ2Hr zqf4ZAq3UG3kfF2atlzLD+4= =uFeC -----END PGP SIGNATURE----- --FsscpQKzF/jJk6ya-- - 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/