Resolve the sandbox UID, falling back to `DEFAULT_SANDBOX_UID`.
(&self)
| 266 | impl VmDriverConfig { |
| 267 | /// Resolve the sandbox UID, falling back to `DEFAULT_SANDBOX_UID`. |
| 268 | pub fn resolve_sandbox_uid(&self) -> u32 { |
| 269 | self.sandbox_uid.unwrap_or(DEFAULT_SANDBOX_UID) |
| 270 | } |
| 271 | |
| 272 | /// Resolve the sandbox GID, falling back to the resolved UID. |
| 273 | pub fn resolve_sandbox_gid(&self, resolved_uid: u32) -> u32 { |
no outgoing calls
no test coverage detected