[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: insmod uses syscall
From:       Rob Landley <rob () landley ! net>
Date:       2006-01-29 3:54:11
Message-ID: 200601282154.13635.rob () landley ! net
[Download RAW message or body]

On Friday 27 January 2006 22:26, Erik Andersen wrote:
> On Thu Jan 26, 2006 at 04:37:03PM -0700, Chris Kottaridis wrote:
> > However, I am still curious about why busybox is not calling
> > init_module directly, but rather calling it through syscall.
>
> Because there is no guarantee that libc happens to have an
> init_module() function to call and thus people kept complaining
> that insmod/modprobe didn't work with their C library which had
> been built vs 2.4 kernel headers but though they later decided
> they wanted to run a 2.6 kernel without rebuilding their C lib.
> Thus instead of getting a perfectly sane ENOSYS they instead got
> an undefined symbol, and complained, and complained, till I did
> something about it, not because it was a busybox problem, but
> because I didn't want to hear any more people moaning about
> busybox being broken when in fact it wasn't....

Between platform.h and the dummy.c checks, I suspect we'll grow infrastructure 
to be able to handle this sort of thing...  not exactly gracefully, but a 
little more flexibly at some point.

But not this week...

>  -Erik

Rob
-- 
Steve Ballmer: Innovation!  Inigo Montoya: You keep using that word.
I do not think it means what you think it means.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic