[PATCH] modprobe / bug-generator 941 & 942

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Sat Jul 15 18:05:12 UTC 2006


Hello all!

Attached two patches for bugs 941/942.

====

941-modprobe_underscore_in_module_name fixes:
[BusyBox 0000941]: module not load if use "_"  symbol in name

While it works, it uses brute-force. It adds about 121 bytes on x86_64 and
142 when CONFIG_FEATURE_CLEAN_UP is enabled.

If someone can come-up with a better idea on how to fix 941, please be my guest.

If not, then maybe add a CONFIG_FEATURE_MODPROBE_FANCY_ALIASES option?

====

942-modprobe_no_system_config_file fixes
[BusyBox 0000942]: busybox not use modules.alias for load module, if...

This one also saves 4 bytes on x86_64, 8 when CONFIG_CLEAN_UP is enabled.

====

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< °_° >==-- °---.----------------:  X  AGAINST      |  /e\  There is no  |
| web: ymorin.free.fr | SETI at home 3808 | / \ HTML MAIL    |  """  conspiracy.  |
°---------------------°----------------°------------------°--------------------°
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 941-modprobe_underscore_in_module_name
Type: text/x-diff
Size: 1694 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060715/5ff94f8c/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 942-modprobe_no_system_config_file
Type: text/x-diff
Size: 1615 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060715/5ff94f8c/attachment-0001.bin 


More information about the busybox mailing list