Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c3bb236 authored by Deepak Kushwah's avatar Deepak Kushwah Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarDeepak Kushwah <dkushwah@codeaurora.org>
parent cefbc175
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment