gdb attaching to process during tests has non-sudo solution

This commit is contained in:
Gregory Sanders 2019-01-24 13:09:05 -05:00
parent 72bd4ab867
commit f96dbd1bbe

View file

@ -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