Skip to main content

exclude_ephemeral_host_seed_mounts

Function exclude_ephemeral_host_seed_mounts 

Source
pub fn exclude_ephemeral_host_seed_mounts(contents: &[u8]) -> Vec<u8> ⓘ
Expand description

Drop the rows is_ephemeral_host_seed_mount classifies from raw mountinfo contents, keeping every other row, newline included, in its original order. Detcore’s guest-read capture, Detcore’s fdinfo mnt_id capture and hermit-cli’s launch-time identity capture all use this one filter, so they agree on the guest mount membership.