Consume shared sandbox destinations at runtime boundaries
This commit is contained in:
parent
684ca52a01
commit
897578e7cb
1 changed files with 23 additions and 12 deletions
|
|
@ -4,7 +4,7 @@ use super::{
|
|||
HostCoordinatorTerminalRecorder, IDENTITY_DEADLINE, InodeId, Instant, Mutex, OFlags,
|
||||
OpenptFlags, OsString, POLL_INTERVAL, PRIVATE_SESSION_EXEC_ROLE, PRIVATE_SESSION_IDENTITY_ROLE,
|
||||
PersistedHostProcessOwnership, PidfsProcessIdentityV1, ProcessExit, ProcessOwnershipCommitAck,
|
||||
ProcessOwnershipContext, PtyIdentity, RetainedProcess, SANDBOX_INIT_PATH, SessionId,
|
||||
ProcessOwnershipContext, PtyIdentity, RetainedProcess, SANDBOX_INIT_DESTINATION, SessionId,
|
||||
SessionTerminal, SessionTerminalFactory, SessionTerminalFields, SessionTerminalProcess,
|
||||
SessionTerminalState, StagedProcessOwnership, TargetCommand, TerminalAcquisition,
|
||||
TerminalError, TerminalResize, Winsize, child_broker, current_process_identity, fcntl_getfl,
|
||||
|
|
@ -57,7 +57,7 @@ impl SessionTerminalFactory for RunscSessionTerminalFactory {
|
|||
hex_lower(request.session_id.as_bytes())
|
||||
))
|
||||
.argument(hex_lower(request.container_id.as_bytes()))
|
||||
.argument(SANDBOX_INIT_PATH)
|
||||
.argument(SANDBOX_INIT_DESTINATION)
|
||||
.argument(PRIVATE_SESSION_EXEC_ROLE)
|
||||
.argument("--");
|
||||
for argument in &request.argv {
|
||||
|
|
@ -540,7 +540,7 @@ fn run_guest_identity_query(
|
|||
target = target
|
||||
.argument("exec")
|
||||
.argument(hex_lower(request.container_id.as_bytes()))
|
||||
.argument(SANDBOX_INIT_PATH)
|
||||
.argument(SANDBOX_INIT_DESTINATION)
|
||||
.argument(PRIVATE_SESSION_IDENTITY_ROLE);
|
||||
for argument in arguments {
|
||||
target = target.argument(argument.clone());
|
||||
|
|
|
|||
Loading…
Reference in a new issue