svn commit: r315331 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64

Shawn Webb shawn.webb at hardenedbsd.org
Wed Mar 15 21:19:58 UTC 2017


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?

Thanks,

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

GPG Key ID:          0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20170315/c9dbaa98/attachment.sig>


More information about the svn-src-all mailing list