summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorVamsi Krishna Samavedam <vskrishn@codeaurora.org>2016-11-03 17:48:55 -0700
committerHemant Kumar <hemantk@codeaurora.org>2017-01-05 12:29:19 -0800
commit04a8aa575b549a56618854d0b7a941ab84c65156 (patch)
tree306ab9475801cd67a651fa7a5fabcb6d3170a168 /tools/perf/scripts/python/bin
parent3770e41e987249529a01768e62771746eebc7106 (diff)
usb: core: replace %p with %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 Zeros. Debugging Note : &pK prints only Zeros as address. If you need actual address information, write 0 to kptr_restrict. echo 0 > /proc/sys/kernel/kptr_restrict Change-Id: I13175f66428ada62a2c011968ebc5a925519edbf Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions