android_kernel_samsung_msm8976/drivers/platform
Jishnu Prakash 8345bca8c7 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>
2019-07-27 22:11:32 +02:00
..
goldfish
msm msm: sps: Update debug message format specifier 2019-07-27 22:11:32 +02:00
olpc
x86 intel_scu_ipcutil: underflow in scu_reg_access() 2016-02-25 11:57:49 -08:00
Kconfig
Makefile