Re: [patch] i386: remove IOPL check on task switch

From: Linus Torvalds
Date: Sat Nov 04 2006 - 14:59:29 EST




On Sat, 4 Nov 2006, Zachary Amsden wrote:
>
> Ok, checking shows Linus put it back to stop NT leakage. This is correct, but
> unlikely. Would be nice to avoid it unless absolutely necessary. Perhaps xor
> eflags old and new and only set_system_eflags() if non-ALU bits have changed.

Not just NT. AC also leaked, and caused crashes in other programs (Wine)
that didn't expect AC to be set and did unaligned accesses.

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