Re: [PATCH] x86 : Ensure X86_FLAGS_NT is cleared on syscall entry
From: Thomas Gleixner
Date: Mon Sep 29 2014 - 16:09:50 EST
On Mon, 29 Sep 2014, H. Peter Anvin wrote:
> On 09/29/2014 12:57 PM, Thomas Gleixner wrote:
> >> I think we should mask the bit anyway.
> > I tend to disagree. If we clear it there we need to consequentely
> > audit ALL other possibilites and if there are any we need to clear the
> > bit there as well. Just to make buggy user space happy?
> The entry options into the kernel are: interrupt/exception (already
> known to be OK), SYSENTER32, SYSCALL32, and SYSCALL64. It is not too
> much to work through those issues, I don't think.
I still don't see why we should care. Supporting buggy user space was
never high on my list.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/