From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1etw-0007YH-SB for qemu-devel@nongnu.org; Wed, 06 May 2009 07:03:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1etv-0007Xt-AH for qemu-devel@nongnu.org; Wed, 06 May 2009 07:03:00 -0400 Received: from [199.232.76.173] (port=55224 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1etv-0007Xq-2H for qemu-devel@nongnu.org; Wed, 06 May 2009 07:02:59 -0400 Received: from naru.obs2.net ([84.20.150.76]:50536) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M1etu-0001p9-Bs for qemu-devel@nongnu.org; Wed, 06 May 2009 07:02:58 -0400 Date: Wed, 6 May 2009 14:02:55 +0300 From: Riku Voipio Subject: Re: [Qemu-devel] [PATCH] linux-user: implement pipe2 syscall Message-ID: <20090506110255.GH18405@kos.to> References: <20090505133048.GA29646@kos.to> <20090505225809.GJ7574@shareable.org> <20090506080023.GA7230@kos.to> <4A0155F6.9000801@opensuse.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A0155F6.9000801@opensuse.org> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Martin Mohring Cc: qemu-devel@nongnu.org On Wed, May 06, 2009 at 11:18:46AM +0200, Martin Mohring wrote: > How do we want to handle if "O_CLOEXEC" is not defined on the host OS, > because kernel too old (Debian Etch, CentOS 5)? Should it then return > ENOSYS? Unless you fake the uname, the glibc on the target system won't call pipe2, and thus won't ask for O_CLOEXEC.