aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-04-23 15:15:20 -0700
committerSean Christopherson <[email protected]>2024-06-03 08:58:55 -0700
commitc043eaaa6be0858a9eb04a168cba84422369e026 (patch)
tree5932e00e2313b1717113e9893703e4ace6baec8f /lib/test_fortify/write_overflow-strncpy-src.c
parent52c47f5897b69cdde0d23e5102b44eb161fa70a8 (diff)
KVM: x86/mmu: Snapshot shadow_phys_bits when kvm.ko is loaded
Snapshot shadow_phys_bits when kvm.ko is loaded, not when a vendor module is loaded, to guard against usage of shadow_phys_bits before it is initialized. The computation isn't vendor specific in any way, i.e. there there is no reason to wait to snapshot the value until a vendor module is loaded, nor is there any reason to recompute the value every time a vendor module is loaded. Opportunistically convert it from "read mostly" to "read-only after init". Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions