On Tue, Apr 05, 2022 at 02:55:06PM +0200, Borislav Petkov wrote: > On Tue, Apr 05, 2022 at 12:27:50PM +0200, Riccardo Schirone wrote: > > I understand that only the minimum set of really used functions should be > > exported, but cc_mkenc() and cc_mkdec() do mostly the same thing so it feels > > strange. > > So let's look at the big picture: you're asking for us to support an > external module. All I can point you to is > > Documentation/process/stable-api-nonsense.rst > > There it is explained at length what would it cost if we did that. And > that same document above also has some ideas what to do. > > Also, there's CONFIG_TRIM_UNUSED_KSYMS so on such kernels your module > won't build either. > > So no, what you're asking doesn't work. I see, thanks for all your replies! -- Riccardo Schirone