Skip to content

Commit

Permalink
Use new mount api
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 committed Jan 31, 2024
1 parent c1a2cbf commit 54b438c
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 237 deletions.
145 changes: 0 additions & 145 deletions userspace/ksud/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion userspace/ksud/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ chrono = "0.4"
hole-punch = { git = "https://github.com/tiann/hole-punch" }

[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
sys-mount = { git = "https://github.com/tiann/sys-mount", branch = "loopfix" }
rustix = { version = "0.38", features = ["all-apis"] }
# some android specific dependencies which compiles under unix are also listed here for convenience of coding
android-properties = { version = "0.2.2", features = ["bionic-deprecated"] }
Expand Down
2 changes: 2 additions & 0 deletions userspace/ksud/src/event.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
use anyhow::{bail, Context, Result};
use log::{info, warn};
#[cfg(target_os = "android")]
use std::path::PathBuf;
use std::{collections::HashMap, path::Path};

use crate::module::prune_modules;
Expand Down
Loading

0 comments on commit 54b438c

Please sign in to comment.