lkml.org 
[lkml]   [2021]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v10 clocksource 1/7] clocksource: Provide module parameters to inject delays in watchdog
On Mon, Apr 26, 2021 at 10:56:27AM -0700, Andi Kleen wrote:
> > ------------------------------------------------------------------------
> >
> > - module parameters
> >
> > If the scope of the fault injection capability is limited to a
> > single kernel module, it is better to provide module parameters to
> > configure the fault attributes.
> >
> > ------------------------------------------------------------------------
> >
> > And in this case, the fault injection capability is in fact limited to
> > kernel/clocksource.c.
>
>
> I disagree with this recommendation because it prevents fuzzer coverage.
>
> Much better to have an uniform interface that can be automatically
> explored.

The permissions for these module parameters is 0644, so there is no
reason why the fuzzers cannot use them via sysfs.

Thanx, Paul

\
 
 \ /
  Last update: 2021-04-26 20:24    [W:0.117 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site