File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -1336,7 +1336,7 @@ fn test_dragonflybsd(target: &str) {
1336
1336
// skip those that are manually verified
1337
1337
match name {
1338
1338
// FIXME: https://github.com/rust-lang/libc/issues/1272
1339
- "execv" | "execve" | "execvp" => true ,
1339
+ "execv" | "execve" | "execvp" | "fexecve" => true ,
1340
1340
1341
1341
"getrlimit" | "getrlimit64" | // non-int in 1st arg
1342
1342
"setrlimit" | "setrlimit64" | // non-int in 1st arg
Original file line number Diff line number Diff line change @@ -1227,6 +1227,7 @@ faccessat
1227
1227
fchdir
1228
1228
fchflags
1229
1229
fdopendir
1230
+ fexecve
1230
1231
fmemopen
1231
1232
forkpty
1232
1233
fparseln
Original file line number Diff line number Diff line change @@ -1702,11 +1702,6 @@ extern "C" {
1702
1702
msgflg : :: c_int ,
1703
1703
) -> :: c_int ;
1704
1704
pub fn cfmakesane ( termios : * mut :: termios ) ;
1705
- pub fn fexecve (
1706
- fd : :: c_int ,
1707
- argv : * const * const :: c_char ,
1708
- envp : * const * const :: c_char ,
1709
- ) -> :: c_int ;
1710
1705
1711
1706
pub fn pdfork ( fdp : * mut :: c_int , flags : :: c_int ) -> :: pid_t ;
1712
1707
pub fn pdgetpid ( fd : :: c_int , pidp : * mut :: pid_t ) -> :: c_int ;
Original file line number Diff line number Diff line change @@ -1441,6 +1441,11 @@ extern "C" {
1441
1441
pub fn duplocale ( base : :: locale_t ) -> :: locale_t ;
1442
1442
pub fn endutxent ( ) ;
1443
1443
pub fn fchflags ( fd : :: c_int , flags : :: c_ulong ) -> :: c_int ;
1444
+ pub fn fexecve (
1445
+ fd : :: c_int ,
1446
+ argv : * const * const :: c_char ,
1447
+ envp : * const * const :: c_char ,
1448
+ ) -> :: c_int ;
1444
1449
pub fn futimens ( fd : :: c_int , times : * const :: timespec ) -> :: c_int ;
1445
1450
pub fn getdomainname ( name : * mut :: c_char , len : :: c_int ) -> :: c_int ;
1446
1451
pub fn getgrent_r (
You can’t perform that action at this time.
0 commit comments