Skip to content

Commit d7a17fb

Browse files
committed
LP_CLONE_FDIO_ROOT is now LP_CLONE_FDIO_NAMESPACE
1 parent c481f85 commit d7a17fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libstd/sys/unix/process/process_fuchsia.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ impl Command {
8383
// Load the executable
8484
zx_cvt(launchpad_elf_load(launchpad, launchpad_vmo_from_file(self.get_argv()[0])))?;
8585
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))?;
8787

8888
// Clone stdin, stdout, and stderr
8989
if let Some(fd) = stdio.stdin.fd() {

src/libstd/sys/unix/process/zircon.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ extern {
180180

181181
// Launchpad clone constants
182182

183-
pub const LP_CLONE_FDIO_ROOT: u32 = 0x0001;
183+
pub const LP_CLONE_FDIO_NAMESPACE: u32 = 0x0001;
184184
pub const LP_CLONE_FDIO_CWD: u32 = 0x0002;
185185
// LP_CLONE_FDIO_STDIO = 0x0004
186186
// LP_CLONE_FDIO_ALL = 0x00FF

0 commit comments

Comments
 (0)