Messages in this thread | | | From | Linus Torvalds <> | Date | Wed, 27 Feb 2019 09:36:11 -0800 | Subject | Re: [PATCH 5/6] objtool: Add UACCESS validation |
| |
On Wed, Feb 27, 2019 at 9:30 AM Peter Zijlstra <peterz@infradead.org> wrote: > > Right, but I was hoping to avoid having to do that; and I think we can > do that if we push all of kasan_report into an exception, like that > 'patch' I just posted. > > If I'm not mistaken the regular kasan house-keeping crud just prods at > the shadow memory with simple code and should be perfectly safe.
Fair enough. I do agree it would be nice to not have the save/restore simply because "it cannot matter" and we have the static tool to prove that.
Linus
| |