Re: [PATCH 18/20] objtool: Add UACCESS validation

From: Peter Zijlstra
Date: Fri Mar 08 2019 - 10:07:42 EST


On Fri, Mar 08, 2019 at 09:01:11AM -0600, Josh Poimboeuf wrote:
> On Thu, Mar 07, 2019 at 08:03:13PM +0100, Peter Zijlstra wrote:

> > Ah.. how about I feed objtool a text file with all these symbol names;
> > and I have Makefile compose file that from fragments.
> >
> > Then only KASAN builds will have memset whitelisted, and any other build
> > will still flag memset abuse.
> >
> > Now I only have to figure out how to make Makefile do something like
> > that :-)
>
> Instead of adding all those additional moving parts, I would much rather
> either:

The problem went away. That is, the problematic part of KASAN just got
removed in this merge window.

Also; I just about had hpa's __memset_kasan implemented when I got that
email.