Sets the real, effective, and saved group ids of this process.
fn setresgid(rgid: u32, egid: u32, sgid: u32) -> i32
Returns success or an error value.
setresgid(2)