Re: [PATCH] printk: introduce kptr_restrict level 3

From: Christoph Hellwig
Date: Thu Oct 06 2016 - 09:32:04 EST

On Wed, Oct 05, 2016 at 02:04:46PM -0400, william.c.roberts@xxxxxxxxx wrote:
> From: William Roberts <william.c.roberts@xxxxxxxxx>
> Some out-of-tree modules do not use %pK and just use %p, as it's
> the common C paradigm for printing pointers. Because of this,
> kptr_restrict has no affect on the output and thus, no way to
> contain the kernel address leak.

So what? We a) don't care about out of tree modules and b) you could
just triviall fix them up if you care.

No need to bloat the kernel with crap like this.