Re: [PATCH v2 0/3] Bitops instrumentation for KASAN

From: Marco Elver
Date: Fri May 31 2019 - 11:15:59 EST


Addressed comments, and sent v3:
http://lkml.kernel.org/r/20190531150828.157832-1-elver@xxxxxxxxxx

Many thanks!

-- Marco

On Wed, 29 May 2019 at 16:23, Marco Elver <elver@xxxxxxxxxx> wrote:
>
> The previous version of this patch series and discussion can be found
> here: https://lkml.org/lkml/2019/5/28/769
>
> The most significant change is the change of the instrumented access
> size to cover the entire word of a bit.
>
> Marco Elver (3):
> lib/test_kasan: Add bitops tests
> x86: Move CPU feature test out of uaccess region
> asm-generic, x86: Add bitops instrumentation for KASAN
>
> Documentation/core-api/kernel-api.rst | 2 +-
> arch/x86/ia32/ia32_signal.c | 9 +-
> arch/x86/include/asm/bitops.h | 210 ++++----------
> include/asm-generic/bitops-instrumented.h | 317 ++++++++++++++++++++++
> lib/test_kasan.c | 75 ++++-
> 5 files changed, 450 insertions(+), 163 deletions(-)
> create mode 100644 include/asm-generic/bitops-instrumented.h
>
> --
> 2.22.0.rc1.257.g3120a18244-goog
>