alistair23-linux/arch/parisc
James Bottomley d7dd2ff11b [PARISC] only make executable areas executable
Currently parisc has the whole kernel marked as RWX, meaning any
kernel page at all is eligible to be executed.  This can cause a
theoretical problem on systems with combined I/D TLB because the act
of referencing a page causes a TLB insertion with an executable bit.
This TLB entry may be used by the CPU as the basis for speculating the
page into the I-Cache.  If this speculated page is subsequently used
for a user process, there is the possibility we will get a stale
I-cache line picked up as the binary executes.

As a point of good practise, only mark actual kernel text pages as
executable.  The same has to be done for init_text pages, but they're
converted to data pages (and the I-Cache flushed) when the init memory
is released.

Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2011-04-15 12:55:18 -05:00
..
configs kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
hpux clean statfs-like syscalls up 2011-03-14 09:15:28 -04:00
include/asm [PARISC] only make executable areas executable 2011-04-15 12:55:18 -05:00
kernel [PARISC] only make executable areas executable 2011-04-15 12:55:18 -05:00
lib parisc: add strict copy size checks (v2) 2010-03-06 22:54:09 +00:00
math-emu Fix common misspellings 2011-03-31 11:26:23 -03:00
mm [PARISC] only make executable areas executable 2011-04-15 12:55:18 -05:00
oprofile
defpalo.conf
install.sh
Kconfig genirq: Remove the now obsolete config options and select statements 2011-03-30 14:13:23 +02:00
Kconfig.debug parisc: add strict copy size checks (v2) 2010-03-06 22:54:09 +00:00
Makefile
nm