提交 505cc4e1 编写于 作者: J Jan Beulich 提交者: Linus Torvalds

[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: NAndi Kleen <ak@suse.de>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 eca37c18
......@@ -754,7 +754,7 @@ error_exit:
jnz retint_careful
swapgs
RESTORE_ARGS 0,8,0
iretq
jmp iret_label
CFI_ENDPROC
error_kernelspace:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册