lkml.org 
[lkml]   [2020]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v7 4/4] powerpc: Book3S 64-bit "heavyweight" KASAN support
From
Date


Le 17/02/2020 à 00:08, Michael Neuling a écrit :
> Daniel.
>
> Can you start this commit message with a simple description of what you are
> actually doing? This reads like you've been on a long journey to Mordor and
> back, which as a reader of this patch in the long distant future, I don't care
> about. I just want to know what you're implementing.
>
> Also I'm struggling to review this as I don't know what software or hardware
> mechanisms you are using to perform sanitisation.

KASAN is standard, it's simply using GCC ASAN in kernel mode, ie kernel
is built with -fsanitize=kernel-address
(https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html)

You have more details there:
https://www.kernel.org/doc/html/latest/dev-tools/kasan.html

Christophe

\
 
 \ /
  Last update: 2020-02-17 07:45    [W:0.170 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site