Skip to content
Commit 45ec1690 authored by Kees Cook's avatar Kees Cook Committed by Linus Torvalds
Browse files

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: default avatarKees Cook <keescook@chromium.org>
Reported-by: default avatarBrad Spengler <spender@grsecurity.net>
Acked-by: default avatarKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8449d21f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment