summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKelvin Zhang <zhangxp1998@gmail.com>2020-01-18 09:17:02 -0500
committerGitHub <noreply@github.com>2020-01-18 09:17:02 -0500
commit833577e0b6d1e595303251fb0acf4608b5c85e7b (patch)
tree973416378f36f632640eceb0c2de1fa9be786537 /src
parent755d88cce1b5c9763c4f452e75c56b79e6850a4b (diff)
parent075f858e8f10670ea8dcd27d9cb7ce5beb612e57 (diff)
Merge pull request #135 from zhangxp1998/setcap
Update description about capabilities needed
Diffstat (limited to 'src')
-rw-r--r--src/os/shared.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/shared.rs b/src/os/shared.rs
index d336357..c509f91 100644
--- a/src/os/shared.rs
+++ b/src/os/shared.rs
@@ -174,6 +174,6 @@ fn eperm_message() -> &'static str {
* Try running `bandwhich` with `sudo`
* Build a `setcap(8)` wrapper for `bandwhich` with the following rules:
- `cap_net_raw,cap_net_admin+ep`
+ `cap_sys_ptrace,cap_dac_read_search,cap_net_raw,cap_net_admin+ep`
"#
}