Restricting automatic kernel-module loading
Restricting automatic kernel-module loading
Posted Dec 4, 2017 18:48 UTC (Mon) by edeloget (subscriber, #88392)In reply to: Restricting automatic kernel-module loading by gutschke
Parent article: Restricting automatic kernel-module loading
I don't get it: I'm pretty sure that modules compiled for a specific kernel have the same kernel version as the kernel itself, so I don't understand how this would work. You cannot base this on the "last commit distance" as well, since a commit that would be unrelated to the module core code (for example a change in the driver API) would reduce this distance to a small value.
Thus, a flag is (IMHO) a good solution. Add those to well known and/or often used modules. In order to remove add the relevant flag, a maintainer will have to show that the module code is well maintained.
But before doing that, one must have some metrics, including which module is auto-loaded and how often it happens.
Now, from my point of view, it would be a good idea to get rid of module autoloading :)
