tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rc.d and non daemon servers



On Sat, Mar 07, 2009 at 12:23:17PM -0500, James K. Lowden wrote:
> 
> The compiler knows perfectly well this is a main module.  It knows its
> public symbols aren't going to be linked to.

What if it dlopen()s another object which uses dlsym() to look up public
symbols from the program itself.  I don't know if this works on NetBSD
but it certainly does on other platforms.

Thor


Home | Main Index | Thread Index | Old Index