]> git.proxmox.com Git - qemu.git/commit
Fix getgroups() with zero size parameter (Kirill Shutemov).
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 20 Sep 2008 02:08:13 +0000 (02:08 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 20 Sep 2008 02:08:13 +0000 (02:08 +0000)
commitcb3bc23361830872663395de112c2c76ff00be50
treee2bc1362b82807cd7ae10939bd6c51e4366d99f9
parente856f2ad014e6cb1bd3eca126be23b8f919f3dd1
Fix getgroups() with zero size parameter (Kirill Shutemov).

According to man page getgroups(2):

If size is zero, list is not modified, but the total number of
supplementary group IDs for the process is returned.

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5266 c046a42c-6fe2-441c-8c8c-71466251a162
linux-user/syscall.c