Hello, 2012/2/22 Peter Maydell <peter.mayd...@linaro.org>: > Ping?
In case it helps, I have successfully tested this patch running adduser on Debian armhf target emulated via qemu-arm-static. Tested-by: Hector Oron <zu...@debian.org> > On 3 February 2012 13:53, Peter Maydell <peter.mayd...@linaro.org> wrote: >> These patches add support for the prctl options PR_GET_NAME >> and PR_SET_NAME. In particular, perl 5.14 will use PR_SET_NAME >> if you change the value of $0, which means that adduser will >> fail if run under qemu with a sufficiently modern perl. >> >> Patch one is just indentation cleanup, the meat is patch 2. >> >> The only other prctl options which take pointer arguments are >> all architecture specific, so there didn't seem much point in >> adding them (they all work like PR_GET_PDEATHSIG in that they >> pass an int* to be filled in); we'd have to actually emulate them >> if we cared about them. >> >> Peter Maydell (2): >> linux-user/syscall.c: Fix indentation in prctl handling >> linux-user: Add support for prctl PR_GET_NAME and PR_SET_NAME >> >> linux-user/syscall.c | 53 >> ++++++++++++++++++++++++++++++++++++------------- >> 1 files changed, 39 insertions(+), 14 deletions(-) >> >> > -- Héctor Orón -.. . -... .. .- -. -.. . ...- . .-.. --- .--. . .-.