diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-10-22 18:29:12 +0300 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-10-22 18:29:12 +0300 |
commit | 7deb77899d0dc26dbc8ce66eb2b1d23ff7faf5b3 (patch) | |
tree | 04ff9e18a525e9b90de67df827fff3ec4a281379 | |
parent | ff679ecaf365201f5176b640d2c64d0a8b6b58b0 (diff) |
Remove recommendations as it's safety hazard
-rw-r--r-- | src/ptrace-address-rw.c | 1 | ||||
-rw-r--r-- | src/ptrace-region-rw.c | 1 | ||||
-rw-r--r-- | src/uio-address-rw.c | 1 | ||||
-rw-r--r-- | src/uio-region-rw.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/src/ptrace-address-rw.c b/src/ptrace-address-rw.c index 21736ad..ccb89cb 100644 --- a/src/ptrace-address-rw.c +++ b/src/ptrace-address-rw.c @@ -3,7 +3,6 @@ // This address-rw uses ptrace // This works with older kernels, but it also ensures non racy read/writes, as it stops the process. -// It's recommended to `setcap cap_sys_ptrace=eip ptrace-region-rw` to run this tool without sudo int main(int argc, const char *argv[]) diff --git a/src/ptrace-region-rw.c b/src/ptrace-region-rw.c index 02d6b0c..2e6d124 100644 --- a/src/ptrace-region-rw.c +++ b/src/ptrace-region-rw.c @@ -3,7 +3,6 @@ // This region-rw uses ptrace // This works with older kernels, but it also ensures non racy read/writes, as it stops the process. -// It's recommended to `setcap cap_sys_ptrace=eip ptrace-region-rw` to run this tool without sudo int main(int argc, const char *argv[]) diff --git a/src/uio-address-rw.c b/src/uio-address-rw.c index e4915a5..139d1f7 100644 --- a/src/uio-address-rw.c +++ b/src/uio-address-rw.c @@ -4,7 +4,6 @@ // This address-rw uses uio // It needs recent kernel, but may be racy as it reads / writes while process is running. // Ideal for realtime memory tools, however uio can't write non-writable memory(!). -// It's recommended to `setcap cap_sys_ptrace=eip uio-region-rw` to run this tool without sudo int main(int argc, const char *argv[]) diff --git a/src/uio-region-rw.c b/src/uio-region-rw.c index 46dbbba..82ac247 100644 --- a/src/uio-region-rw.c +++ b/src/uio-region-rw.c @@ -4,7 +4,6 @@ // This region-rw uses uio // It needs recent kernel, but may be racy as it reads / writes while process is running. // Ideal for realtime memory tools, however uio can't write non writable memory(!). -// It's recommended to `setcap cap_sys_ptrace=eip uio-region-rw` to run this tool without sudo int main(int argc, const char *argv[]) |