Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:LeChatP/RootAsRole into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
LeChatP committed Jun 24, 2024
2 parents e150a30 + 684f13b commit f91b78c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion capable/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,10 @@ where
let mut graph = std::collections::HashMap::new();
let mut init = CapSet::empty();
for key in capabilities_map.keys() {
let pid = key?;
let pid = key.inspect_err(|err| {
eprintln!("Failed to get pid : {:?}", err.to_string());
exit(-1);
})?;
let pinum_inum = pnsid_nsid_map.get(&pid, 0).unwrap_or(0);
let child = pinum_inum as u32;
let parent = (pinum_inum >> 32) as u32;
Expand Down

0 comments on commit f91b78c

Please sign in to comment.