Reload policy from a proto `SandboxPolicy` message. Reuses the full `from_proto()` pipeline (proto-to-JSON conversion, L7 validation, access preset expansion) so the reload has identical validation guarantees as initial load. Atomically replaces the inner engine on success; on failure the previous engine is untouched (LKG).
(&self, proto: &ProtoSandboxPolicy)
| 399 | /// validation guarantees as initial load. Atomically replaces the inner |
| 400 | /// engine on success; on failure the previous engine is untouched (LKG). |
| 401 | pub fn reload_from_proto(&self, proto: &ProtoSandboxPolicy) -> Result<()> { |
| 402 | self.reload_from_proto_with_pid(proto, 0) |
| 403 | } |
| 404 | |
| 405 | /// Reload policy from a proto with symlink resolution. |
| 406 | /// |
nothing calls this directly
no test coverage detected