Venki Pallipadi 1c12c4cf94 mprotect: prevent alteration of the PAT bits
There is a defect in mprotect, which lets the user change the page cache
type bits by-passing the kernel reserve_memtype and free_memtype
wrappers.  Fix the problem by not letting mprotect change the PAT bits.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-05-14 19:11:15 -07:00
..
2008-03-19 18:53:35 -07:00
2008-03-19 18:53:35 -07:00
2008-04-17 20:05:36 +02:00
2007-10-20 01:27:18 +02:00
2008-04-30 08:29:55 -07:00
2008-04-28 08:58:18 -07:00
2008-04-29 08:06:17 -07:00
2007-10-18 14:37:31 -07:00
2007-05-21 09:18:19 -07:00
2008-04-29 08:06:17 -07:00
2008-02-05 09:44:19 -08:00
2007-10-20 01:27:18 +02:00
2008-04-28 08:58:18 -07:00
2008-04-28 08:58:20 -07:00
2007-11-14 18:45:41 -08:00
2008-05-13 08:02:23 -07:00