pub(crate) fn ensure_dir_labeled_recurse(
root: &Dir,
path: &mut Utf8PathBuf,
policy: &SePolicy,
skip: Option<(dev_t, ino64_t)>,
) -> Result<()>Expand description
A wrapper for creating a directory, also optionally setting a SELinux label.
The provided skip parameter is a device/inode that we will ignore (and not traverse).