Re: [PATCH 6/9] Add a general, global device notification watch list [ver #5]

From: David Howells
Date: Fri Jul 05 2019 - 04:04:34 EST


Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:

> Hm, good point, but there should be some way to test this to verify it
> works. Maybe for the other types of events?

Keyrings is the simplest. keyutils's testsuite will handle that. I'm trying
to work out if I can simply make every macro in there that does a modification
perform a watch automatically to make sure the appropriate events happen.

David