DragonFly 6.0 introduced fexecve()
Ignore fexecve signature mismatch, as with other execv variants.
This commit is contained in:
parent
6172388c68
commit
6f0857da5d
|
@ -1336,7 +1336,7 @@ fn test_dragonflybsd(target: &str) {
|
|||
// skip those that are manually verified
|
||||
match name {
|
||||
// FIXME: https://github.com/rust-lang/libc/issues/1272
|
||||
"execv" | "execve" | "execvp" => true,
|
||||
"execv" | "execve" | "execvp" | "fexecve" => true,
|
||||
|
||||
"getrlimit" | "getrlimit64" | // non-int in 1st arg
|
||||
"setrlimit" | "setrlimit64" | // non-int in 1st arg
|
||||
|
|
|
@ -1227,6 +1227,7 @@ faccessat
|
|||
fchdir
|
||||
fchflags
|
||||
fdopendir
|
||||
fexecve
|
||||
fmemopen
|
||||
forkpty
|
||||
fparseln
|
||||
|
|
|
@ -1702,11 +1702,6 @@ extern "C" {
|
|||
msgflg: ::c_int,
|
||||
) -> ::c_int;
|
||||
pub fn cfmakesane(termios: *mut ::termios);
|
||||
pub fn fexecve(
|
||||
fd: ::c_int,
|
||||
argv: *const *const ::c_char,
|
||||
envp: *const *const ::c_char,
|
||||
) -> ::c_int;
|
||||
|
||||
pub fn pdfork(fdp: *mut ::c_int, flags: ::c_int) -> ::pid_t;
|
||||
pub fn pdgetpid(fd: ::c_int, pidp: *mut ::pid_t) -> ::c_int;
|
||||
|
|
|
@ -1441,6 +1441,11 @@ extern "C" {
|
|||
pub fn duplocale(base: ::locale_t) -> ::locale_t;
|
||||
pub fn endutxent();
|
||||
pub fn fchflags(fd: ::c_int, flags: ::c_ulong) -> ::c_int;
|
||||
pub fn fexecve(
|
||||
fd: ::c_int,
|
||||
argv: *const *const ::c_char,
|
||||
envp: *const *const ::c_char,
|
||||
) -> ::c_int;
|
||||
pub fn futimens(fd: ::c_int, times: *const ::timespec) -> ::c_int;
|
||||
pub fn getdomainname(name: *mut ::c_char, len: ::c_int) -> ::c_int;
|
||||
pub fn getgrent_r(
|
||||
|
|
Loading…
Reference in a new issue