Thread (29 messages) 29 messages, 5 authors, 2020-01-21

Re: [PATCH 1/5] include/linux: Add instrumented.h infrastructure

From: Alexander Potapenko <glider@google.com>
Date: 2020-01-20 14:25:38
Also in: lkml

On Mon, Jan 20, 2020 at 3:19 PM Marco Elver [off-list ref] wrote:
This adds instrumented.h, which provides generic wrappers for memory
access instrumentation that the compiler cannot emit for various
sanitizers. Currently this unifies KASAN and KCSAN instrumentation. In
future this will also include KMSAN instrumentation.

Note that, copy_{to,from}_user require special instrumentation,
providing hooks before and after the access, since we may need to know
the actual bytes accessed (currently this is relevant for KCSAN, and is
also relevant in future for KMSAN).

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Marco Elver <elver@google.com>
Acked-by: Alexander Potapenko <glider@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help