Skip to content

Commit fb21b84

Browse files
smb49H. Peter Anvin
authored andcommitted
x86_32, entry: Clean up sysenter_badsys declaration
commit 554086d "x86_32, entry: Do syscall exit work on badsys (CVE-2014-4508)" introduced a new jump label (sysenter_badsys) but somehow the END statements seem to have gone wrong (at least it feels that way to me). This does not seem to be a fatal problem, but just for the sake of symmetry, change the second syscall_badsys to sysenter_badsys. Signed-off-by: Stefan Bader <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Acked-by: Andy Lutomirski <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
1 parent 129ea00 commit fb21b84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/entry_32.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ END(syscall_badsys)
683683
sysenter_badsys:
684684
movl $-ENOSYS,%eax
685685
jmp sysenter_after_call
686-
END(syscall_badsys)
686+
END(sysenter_badsys)
687687
CFI_ENDPROC
688688

689689
.macro FIXUP_ESPFIX_STACK

0 commit comments

Comments
 (0)