android_kernel_google_msm/drivers/misc
Mallikarjuna Reddy Amireddy 8e5a46d8d6 qseecom: Change format specifier %p to %pK
Format specifier %p can leak kernel addresses while not valuing the
kptr_restrict system settings. When kptr_restrict is set to (1), kernel
pointers printed using the %pK format specifier will be replaced with
0's.
So that %pK will not leak kernel pointers to unprivileged users.
So change the format specifier from %p to %pK.

Debugging Note : &pK prints only Zeros as address. if you need actual
address information, pls echo 0 to kptr_restrict.
$ echo 0 > /proc/sys/kernel/kptr_restrict

Bug: 31498159
Change-Id: I0baf2be2d5a476e2e4267f20b99d0ddf5492469e
Signed-off-by: Mallikarjuna Reddy Amireddy <mamire@codeaurora.org>
2017-06-26 19:35:10 +03:00
..
altera-stapl
c2port
carma
cb710
eeprom
ibmasm
iwmc3200top
lis3lv02d
sgi-gru
sgi-xp
slimport_anx7808 display: slimport: fix audio channel count switch 2013-10-11 18:13:54 +00:00
ti-st
tspdrv
ab8500-pwm.c
ad525x_dpot-i2c.c
ad525x_dpot-spi.c
ad525x_dpot.c
ad525x_dpot.h
akm8975.c
android_vibrator.c
apds990x.c
apds9802als.c
arm-charlcd.c
atmel-ssc.c
atmel_pwm.c
atmel_tclib.c
bh1770glc.c
bh1780gli.c
bmp085.c
cs5535-mfgpt.c
ds1682.c
enclosure.c
ep93xx_pwm.c
fsa9480.c
hmc6352.c
hpilo.c
hpilo.h
ics932s401.c
ioc4.c
isa1200.c misc: isa1200: properly disable clocks 2013-03-15 17:09:22 -07:00
isl29003.c
isl29020.c
Kconfig proc: uid: Changes the thread notifier to profile event notifier. 2015-05-29 01:36:15 +00:00
kgdbts.c
lkdtm.c
Makefile proc: uid: Adds accounting for the cputimes per uid. 2015-05-28 23:23:05 +00:00
max8997-muic.c
msm_migrate_pages.c Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
pch_phub.c
phantom.c
pm8xxx-cradle.c
pm8xxx-nfc.c Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
pm8xxx-upl.c Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
pm8xxx-vibrator.c Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
pmem.c Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
pmic8058-pwm.c Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
pmic8058-xoadc.c Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
pti.c
qfp_fuse.c Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
qseecom.c qseecom: Change format specifier %p to %pK 2017-06-26 19:35:10 +03:00
qseecom_kernel.h qseecom: Add API to set bandwidth for CE HW 2013-03-15 17:05:37 -07:00
qseecom_legacy.h Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
smsc_hub.c Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
spear13xx_pcie_gadget.c
ti_dac7512.c
tifm_7xx1.c
tifm_core.c
tsif.c tsif: Add option to read TSIF clock reference counter 2013-03-15 17:06:27 -07:00
tsif_chrdev.c Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
tsl2550.c
tspp.c tspp: Improve GPIO configuration mechanism 2013-03-15 17:07:36 -07:00
uid_cputime.c proc: uid: Changes the thread notifier to profile event notifier. 2015-05-29 01:36:15 +00:00
uid_stat.c
vmw_balloon.c
wl127x-rfkill.c