Searched refs:getfilecon (Results 1 – 2 of 2) sorted by relevance
104 pub fn getfilecon<F: AsRawFd>(file: &F) -> Result<SeContext> { in getfilecon() function
24 use crate::selinux::{getfilecon, SeContext};1149 check_label_is_allowed(&getfilecon(file)?) in check_label_for_partition()1163 check_label_is_allowed(&getfilecon(file)?).with_context(|| format!("{} file invalid", name)) in check_label_for_file()