From nobody Thu Apr 23 17:09:34 2026 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 4g1jJ32nT8z6b7rG for ; Thu, 23 Apr 2026 17:09:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g1jJ31vLxz3Ds7 for ; Thu, 23 Apr 2026 17:09:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776964179; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GdP7PsUJbLfgHE5csjgAS6nY5ppX1ByfNNIDLWs+Cng=; b=DQLzLPKiFees1HURW80zGXuY/pi4OGl/23u2KXrPT5VAhSO/SnVOIPIdPu/JEfrPjucmsP c+0qq6yvTi7uPH2SRUOFR4D26us8BjU9AN27OfWgKE404PUgypy1DzJwV322p46UCzyk0N qXpkpiKAKWJASoTyFABPEbqNWnncJjAhe95Y45h7n+xBF8oZXm4f6ImzcH71dlQYP7hN9U hnRxFgRjFYWHN0VrXf/ugLxCanlyYJf9KrSl9mKisa780ufJWwMLONOBn07uNRCaGnkA5/ VfRoYYnu0oWDaf91MvIZppz/rapBMHKQtJdhRxzdADDbO9kjGL9dGwpB8DgASQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1776964179; a=rsa-sha256; cv=none; b=vkPpII63ApDDiy1eNsJ2RSoNXl69UOnNUvSThCroja7WthwTd95TjOwq//Pdl9dpQ6y9bF 80QmB6sKG2UZKvHP+mC7LiE0z/GRKPN/DdqA69rrhiBn6QUmPjKJDl2uM2i7zRmNUQLDre thHZUY90irHsM1agxRp00953g6xB8kU3iBw8eFAVlXVkWt5FAoVCVT8E//6SDJ/ioZrOm8 WzBiSv17hg/Q2r0Kg67uBrXs3mwwgmSwZEoIiWbsK9gQG4Jn2ww1jq8VXlonaq5BJLzXth ZXtwvyk0C9oPjDfH00HsaXs7LwwY/SXJS3WOMzz5rJorJKrRGi46YJXsLQzcLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776964179; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GdP7PsUJbLfgHE5csjgAS6nY5ppX1ByfNNIDLWs+Cng=; b=MIRAGo/2t7Nfi4arc4NYwZSYBz0fcy3x+37XVK8Lnh9/fXA1+AL15bR/ZhhGFsf+P04YyW JDq27PVLDcPhNPnubTDjE+bBx8Bo3ug64G5I8jgzu2gGs/LR3Zj/JTiVpnkOF/Qpy66MiG vQ+ov7y66cQcSsWsa20zM0AIxOoOc/aAgnDczd4OGzVuU3AgOErxsPyeubzq7vwz8N/YkJ Agqxbu2yjzhq2Tllvtt4p2GtZngGxghtLXNYZxhjsaIcN8o0iv/4RGs32oTSfyCUgjKU44 tX7alp8qqLBlBa9ZVfMe1I05At9kMIZBIwj44giCJB2NMhRdsmPAQX8X+eZ9ag== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4g1jJ31QLKz9pQ for ; Thu, 23 Apr 2026 17:09:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3f72f by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 23 Apr 2026 17:09:34 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 0b6f465fc5a4 - stable/15 - rtld: fix processing of preloaded z_initfirst objects 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=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 0b6f465fc5a45369246ab29bc366687090baee2f Auto-Submitted: auto-generated Date: Thu, 23 Apr 2026 17:09:34 +0000 Message-Id: <69ea524e.3f72f.1bf7ad5@gitrepo.freebsd.org> The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=0b6f465fc5a45369246ab29bc366687090baee2f commit 0b6f465fc5a45369246ab29bc366687090baee2f Author: Konstantin Belousov AuthorDate: 2026-04-16 23:07:43 +0000 Commit: Konstantin Belousov CommitDate: 2026-04-23 17:08:50 +0000 rtld: fix processing of preloaded z_initfirst objects (cherry picked from commit 9b844b495e8e63439ffe523757ac7444a16317af) --- libexec/rtld-elf/rtld.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index db5d22dfefdb..aa17041fdc2d 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -2655,6 +2655,11 @@ initlist_add_objects(Obj_Entry *obj, Obj_Entry *tail, Objlist *list, initlist_add_neededs(obj->needed_aux_filtees, NULL, iflist); objlist_push_tail(iflist, obj); + + /* Recursively process the successor objects. */ + nobj = globallist_next(obj); + if (nobj != NULL && obj != tail) + initlist_add_objects(nobj, tail, list, iflist); } else { if (obj->init_scanned) return;