platform_system_core/debuggerd
Christopher Ferris 8b474de4ac Set groups before dropping privileges.
The code for dumping tombstones tries to read the log data. This was
silently failing after the change to drop root privileges. Fix this
by explicitly setting the groups allowed before dropping privileges.

Bug: 28590884
(cherry picked from commit edc2380109)

Change-Id: I225365edccb11f8752027566fd42f3b10ce10260
2016-05-05 15:47:16 -07:00
..
arm Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
arm64 Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
mips Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
mips64 Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
test Fix problem with wait_for_gdb. 2016-05-05 10:50:39 -07:00
x86 Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
x86_64 Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
.clang-format debuggerd: add .clang-format. 2015-11-16 17:26:22 -08:00
Android.mk debuggerd: fork the signal sender once. 2016-03-17 11:27:31 -07: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
backtrace.cpp Fix problem with wait_for_gdb. 2016-05-05 10:50:39 -07:00
backtrace.h Fix problem with wait_for_gdb. 2016-05-05 10:50:39 -07:00
crasher.c Fix build break due to unknown pragma (on gcc). 2015-09-30 23:30:38 -07:00
debuggerd.cpp Set groups before dropping privileges. 2016-05-05 15:47:16 -07:00
debuggerd.rc Start debuggerd as soon as logd is up. 2016-02-02 13:03:41 -08:00
debuggerd64.rc Start debuggerd as soon as logd is up. 2016-02-02 13:03:41 -08:00
elf_utils.cpp Merge "Track rename of base/ to android-base/." am: 912ed3d8ca 2015-12-07 23:36:59 +00:00
elf_utils.h Print the build id of shared libraries if present. 2015-03-17 15:13:35 -07:00
getevent.cpp system/core: Cleanup direct calls to opendir by containing in a 2016-02-18 14:52:46 -08:00
getevent.h Use libcorkscrew in debuggerd. 2011-10-22 16:43:00 -07:00
machine.h Refactor dump_memory function. 2015-05-28 11:45:34 -07:00
signal_sender.cpp debuggerd: set the name of the signal sender. 2016-03-29 17:56:47 -07:00
signal_sender.h debuggerd: fork the signal sender once. 2016-03-17 11:27:31 -07:00
tombstone.cpp Fix null pointer dereference. 2016-05-05 14:21:25 -07:00
tombstone.h Fix problem with wait_for_gdb. 2016-05-05 10:50:39 -07:00
utility.cpp Fix problem with wait_for_gdb. 2016-05-05 10:50:39 -07:00
utility.h Fix problem with wait_for_gdb. 2016-05-05 10:50:39 -07:00