Home
last modified time | relevance | path

Searched refs:SeContext (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Virtualization/virtualizationmanager/src/
Dselinux.rs33 pub enum SeContext { enum
40 impl PartialEq for SeContext { implementation
48 impl Eq for SeContext {} implementation
50 impl fmt::Display for SeContext { implementation
56 impl Drop for SeContext { implementation
66 impl Deref for SeContext { implementation
79 impl SeContext { implementation
104 pub fn getfilecon<F: AsRawFd>(file: &F) -> Result<SeContext> { in getfilecon() argument
112 Ok(SeContext::Raw(con)) in getfilecon()
Daidl.rs24 use crate::selinux::{getfilecon, SeContext};
1134 fn check_label_is_allowed(context: &SeContext) -> Result<()> { in check_label_is_allowed()
1734 let context = SeContext::new(label)?; in test_is_allowed_label_for_partition()