Date: Thu, 16 Mar 2017 00:50:14 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Shawn Webb <shawn.webb@hardenedbsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r315331 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64 Message-ID: <20170315225014.GL16105@kib.kiev.ua> In-Reply-To: <20170315211954.cspzjr7xltemzfv2@mutt-hbsd> References: <201703152111.v2FLBwrD051923@repo.freebsd.org> <20170315211954.cspzjr7xltemzfv2@mutt-hbsd>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170315225014.GL16105>