sys_setgid [kernel/sys.c]
Sets the effective group ID of the current process. If the caller is the superuser, the real GID and saved set-group-ID are also set. Arguments
eax | 46
ebx | New effective GID.
Return values If the system call succeeds the return value is 0. If the system call fails the return value is one of the following errno values:
`-EPERM` | `The calling process is not privileged (does not have the CAP_SETGID capability), and ebx does not match the effective group ID or saved set-group-ID of the calling process.`
Remarks n/a Compatibility n/a