x86, realmode: Set permission for real mode pages
authorJarkko Sakkinen <jarkko.sakkinen@intel.com>
Tue, 8 May 2012 18:22:30 +0000 (21:22 +0300)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 8 May 2012 18:47:08 +0000 (11:47 -0700)
commitf156ffc439951b63cfa9f4d999a8d54267f13282
treeb12b7b41f7fef18eb9ead4ed4419b5ab6fb14900
parentc9b77ccb52a5c77233b0e557b7d4417b00ef4012
x86, realmode: Set permission for real mode pages

Set proper permissions for rodata, text and data, removing the
realmode trampoline area as a remaining RWX memory mapping in the
kernel.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@intel.com>
Link: http://lkml.kernel.org/r/1336501366-28617-8-git-send-email-jarkko.sakkinen@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/realmode.c