Messages in this thread | | | From | Marco Elver <> | Date | Wed, 29 May 2019 11:46:10 +0200 | Subject | Re: [PATCH 2/3] tools/objtool: add kasan_check_* to uaccess whitelist |
| |
On Wed, 29 May 2019 at 10:55, Dmitry Vyukov <dvyukov@google.com> wrote: > > On Tue, May 28, 2019 at 7:19 PM Peter Zijlstra <peterz@infradead.org> wrote: > > > > On Tue, May 28, 2019 at 06:32:57PM +0200, Marco Elver wrote: > > > This is a pre-requisite for enabling bitops instrumentation. Some bitops > > > may safely be used with instrumentation in uaccess regions. > > > > > > For example, on x86, `test_bit` is used to test a CPU-feature in a > > > uaccess region: arch/x86/ia32/ia32_signal.c:361 > > > > That one can easily be moved out of the uaccess region. Any else? > > Marco, try to update config with "make allyesconfig" and then build > the kernel without this change. >
Done. The only instance of the uaccess warning is still in arch/x86/ia32/ia32_signal.c.
Change the patch to move this access instead? Let me know what you prefer.
Thanks, -- Marco
| |