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

Skip to content
Commit a0ecb452 authored by Abdulla Anam's avatar Abdulla Anam Committed by Karthikeyan Periasamy
Browse files

msm: vidc: use %pK instead of %p which respects kptr_restrict sysctl



Hide kernel pointers from unprivileged ussers by using %pK format-
specifier instead of %p. This respects the kptr_restrict sysctl
setting which is by default on. So by default %pK will print zeroes
as address. echo 1 to kptr_restrict to print proper kernel addresses.

CRs-Fixed: 987018
Change-Id: I4772257a557c6730ecc0624cbc8e5614e893e9fd
Signed-off-by: default avatarAbdulla Anam <abdullahanam@codeaurora.org>
Signed-off-by: default avatarKarthikeyan Periasamy <kperiasa@codeaurora.org>
parent c5984ec8
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