aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorOliver Upton <[email protected]>2023-10-03 23:04:00 +0000
committerOliver Upton <[email protected]>2023-10-04 17:11:39 +0000
commita9bc4a1c1e0c206838bc2d0c8621ca6df9704a2f (patch)
tree4f4283106f8cce0cae324773ebbc7ee42e9c263a /lib/test_fortify/write_overflow-memcpy.c
parent5a23e5c7cb0d5b2b38c33417579cd628be7d14c5 (diff)
KVM: arm64: Reject attempts to set invalid debug arch version
The debug architecture is mandatory in ARMv8, so KVM should not allow userspace to configure a vCPU with less than that. Of course, this isn't handled elegantly by the generic ID register plumbing, as the respective ID register fields have a nonzero starting value. Add an explicit check for debug versions less than v8 of the architecture. Reviewed-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions