Commit 3bef527c authored by Josh Gao's avatar Josh Gao
Browse files

sigchain: fix EnsureFrontOfChain on 32-bit.

On 32-bit, bionic's sigaction forwards to sigaction64, which gets
interposed by libsigchain's sigaction64, which returns the user's
signal handler, not the actual one. This leads to EnsureFrontOfChain's
check for whether it should reregister the signal handler to falsely
return true, which leads to explosions.

Bug: http://b/112677822
Test: /data/nativetest/art/arm/art_sigchain_tests/sigchain_test
Test: /data/nativetest64/art/arm64/art_sigchain_tests/sigchain_test
Change-Id: Ifbaa4448580d763f5ffd575fa2e77113a8108de6
parent 4a25727e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment