summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVamsi Krishna Samavedam <vskrishn@codeaurora.org>2016-11-03 17:40:37 -0700
committerHemant Kumar <hemantk@codeaurora.org>2017-01-05 12:22:05 -0800
commit5f8f42688e30eee78e528fdd1f6b76928cce6609 (patch)
treef08f567a77a887c92cc5f195cfbdf5615d55a241 /tools/perf/scripts/python
parentf96c1912ec1119c2f38264c4e10129988ac0baf6 (diff)
usb: gadget: 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: Ice16947924f56b8f4244ae03b9ab4f2e36b7d56b Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions