If the process has appropriate privilege,
the setgroups() function shall set
the supplementary group IDs for
the current process. list shall reference
an array of size group IDs. A process
may have at most
On successful completion, 0 is returned.
On error, -1 is returned and
errno is set to indicate the error.
list has an invalid address.
The process does not have appropriate privileges.
size is greater than