pub fn setgid(gid: u32) -> Result<(), CoreError>
Drop process privileges to the given GID (setresgid).
setresgid
Sets real, effective, and saved GID to gid.
gid