summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVamsi Krishna Samavedam <vskrishn@codeaurora.org>2016-11-03 17:47:33 -0700
committerHemant Kumar <hemantk@codeaurora.org>2017-01-05 12:29:18 -0800
commit3770e41e987249529a01768e62771746eebc7106 (patch)
treeceb2bac9207f1b08fc58e98dacee246b169d4316 /tools/perf/scripts/python
parent5f8f42688e30eee78e528fdd1f6b76928cce6609 (diff)
usb: phy: snps: 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 0's. 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: If2177395082b81670af75712b945bea53a53915e Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions