tracing: do not leak kernel addresses MMI-QSBS30.62-29-11-5
authorNick Desaulniers <ndesaulniers@google.com>
Wed, 10 Feb 2021 08:28:05 +0000 (13:58 +0530)
committerPDO SCM Team <hudsoncm@motorola.com>
Fri, 12 Feb 2021 06:32:29 +0000 (00:32 -0600)
commitc9ce8e936bf812d91c3e29352ec963fc0f74a2ba
treecf7fbb4e5b5bbe7bd715a525cb4b20c01b3ffaf3
parentbd3600fbd5a97a88d4431161d843aa918228d91d
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