Messages in this thread | | | From | Andi Kleen <> | Subject | Re: [patch] x86_64: fix is_at_popf() for compat tasks | Date | Mon, 31 Jul 2006 22:06:55 +0200 |
| |
> How about checking for regs->cs != __USER_CS instead? In 64-bit mode > a program shouldn't have any other value there while in 32-bit mode > it could be using LDT segments.
It could in theory, but it shouldn't agreed. Added thanks. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |