In fact, this patch is useless as binfmt_mist provides a flag to manage
credentials and security token.
A new patch follows...
Regards,
Laurent
Le jeudi 20 décembre 2012 à 21:56 +0100, Laurent Vivier a écrit :
When qemu-linux-user is used in a linux container or chroot,
if it needs to load
Le mercredi 02 janvier 2013 à 01:16 +, Peter Maydell a écrit :
On 20 December 2012 20:56, Laurent Vivier laur...@vivier.eu wrote:
When qemu-linux-user is used in a linux container or chroot,
if it needs to load binaries with SUID/SGID bits, it needs to
have root rights to be able to
Ping !
Le jeudi 20 décembre 2012 à 21:56 +0100, Laurent Vivier a écrit :
When qemu-linux-user is used in a linux container or chroot,
if it needs to load binaries with SUID/SGID bits, it needs to
have root rights to be able to change UID/GID. To do that, we
need to install it with SUID bits
On 20 December 2012 20:56, Laurent Vivier laur...@vivier.eu wrote:
When qemu-linux-user is used in a linux container or chroot,
if it needs to load binaries with SUID/SGID bits, it needs to
have root rights to be able to change UID/GID. To do that, we
need to install it with SUID bits and root
When qemu-linux-user is used in a linux container or chroot,
if it needs to load binaries with SUID/SGID bits, it needs to
have root rights to be able to change UID/GID. To do that, we
need to install it with SUID bits and root owner.
Then, if the SUID bit is not set on the binary to load,
qemu
Signed-off-by: Laurent Vivier laur...@vivier.eu
---
linux-user/linuxload.c | 12 +++-
linux-user/main.c |3 +++
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/linux-user/linuxload.c b/linux-user/linuxload.c
index 381ab89..0fccf58 100644
---