195fffa420
Since getgroups() will never write more than NGROUPS_MAX entries we might as well cap len to that value. The following should probably not trap the program: gid_t set[NGROUPS_MAX]; getgroups(NGROUPS_MAX + 1, set); |
||
---|---|---|
.. | ||
sys | ||
stdio.h | ||
stdlib.h | ||
string.h | ||
strings.h | ||
unistd.h |