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

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 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 (!target_grouplist) { >>

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 > > Signed-off-by: Dillon Amburgey > --- > 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 a1

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

2013-02-02 Thread Peter Maydell
On 2 February 2013 23:04, wrote: > From: Dillon Amburgey > > Signed-off-by: Dillon Amburgey Reviewed-by: Peter Maydell -- PMM

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

2013-02-02 Thread dillona
From: Dillon Amburgey Signed-off-by: Dillon Amburgey --- 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 --- a/linux-user/syscall.c +++ b/linux-user/sys