aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Sanders <gsanders87@gmail.com>2019-01-24 13:09:05 -0500
committerGregory Sanders <gsanders87@gmail.com>2019-01-31 12:25:04 +0000
commitf96dbd1bbeeea82f07bc71c695fb17e8d7c9f1aa (patch)
treee5a8b1156b51f7a01ba902e60d87c8ec969f52b1
parent72bd4ab867e3be0d8410403d9641c08288d343e3 (diff)
gdb attaching to process during tests has non-sudo solution
-rw-r--r--test/README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/README.md b/test/README.md
index b5cbe1aff3..a6fb9c9d73 100644
--- a/test/README.md
+++ b/test/README.md
@@ -175,7 +175,8 @@ cat /tmp/user/1000/testo9vsdjo3/node1/regtest/bitcoind.pid
gdb /home/example/bitcoind <pid>
```
-Note: gdb attach step may require `sudo`
+Note: gdb attach step may require ptrace_scope to be modified, or `sudo` preceding the `gdb`.
+See this link for considerations: https://www.kernel.org/doc/Documentation/security/Yama.txt
### Util tests