commit | cb3bc23361830872663395de112c2c76ff00be50 | [log] [tgz] |
---|---|---|
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | Sat Sep 20 02:08:13 2008 +0000 |
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | Sat Sep 20 02:08:13 2008 +0000 |
tree | e2bc1362b82807cd7ae10939bd6c51e4366d99f9 | |
parent | e856f2ad014e6cb1bd3eca126be23b8f919f3dd1 [diff] |
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