Restricting automatic kernel-module loading
Restricting automatic kernel-module loading
Posted Dec 4, 2017 17:43 UTC (Mon) by gutschke (subscriber, #27910)Parent article: Restricting automatic kernel-module loading
It isn't possible to do a perfect job at auto-detecting well-maintained modules. But it is in fact possible to implement a dead-man switch that could become a reasonable approximation. Instead of making it a boolean flag, make it a kernel version number. If this number ever lags behind the actual kernel version number by more than two versions, we know that the module sources haven't been updated in several months. That's when the module would revert to non-maintained status.
There are all sorts of ways that this system could be gamed (e.g. picking the value with the help of a macro instead of a constant). But that's a social and not a technical problem. Those hacks shouldn't be permitted.
