summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorKees Cook2012-10-09 01:34:09 +0200
committerLinus Torvalds2012-10-09 09:23:03 +0200
commit45ec16908e84e00d847e9063231fb3a75e6366bc (patch)
treeb113d04dc7c7bcc53a36cfafeb978ef6035dfd3a /mm/hugetlb.c
parentmm, thp: fix mlock statistics (diff)
downloadkernel-qcow2-linux-45ec16908e84e00d847e9063231fb3a75e6366bc.tar.gz
kernel-qcow2-linux-45ec16908e84e00d847e9063231fb3a75e6366bc.tar.xz
kernel-qcow2-linux-45ec16908e84e00d847e9063231fb3a75e6366bc.zip
mm: use %pK for /proc/vmallocinfo
In the paranoid case of sysctl kernel.kptr_restrict=2, mask the kernel virtual addresses in /proc/vmallocinfo too. Signed-off-by: Kees Cook <keescook@chromium.org> Reported-by: Brad Spengler <spender@grsecurity.net> Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions