public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] ath10k: hide kernel addresses from logs using %pK format specifier
       [not found] <1470318711-28986-1-git-send-email-c_mkenna@qti.qualcomm.com>
@ 2016-08-05 17:57 ` Joe Perches
  0 siblings, 0 replies; only message in thread
From: Joe Perches @ 2016-08-05 17:57 UTC (permalink / raw)
  To: c_mkenna, ath10k, Andrew Morton; +Cc: linux-wireless, mkenna, Kees Cook, LKML

On Thu, 2016-08-04 at 19:21 +0530, c_mkenna@qti.qualcomm.com wrote:
> From: Maharaja Kennadyrajan <c_mkenna@qti.qualcomm.com>
> 
> With the %pK format specifier we hide the kernel addresses
> with the help of kptr_restrict sysctl.
> In this patch, %p is changed to %pK in the driver code.
> 
> The sysctl is documented in Documentation/sysctl/kernel.txt.

Maybe %p should follow %pK and only show kernel .text addresses
by default and any other address as 0 unless the sysctl is set.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-05 17:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1470318711-28986-1-git-send-email-c_mkenna@qti.qualcomm.com>
2016-08-05 17:57 ` [PATCH] ath10k: hide kernel addresses from logs using %pK format specifier Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox