commit | 7ae426c73161ee084bf0ea8a034dc1b5ffca79c4 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Wed Feb 01 15:33:18 2017 -0800 |
committer | Josh Gao <jmgao@google.com> | Thu Feb 02 13:54:38 2017 -0800 |
tree | 7f6bbb827deaf1c50323f124bd4084bf5c5539b1 | |
parent | ac91b0c4526e252325ebe613f553812d1cfedf7e [diff] |
debuggerd_handler: raise ambient capset before execing. Raise the ambient capability set to match CapEff so that crash_dump can inherit all of the capabilities of the dumped process to be able to ptrace. Note that selinux will prevent crash_dump from actually use any of the capabilities. Bug: http://b/34853272 Test: debuggerd -b `pidof system_server` Test: debuggerd -b `pidof zygote` Change-Id: I1fe69eff54c1c0a5b3ec63f6fa504b2681c47a88