File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -430,13 +430,13 @@ cfg_if! {
430
430
if #[ cfg( target_os = "android" ) ] {
431
431
use nix:: fcntl:: AtFlags ;
432
432
execve_test_factory!( test_execveat_empty, execveat,
433
- File :: open( "/system/bin/sh" ) . unwrap( ) . into_raw_fd( ) ,
433
+ Some ( File :: open( "/system/bin/sh" ) . unwrap( ) . into_raw_fd( ) ) ,
434
434
"" , AtFlags :: AT_EMPTY_PATH ) ;
435
435
execve_test_factory!( test_execveat_relative, execveat,
436
- File :: open( "/system/bin/" ) . unwrap( ) . into_raw_fd( ) ,
436
+ Some ( File :: open( "/system/bin/" ) . unwrap( ) . into_raw_fd( ) ) ,
437
437
"./sh" , AtFlags :: empty( ) ) ;
438
438
execve_test_factory!( test_execveat_absolute, execveat,
439
- File :: open( "/" ) . unwrap( ) . into_raw_fd( ) ,
439
+ Some ( File :: open( "/" ) . unwrap( ) . into_raw_fd( ) ) ,
440
440
"/system/bin/sh" , AtFlags :: empty( ) ) ;
441
441
} else if #[ cfg( all( target_os = "linux" , any( target_arch ="x86_64" , target_arch ="x86" ) ) ) ] {
442
442
use nix:: fcntl:: AtFlags ;
You can’t perform that action at this time.
0 commit comments