commit | ad747fa8447633764a1ea18f1fafabf9c9924577 | [log] [tgz] |
---|---|---|
author | Edward Liaw <[email protected]> | Wed Jan 08 00:19:04 2025 +0000 |
committer | Edward Liaw <[email protected]> | Thu Feb 13 16:05:35 2025 -0800 |
tree | a9fb96bc7eb168f0d92c61f8916011fd7e8e5f99 | |
parent | 1f512abdf6669846a81e67b5d662a86bfa9a23ec [diff] |
Determine supported features using uffd_get_features Import the uffd_get_features function from upstream to determine supported features instead of relying on UFFD_API_FEATURES. edliaw: backport to android14-tests-dev added the helper functions directly to userfaultfd because vm_util wasn't present. Bug: 331397584 Test: atest vts_linux_kselftest_x86_64:vm_userfaultfd_anon_x86_64 Test: atest vts_linux_kselftest_x86_64:vm_userfaultfd_shmem_x86_64 Signed-off-by: Edward Liaw <[email protected]> (cherry picked from https://android-review.googlesource.com/q/commit:7db40d2768386646df7043770d3d0cae519d274a) Merged-In: I4be07db0e19e5c633c3cf9c91bcc0f0d4f969136 Change-Id: I4be07db0e19e5c633c3cf9c91bcc0f0d4f969136