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 66bf3f6 commit 4ed49cc
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 236 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,6 +1,8 @@
use anyhow::{bail, Context, Result};
use log::{info, warn};
use std::{collections::HashMap, path::Path};
#[cfg(target_os = "android")]
use std::path::PathBuf;

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

0 comments on commit 4ed49cc

Please sign in to comment.