aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2019-01-31 15:15:17 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2019-01-31 15:29:35 +0100
commit4d661baf1aca4226d1c4ec89fe7e44c1f93f04da (patch)
tree3373e56494c3b51f24434bd937487734b9c092d1
parent7c09e209ef318f296248a2b7a29b532503418858 (diff)
parentf96dbd1bbeeea82f07bc71c695fb17e8d7c9f1aa (diff)
Merge #15244: gdb attaching to process during tests has non-sudo solution
f96dbd1bbeeea82f07bc71c695fb17e8d7c9f1aa gdb attaching to process during tests has non-sudo solution (Gregory Sanders) Pull request description: There are some security considerations, so a link is attached. Tree-SHA512: 67dd9c4b26b1e6d8e9a9fe766d309c0af69b752f6f544f3dce4bdcc95ae85feb9a49ac600c3f70d100629505d2340ab43932ded53b1485f80b97981e6df6a527
-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