Skip to main content

production_ninep_reference_monitor

Function production_ninep_reference_monitor 

Source
pub fn production_ninep_reference_monitor(
    decider: Arc<dyn AccessDecider>,
    authenticator: Arc<dyn AttachAuthenticator>,
) -> Arc<ReferenceMonitor> ⓘ
Expand description

Assemble the production 9P ReferenceMonitor from the mandatory audited decider, the genesis content-truth label resolver, and a clearance source.

All three seams are required (all-or-nothing enforcement). The caller must supply an authenticator that verifies the attach credential itself; passing AnonymousAuthenticator explicitly selects the fail-closed state for transports whose verified attach-credential path is not yet wired.