diff options
| author | Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org> | 2016-03-10 15:01:06 -0800 |
|---|---|---|
| committer | Jeevan Shriram <jshriram@codeaurora.org> | 2016-05-10 13:20:09 -0700 |
| commit | d02e7d9235d54c8530f53c66b73354ea59186f54 (patch) | |
| tree | de4bbefd5b14c60774aff4ada600b39e53a9327a /tools/perf/scripts/python | |
| parent | c42d0bb4ffb40ede918484e4510fa75b05424058 (diff) | |
msm: camera: Avoid exposing kernel addresses
Usage of %p exposes the kernel addresses, an easy target to
kernel write vulnerabilities. With this patch currently
%pK prints only Zeros as address. If you need actual address
echo 0 > /proc/sys/kernel/kptr_restrict
CRs-Fixed: 987011
Change-Id: I6c79f82376936fc646b723872a96a6694fe47cd9
Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
