From nobody Tue Jul 30 06:25:14 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WY4wd1S6hz5RL7g for ; Tue, 30 Jul 2024 06:25:37 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WY4wb5td7z3xcR for ; Tue, 30 Jul 2024 06:25:35 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.de header.s=s31663417 header.b=kbe3sFag; dmarc=pass (policy=quarantine) header.from=gmx.de; spf=pass (mx1.freebsd.org: domain of garyj@gmx.de designates 212.227.17.20 as permitted sender) smtp.mailfrom=garyj@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1722320733; x=1722925533; i=garyj@gmx.de; bh=IQuNMHHOgfclFe8ZNxz55f3V5W27gYSsEt4WCs6IihU=; h=X-UI-Sender-Class:Date:From:To:Subject:Message-ID:In-Reply-To: References:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=kbe3sFagl/rE9aFe1aEsXFJB77YFRBs+jzKW3z1NQ3oWrN4fm1AE5rLa0UopsCem fV7B59aAYmvJKnW9hBETVWOFAzdnq5mOo+1zXgC0O//lofrDCOfFCIlGAs0IEnwsb +5P3xRdkGNvL/3qByXrBpNyzuxZ2u8khGjmLEWxLzvRxnqMyAje3JyRsOdTZo8FvT hdPUkWbqUg9NHmi1/hJyD92eEG02i862l15WNHu0fhlfYD4FiFziglCfJD3MbeuaN hW1iGgvWep2U6IhvfzT2Ri/cMpbLosMQo1oY6akioj4VuEo7WY2cDofGpf3iNeddJ CPYWUoUDMFptcUzdpA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.2.58.134]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N95eJ-1sEaDa15OR-00wQHi for ; Tue, 30 Jul 2024 08:25:33 +0200 Date: Tue, 30 Jul 2024 06:25:14 +0000 From: Gary Jennejohn To: dev-commits-src-all@freebsd.org Subject: Re: git: 860c4d94ac46 - main - rtld: add LD_NO_DL_ITERATE_PHDR_AFTER_FORK env var Message-ID: <20240730082514.61f8fdae@ernst.home> In-Reply-To: <202407292358.46TNwx6r051708@gitrepo.freebsd.org> References: <202407292358.46TNwx6r051708@gitrepo.freebsd.org> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.20.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:gbe7I5HIUn17bkFGZYuVXm4IEAYPHm/bmgW+9Xx1cAEibAVeb21 uUkJFpeKMA7n5RvVcddmbL4lQxnxbjvzDg8PYiCLjAu2nQgMikycVxGtA7OOPnuxDg83bcg J3I9pa2egQDVzB/zlTLFWW0TVwAd5kMfzIRPeecRiu1uhmIMW3NuH4GR9pPqbbWFTlEBzxV C1CNo/8km8FguN1w96eVQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:zzeB670Bopo=;+l+2IMfe4xKC5ITlevnL6bhd9b9 QfgRDeMbwUFndbOhCXQQTkwg1T1J5hVhiMQIGc67o/oNfQmGwK/6SULyvvf4/02VKBSm1gaHk GGjcRwANid8DTQsaRUXyhFCeeSuBTW+jKTUjZY4cEqQBR8VdAZJBOFJHC8wUJTxNLQc1+VTeE 5DxhC1+UdnbFTKYQwaCUCseGPk21pVYhLr81mm6G+auEN0/jIfoS563Hw2b4QVvJX1JUBUl0s +rmi/ErpAKpnRmiXC9Tjbn+guLXgr7HGo/OWZGxhafNyr17249aLmzWTtIHUnYRPO2s/johaE 7dClmyPrp/sojdlC+pxW3IzOJ+gFLT3N47DlNgspG/GotJKQSZNIWSocT35wnnyQ6vJ7J3Ya2 4JSF2/OkKaoIFilifZJJn86nIeP1BvC/iMNvJAvIimce9VwpOQL4Voe3l1kbhkvUXcp6Jm1BY oEK2vAekOkOpRZTLoZ0kh889dNye5WWxHQLpgL4LLulby0XOpioM9t9KFS+xUlsbM1lLZp2In 2DZBzz1Kc/al8mKgpiwYZxZslXUUWlC8y0Pya7b0dI2RJT54pL6+M0B09627aeXrQQEZ0Dm2K winjIjS5D7uKA4JxRY+SKS38rsD//gf+CGGtwwDjpYkn+ksafXMuIgOhA7cu2sYNPJeS7TmWN 3Aean7q9A9emzcD4urHYQ2uy+RNhjAyOY84VVsQIDgOZLXKloKWKeo6nFFVZgyww4nI4sS0An YpN7FNnU5KGCmk+rGDFOXulAmPUF98gnpOqvruU42Q9njdeyt6lNKrk3Gr45jTGHqPFSSRL94 enVKQsCxvWqNAcEM4y5+p5+w== X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.19 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.88)[-0.875]; DMARC_POLICY_ALLOW(-0.50)[gmx.de,quarantine]; NEURAL_HAM_SHORT(-0.22)[-0.215]; R_DKIM_ALLOW(-0.20)[gmx.de:s=s31663417]; R_SPF_ALLOW(-0.20)[+a:mout.gmx.net]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[212.227.17.20:from]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.20:from]; ONCE_RECEIVED(0.10)[]; FREEMAIL_REPLYTO(0.00)[gmx.de]; FREEMAIL_FROM(0.00)[gmx.de]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.de]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmx.de:+]; PREVIOUSLY_DELIVERED(0.00)[dev-commits-src-all@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-src-all@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; HAS_REPLYTO(0.00)[garyj@gmx.de] X-Rspamd-Queue-Id: 4WY4wb5td7z3xcR On Mon, 29 Jul 2024 23:58:59 GMT Konstantin Belousov wrote: > The branch main has been updated by kib: > > URL: https://cgit.FreeBSD.org/src/commit/?id=3D860c4d94ac46cee35a678cf3c= 9cdbd437dfed75e > > commit 860c4d94ac46cee35a678cf3c9cdbd437dfed75e > Author: Konstantin Belousov > AuthorDate: 2024-07-17 04:05:33 +0000 > Commit: Konstantin Belousov > CommitDate: 2024-07-29 23:57:33 +0000 > > rtld: add LD_NO_DL_ITERATE_PHDR_AFTER_FORK env var > > which makes threaded fork ignore the phdr rtld lock, in particular > allowing the dl_iterate_phdr() to block in callback. The cost is th= at > the image started in this mode cannot use dl_iterate_phdr() after fo= rk. > > PR: 280318 > Sponsored by: The FreeBSD Foundation > MFC after: 1 week > --- > libexec/rtld-elf/rtld.1 | 10 +++++++++- > libexec/rtld-elf/rtld.c | 1 + > libexec/rtld-elf/rtld.h | 1 + > libexec/rtld-elf/rtld_lock.c | 7 +++++-- > 4 files changed, 16 insertions(+), 3 deletions(-) > > diff --git a/libexec/rtld-elf/rtld.1 b/libexec/rtld-elf/rtld.1 > index 992138b1ffc0..31e046a5cdc4 100644 > --- a/libexec/rtld-elf/rtld.1 > +++ b/libexec/rtld-elf/rtld.1 > @@ -26,7 +26,7 @@ > .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE U= SE OF > .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > .\" > -.Dd April 28, 2024 > +.Dd July 24, 2025 <=3D=3D SHOULD BE 2024 > .Dt RTLD 1 [SNIP] =2D- Gary Jennejohn