svn commit: r343093 - in head: include lib/libc/gen libexec/rtld-elf

Konstantin Belousov kostikbel at gmail.com
Wed Jan 16 12:48:59 UTC 2019


On Wed, Jan 16, 2019 at 12:12:40PM +0000, Dag-Erling Smørgrav wrote:
> Author: des
> Date: Wed Jan 16 12:12:40 2019
> New Revision: 343093
> URL: https://svnweb.freebsd.org/changeset/base/343093
> 
> Log:
>   Implement dlopenat(3).
>   
>   MFC after:	3 weeks
> 
> Modified:
>   head/include/dlfcn.h
>   head/lib/libc/gen/dlopen.3
>   head/libexec/rtld-elf/rtld.c
> 
It is non-functional:
- The new symbol is not exported from rtld, so it cannot be referenced
  at runtime.
- libc does not provide stubs for static linker and statically linked
  binaries, so nothing can be linked against it.

That said, why is it useful to have this function when we already have
fdlopen(3) ?


More information about the svn-src-head mailing list