android_system_core/debuggerd
Josh Gao 7ae426c731 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
2017-02-02 13:54:38 -08:00
..
client debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
crasher debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
handler debuggerd_handler: raise ambient capset before execing. 2017-02-02 13:54:38 -08:00
include/debuggerd debuggerd_handler: add SIGSYS to the list of handled signals. 2017-01-23 16:01:14 -08:00
libdebuggerd debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
tombstoned tombstoned: silence spurious error messages. 2017-01-23 16:01:14 -08:00
.clang-format debuggerd: add .clang-format. 2015-11-16 17:26:22 -08:00
Android.bp debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00
crash_dump.cpp debuggerd: fix debuggerd -b <pid> 2017-01-30 17:58:04 -08:00
debuggerd.cpp debuggerd: fix debuggerd <pid> 2017-01-30 17:58:04 -08:00
debuggerd_test.cpp debuggerd_handler: properly crash when PR_GET_DUMPABLE is 0. 2017-01-23 14:13:36 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
signal_sender.cpp liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
util.cpp debuggerd: advance our amazing bet. 2017-01-17 13:57:57 -08:00