2019-06-13 15:25:37

by Marco Elver

[permalink] [raw]
Subject: [PATCH v4 0/3] Bitops instrumentation for KASAN

Previous version:
http://lkml.kernel.org/r/[email protected]

* This version only changes lib/test_kasan.c.
* Remaining files are identical to v3.

Marco Elver (3):
lib/test_kasan: Add bitops tests
x86: Use static_cpu_has in uaccess region to avoid instrumentation
asm-generic, x86: Add bitops instrumentation for KASAN

Documentation/core-api/kernel-api.rst | 2 +-
arch/x86/ia32/ia32_signal.c | 2 +-
arch/x86/include/asm/bitops.h | 189 ++++------------
arch/x86/kernel/signal.c | 2 +-
include/asm-generic/bitops-instrumented.h | 263 ++++++++++++++++++++++
lib/test_kasan.c | 82 ++++++-
6 files changed, 383 insertions(+), 157 deletions(-)
create mode 100644 include/asm-generic/bitops-instrumented.h

--
2.22.0.rc2.383.gf4fbbf30c2-goog