From f96dbd1bbeeea82f07bc71c695fb17e8d7c9f1aa Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Thu, 24 Jan 2019 13:09:05 -0500 Subject: [PATCH] gdb attaching to process during tests has non-sudo solution --- test/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ``` -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