Fix rootless launches with subordinate ID maps
Resolve and verify canonical caller subordinate ranges, launch preparation and runtime workers through mapped causal acquisition, and keep runsc in the existing user namespace. Repair descriptor-relative OCI cleanup and absent-mount recovery so failed launches can progress to the corrected path.
This commit is contained in:
parent
b9dbd78087
commit
73e3e9fdee
1 changed files with 1424 additions and 172 deletions
|
|
@ -22,6 +22,7 @@ pub const PID_FS_MAGIC: i64 = 0x5049_4446;
|
|||
const BARRIER_RELEASE: &[u8; 32] = b"LAZARET-CAUSAL-BARRIER-RELEASE!!";
|
||||
pub const PRIVATE_PROCESS_ROLE: &str = "--lazaret-private-process-role";
|
||||
const WRAPPER_ROLE: &str = "launch-wrapper";
|
||||
const MAPPED_WRAPPER_ROLE: &str = "mapped-launch-wrapper";
|
||||
const SIGCHLD_PROBE_ROLE: &str = "sigchld-probe";
|
||||
static CHILD_BROKER: OnceLock<ChildBroker> = OnceLock::new();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue