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
impl Eq for JobPolicyAllowlists
impl StructuralPartialEq for JobPolicyAllowlists
Auto Trait Implementations§
impl Freeze for JobPolicyAllowlists
impl RefUnwindSafe for JobPolicyAllowlists
impl Send for JobPolicyAllowlists
impl Sync for JobPolicyAllowlists
impl Unpin for JobPolicyAllowlists
impl UnwindSafe for JobPolicyAllowlists
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)