James Carlson wrote:
> Mike Shapiro writes:
>   
>> As per the original question, it's a good idea when building a misc module
>> to use a mapfile and symbol reduction to avoid unwanted dependencies.
>>     
>
> This should probably make its way into $SRC/uts/README, I think.
>   

It wold be nice if the hackery required to make ctfmerge happy was a bit 
automatic, as well.

I think my module, if I wind up splitting into separate files, maybe the 
first to walk down this road other than krtld.  (I did it for the 
unbundled SCA 1000 software I built on Solaris 8 years ago, as well.  
But then I didn't have to worry about ctfmerge.)

>   
>> At some point a useful thing for us to do would be to extend this concept
>> to the core kernel -- much pain over the years could have been saved if
>> we scope-reduced the kernel down to a set of valid interfaces to call
>> (e.g. DDI, VFS, and other semi-well-defined subsystems).
>>     
>
> Yes; I think that'd be *great*.
>   

Sounds like a really, really good idea to me.

Heck, I'd be happy if we just did it for the IP modules!  There are some 
ugly bits in there that a lot of people "depend on" that shouldn't.

    -- Garrett

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to