summaryrefslogtreecommitdiff
path: root/libsparse/sparse.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2019-04-16 13:17:08 -0700
committerJosh Gao <jmgao@google.com>2019-04-16 13:17:08 -0700
commit9f46297437658fb6f5f519fd813f7f0f32f13e2b (patch)
treeb957f5e34565d1a9ad6ea1e64e002109a7ec3f69 /libsparse/sparse.cpp
parenta734a903003a29695eac057a5dd5dc2bdc01be37 (diff)
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
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions