From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7Hzs-0007zL-Tc for qemu-devel@nongnu.org; Mon, 30 May 2016 03:52:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7Hzp-0008KF-OR for qemu-devel@nongnu.org; Mon, 30 May 2016 03:52:24 -0400 Received: from jessie.kos.to ([212.47.231.226]:49486 helo=pilvi.kos.to) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7Hzp-0008Jy-HX for qemu-devel@nongnu.org; Mon, 30 May 2016 03:52:21 -0400 Date: Mon, 30 May 2016 10:52:16 +0300 From: Riku Voipio Message-ID: <20160530075216.GB18068@beaming.home> References: <1464192472-7885-1-git-send-email-joel.holdsworth@vcatechnology.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1464192472-7885-1-git-send-email-joel.holdsworth@vcatechnology.com> Subject: Re: [Qemu-devel] linux-user: add option to intercept execve() syscalls List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Joel Holdsworth Cc: qemu-devel@nongnu.org, Vasileios.Kalintiris@imgtec.com, petrosagg@resin.io On Wed, May 25, 2016 at 05:07:48PM +0100, Joel Holdsworth wrote: > This patch-set includes Peter Angelatos's previous patch-set [1] and > adds code to pass arguments for setting the environment variables, > passing the interpeter prefix, and passing the strace option. Considering the messiness this serieas adds to QEMU, I do wonder how much of win this avoidance really is. If you have permissions to chroot, you generally have permissions to set binfmt_misc too. Alternatively these kind of exec manipulations are already done by external tools like proot and scratchbox. However if you are ready to stay around to maintain it, and nobody else objects the code, I can merge it. > [1] https://patchwork.ozlabs.org/patch/582756/ >