Re: [PATCH] linux-user: add option to chroot before emulation

2020-12-08 Thread Matteo Croce
On Tue, Dec 8, 2020 at 9:21 AM Laurent Vivier wrote: > > Le 08/12/2020 à 01:17, Matteo Croce a écrit : > > From: Matteo Croce > > > > Add a '-c' option which does a chroot() just before starting the > > emulation. This is useful when the static QEMU

[PATCH] linux-user: add option to chroot before emulation

2020-12-07 Thread Matteo Croce
From: Matteo Croce Add a '-c' option which does a chroot() just before starting the emulation. This is useful when the static QEMU user binary can't be copied into the target root filesystem, e.g. if it's readonly. Move some code which accesses /proc/sys/vm/mmap_min_ad