Re: [PATCH v2] Add kernel config option for fuzz testing.

From: Linus Torvalds
Date: Sun Mar 08 2020 - 12:14:51 EST


On Sun, Mar 8, 2020 at 12:53 AM Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> No, anything that just evaluates the code should be fine, we want static
> analyzers to be processing those code paths. Just not to run them as
> root on a live system.

So I can see the reason to run fuzz testing as root, but I have to
admit to hating the "special config option for this" approach.

I'd *much* rather see some way to just lock down certain things
individually. The patch in here just added the config option, which is
the least interesting part.

The things that that config option then would want to disable - those
are the things that maybe we want to have a way for the system admin
just generally say "disable this".

Nothing to do with fuzzing, imho.

Linus