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/ >