/// Creates a configuration from the provided policies.
Creates a configuration from the provided policies.
Creates a configuration from the provided policies .
pub fn build(&self) -> Arc<RuntimeConfig> {
        let config = Arc::new(RuntimeConfig {
            security_policy: SecurityPolicy {
                job_policy: JobPolicyAllowlists {
                    ambient_mark_vmo_exec: vec![],
                    main_process_critical: vec![],
                    create_raw_processes: vec![],
                },
                capability_policy: self.capability_policy.clone(),
                debug_capability_policy: self.debug_capability_policy.clone(),
            },
            ..Default::default()
        });
        config
    }
pub fn build ( & self ) -> Arc < RuntimeConfig > { let config = Arc :: new ( RuntimeConfig { security_policy : SecurityPolicy { job_policy : JobPolicyAllowlists { ambient_mark_vmo_exec : vec ! [ ] , main_process_critical : vec ! [ ] , create_raw_processes : vec ! [ ] , } , capability_policy : self . capability_policy . clone ( ) , debug_capability_policy : self . debug_capability_policy . clone ( ) , } , .. Default :: default ( ) } ) ; config }
Creates a configuration from the provided policies.
Creates a configuration from the provided policies .
&self