aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorXin Li <[email protected]>2023-12-05 02:50:20 -0800
committerBorislav Petkov (AMD) <[email protected]>2024-01-31 22:03:16 +0100
commit2e670358ec1829238c99fbff178e285d3eb43ef1 (patch)
tree23bb9894cd59296e66a6a8d99e945d3e7860803b /lib/test_fortify/write_overflow-strncpy-src.c
parent2333f3c473c1562633cd17ac2eb743c29c3b2d9d (diff)
x86/entry: Add fred_entry_from_kvm() for VMX to handle IRQ/NMI
In IRQ/NMI induced VM exits, KVM VMX needs to execute the respective handlers, which requires the software to create a FRED stack frame, and use it to invoke the handlers. Add fred_irq_entry_from_kvm() for this job. Export fred_entry_from_kvm() because VMX can be compiled as a module. Suggested-by: Sean Christopherson <[email protected]> Suggested-by: Thomas Gleixner <[email protected]> Signed-off-by: Xin Li <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Tested-by: Shan Kang <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions