Skip to content

Commit f96dbd1

Browse files
committed
gdb attaching to process during tests has non-sudo solution
1 parent 72bd4ab commit f96dbd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ cat /tmp/user/1000/testo9vsdjo3/node1/regtest/bitcoind.pid
175175
gdb /home/example/bitcoind <pid>
176176
```
177177

178-
Note: gdb attach step may require `sudo`
178+
Note: gdb attach step may require ptrace_scope to be modified, or `sudo` preceding the `gdb`.
179+
See this link for considerations: https://www.kernel.org/doc/Documentation/security/Yama.txt
179180

180181
### Util tests
181182

0 commit comments

Comments
 (0)