File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed 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