aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorJim Mattson <[email protected]>2023-09-29 16:02:46 -0700
committerSean Christopherson <[email protected]>2023-10-09 12:37:45 -0700
commit591455325a79dbe3be429006f8156f727b2a52dd (patch)
tree97735ebcf001c1a52c382af283ff22109284994f /lib/test_fortify/write_overflow-strncpy.c
parent8b0e00fba93449ecdda2c641e90c9b1f25f46669 (diff)
KVM: selftests: Test behavior of HWCR, a.k.a. MSR_K7_HWCR
Verify the following behavior holds true for writes and reads of HWCR from host userspace: * Attempts to set bits 3, 6, or 8 are ignored * Bits 18 and 24 are the only bits that can be set * Any bit that can be set can also be cleared Signed-off-by: Jim Mattson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Co-developed-by: Sean Christopherson <[email protected]> Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions