[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANpmjNNyhPtb04np4bm6SgUyGfQaPt1RVb4ktjF3Uv=95NHxxg@mail.gmail.com>
Date: Thu, 22 Oct 2020 13:47:30 +0200
From: Marco Elver <elver@...gle.com>
To: Marco Elver <elver@...gle.com>,
"Paul E. McKenney" <paulmck@...nel.org>
Cc: Mark Rutland <mark.rutland@....com>,
Dmitry Vyukov <dvyukov@...gle.com>,
kasan-dev <kasan-dev@...glegroups.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kcsan: Never set up watchpoints on NULL pointers
On Thu, 22 Oct 2020 at 13:30, Marco Elver <elver@...gle.com> wrote:
>
> Avoid setting up watchpoints on NULL pointers, as otherwise we would
> crash inside the KCSAN runtime (when checking for value changes) instead
> of the instrumented code.
>
> Because that may be confusing, skip any address less than PAGE_SIZE.
>
> Signed-off-by: Marco Elver <elver@...gle.com>
> ---
Please use the series at:
https://lkml.kernel.org/r/20201022114553.2440135-1-elver@google.com
which includes a prerequisite patch that was missing.
Thanks,
-- Marco
Powered by blists - more mailing lists