tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Current best practice for testing a new kernel API?



On Sun, Dec 23, 2018 at 09:04:12AM -0800, Jason Thorpe wrote:
> Anyway, one drawback of the module approach is that you have to be
> down-securelevel to load one.  So, any system that wants to run this
> test would have to pre-load the module at boot time.

We have lots of module tests that are skipped if securelevel forbids loading
of the module.

> For completeness, I'll explore the rump option

That is definitively the prefered way. One example is npf usint it to
test custom kernel test code, but that overall is a bit ... complex.

Martin


Home | Main Index | Thread Index | Old Index