Home
last modified time | relevance | path

Searched hist:"1 c12c4cf9411eb130b245fa8d0fbbaf989477c7b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/mm/
H A Dmprotect.cdiff 1c12c4cf9411eb130b245fa8d0fbbaf989477c7b Wed May 14 18:05:51 CDT 2008 Venki Pallipadi <venkatesh.pallipadi@intel.com> 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>