diff options
author | Pavel Labath <labath@google.com> | 2017-02-22 18:22:46 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-02-24 09:16:06 +0000 |
commit | 3dad8d5d07e5d3eae75c6836d6f519c8b2c22e68 (patch) | |
tree | 459ca857b3c11e2da47459561ead6d03692cb113 /libc/stdio/stdio_ext.cpp | |
parent | 9eba112c3c6d45d42c953adf5d5125ac44d821d4 (diff) |
Add "imprecise" watchpoint ptrace test
This tests for the presence of a kernel bug that meant that the kernel
would sometimes fail to report the watchpoint hit if the hardware
reported a address which did not exactly match the address range being
watched (which it is allowed to do per ARM spec if the instruction
accesses a larger block of memory than the region being watched). This
bug was fixed in linux kernel 4.9, and has been backported to older
android kernels.
Bug: 30802222
Bug: 30919905
Test: bionic-unit-tests --gtest_filter="sys_ptrace.*"
Change-Id: I80c35b29eaf28e2dbacb9e8ee5317fdea653fc87
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions