Re: [PATCH] printk: introduce kptr_restrict level 3

From: Joe Perches
Date: Thu Oct 06 2016 - 17:20:04 EST

On Thu, 2016-10-06 at 14:00 -0700, Kees Cook wrote:

> And based on my read of this thread, we all appear to be in violent
> agreement. :) "always protect %p" is absolutely the goal, and we can
> figure out the best way to get there.

I proposed emitting pointers from the const and text sections by default
and using NULL for data pointers.