File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -457,7 +457,8 @@ fn main() {
457
457
"execv" | // crazy stuff with const/mut
458
458
"execve" |
459
459
"execvp" |
460
- "execvpe" => true ,
460
+ "execvpe" |
461
+ "fexecve" => true ,
461
462
462
463
"getrlimit" | "getrlimit64" | // non-int in 1st arg
463
464
"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