Re: [PATCH] x86 : Ensure X86_FLAGS_NT is cleared on syscall entry

From: H. Peter Anvin
Date: Mon Sep 29 2014 - 16:02:05 EST


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.

-hpa

--
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/