[PATCH 2/7] x86/vm86: Preserve orig_ax

2015-07-19 Thread Brian Gerst
There is no legitimate reason for usermode to modify the orig_ax field on entry to vm86 mode, so copy it from the 32-bit regs. Signed-off-by: Brian Gerst --- arch/x86/kernel/vm86_32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/kernel/vm86_32.c b/arch/x86/kernel/vm86_32.c

[PATCH 2/7] x86/vm86: Preserve orig_ax

2015-07-19 Thread Brian Gerst
There is no legitimate reason for usermode to modify the orig_ax field on entry to vm86 mode, so copy it from the 32-bit regs. Signed-off-by: Brian Gerst brge...@gmail.com --- arch/x86/kernel/vm86_32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/kernel/vm86_32.c

Re: [PATCH 2/7] x86/vm86: Preserve orig_ax

2015-07-16 Thread Andy Lutomirski
On Thu, Jul 16, 2015 at 4:46 AM, Brian Gerst wrote: > There is no legitimate reason for usermode to modify the orig_ax field on > entry to vm86 mode, so copy it from the 32-bit regs. Looks good. --Andy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[PATCH 2/7] x86/vm86: Preserve orig_ax

2015-07-16 Thread Brian Gerst
There is no legitimate reason for usermode to modify the orig_ax field on entry to vm86 mode, so copy it from the 32-bit regs. Signed-off-by: Brian Gerst --- arch/x86/kernel/vm86_32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/kernel/vm86_32.c b/arch/x86/kernel/vm86_32.c

[PATCH 2/7] x86/vm86: Preserve orig_ax

2015-07-16 Thread Brian Gerst
There is no legitimate reason for usermode to modify the orig_ax field on entry to vm86 mode, so copy it from the 32-bit regs. Signed-off-by: Brian Gerst brge...@gmail.com --- arch/x86/kernel/vm86_32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/kernel/vm86_32.c

Re: [PATCH 2/7] x86/vm86: Preserve orig_ax

2015-07-16 Thread Andy Lutomirski
On Thu, Jul 16, 2015 at 4:46 AM, Brian Gerst brge...@gmail.com wrote: There is no legitimate reason for usermode to modify the orig_ax field on entry to vm86 mode, so copy it from the 32-bit regs. Looks good. --Andy -- To unsubscribe from this list: send the line unsubscribe linux-kernel in