mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-01 19:05:20 +08:00
e142aa87d6
When Yama is enabled and /proc/sys/kernel/yama/ptrace_scope is set to 1 (YAMA_SCOPE_RELATIONAL), for a child to ptrace() its parent, the parent must first call prctl(PR_SET_PTRACER, child_pid, ...). Bug: crashpad:30 Test: crashpad_util_test ScopedPtraceAttach.* Change-Id: Ic85e8551259f17f372b2362887e7701b833b4cb4 Reviewed-on: https://chromium-review.googlesource.com/472006 Reviewed-by: Joshua Peraza <jperaza@chromium.org>