diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2012-09-21 19:43:06 (GMT) |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-09-21 19:45:25 (GMT) |
commit | 8bd753be7a96443dd5111cb07ed5907a3787c978 (patch) | |
tree | f97db44a7bda6557f5730d42b02e4155e0969fd8 /mm/filemap_xip.c | |
parent | 05194cfc547528a01d655262c49da3b1311c4b11 (diff) | |
download | linux-8bd753be7a96443dd5111cb07ed5907a3787c978.tar.xz |
x86-32, mm: The WP test should be done on a kernel page
PAGE_READONLY includes user permission, but this is a page used
exclusively by the kernel; use PAGE_KERNEL_RO instead.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/r/1348256595-29119-3-git-send-email-hpa@linux.intel.com
Diffstat (limited to 'mm/filemap_xip.c')
0 files changed, 0 insertions, 0 deletions