[][src]Function linux::syscall::setresuid

pub fn setresuid(ruid: uid_t, euid: uid_t, suid: uid_t) -> c_int

Sets the real, effective, and saved user ids of this process.

[argument, ruid] The real user id.

[argument, ruid] The effective user id.

[argument, ruid] The saved user id.

[return_value] Returns success or an error value.

= See also

  • link:man:setresuid(2)