diff options
| author | Vamsi Krishna Samavedam <vskrishn@codeaurora.org> | 2016-11-03 17:21:02 -0700 |
|---|---|---|
| committer | Hemant Kumar <hemantk@codeaurora.org> | 2017-01-05 12:01:53 -0800 |
| commit | f96c1912ec1119c2f38264c4e10129988ac0baf6 (patch) | |
| tree | 5a940ea52bca1a054146eb8e01274008cfd34e1b /tools/perf/scripts/python | |
| parent | 16386af38ac53777fa1a249d9f03404b226fb5ac (diff) | |
sound: usb: 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: Iaf20ac2175295dee8745c48f8c208a78b84dea91
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
