Skip to main content

setgid

Function setgid 

Source
pub fn setgid(gid: u32) -> Result<(), CoreError>
Expand description

Drop process privileges to the given GID (setresgid).

Sets real, effective, and saved GID to gid.