tracing: do not leak kernel addresses android-10-release-qsas30 MMI-QSAS30.62-33-12
authorNick Desaulniers <ndesaulniers@google.com>
Wed, 10 Feb 2021 08:28:05 +0000 (13:58 +0530)
committerchenyt17 <chenyt17@lenovo.com>
Fri, 28 May 2021 07:07:54 +0000 (15:07 +0800)
commit5b70522b44c195e393b9d5c1ab8968a18b8e06d4
treeedcde82f06a1d6883f0acdf14f5e5938b3e54d29
parentcb691c5aacf1b6dab30bc90a13588e14975c452c
tracing: do not leak kernel addresses

This likely breaks tracing tools like trace-cmd.  It logs in the same
format but now addresses are all 0x0.

Mot-CRs-fixed:(CR)
CVE-Fixed:CVE-2017-0630
Bug: 34277115

Change-Id: Ie837ab27d8f4cc164828ad70a916f3de688056cf
Reviewed-on: https://gerrit.mot.com/1875873
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Srikanth A R <arsrikan@motorola.com>
Reviewed-by: Ravikumar Vembu <Raviv@motorola.com>
Reviewed-by: Yinjun Chen <a7301c@motorola.com>
Tested-by: Yinjun Chen <a7301c@motorola.com>
Submit-Approved: Yinjun Chen <a7301c@motorola.com>
kernel/trace/trace_printk.c