That was the busted patch. See the v2 I sent. Only 64-bit needs
alignment. And after looking more at it, the idt in head_64.S could be
entirely dropped in favor of using the one in arch/x86/kernel/traps.c
(after moving it out of the #ifdef.
-Kees
On Fri, Jul 12, 2013 at 3:28 PM, H. Peter Anvin w
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 th
On 07/12/2013 11:30 AM, Kees Cook wrote:
> Since the IDT is referenced from a fixmap, make sure it is page aligned.
> This avoids the risk of it ever being moved in the bss and having the
> fixmap fail.
>
> Signed-off-by: Kees Cook
> Reported-by: PaX Team
> Cc: sta...@vger.kernel.org
> ---
> ar
Since the IDT is referenced from a fixmap, make sure it is page aligned.
This avoids the risk of it ever being moved in the bss and having the
fixmap fail.
Signed-off-by: Kees Cook
Reported-by: PaX Team
Cc: sta...@vger.kernel.org
---
arch/x86/kernel/head_32.S |2 +-
arch/x86/kernel/head_64.
4 matches
Mail list logo