Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2019 14:48:49 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Dag-Erling =?utf-8?B?U23DuHJncmF2?= <des@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r343093 - in head: include lib/libc/gen libexec/rtld-elf
Message-ID:  <20190116124849.GI26174@kib.kiev.ua>
In-Reply-To: <201901161212.x0GCCeRh024502@repo.freebsd.org>
References:  <201901161212.x0GCCeRh024502@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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) ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190116124849.GI26174>