[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAG_fn=VyL3t0L-ZhRtc41+fcipmSWrhwb+QFkRZ+ZeZQ=X_dLg@mail.gmail.com>
Date: Mon, 20 Jan 2020 15:25:23 +0100
From: Alexander Potapenko <glider@...gle.com>
To: Marco Elver <elver@...gle.com>
Cc: paulmck@...nel.org, Andrey Konovalov <andreyknvl@...gle.com>,
Dmitriy Vyukov <dvyukov@...gle.com>,
kasan-dev <kasan-dev@...glegroups.com>,
LKML <linux-kernel@...r.kernel.org>,
Mark Rutland <mark.rutland@....com>, will@...nel.org,
Peter Zijlstra <peterz@...radead.org>, boqun.feng@...il.com,
Arnd Bergmann <arnd@...db.de>,
Al Viro <viro@...iv.linux.org.uk>, christophe.leroy@....fr,
Daniel Axtens <dja@...ens.net>, mpe@...erman.id.au,
Steven Rostedt <rostedt@...dmis.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Ingo Molnar <mingo@...nel.org>, christian.brauner@...ntu.com,
daniel@...earbox.net, cyphar@...har.com,
Kees Cook <keescook@...omium.org>, linux-arch@...r.kernel.org
Subject: Re: [PATCH 1/5] include/linux: Add instrumented.h infrastructure
On Mon, Jan 20, 2020 at 3:19 PM Marco Elver <elver@...gle.com> 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@...db.de>
> Signed-off-by: Marco Elver <elver@...gle.com>
Acked-by: Alexander Potapenko <glider@...gle.com>
Powered by blists - more mailing lists