Open the mounted ESP as a capability-safe directory.
(&self)
| 1272 | |
| 1273 | /// Open the mounted ESP as a capability-safe directory. |
| 1274 | pub(crate) fn open_esp_dir(&self) -> Result<Dir> { |
| 1275 | self.composefs |
| 1276 | .fd |
| 1277 | .open_dir(self.esp_subdir) |
| 1278 | .with_context(|| format!("Opening ESP at /{}", self.esp_subdir)) |
| 1279 | } |
| 1280 | } |
| 1281 | |
| 1282 | pub struct SecurebootKeys { |
no outgoing calls
no test coverage detected