From 7deb77899d0dc26dbc8ce66eb2b1d23ff7faf5b3 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Mon, 22 Oct 2018 18:29:12 +0300 Subject: Remove recommendations as it's safety hazard --- src/ptrace-address-rw.c | 1 - src/ptrace-region-rw.c | 1 - src/uio-address-rw.c | 1 - src/uio-region-rw.c | 1 - 4 files changed, 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[]) -- cgit v1.2.3