summaryrefslogtreecommitdiff
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorJishnu Prakash <jprakash@codeaurora.org>2019-03-13 18:12:26 +0530
committerJishnu Prakash <jprakash@codeaurora.org>2019-04-22 10:31:05 +0530
commit3c74f04c2acdc180a817ca87c0f60300dbb04951 (patch)
tree19544bc6ba1f28944250ac933a2446f4a82a59da /scripts/mod/file2alias.c
parentf5387f19b78def8a33a686c4375f258fdb9e80d9 (diff)
msm: sps: Update debug message format specifier
Restrict printing of kernel virtual addresses in SPS driver. In debug prints, handles to bam device structures may be printed as integers. As these handles are obtained by casting pointer to bam device structures to integer, they can reveal addresses of the structures to attackers. Cast the handles in debug prints to pointers, printed with with %pK, which hides these values if kptr_restrict is set (default on Android). Change-Id: Idd28c7d11a06113605f7428a4cfc2505c1ae0073 Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions