Bind terminal fixture to runtime root identity

This commit is contained in:
ms2k 2026-07-17 07:34:46 +09:00
commit 5cd0772866

View file

@ -6,9 +6,9 @@ use std::sync::{Arc, Mutex};
use ed25519_dalek::SigningKey;
use lazaret_core::identity::{
BootId, BundleDigest, ClientId, ConfigurationFingerprint, HostPath, HostPidLocator,
NetworkSidecarId, PidfsDeviceId, PidfsInodeId, PidfsProcessAuthorityV1, ProcessStartTimeTicks,
RequestId, SandboxId, SessionAnchorId,
BootId, BundleDigest, ClientId, ConfigurationFingerprint, HostPath, HostPidLocator, MountId,
MountIdentity, NetworkSidecarId, PidfsDeviceId, PidfsInodeId, PidfsProcessAuthorityV1,
ProcessStartTimeTicks, RequestId, SandboxId, SessionAnchorId,
};
use lazaret_core::protocol::{VerifiedSession, encode_signed, issue_session_capability};
use lazaret_core::records::{
@ -94,6 +94,11 @@ impl Fixture {
let mut sandbox = SandboxOwnership {
container_id: Some(ContainerId::new(bytes(9))),
runtime_root: Some(HostPath::new(b"runtime".to_vec())),
runtime_root_identity: Some(MountIdentity {
mount_id: MountId::new(8),
device: DeviceId::new(9),
inode: InodeId::new(10),
}),
bundle_digest: Some(BundleDigest::new(bytes(10))),
host_coordinator: PersistedHostProcessOwnership::committed(process(70)),
runtime_supervisor: PersistedHostProcessOwnership::unassigned(),