View Single Post

   
  #5 (permalink)  
Old 01-16-2008, 06:50 PM
Chris Gerhard
 
Posts: n/a
Default Re: Self-initializing shared library?

Dan Koren wrote:
> "Dan Koren" <dankoren@yahoo.com> wrote in message
> news:4200b449$1@news.meer.net...
>
>
> I should have perhaps clarified that this would be used
> as a system wide library to be loaded shortly after boot.
> Think of it as a system wide LD_PRELOAD.
>


Libraries only get loaded by processes and not by the system. If the
library needed some shared per system resource, like a shared memory
segment, it would have to be loaded by a process that then creates the
resource. That process could be started early in the boot via smf.

--chris
Reply With Quote