Re: [RFC 10/10] kmod: add a sanity check on module loading

From: Martin Wilck
Date: Fri Dec 09 2016 - 15:04:10 EST


On Thu, 2016-12-08 at 11:49 -0800, Luis R. Rodriguez wrote:
>
> Although this does get us in the business of keeping alias maps in
> kernel, the the work to support and maintain this is trivial.

You've implemented a special treatment for request_module("fs-$X")in
finished_kmod_load(), but there are many more aliases defined (and
used) in the kernel. Do you plan to implement special code for "char-
major-$X", "crypto-$X", "binfmt-$X" etc. later?

Regards
Martin

--
Dr. Martin Wilck <mwilck@xxxxxxxx>, Tel.Â+49 (0)911 74053 2107
SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton
HRB 21284 (AG NÃrnberg)