Re: [Qemu-devel] [patch] fix getgroups and getgroups32 syscalls

2007-12-08 Thread Kirill A. Shutemov
On [Fri, 07.12.2007 20:17], Lauro Ramos Venancio wrote: > The attached patch fixes a bug in getgroups and getgroups32 syscalls. > The current implementation returns error when size=0. > > According the manual: > " If size is zero, list is not modified, but the total number of > supplementary group

[Qemu-devel] [patch] fix getgroups and getgroups32 syscalls

2007-12-07 Thread Lauro Ramos Venancio
The attached patch fixes a bug in getgroups and getgroups32 syscalls. The current implementation returns error when size=0. According the manual: " If size is zero, list is not modified, but the total number of supplementary group IDs for the process is returned." -- Lauro Ramos Venancio OpenBoss