summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-10-19 12:38:31 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-10-19 12:38:31 +0300
commit6cb8c44fef192f3f8e7164d9c3baccacc9db620c (patch)
treee7a3a842670024918b37ddda60d05c387c142d5c
parent7be01d90ef2f59138ff2ee9db02f658408f4a86f (diff)
Add comment about setcap at top of the program
-rw-r--r--proc-region-rw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proc-region-rw.c b/proc-region-rw.c
index bf0dad0..f25fe2b 100644
--- a/proc-region-rw.c
+++ b/proc-region-rw.c
@@ -6,6 +6,8 @@
#include <sys/wait.h>
#include <err.h>
+// It's recommended to `setcap cap_sys_ptrace=eip proc-region-rw` to run this tool without sudo
+
struct context {
void *buf;