We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bdaf9d5 + 28d0afa commit 852db73Copy full SHA for 852db73
libc-test/build.rs
@@ -162,6 +162,7 @@ fn main() {
162
cfg.header("sys/ipc.h");
163
cfg.header("sys/msg.h");
164
cfg.header("sys/shm.h");
165
+ cfg.header("sys/fsuid.h");
166
cfg.header("pty.h");
167
cfg.header("shadow.h");
168
}
src/unix/notbsd/linux/mod.rs
@@ -714,6 +714,8 @@ extern {
714
riovcnt: ::c_ulong,
715
flags: ::c_ulong) -> isize;
716
pub fn reboot(how_to: ::c_int) -> ::c_int;
717
+ pub fn setfsgid(gid: ::gid_t) -> ::c_int;
718
+ pub fn setfsuid(uid: ::uid_t) -> ::c_int;
719
pub fn setresgid(rgid: ::gid_t, egid: ::gid_t, sgid: ::gid_t) -> ::c_int;
720
pub fn setresuid(ruid: ::uid_t, euid: ::uid_t, suid: ::uid_t) -> ::c_int;
721
0 commit comments