Updated to 4.0.0
This commit is contained in:
parent
b7554a5383
commit
938198bf11
234 changed files with 21069 additions and 12710 deletions
|
|
@ -1,8 +1,9 @@
|
|||
use crate::utils::ensure_dir_exists;
|
||||
use crate::{defs, sepolicy};
|
||||
use anyhow::{Context, Result};
|
||||
use std::path::Path;
|
||||
|
||||
use anyhow::{Context, Result};
|
||||
|
||||
use crate::{defs, sepolicy, utils::ensure_dir_exists};
|
||||
|
||||
pub fn set_sepolicy(pkg: String, policy: String) -> Result<()> {
|
||||
ensure_dir_exists(defs::PROFILE_SELINUX_DIR)?;
|
||||
let policy_file = Path::new(defs::PROFILE_SELINUX_DIR).join(pkg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue