summaryrefslogtreecommitdiffstats
path: root/lib/gen_crc32table.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-02-22 11:06:11 -0800
committerSean Christopherson <seanjc@google.com>2024-02-22 17:07:06 -0800
commit63e5c5a10559077bb5f32edf783084e7164af9c3 (patch)
tree283ec814e2c914f57c59308e293666a619596ac3 /lib/gen_crc32table.c
parenta1176ef5c92aa58e63ecf184b7cac2e311b2b233 (diff)
downloadlinux-stable-63e5c5a10559077bb5f32edf783084e7164af9c3.tar.gz
linux-stable-63e5c5a10559077bb5f32edf783084e7164af9c3.tar.bz2
linux-stable-63e5c5a10559077bb5f32edf783084e7164af9c3.zip
KVM: selftests: Create GUEST_MEMFD for relevant invalid flags testcases
Actually create a GUEST_MEMFD instance and pass it to KVM when doing negative tests for KVM_SET_USER_MEMORY_REGION2 + KVM_MEM_GUEST_MEMFD. Without a valid GUEST_MEMFD file descriptor, KVM_SET_USER_MEMORY_REGION2 will always fail with -EINVAL, resulting in false passes for any and all tests of illegal combinations of KVM_MEM_GUEST_MEMFD and other flags. Fixes: 5d74316466f4 ("KVM: selftests: Add a memory region subtest to validate invalid flags") Link: https://lore.kernel.org/r/20240222190612.2942589-5-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'lib/gen_crc32table.c')
0 files changed, 0 insertions, 0 deletions