platform_system_core/debuggerd/handler
Josh Gao 18cb681247 debuggerd: call setsid in our children.
There appears to be a kernel bug that causes SIGHUP and SIGCONT to be
sent to the parent process group we spawn from if the process group
contains stopped jobs (e.g. the parent itself, because of wait_for_gdb).

Call setsid in all of our children to prevent this from happening.

Bug: http://b/31124563
Test: adb shell 'setprop debug.debuggerd.wait_for_gdb 1; killall -ABRT surfaceflinger'
Change-Id: I1a48d70886880a5bfbe2deb80d48deece55faf09
2019-04-16 13:17:08 -07:00
..
debuggerd_fallback.cpp Revert "Check for data races when reading JIT/DEX entries." 2019-04-05 18:23:32 +00:00
debuggerd_fallback_nop.cpp debuggerd_handler: implement missing fallback functionality. 2017-03-09 11:26:05 -08:00
debuggerd_handler.cpp debuggerd: call setsid in our children. 2019-04-16 13:17:08 -07:00
fallback.h Fix multithreaded backtraces for seccomp processes. 2018-09-12 18:12:13 -07:00