summaryrefslogtreecommitdiff
path: root/kernel/panic.c
diff options
context:
space:
mode:
authorDeepak Kushwah <dkushwah@codeaurora.org>2017-08-17 16:46:03 +0530
committerDeepak Kushwah <dkushwah@codeaurora.org>2017-08-18 11:44:57 +0530
commita94bbf3797c9cef6802cc70d6a24bab8c9b2fc83 (patch)
treecae5b797193cc427e18ec1a8ed824568e85eea33 /kernel/panic.c
parenta49bb61510b938152025049730fa922c5da950a1 (diff)
msm: vidc: use %pK instead of %p which respects kptr_restrict sysctl
Hide kernel pointers from unprivileged users by using %pK format- specifier instead of %p. This respects the kptr_restrict sysctl setting which is by default on. echo 0 to kptr_restrict to print proper kernel addresses. Change-Id: I6f14b039f2f193196edfce8160ae38341229085c Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
Diffstat (limited to 'kernel/panic.c')
0 files changed, 0 insertions, 0 deletions