Re: [GIT PULL] hash addresses printed with %p
From: Kees Cook
Date: Fri Dec 01 2017 - 11:33:41 EST
On Fri, Dec 1, 2017 at 7:34 AM, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> And isn't there a specific %p modifier you should use for a kernel
> pointer. I've lost the thread here for what should, or should not, be
> done for kernel pointers these days based on the long email discussion.
Current implementation to bypass the hashing is %px. (Though perhaps
all %px usage should include a comment with a justification?)
-Kees
--
Kees Cook
Pixel Security