Enforce sandbox causal edge stdio policies
This commit is contained in:
parent
b653293840
commit
903ff837d6
1 changed files with 185 additions and 33 deletions
|
|
@ -65,7 +65,10 @@ fn lifetime_pipe_descriptor_contract() -> std::io::Result<()> {
|
|||
parent,
|
||||
context(),
|
||||
&target,
|
||||
ChildStandardIo::redirected(Stdio::null(), Stdio::from(lifetime_reader)),
|
||||
ChildStandardIo::private_control_with_lifetime_pipe(
|
||||
Stdio::null(),
|
||||
Stdio::from(lifetime_reader),
|
||||
),
|
||||
|_| Ok(()),
|
||||
|staged| Ok(ProcessOwnershipCommitAck::v1(staged)),
|
||||
)?;
|
||||
|
|
@ -108,7 +111,7 @@ fn run_lifetime_pipe_target(marker: &std::path::Path, stderr: Stdio) -> std::io:
|
|||
parent,
|
||||
context(),
|
||||
&target,
|
||||
ChildStandardIo::redirected(Stdio::null(), stderr),
|
||||
ChildStandardIo::private_control_with_lifetime_pipe(Stdio::null(), stderr),
|
||||
|_| Ok(()),
|
||||
|staged| Ok(ProcessOwnershipCommitAck::v1(staged)),
|
||||
)?;
|
||||
|
|
|
|||
Loading…
Reference in a new issue