From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1geN-0007zf-Tj for qemu-devel@nongnu.org; Wed, 06 May 2009 08:55:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1geJ-0007wa-Al for qemu-devel@nongnu.org; Wed, 06 May 2009 08:55:03 -0400 Received: from [199.232.76.173] (port=59040 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1geJ-0007wQ-5o for qemu-devel@nongnu.org; Wed, 06 May 2009 08:54:59 -0400 Received: from mx20.gnu.org ([199.232.41.8]:60276) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M1g9u-0006uZ-25 for qemu-devel@nongnu.org; Wed, 06 May 2009 08:23:34 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M1g9s-0004o8-BU for qemu-devel@nongnu.org; Wed, 06 May 2009 08:23:32 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] linux-user: implement pipe2 syscall Date: Wed, 6 May 2009 13:23:28 +0100 References: <20090505133048.GA29646@kos.to> <20090506110832.GC23364@shareable.org> <20090506120256.GA21149@kos.to> In-Reply-To: <20090506120256.GA21149@kos.to> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905061323.29083.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Riku Voipio On Wednesday 06 May 2009, Riku Voipio wrote: > On Wed, May 06, 2009 at 12:08:32PM +0100, Jamie Lokier wrote: > > But it's not a bug to call execve(), or fork() then execve(), in > > another thread at the same time as descriptors are being created. > > Those calls scan the whole file descriptor table, and look at the > > FD_CLOEXEC flags. > > Now this discussion would be much more useful if qemu was actually > properly threadsafe to begin with... For usermode emulation it is. Paul