aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorAndy Lutomirski <[email protected]>2018-03-14 05:03:12 +0000
committerIngo Molnar <[email protected]>2018-03-14 08:21:01 +0000
commitb5069782453459f6ec1fdeb495d9901a4545fcb5 (patch)
treeb7078170c6ca6d205dab92973f5d41a0d848d57d /scripts/gcc-plugins/randomize_layout_plugin.c
parentselftests/x86/entry_from_vm86: Add test cases for POPF (diff)
downloadkernel-b5069782453459f6ec1fdeb495d9901a4545fcb5.tar.gz
kernel-b5069782453459f6ec1fdeb495d9901a4545fcb5.zip
x86/vm86/32: Fix POPF emulation
POPF would trap if VIP was set regardless of whether IF was set. Fix it. Suggested-by: Stas Sergeev <[email protected]> Reported-by: Bart Oldeman <[email protected]> Signed-off-by: Andy Lutomirski <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Brian Gerst <[email protected]> Cc: Denys Vlasenko <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Fixes: 5ed92a8ab71f ("x86/vm86: Use the normal pt_regs area for vm86") Link: http://lkml.kernel.org/r/ce95f40556e7b2178b6bc06ee9557827ff94bd28.1521003603.git.luto@kernel.org Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions