platform_system_core/debuggerd
William Roberts 468573930d debuggerd: audit pid, uid and gid on SE Linux denial
When debugging SE Linux audit messages from debuggerd, its
unclear what process is triggering the access violation. To
assist in debugging, we also log pid, uid and gid.

Before:
avc:  denied  { dump_backtrace } for scontext=u:r:dumpstate:s0 ...

After:
avc: denied  { dump_backtrace } for pid=198 uid=1019 gid=1019 ..

Change-Id: I8263e6f5e77917139b73c3e84b76f7f97fd98003
Signed-off-by: William Roberts <william.c.roberts@intel.com>
2015-10-06 12:25:27 -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 bionic no longer sends SIGPIPE to debuggerd. 2015-07-30 08:15:57 -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
Android.mk Revert "Revert "Revert "Revert "Add BacktraceOffline for offline backtracing."""" 2015-09-22 04:46:57 +00:00
backtrace.cpp Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00
backtrace.h Changing how debuggerd filters log messages to different locations. 2014-06-16 14:41:21 -07:00
crasher.c Fix build break due to unknown pragma (on gcc). 2015-09-30 23:30:38 -07:00
debuggerd.cpp debuggerd: audit pid, uid and gid on SE Linux denial 2015-10-06 12:25:27 -07:00
debuggerd.rc bundle init.rc contents with its service 2015-08-21 10:14:43 -07:00
debuggerd64.rc bundle init.rc contents with its service 2015-08-21 10:14:43 -07:00
elf_utils.cpp Fix alignment when reading note segment. 2015-04-14 10:27:54 -07:00
elf_utils.h Print the build id of shared libraries if present. 2015-03-17 15:13:35 -07:00
getevent.cpp Next phase of the move, reformat use C++ features. 2014-01-13 14:21:52 -08:00
getevent.h Use libcorkscrew in debuggerd. 2011-10-22 16:43:00 -07:00
machine.h Refactor dump_memory function. 2015-05-27 17:21:38 -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
tombstone.cpp bionic no longer sends SIGPIPE to debuggerd. 2015-07-30 08:15:57 -07:00
tombstone.h Removed log.quiet and log = NULL cases from debuggerd. 2014-06-19 10:59:01 -07:00
utility.cpp Dump memory going from unreadable to readable. 2015-07-09 15:35:47 -07:00
utility.h Replace all _LOG error calls with ALOGE. 2015-07-01 13:23:19 -07:00