diff options
author | cullinan <cullinan@amazon.com> | 2015-07-20 18:00:47 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-21 01:01:19 +0000 |
commit | 31510fe3e2d3b1f3123f391db52372b2506c46ca (patch) | |
tree | b9918242e4c9ac002f2cdcca21201559dff9be56 /net | |
parent | 71e75d8043292d014a344ed2453dcb821aaaf6aa (diff) | |
download | chromium_src-31510fe3e2d3b1f3123f391db52372b2506c46ca.zip chromium_src-31510fe3e2d3b1f3123f391db52372b2506c46ca.tar.gz chromium_src-31510fe3e2d3b1f3123f391db52372b2506c46ca.tar.bz2 |
Fix ProcessUtilTest.GetTerminationStatusCrash on Android L+
On Android L+, signal and sigaction symbols are provided by libsigchain
that override the system's versions. There is a bug in these functions
where they essentially ignore requests to install SIG_DFL. This causes
ProcessUtilTest.GetTerminationStatusCrash to fail (as
CrashingChildProcess goes into infinite loop instead of crashing).
Workaround this issue by explicitly performing a syscall to
__NR_rt_sigaction to install SIG_DFL on Android, as breakpad does
(see https://breakpad.appspot.com/1804002/).
BUG=512255
TEST=ProcessUtilTest.GetTerminationStatusCrash
Review URL: https://codereview.chromium.org/1241333002
Cr-Commit-Position: refs/heads/master@{#339584}
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions