Add setresuid/setresgid for linux
Signed-off-by: Dylan Reid <dgreid@chromium.org>
This commit is contained in:
parent
836cda9893
commit
519ffa076c
@ -658,6 +658,8 @@ extern {
|
||||
riovcnt: ::c_ulong,
|
||||
flags: ::c_ulong) -> isize;
|
||||
pub fn reboot(how_to: ::c_int) -> ::c_int;
|
||||
pub fn setresgid(rgid: ::gid_t, egid: ::gid_t, sgid: ::gid_t) -> ::c_int;
|
||||
pub fn setresuid(ruid: ::uid_t, euid: ::uid_t, suid: ::uid_t) -> ::c_int;
|
||||
|
||||
// Not available now on Android
|
||||
pub fn mkfifoat(dirfd: ::c_int, pathname: *const ::c_char,
|
||||
|
Loading…
Reference in New Issue
Block a user