Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1457226

Re: [PATCH] ath10k: hide kernel addresses from logs using %pK format specifier

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ath10k: hide kernel addresses from logs using %pK format specifier
Date 2016-08-05 20:00 +0200
Message-ID <s2Rzz-2eU-5@gated-at.bofh.it> (permalink)
References <s2Rzz-2eU-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] ath10k: hide kernel addresses from logs using %pK  format specifier Joe Perches <joe@perches.com> - 2016-08-05 20:00 +0200

csiph-web