File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -461,7 +461,8 @@ fn main() {
461
461
"execv" | // crazy stuff with const/mut
462
462
"execve" |
463
463
"execvp" |
464
- "execvpe" => true ,
464
+ "execvpe" |
465
+ "fexecve" => true ,
465
466
466
467
"getrlimit" | "getrlimit64" | // non-int in 1st arg
467
468
"setrlimit" | "setrlimit64" | // non-int in 1st arg
Original file line number Diff line number Diff line change @@ -449,6 +449,9 @@ extern {
449
449
-> :: c_int ;
450
450
pub fn execvp ( c : * const c_char ,
451
451
argv : * const * const c_char ) -> :: c_int ;
452
+ pub fn fexecve ( fd : :: c_int , argv : * const * const c_char ,
453
+ envp : * const * const c_char )
454
+ -> :: c_int ;
452
455
pub fn fork ( ) -> pid_t ;
453
456
pub fn fpathconf ( filedes : :: c_int , name : :: c_int ) -> c_long ;
454
457
pub fn getcwd ( buf : * mut c_char , size : :: size_t ) -> * mut c_char ;
You can’t perform that action at this time.
0 commit comments