Enum zircon_object::task::PolicyCondition [−][src]
The condition when a policy is applied.
Variants
A process under this job is attempting to issue a syscall with an invalid handle.
In this case, PolicyAction::Allow
and PolicyAction::Deny
are equivalent:
if the syscall returns, it will always return the error ZX_ERR_BAD_HANDLE.
A process under this job is attempting to issue a syscall with a handle that does not support such operation.
A process under this job is attempting to map an address region with write-execute access.
A special condition that stands for all of the above ZX_NEW conditions such as NEW_VMO, NEW_CHANNEL, NEW_EVENT, NEW_EVENTPAIR, NEW_PORT, NEW_SOCKET, NEW_FIFO, And any future ZX_NEW policy. This will include any new kernel objects which do not require a parent object for creation.
A process under this job is attempting to create a new vm object.
A process under this job is attempting to create a new channel.
A process under this job is attempting to create a new event.
A process under this job is attempting to create a new event pair.
A process under this job is attempting to create a new port.
A process under this job is attempting to create a new socket.
A process under this job is attempting to create a new fifo.
A process under this job is attempting to create a new timer.
A process under this job is attempting to create a new process.
A process under this job is attempting to create a new profile.
A process under this job is attempting to use zx_vmo_replace_as_executable() with a ZX_HANDLE_INVALID as the second argument rather than a valid ZX_RSRC_KIND_VMEX.
Trait Implementations
impl Clone for PolicyCondition
[src]
fn clone(&self) -> PolicyCondition
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PolicyCondition
[src]
impl Debug for PolicyCondition
[src]
Auto Trait Implementations
impl RefUnwindSafe for PolicyCondition
impl Send for PolicyCondition
impl Sync for PolicyCondition
impl Unpin for PolicyCondition
impl UnwindSafe for PolicyCondition
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
[src]
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src]
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,