[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1470419862.28648.11.camel@perches.com>
Date: Fri, 05 Aug 2016 10:57:42 -0700
From: Joe Perches <joe@...ches.com>
To: c_mkenna@....qualcomm.com, ath10k@...ts.infradead.org,
Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-wireless@...r.kernel.org, mkenna@...eaurora.org,
Kees Cook <keescook@...omium.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ath10k: hide kernel addresses from logs using %pK
format specifier
On Thu, 2016-08-04 at 19:21 +0530, c_mkenna@....qualcomm.com wrote:
> From: Maharaja Kennadyrajan <c_mkenna@....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.
Powered by blists - more mailing lists