* 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