We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5abaad commit b715f61Copy full SHA for b715f61
2 files changed
src/main.rs
@@ -10,6 +10,7 @@ pub mod utils;
10
pub mod sandbox;
11
12
use std::{env, path::PathBuf};
13
+use utils::landlock_support;
14
15
use cli::CliArgs;
16
use once_cell::sync::Lazy;
@@ -61,7 +62,7 @@ fn run() -> Result<()> {
61
62
// init_sandbox( write_dirs
63
fn init_sandbox() {
64
- if utils::landlock_support::is_landlock_supported() {
65
+ if landlock_support::is_landlock_supported() {
66
println!("Landlock is supported and can be enabled.");
67
68
let working_dir = get_current_working_dir().expect("Cannot get current working dir");
src/utils/mod.rs
@@ -10,6 +10,7 @@ mod fs;
pub mod io;
pub mod logger;
mod question;
+pub mod landlock_support;
pub use self::{
file_visibility::FileVisibilityPolicy,
0 commit comments