From owner-svn-src-head@freebsd.org Wed Mar 15 21:19:58 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E4E8D0DF2C for ; Wed, 15 Mar 2017 21:19:58 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B87F11EA5 for ; Wed, 15 Mar 2017 21:19:57 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qk0-x229.google.com with SMTP id y76so24440073qkb.0 for ; Wed, 15 Mar 2017 14:19:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=btQ2aQOpJBYiXf/NtjbQkNM4ILDr0EnNrbjo5NqNxiQ=; b=Fua+E2DelrKNEZ+SOVyDZxs+TKOpxLpN5ZGH9LZBPJJrMnrDhzDhqcaapuectNG0WJ 7O5ZgOk5YNFKIvC1t4vEiYDpvh6IeFkhKensDEdW8RFZqBBj8iuBX9OMcCYsNekcpiK0 qC4WA2LokJbpai9e0hRRyjzmlSm0rn7yKqkjoSCDoV3GtncXpCaS+qhagcr+zcufT5Nh 2WSQfYGj/pBcO0g3GM2p3YolLB+W0SPYYv8ITAagS3YDJtHuYrftXVvuNADVBJlIP15F TvR+57hC39EqKg7VVgvlTbdKo+5O1rFYikcbuSP4RXIATD17epDa4coNUjMujar/8oHQ 3Adw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=btQ2aQOpJBYiXf/NtjbQkNM4ILDr0EnNrbjo5NqNxiQ=; b=krCb+ua/B2BPlfokFYYmq2A4tPL4OB7mo7YWzgABGtn0r6qL5k+OKsd8Rv9jdLwmw3 R9k571/srpA6Un/g90DtYWw09qopBMKi3wSqljfJYCcLp1cpQO12+5fUatiGB0FSEhPx 0ZGF+Gr1BRZ86rXSLHhlbDFQ0WftQxgL0/xYe7ltOzrfFsgUZxQ7sBAzCCixED7LHnOF fdrxyXzAhsxFlS2vL2Ucm4ysyldsdPSus+jcn3fheNydC9jtQ9UklPdSuyyI/a1tdAZs 17nz5Z/iyzWQ2gmoZScrlZD7btb6acLGUmJsjEvBss5cTxgqu3/VfC+cNCpat0U+Xw2+ qTGQ== X-Gm-Message-State: AFeK/H04vhHK4TRW8rQ/6qfZMVf9xeYkeycaHefb4yqvqcNSF6lN6i23foSE2ezmvOKLunKD X-Received: by 10.55.135.66 with SMTP id j63mr1752419qkd.310.1489612796755; Wed, 15 Mar 2017 14:19:56 -0700 (PDT) Received: from mutt-hbsd ([63.88.83.66]) by smtp.gmail.com with ESMTPSA id h184sm2143206qkf.68.2017.03.15.14.19.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 Mar 2017 14:19:55 -0700 (PDT) Date: Wed, 15 Mar 2017 17:19:54 -0400 From: Shawn Webb To: Konstantin Belousov 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: <20170315211954.cspzjr7xltemzfv2@mutt-hbsd> References: <201703152111.v2FLBwrD051923@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4jmumflztpb3vfoj" Content-Disposition: inline In-Reply-To: <201703152111.v2FLBwrD051923@repo.freebsd.org> X-Operating-System: FreeBSD mutt-hbsd 12.0-CURRENT-HBSD FreeBSD 12.0-CURRENT-HBSD X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: NeoMutt/20170206 (1.7.2) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2017 21:19:58 -0000 --4jmumflztpb3vfoj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > Log: > Implement LD_BIND_NOT knob for rtld. > =20 > 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. > =20 > Same feature exists on Linux and Solaris. > =20 > 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, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --4jmumflztpb3vfoj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAljJr/cACgkQaoRlj1JF bu6JNRAAgxdSHHDaR1eUyqu8nANAJi0pEqlm6H2eQOiDWJf/97bV+yoxpc/1PUMO 8dJyqzDlEqKS+Y29qv/I5o2+SCp9IG/YyePlK+sD2alTGzH07FzNXVJmINCRlSa+ jqgobaKkXMUgkdQOLFOuPPptcAazbg1UJ0jGNt9Kh4RRM0WG4ivLzz4/JS5JZZjO DSWBY9f4T+uJXWaVdeASN+AHyKva4g/fIdGhJ0s9ZXdS4n2jsZfkteroCg4Uu412 lkK0QTxdrAyHAFzpOLkMTFGg3hKoTQHzbOiChn1FJN8Uq/ZA4CirZXGOeKZDb4MU w8qM2MAk3Th6DkH5gZS0TooXcPSVnruEZNj/vq2BojMv5xYzTQIbRpbZwuAmVrid Wu+BVCNKkGcMI3O9elKoq6McYamPZMGQ1VLyA6pNDmxX9I3Asr3NQfM3DWp9zpey 9wX6MpWA4RSVmp5kUzSNILqizlCkQjWaMDX0hfkyDawgJMcxuv2rQPvtX1j1QisN gOO4b3a33ybZr0EoI4VUHTex+KaJQCG8FACNOJ/nhDLmRfrPpik3Oagdqi8yEnpn uAzDytmtVMpGh0W1vSHvOlw5QNAxPMr0r8dDRfuHF1NVKd0gwdZU6xTx/p/w7B8E sF1Uo9sS7/dL4J+rvnNCIOjW8EP3q/TooetAwQMcfoKK7yWb1OQ= =cY8V -----END PGP SIGNATURE----- --4jmumflztpb3vfoj--