File tree 2 files changed +2
-2
lines changed
src/libstd/sys/unix/process
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ impl Command {
83
83
// Load the executable
84
84
zx_cvt ( launchpad_elf_load ( launchpad, launchpad_vmo_from_file ( self . get_argv ( ) [ 0 ] ) ) ) ?;
85
85
zx_cvt ( launchpad_load_vdso ( launchpad, ZX_HANDLE_INVALID ) ) ?;
86
- zx_cvt ( launchpad_clone ( launchpad, LP_CLONE_FDIO_ROOT | LP_CLONE_FDIO_CWD ) ) ?;
86
+ zx_cvt ( launchpad_clone ( launchpad, LP_CLONE_FDIO_NAMESPACE | LP_CLONE_FDIO_CWD ) ) ?;
87
87
88
88
// Clone stdin, stdout, and stderr
89
89
if let Some ( fd) = stdio. stdin . fd ( ) {
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ extern {
180
180
181
181
// Launchpad clone constants
182
182
183
- pub const LP_CLONE_FDIO_ROOT : u32 = 0x0001 ;
183
+ pub const LP_CLONE_FDIO_NAMESPACE : u32 = 0x0001 ;
184
184
pub const LP_CLONE_FDIO_CWD : u32 = 0x0002 ;
185
185
// LP_CLONE_FDIO_STDIO = 0x0004
186
186
// LP_CLONE_FDIO_ALL = 0x00FF
You can’t perform that action at this time.
0 commit comments