commit | b19c31a86ef758308f7c4bff6bbb3f99af97927b | [log] [tgz] |
---|---|---|
author | Lokesh Gidra <lokeshgidra@google.com> | Fri Feb 04 16:15:49 2022 -0800 |
committer | Lokesh Gidra <lokeshgidra@google.com> | Fri Feb 04 16:15:49 2022 -0800 |
tree | 917f96dba3faaa7f03fa5f10b38f51f47a1353eb | |
parent | f5eee98d870fb56078a259281db5e03b261e1546 [diff] |
Confirm userfaultfd API has the required feature It's inssufficient to confirm that UFFDIO_API userfaultfd ioctl succeeds. We must check that the resturned features has the feature(s) that we are interested in. Also, remove the definition of UFFD_FEATURE_MINOR_SHMEM as linux/userfaultfd.h now has it. Test: atest -v CtsUffdGcTestCases Change-Id: I367fa2a0ae026f163f0e2564a075b4d3f8ada3c0