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:14 -0800
committerBorislav Petkov (AMD) <[email protected]>2024-01-31 22:02:25 +0100
commitffa4901f0e004e1a0a4e18a2452a1fcc27277cc0 (patch)
tree60e6d412a80c6bdc2b656fb6c9954573addc75a2 /lib/test_fortify/write_overflow-strncpy-src.c
parentf8b8ee45f82b681606d288bcec89c9071b4079fc (diff)
x86/fred: Add a machine check entry stub for FRED
Like #DB, when occurred on different ring level, i.e., from user or kernel context, #MCE needs to be handled on different stack: User #MCE on current task stack, while kernel #MCE on a dedicated stack. This is exactly how FRED event delivery invokes an exception handler: ring 3 event on level 0 stack, i.e., current task stack; ring 0 event on the the FRED machine check entry stub doesn't do stack switch. 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