Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix procfs compile error #570

Merged
merged 1 commit into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rasp/librasp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version = "1.0.1"
log = "0.4.0"
env_logger = "0.7.1"
crossbeam = "0.8.0"
procfs = { git = "https://github.com/AlkenePan/procfs.git" }
procfs = { git = "https://github.com/yoloyyh/procfs.git", tag = "v1.0"}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我看第三方库有 namespace 的接口了,为什么不直接换成原始库。
https://docs.rs/procfs/latest/procfs/process/struct.Process.html#method.namespaces

fs_extra = "1.2.0"
clap = "2.33.3"
serde = {version = "1.0", features = ["derive"]}
Expand Down
2 changes: 1 addition & 1 deletion rasp/plugin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ serde_json = "1.0.59"
#signal-hook = "0.3.9"
fs_extra = "1.2.0"
# process
procfs = { git = "https://github.com/AlkenePan/procfs.git" }
procfs = { git = "https://github.com/yoloyyh/procfs.git", tag = "v1.0"}
# static config
config = "0.11"
lazy_static = "1.4.0"
Expand Down
Loading