Messages in this thread | | | Date | Wed, 4 Oct 2017 10:55:42 +0200 | From | Greg KH <> | Subject | Re: [kernel-hardening] [RFC V2 1/6] lib: vsprintf: additional kernel pointer filtering options |
| |
On Sun, Oct 01, 2017 at 11:06:45AM +1100, Tobin C. Harding wrote: > Add the kptr_restrict setting of 3 which results in both > %p and %pK values being replaced by zeros. > > Add an additional %pP value inspired by the Grsecurity > option which explicitly whitelists pointers for output. > > Amend scripts/checkpatch.pl to handle %pP. > > This patch is based on work by William Roberts > <william.c.roberts@intel.com> > > Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| |