summaryrefslogtreecommitdiffstats
path: root/mm/mm_slot.h
diff options
context:
space:
mode:
authorMathias Krause <minipli@grsecurity.net>2024-06-14 22:28:59 +0200
committerSean Christopherson <seanjc@google.com>2024-06-18 18:12:08 +0200
commit438a496b9041402736e164c8ebf1368599903958 (patch)
tree2772956ef8d13aa998e11e3153f4937e0ba79ac8 /mm/mm_slot.h
parentKVM: selftests: Test max vCPU IDs corner cases (diff)
downloadlinux-438a496b9041402736e164c8ebf1368599903958.tar.xz
linux-438a496b9041402736e164c8ebf1368599903958.zip
KVM: selftests: Test vCPU boot IDs above 2^32 and MAX_VCPU_ID
The KVM_SET_BOOT_CPU_ID ioctl missed to reject invalid vCPU IDs. Verify this no longer works and gets rejected with an appropriate error code. Signed-off-by: Mathias Krause <minipli@grsecurity.net> Link: https://lore.kernel.org/r/20240614202859.3597745-6-minipli@grsecurity.net [sean: add test for MAX_VCPU_ID+1, always do negative test] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'mm/mm_slot.h')
0 files changed, 0 insertions, 0 deletions