mirror-linux/arch/x86/entry
Hou Wenlong a4b37f5033 x86/fred: Fix incorrect error code printout in fred_bad_type()
regs->orig_ax has been set to -1 on entry so in the printout,
fred_bad_type() should use the passed parameter error_code.

Fixes: 14619d912b ("x86/fred: FRED entry/exit and dispatch code")
Signed-off-by: Hou Wenlong <houwenlong.hwl@antgroup.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Link: https://lore.kernel.org/r/b2a8f0a41449d25240e314a2ddfbf6549511fb04.1713353612.git.houwenlong.hwl@antgroup.com
2024-04-18 10:47:17 +02:00
..
syscalls lsm/stable-6.8 PR 20240105 2024-01-09 12:57:46 -08:00
vdso x86/vdso: Fix rethunk patching for vdso-image-x32.o too 2024-03-26 10:47:14 +01:00
vsyscall x86/ptrace: Cleanup the definition of the pt_regs structure 2024-01-31 22:01:13 +01:00
Makefile x86/fred: FRED entry/exit and dispatch code 2024-01-31 22:02:31 +01:00
calling.h Core x86 changes for v6.9: 2024-03-11 19:53:15 -07:00
common.c x86/fred: Fix INT80 emulation for FRED 2024-04-18 10:37:11 +02:00
entry.S Core x86 changes for v6.9: 2024-03-11 19:53:15 -07:00
entry_32.S Core x86 changes for v6.9: 2024-03-11 19:53:15 -07:00
entry_64.S x86/bhi: Add support for clearing branch history at syscall entry 2024-04-08 19:27:05 +02:00
entry_64_compat.S x86/bhi: Add support for clearing branch history at syscall entry 2024-04-08 19:27:05 +02:00
entry_64_fred.S x86/entry: Add fred_entry_from_kvm() for VMX to handle IRQ/NMI 2024-01-31 22:03:16 +01:00
entry_fred.c x86/fred: Fix incorrect error code printout in fred_bad_type() 2024-04-18 10:47:17 +02:00
syscall_32.c x86/syscall: Don't force use of indirect calls for system calls 2024-04-08 19:27:05 +02:00
syscall_64.c x86/syscall: Don't force use of indirect calls for system calls 2024-04-08 19:27:05 +02:00
syscall_x32.c x86/syscall: Don't force use of indirect calls for system calls 2024-04-08 19:27:05 +02:00
thunk_32.S x86/retpoline: Ensure default return thunk isn't used at runtime 2024-02-12 11:42:15 +01:00
thunk_64.S x86/retpoline: Ensure default return thunk isn't used at runtime 2024-02-12 11:42:15 +01:00