Re: [PATCH v3 6/9] modpost: Add modinfo flag to livepatch modules

2019-04-12 Thread Miroslav Benes
> diff --git a/samples/livepatch/Makefile b/samples/livepatch/Makefile > index 8b9b42a258ad..5fb3280bbdc4 100644 > --- a/samples/livepatch/Makefile > +++ b/samples/livepatch/Makefile > @@ -1,4 +1,8 @@ > LIVEPATCH_livepatch-sample := y > +LIVEPATCH_livepatch-shadow-fix1 := y > +LIVEPATCH_livepatc

[PATCH v3 6/9] modpost: Add modinfo flag to livepatch modules

2019-04-10 Thread Joe Lawrence
From: Miroslav Benes Currently, livepatch infrastructure in the kernel relies on MODULE_INFO(livepatch, "Y") statement in a livepatch module. Then the kernel module loader knows a module is indeed livepatch module and can behave accordingly. klp-convert, on the other hand relies on LIVEPATCH_* s