Struct cm_config::JobPolicyAllowlists
source · pub struct JobPolicyAllowlists {
pub ambient_mark_vmo_exec: Vec<AllowlistEntry>,
pub main_process_critical: Vec<AllowlistEntry>,
pub create_raw_processes: Vec<AllowlistEntry>,
}
Expand description
Allowlists for Zircon job policy. Part of runtime security policy.
Fields§
§ambient_mark_vmo_exec: Vec<AllowlistEntry>
Entries for components allowed to be given the ZX_POL_AMBIENT_MARK_VMO_EXEC job policy.
Components must request this policy by including “job_policy_ambient_mark_vmo_exec: true” in their manifest’s program object and must be using the ELF runner. This is equivalent to the v1 ‘deprecated-ambient-replace-as-executable’ feature.
main_process_critical: Vec<AllowlistEntry>
Entries for components allowed to have their original process marked as critical to component_manager’s job.
Components must request this critical marking by including “main_process_critical: true” in their manifest’s program object and must be using the ELF runner.
create_raw_processes: Vec<AllowlistEntry>
Entries for components allowed to call zx_process_create directly (e.g., do not have ZX_POL_NEW_PROCESS set to ZX_POL_ACTION_DENY).
Components must request this policy by including “job_policy_create_raw_processes: true” in their manifest’s program object and must be using the ELF runner.
Trait Implementations§
source§impl Clone for JobPolicyAllowlists
impl Clone for JobPolicyAllowlists
source§fn clone(&self) -> JobPolicyAllowlists
fn clone(&self) -> JobPolicyAllowlists
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobPolicyAllowlists
impl Debug for JobPolicyAllowlists
source§impl Default for JobPolicyAllowlists
impl Default for JobPolicyAllowlists
source§fn default() -> JobPolicyAllowlists
fn default() -> JobPolicyAllowlists
source§impl PartialEq for JobPolicyAllowlists
impl PartialEq for JobPolicyAllowlists
source§fn eq(&self, other: &JobPolicyAllowlists) -> bool
fn eq(&self, other: &JobPolicyAllowlists) -> bool
self
and other
values to be equal, and is used
by ==
.