File tree 3 files changed +3
-3
lines changed 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,6 @@ fn main() {
190
190
cfg. header ( "sys/msg.h" ) ;
191
191
cfg. header ( "sys/shm.h" ) ;
192
192
cfg. header ( "sys/user.h" ) ;
193
- cfg. header ( "sys/fsuid.h" ) ;
194
193
cfg. header ( "sys/timerfd.h" ) ;
195
194
cfg. header ( "shadow.h" ) ;
196
195
if !emscripten {
@@ -212,6 +211,7 @@ fn main() {
212
211
cfg. header ( "sched.h" ) ;
213
212
cfg. header ( "sys/epoll.h" ) ;
214
213
cfg. header ( "sys/eventfd.h" ) ;
214
+ cfg. header ( "sys/fsuid.h" ) ;
215
215
cfg. header ( "sys/prctl.h" ) ;
216
216
cfg. header ( "sys/sendfile.h" ) ;
217
217
cfg. header ( "sys/signalfd.h" ) ;
Original file line number Diff line number Diff line change @@ -1224,8 +1224,6 @@ extern {
1224
1224
riovcnt : :: c_ulong ,
1225
1225
flags : :: c_ulong ) -> isize ;
1226
1226
pub fn reboot ( how_to : :: c_int ) -> :: c_int ;
1227
- pub fn setfsgid ( gid : :: gid_t ) -> :: c_int ;
1228
- pub fn setfsuid ( uid : :: uid_t ) -> :: c_int ;
1229
1227
1230
1228
// Not available now on Android
1231
1229
pub fn mkfifoat ( dirfd : :: c_int , pathname : * const :: c_char ,
Original file line number Diff line number Diff line change @@ -970,6 +970,8 @@ extern {
970
970
options : :: c_int ) -> :: c_int ;
971
971
pub fn setreuid ( ruid : :: uid_t , euid : :: uid_t ) -> :: c_int ;
972
972
pub fn setregid ( rgid : :: gid_t , egid : :: gid_t ) -> :: c_int ;
973
+ pub fn setfsgid ( gid : :: gid_t ) -> :: c_int ;
974
+ pub fn setfsuid ( uid : :: uid_t ) -> :: c_int ;
973
975
pub fn getresuid ( ruid : * mut :: uid_t , euid : * mut :: uid_t ,
974
976
suid : * mut :: uid_t ) -> :: c_int ;
975
977
pub fn getresgid ( rgid : * mut :: gid_t , egid : * mut :: gid_t ,
You can’t perform that action at this time.
0 commit comments