Skip to content

Commit

Permalink
[PATCH] x86_64: Remove unprotected iret
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Beulich authored and Linus Torvalds committed Jan 12, 2006
1 parent eca37c1 commit 505cc4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86_64/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ error_exit:
jnz retint_careful
swapgs
RESTORE_ARGS 0,8,0
iretq
jmp iret_label
CFI_ENDPROC

error_kernelspace:
Expand Down

0 comments on commit 505cc4e

Please sign in to comment.