Skip to content
Snippets Groups Projects
Commit cb3bc233 authored by Andrzej Zaborowski's avatar Andrzej Zaborowski
Browse files

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: default avatarKirill A. Shutemov <kirill@shutemov.name>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5266 c046a42c-6fe2-441c-8c8c-71466251a162
parent e856f2ad
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment