diff options
author | 2022-12-03 00:24:52 +0000 | |
---|---|---|
committer | 2022-12-06 01:42:24 +0000 | |
commit | f716e21fb87e4fd1c875997cf11882352b9fbab5 (patch) | |
tree | 01516622bb3eb70e72c40249f74e35fdd47f6466 /compiler/optimizing/builder.cc | |
parent | d4c19c9f9f3c931f46985518cdf092e9370305f4 (diff) |
Avoid using SafeCopy on userfaultfd compacted spaces
Userfaultfd doesn't allow faults generating from kernel-space for
unprivileged processes. Therefore, avoid using SafeCopy to fetch
class in fault-handler.
Also add a run-test to cause null-pointer exceptions which exercises
fault-handler.
Bug: 160737021
Test: ART_USE_READ_BARRIER=false art/test/testrunner/testrunner.py -t 2045-uffd-kernelfault
Change-Id: If54bb01d441fab5489289e0ec195896700fac662
Diffstat (limited to 'compiler/optimizing/builder.cc')
0 files changed, 0 insertions, 0 deletions