Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 505cc4e1 authored by Jan Beulich's avatar Jan Beulich Committed by Linus Torvalds
Browse files

[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: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent eca37c18
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -754,7 +754,7 @@ error_exit:
	jnz  retint_careful
	swapgs 
	RESTORE_ARGS 0,8,0						
	iretq
	jmp iret_label
	CFI_ENDPROC

error_kernelspace: