gdb attaching to process during tests has non-sudo solution

This commit is contained in:
Gregory Sanders committed 2019-01-31 12:25:04 +00:00
1 parent 72bd4ab867
commit f96dbd1bbe
1 file changed
+2 -1
+2 -1
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