svn commit: r315331 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64
Konstantin Belousov
kostikbel at gmail.com
Wed Mar 15 22:50:21 UTC 2017
On Wed, Mar 15, 2017 at 05:19:54PM -0400, Shawn Webb wrote:
> On Wed, Mar 15, 2017 at 09:11:58PM +0000, Konstantin Belousov wrote:
> > Author: kib
> > Date: Wed Mar 15 21:11:57 2017
> > New Revision: 315331
> > URL: https://svnweb.freebsd.org/changeset/base/315331
> >
> > Log:
> > Implement LD_BIND_NOT knob for rtld.
> >
> > From the manpage:
> > When set to a nonempty string, prevents modifications of the PLT slots
> > when doing bindings. As result, each call of the PLT-resolved
> > function is resolved. In combination with debug output, this provides
> > complete account of all bind actions at runtime.
> >
> > Same feature exists on Linux and Solaris.
> >
> > Sponsored by: The FreeBSD Foundation
> > MFC after: 2 weeks
>
> Hey Kostik,
>
> I'm curious what the use case is for this. When would someone use
> LD_BIND_NOT?
The commit message explicitely describes the supposed use case, which also
triggered my implementation of the feature.
More information about the svn-src-all
mailing list