From f168742fd9c0453ba7270c365838da1d75eeb6c0 Mon Sep 17 00:00:00 2001
From: Jari Vetoniemi <mailroxas@gmail.com>
Date: Sun, 21 Oct 2018 16:26:08 +0300
Subject: Add notes about uio

---
 src/uio-address-rw.c | 2 +-
 src/uio-region-rw.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'src')

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
-- 
cgit v1.2.3-70-g09d2