summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-10-21 16:26:08 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-10-21 16:26:08 +0300
commitf168742fd9c0453ba7270c365838da1d75eeb6c0 (patch)
tree18259edc1c577bacac9164a8af68b6a0857a05b8
parent75f9922f6d3c1e5bbbe7b90ca170392cc0f5efbc (diff)
Add notes about uio
-rw-r--r--src/uio-address-rw.c2
-rw-r--r--src/uio-region-rw.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/uio-address-rw.c b/src/uio-address-rw.c
index 1606fa4..e4915a5 100644
--- a/src/uio-address-rw.c
+++ b/src/uio-address-rw.c
@@ -3,7 +3,7 @@
// 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.
+// 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
diff --git a/src/uio-region-rw.c b/src/uio-region-rw.c
index 1daa763..46dbbba 100644
--- a/src/uio-region-rw.c
+++ b/src/uio-region-rw.c
@@ -3,7 +3,7 @@
// 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.
+// 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