lkml.org 
[lkml]   [2017]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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>

\
 
 \ /
  Last update: 2017-10-04 10:56    [W:0.180 / U:64.832 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site