Re: [PATCH V11 0/5] hash addresses printed with %p
From: Sergey Senozhatsky
Date: Thu Nov 30 2017 - 05:26:48 EST
On (11/30/17 10:23), David Laight wrote:
[..]
> > Maybe I'm being thick, but... if we're rendering these addresses
> > unusable by hashing them, why not just print something like
> > "<obscured>" in their place? That loses the uniqueness thing but I
> > wonder how valuable that is in practice?
>
> My worry is that is you get a kernel 'oops' print with actual register
> values you have no easy way of tying an address or address+offset to
> the corresponding hash(address) printed elsewhere.
print the existing hash:pointer mappings in panic()? [if we can do that]
-ss