A fix which adds support for blacklisting particular modules.
We create /etc/modules/<modulename> file and place keyword 'blacklist' in there.
This should prevent module from being loaded.

This behavior, however, is slightly less stricter than one man 5 modprobe.conf 
claims:
"blacklist keyword indicates that all of a particular module's internal aliases 
are to be ignored."
That is, module becomes non-loadable even by name.
[ Note that the false positives can be fired in such quite naive approach
(e.g. when a particular /etc/modules/<modulename> simply contains the option 
named 'blacklist':) ]

If it is insufficient, we could introduce more elaborate approach: comments are 
always welcome.

Please consider applying.

TIA,
--
Vladimir

Attachment: 101.patch
Description: Binary data

_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to