| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Test: art_sigchain_tests on host
Change-Id: I051062192b0068571732af1f968455952b9a3207
|
| |
|
|
|
|
|
| |
Add a missing call to RaiseHandled.
Test: sigchain_test
Change-Id: I1a7fde742fa31b30201df228970ae62052dbcf12
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The discussion on LKML is converging on v16 of the fault address tag
bits patch [1]. In this version of the patch the presence of the tag
bits in si_addr is controlled by a sa_flags bit, and a protocol is
introduced to allow userspace to detect kernel support for sa_flags
bits. Update the tombstone signal handler to use this API to read
the tag bits, update the interceptors in libsigchain to implement
the flag support detection protocol and hide the tag bits in si_addr
from chained signal handlers that did not request them to match the
kernel behavior.
[1] https://lore.kernel.org/linux-arm-kernel/cover.1605235762.git.pcc@google.com/
Change-Id: I57f24c07c01ceb3e5b81cfc15edf559ef7dfc740
|
| |
|
|
|
|
|
|
|
|
|
| |
This reverts commit ee07743e03042c2ca36e0c9513847a9e7d2509f1.
Reason for revert: fixed attributes.
Bug: 32619234
Test: m test-art-host
Test: m test-art-target-gtest-unstarted_runtime_test
Change-Id: I6f0a775adfdf6ecd132b470f7c5446e949872e20
|
| |
|
|
|
|
|
|
|
| |
This reverts commit 9a20ff06f7ccee08a742c315ec6d351ab56ba1cd.
Reason for revert: Attributes on the wrong side.
Bug: 32619234
Change-Id: I8fd2abef619b22c02ccfbf5ae629339f1a60918b
|
| |
|
|
|
|
|
|
| |
Add clang-tidy's modernize-use-using.
Bug: 32619234
Test: WITH_TIDY=1 mmma art
Change-Id: If50d37b5152af4270784e3cde7951292a9e19033
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
This reverts commit 6856214f2c849600bcb94cc6e84975ba8cb69920.
Fix lifetime issue in imgdiag.
Test: mmma art
Test: m test-art-target-gtest-imgdiag_test
Change-Id: I919db6310c0713313340adfe66bcd75a1c5c236e
|
| |
|
|
|
|
|
|
|
| |
This reverts commit 89de444350fdbd7df4fb4d95bb71f00e6673b466.
Reason for revert: Seemingly breaks imgdiag_test on device.
Change-Id: I46084ecb4205575381aafffd90a0f1a1126e8d2d
Test: mmma art
|
| |
|
|
|
|
|
|
|
| |
Fix performance-for-range-copy, performance-unnecessary-copy-initialization
and performance-unnecessary-value-param issues.
Test: mmma art
Test: m test-art-host
Change-Id: I43d8736fc541030a3c61f66aeee0b9c2f1d295f7
|
| |
|
|
|
|
|
|
|
|
|
| |
Pass correct size to syscall. Unlike on arm and x86,
_KERNEL__NSIG=128 on mips.
This fixes the test on mips32 and mips64.
Test: mma test-art-target-gtest-sigchain_test in QEMU
Change-Id: I3acd93f3595bcbd2a9a0dc3248955226a1051745
|
|
|
Add a gtest for the various sigchain wrappers.
Bug: http://b/73344857
Test: adb shell /data/nativetest64/art/arm64/art_sigchain_tests/sigchain_test
(with several actual failures)
Change-Id: I331da4f44008984723e2e2733e2a6dd66658e704
|