From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6jpP-00005M-Ms for qemu-devel@nongnu.org; Mon, 14 Jul 2014 13:14:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X6jpJ-0005QQ-HZ for qemu-devel@nongnu.org; Mon, 14 Jul 2014 13:14:15 -0400 Received: from cantor2.suse.de ([195.135.220.15]:45919 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6jpJ-0005Ps-C2 for qemu-devel@nongnu.org; Mon, 14 Jul 2014 13:14:09 -0400 Message-ID: <53C40FDF.6000306@suse.de> Date: Mon, 14 Jul 2014 19:14:07 +0200 From: Alexander Graf MIME-Version: 1.0 References: <1405348708-13909-1-git-send-email-Joakim.Tjernlund@transmode.se> <53C3F57D.4080509@suse.de> <53C3FB4A.3050007@suse.de> <53C3FEA3.2060605@suse.de> <53C4069A.4050107@suse.de> <53C40B43.402@suse.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] linux-user: Add binfmt wrapper List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Joakim Tjernlund Cc: riku.voipio@iki.fi, qemu-devel@nongnu.org On 14.07.14 19:08, Joakim Tjernlund wrote: > Alexander Graf wrote on 2014/07/14 18:54:27: >> 0 is a valid fd :). And yes, this would work, but I don't see why we >> should introduce the -binfmt-wrapper logic to upstream QEMU. It's never >> been there. And the AT_EXECFD evaluation is a lot cleaner. >> >> While we're at it - should we also pass the C flag to binfmt_misc? > While I have your attention :) > Is there no way to pass options to the bin wrapper, defining env. varibles > in LXC/chroot which the wrapper picks up? Unfortunately I don't think there is a consistent way for that - unless you want to do a wrapper binary again. Alex