pub trait QueryMut {
    // Required method
    fn query(
        &mut self,
        source_sid: SecurityId,
        target_sid: SecurityId,
        target_class: AbstractObjectClass
    ) -> AccessVector;
}
Expand description

An interface for computing the rights permitted to a source accessing a target of a particular SELinux object type.

Required Methods§

source

fn query( &mut self, source_sid: SecurityId, target_sid: SecurityId, target_class: AbstractObjectClass ) -> AccessVector

Computes the [AccessVector] permitted to source_sid for accessing target_sid, an object of type target_class.

Implementors§

source§

impl<D: QueryMut + ResetMut> QueryMut for ThreadLocalQuery<D>

source§

impl<D: QueryMut> QueryMut for Empty<D>

source§

impl<D: QueryMut, const SIZE: usize> QueryMut for Fixed<D, SIZE>

source§

impl<Q: Query> QueryMut for Q