Re: [PATCH] x86: make sure IDT is page aligned

From: H. Peter Anvin
Date: Fri Jul 12 2013 - 18:28:36 EST


On 07/12/2013 11:30 AM, Kees Cook wrote:
>
> - .word 0 # 32-bit align idt_desc.address
> + .word PAGE_SIZE # page align idt_desc.address
>

... and this is totally confused. This didn't change alignment one
iota, it only put the value 4096 into the padding.

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