> On Jul 1, 2023, at 6:20 PM, Emmanuel Dreyfus <m...@netbsd.org> wrote:
> 
> On Sat, Jul 01, 2023 at 02:25:03PM +0000, RVP wrote:
>> Not to forget the code for C++ support. And, of course even static
>> binaries may call dlopen() and friends. So that dl*() and the ELF bits
>> right there.
> 
> At least in 9.3, dlopen() in a static binary does not work. Try using 
> a NSS module from a statically lunked binary to check that.

Right, because the dynamic linker is not loaded into static binaries.  For 
dynamic binaries, the kernel maps it as the program’s interpreter.

-- thorpej

Reply via email to