lkml.org 
[lkml]   [2019]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 5/6] objtool: Add UACCESS validation
    On Wed, Feb 27, 2019 at 03:26:23PM +0100, Peter Zijlstra wrote:
    > On Wed, Feb 27, 2019 at 05:17:58PM +0300, Andrey Ryabinin wrote:
    > >
    > >
    > > On 2/27/19 5:08 PM, Peter Zijlstra wrote:
    >
    > > > I can't actually find any definitions of those functions, so I can't
    > > > very well mark the safe, even if we wanted to.
    > > >
    > >
    > > They are macro-generated. Use 'git grep DEFINE_ASAN'
    >
    > Ah, indeed! I'll go have a look.

    Urgh, kasan_report() is definitely unsafe. Now, admitedly we should
    'never' hit that, but it does leave us up a creek without a paddle.

    Not sure what to do here; best I can come up with atm. is kill SMAP on
    KASAN builds.

    \
     
     \ /
      Last update: 2019-02-27 15:34    [W:3.574 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site