summaryrefslogtreecommitdiff
path: root/runtime/exec_utils.h
diff options
context:
space:
mode:
author Lokesh Gidra <lokeshgidra@google.com> 2024-09-19 00:11:47 +0000
committer Lokesh Gidra <lokeshgidra@google.com> 2024-09-19 21:51:39 +0000
commit23387b132476c6b032ce25d59de5194ba9ab0615 (patch)
treee624ebd32e4b842d637ac25d1ad52ed47578ae61 /runtime/exec_utils.h
parentc29ac896a19b2e92cef6ae9cf18a4b01367647dc (diff)
madvise moving space after uffd registration
Otherwise there is a possibility that some random thread might access the page between mremap and uffd-registration, thereby failing userfaultfd as the page(s) would already exist. Bug: 353895289 Test: art/test/testrunner/testrunner.py --host Change-Id: I74e64a458323a6a30078cf3c26717e955d227ebd
Diffstat (limited to 'runtime/exec_utils.h')
0 files changed, 0 insertions, 0 deletions