Enforce exact recovery ownership before cold start
This commit is contained in:
parent
f21a847991
commit
2bc5982a62
1 changed files with 1076 additions and 238 deletions
|
|
@ -375,6 +375,11 @@ fn every_schema_shape_round_trips_and_rejects_malformed_or_unknown_versions() {
|
|||
SandboxOwnership {
|
||||
container_id: Some(ContainerId::new(opaque(29))),
|
||||
runtime_root: Some(HostPath::new(b"runtime".to_vec())),
|
||||
runtime_root_identity: Some(MountIdentity {
|
||||
mount_id: MountId::new(68),
|
||||
device: DeviceId::new(69),
|
||||
inode: InodeId::new(70),
|
||||
}),
|
||||
bundle_digest: Some(BundleDigest::new(opaque(66))),
|
||||
host_coordinator: owned_process(30),
|
||||
runtime_supervisor: owned_process(21),
|
||||
|
|
@ -384,8 +389,20 @@ fn every_schema_shape_round_trips_and_rejects_malformed_or_unknown_versions() {
|
|||
);
|
||||
verify_shape(
|
||||
PublicationOwnership {
|
||||
staged_socket_path: Some(HostPath::new(b"staged-socket".to_vec())),
|
||||
staged_identity_path: Some(HostPath::new(b"staged-identity".to_vec())),
|
||||
socket_path: Some(HostPath::new(b"socket".to_vec())),
|
||||
identity_path: Some(HostPath::new(b"identity".to_vec())),
|
||||
socket_identity: Some(MountIdentity {
|
||||
mount_id: MountId::new(71),
|
||||
device: DeviceId::new(72),
|
||||
inode: InodeId::new(73),
|
||||
}),
|
||||
identity_file_identity: Some(MountIdentity {
|
||||
mount_id: MountId::new(74),
|
||||
device: DeviceId::new(75),
|
||||
inode: InodeId::new(76),
|
||||
}),
|
||||
},
|
||||
&mut seen,
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue