1
0
Files
linux/arch/parisc/include/asm
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
..
2009-03-13 01:18:56 -04:00
2009-01-05 19:11:05 +00:00
2009-07-03 03:34:06 +00:00
2011-03-31 11:26:23 -03:00
2009-12-16 07:20:12 -08:00
2009-12-16 03:48:54 +00:00
2009-03-13 01:20:48 -04:00
2010-10-07 14:08:55 +01:00
2010-08-14 22:26:51 +02:00
2010-06-09 11:12:36 +02:00
2011-01-13 17:32:47 -08:00
2009-07-03 03:34:11 +00:00
2009-02-01 11:01:27 +05:30
2009-09-27 23:07:23 -04:00
2010-10-07 14:08:55 +01:00
2011-03-23 19:47:18 -07:00
2010-10-13 20:35:56 -04:00