[klibc] include insmod in klibc?

H. Peter Anvin hpa at zytor.com
Tue Oct 19 12:17:11 PDT 2004


Daniel Thaler wrote:
> Hello,
> 
> I feel that the klibc package should include an insmod that can be used 
> on an initramfs. While it is possible to use an insmod built statically 
> against glibc, such a binary is (comparatively) huge at 565K.
> 
> The attached insmod.c is essentially the insmod.c from module-init-tools 
> minus a couple of lines related to calling the old (2.4) version of 
> insmod for backward compat.
> 
> BTW: Insmod compiled with klibc is 1.4K small.
> 

As it should be.  This seems like a very good thing, except you should 
avoid including <asm/unistd.h>.

All I ask is that you keep an eye on it if it needs updating.

	-hpa



More information about the klibc mailing list