x86-64: Map the HPET NX
authorAndy Lutomirski <luto@mit.edu>
Sun, 5 Jun 2011 17:50:21 +0000 (13:50 -0400)
committerIngo Molnar <mingo@elte.hu>
Sun, 5 Jun 2011 19:30:33 +0000 (21:30 +0200)
commitd319bb79afa4039bda6f85661d6bf0c13299ce93
tree60c069b78fa30b230efaa10c9e13f95431f8e961
parent0d7b8547fb67d5c2a7d954c56b3715b0e708be4a
x86-64: Map the HPET NX

Currently the HPET mapping is a user-accessible syscall
instruction at a fixed address some of the time.

A sufficiently determined hacker might be able to guess when.

Signed-off-by: Andy Lutomirski <luto@mit.edu>
Cc: Jesper Juhl <jj@chaosbits.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Arjan van de Ven <arjan@infradead.org>
Cc: Jan Beulich <JBeulich@novell.com>
Cc: richard -rw- weinberger <richard.weinberger@gmail.com>
Cc: Mikael Pettersson <mikpe@it.uu.se>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Louis Rilling <Louis.Rilling@kerlabs.com>
Cc: Valdis.Kletnieks@vt.edu
Cc: pageexec@freemail.hu
Link: http://lkml.kernel.org/r/ab41b525a4ca346b1ca1145d16fb8d181861a8aa.1307292171.git.luto@mit.edu
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/pgtable_types.h
arch/x86/kernel/hpet.c