pub fn setuid(uid: u32) -> Result<(), CoreError>
Drop process privileges to the given UID (setresuid).
setresuid
Sets real, effective, and saved UID to uid.
uid