Document wokaround for yama ptrace restrictions
Fixes: 138580915 Test: m checkbuild Change-Id: Iefee8a914225d465a1feb37690a54423be332841
This commit is contained in:
parent
88e3f7e3de
commit
8baf29fb10
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
@ -355,6 +355,18 @@ and then in another terminal:
|
||||||
dlv connect :1234
|
dlv connect :1234
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you see an error:
|
||||||
|
```
|
||||||
|
Could not attach to pid 593: this could be caused by a kernel
|
||||||
|
security setting, try writing "0" to /proc/sys/kernel/yama/ptrace_scope
|
||||||
|
```
|
||||||
|
you can temporarily disable
|
||||||
|
[Yama's ptrace protection](https://www.kernel.org/doc/Documentation/security/Yama.txt)
|
||||||
|
using:
|
||||||
|
```bash
|
||||||
|
sudo sysctl -w kernel.yama.ptrace_scope=0
|
||||||
|
```
|
||||||
|
|
||||||
## Contact
|
## Contact
|
||||||
|
|
||||||
Email android-building@googlegroups.com (external) for any questions, or see
|
Email android-building@googlegroups.com (external) for any questions, or see
|
||||||
|
|
Loading…
Reference in a new issue