mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 19:15:03 -04:00
[PATCH] x86_64: Remove unprotected iret
Make sure no iret can fault without attached recovery code. Cannot happen in the normal case, but might be useful with kernel debuggers Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
eca37c18be
commit
505cc4e1d6
@@ -754,7 +754,7 @@ error_exit:
|
||||
jnz retint_careful
|
||||
swapgs
|
||||
RESTORE_ARGS 0,8,0
|
||||
iretq
|
||||
jmp iret_label
|
||||
CFI_ENDPROC
|
||||
|
||||
error_kernelspace:
|
||||
|
||||
Reference in New Issue
Block a user