Re: [PATCH 0/3] add %pX specifier
From: Linus Torvalds
Date: Tue Oct 10 2017 - 19:17:02 EST
On Tue, Oct 10, 2017 at 4:09 PM, Tobin C. Harding <me@xxxxxxxx> wrote:
>
> This patch is a softer version of Linus' suggestion because it does not change the behaviour of the
> %p specifier. I don't see the benefit in making such a breaking change without addressing the issue
> of %x (and I don't the balls to right now).
The thing is, this continues to have the exact same issue that %pK has
- because it is opt-in, effectively nobody will actually use it.
That's why I would suggest that if we do this way, we really change %p
and %pa to use the hashed value, to convert *everybody*. And then
people who have a good reason to actually expose the pointer have to
do the extra work and opt out.
Linus