Re: [Qemu-devel] [PATCH] linux-user: Support setgroups syscall with no groups

2013-02-04 Thread Eric Blake
On 02/02/2013 04:04 PM, dill...@dillona.com wrote: From: Dillon Amburgey dill...@dillona.com Signed-off-by: Dillon Amburgey dill...@dillona.com --- linux-user/syscall.c | 22 -- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/linux-user/syscall.c

Re: [Qemu-devel] [PATCH] linux-user: Support setgroups syscall with no groups

2013-02-04 Thread Peter Maydell
On 4 February 2013 18:38, Eric Blake ebl...@redhat.com wrote: On 02/02/2013 04:04 PM, dill...@dillona.com wrote: - -grouplist = alloca(gidsetsize * sizeof(gid_t)); -target_grouplist = lock_user(VERIFY_READ, arg2, gidsetsize * 2, 1); -if

Re: [Qemu-devel] [PATCH] linux-user: Support setgroups syscall with no groups

2013-02-04 Thread Eric Blake
On 02/04/2013 02:07 PM, Peter Maydell wrote: On 4 February 2013 18:38, Eric Blake ebl...@redhat.com wrote: On 02/02/2013 04:04 PM, dill...@dillona.com wrote: - -grouplist = alloca(gidsetsize * sizeof(gid_t)); -target_grouplist = lock_user(VERIFY_READ, arg2, gidsetsize

[Qemu-devel] [PATCH] linux-user: Support setgroups syscall with no groups

2013-02-02 Thread dillona
From: Dillon Amburgey dill...@dillona.com Signed-off-by: Dillon Amburgey dill...@dillona.com --- linux-user/syscall.c | 22 -- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index a148d9f..7344052 100644 ---

Re: [Qemu-devel] [PATCH] linux-user: Support setgroups syscall with no groups

2013-02-02 Thread Peter Maydell
On 2 February 2013 23:04, dill...@dillona.com wrote: From: Dillon Amburgey dill...@dillona.com Signed-off-by: Dillon Amburgey dill...@dillona.com Reviewed-by: Peter Maydell peter.mayd...@linaro.org -- PMM