On Thu, Jan 11, 2018 at 4:46 PM, Dan Williams <[email protected]> wrote: > From: Mark Rutland <[email protected]> > > Document the rationale and usage of the new array_ptr() helper. > > Signed-off-by: Mark Rutland <[email protected]> > Signed-off-by: Will Deacon <[email protected]> > Cc: Dan Williams <[email protected]> > Cc: Jonathan Corbet <[email protected]> > Cc: Peter Zijlstra <[email protected]> > Signed-off-by: Dan Williams <[email protected]> > --- > Documentation/speculation.txt | 142 > +++++++++++++++++++++++++++++++++++++++++ > [...] > +NULL is returned. Additionally, array_ptr() an out-of-bounds poitner is > +not propagated to code which is speculatively executed.
I think this meant to say: Additionally, array_ptr() of an out-of-bounds pointer is not propagated to code which is speculatively executed. Other than that: Reviewed-by: Kees Cook <[email protected]> -Kees -- Kees Cook Pixel Security

