diff options
| author | Vamsi Krishna Samavedam <vskrishn@codeaurora.org> | 2016-11-03 17:15:41 -0700 |
|---|---|---|
| committer | Hemant Kumar <hemantk@codeaurora.org> | 2017-01-05 12:01:19 -0800 |
| commit | 16386af38ac53777fa1a249d9f03404b226fb5ac (patch) | |
| tree | e9daa88f0d9d7c7adc56c68a60699055c984a853 /tools/perf/scripts/python | |
| parent | 97e9f8a4c8626ec5dc85ea1015b46acfff3685e4 (diff) | |
usb: dwc3: 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: Ib1f9a151e3cb186763541dc86cb5b67a7d739ece
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
