mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
8e5a46d8d6
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> |
||
---|---|---|
.. | ||
altera-stapl | ||
c2port | ||
carma | ||
cb710 | ||
eeprom | ||
ibmasm | ||
iwmc3200top | ||
lis3lv02d | ||
sgi-gru | ||
sgi-xp | ||
slimport_anx7808 | ||
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 | ||
isl29003.c | ||
isl29020.c | ||
Kconfig | ||
kgdbts.c | ||
lkdtm.c | ||
Makefile | ||
max8997-muic.c | ||
msm_migrate_pages.c | ||
pch_phub.c | ||
phantom.c | ||
pm8xxx-cradle.c | ||
pm8xxx-nfc.c | ||
pm8xxx-upl.c | ||
pm8xxx-vibrator.c | ||
pmem.c | ||
pmic8058-pwm.c | ||
pmic8058-xoadc.c | ||
pti.c | ||
qfp_fuse.c | ||
qseecom.c | ||
qseecom_kernel.h | ||
qseecom_legacy.h | ||
smsc_hub.c | ||
spear13xx_pcie_gadget.c | ||
ti_dac7512.c | ||
tifm_7xx1.c | ||
tifm_core.c | ||
tsif.c | ||
tsif_chrdev.c | ||
tsl2550.c | ||
tspp.c | ||
uid_cputime.c | ||
uid_stat.c | ||
vmw_balloon.c | ||
wl127x-rfkill.c |