summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMathias Krause <minipli@grsecurity.net>2024-06-14 23:28:58 +0300
committerSean Christopherson <seanjc@google.com>2024-06-18 19:03:52 +0300
commit4b451a57809cacec00978c36c97b1c9b53cde664 (patch)
tree1213f81f9cbd09c6446f60c5011d175746089118 /scripts/generate_rust_analyzer.py
parentd29bf2ca140410705447ac26100a149b51094c00 (diff)
downloadlinux-4b451a57809cacec00978c36c97b1c9b53cde664.tar.xz
KVM: selftests: Test max vCPU IDs corner cases
The KVM_CREATE_VCPU ioctl ABI had an implicit integer truncation bug, allowing 2^32 aliases for a vCPU ID by setting the upper 32 bits of a 64 bit ioctl() argument. It also allowed excluding a once set boot CPU ID. Verify this no longer works and gets rejected with an error. Signed-off-by: Mathias Krause <minipli@grsecurity.net> Link: https://lore.kernel.org/r/20240614202859.3597745-5-minipli@grsecurity.net [sean: tweak assert message+comment for 63:32!=0 testcase] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions