From nobody Sat Oct 31 03:18:55 2026 X-Original-To: dev-commits-src-branches@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 4jGjqM5fHYz6xqT0 for ; Sat, 31 Oct 2026 03:18:55 +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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jGjqM3b4rz575c for ; Sat, 31 Oct 2026 03:18:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793416735; 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=tEpgpGGVoFm9ZyPzA9XV4f84Tz9cGzmtrQkrVO/OcLM=; b=tJRP/ZBGVk/4pGrFOSA5o45VYBfzoCdIJt7MeJvx8oG0oiBLdxJ26boW+YVzmuKDPp/q4z a82B4Ay4hAizEbYP++YzZMVqN2q+/bhOqsL/VZi7kZAppTO29EDA7MRnLnsuNnraSVaJ91 pcyn01pCAx/6bQceRcz277nKpYzw3Phl8dwwYxgrWq0lMKIlG75N/VodoAWfRGT6ommfzH Cp6L6hoYGFvY5z+BxWTxuXPx5k52oY6vcgxmmwH+r5fJPSXHhGPaGyWd6rGRXF8c6J3d5s JY5qyNwLHt3ru22ptIWl+LzckPD2dzBCEmZvI/xAQxjJGpK2VByZmyoIHrBK5A== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793416735; b=luMEFvdMEqpJKq+Rb6vc0LAiN+1K2Uun+ZRPct/NxkicBnr/2cAPXqx3kCRPaMdDDONmWO 0eU767l+BvT+ahhz5V/ipMZnpR9ZDwj4WPB5cWwmdfMRKRavytSjIRQZ86QSFmbghnfPJQ BsSYqRdN0My+XTDKG5rB8hnqT8c1e6HBz0lFng+sC2xRBiB6ai5lLPtNpi7mmMnH7fVPNJ GIiLKyT9ci7rnpiX5umcEUC1RPWCtfz0lldiyBM6KLijO5XwH1Gf90ocD+/rEA72X5HVIU P6Vza/Aqy9JhmY4vF9v+uXDGcvsJFezUjfwEqxb3mOOqWecZoeJWxFTzC6skFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793416735; 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=tEpgpGGVoFm9ZyPzA9XV4f84Tz9cGzmtrQkrVO/OcLM=; b=BILMVXiYn3PTBZCuauOw6dYFz6BzBSJshj9ECFRV/n7IPg6i0K0bDn18Dhbb6pT3I+pPyw rMOQGmwvMmnk8tttRzQHZh+8pIfe5uGEGrGaelJi+/hWapmbgHrn2aiRLYoJeg+SrDWgGl gg6/fXOhr+100D+Y/61MdkT+Hp7buo8iTwyt4o3yftUxHa0XjW97PAvbQ6iybuL7NCB4hG 6enxLIec/Hoz1M0WnJ5bR6FJsBt3Gq7QXnH6z7I6pyqRGU4Z6ESpuFP8U/i9VgAWW2h8j0 7plfUkG/NSJaceUV0k/gMLFQrHtE05s7LQ8CbU25mXueabexjvC3xlTA8LDi7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jGjqM2bBVzx1W for ; Sat, 31 Oct 2026 03:18:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 384e1 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 31 Oct 2026 03:18:55 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: e3440c4f1e65 - stable/15 - rtld: some cosmetics in donelist_init() List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: Commits to the stable branches of the FreeBSD src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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: e3440c4f1e65d5b7c2e703ccdd85acabd32abeb6 Auto-Submitted: auto-generated Date: Sat, 31 Oct 2026 03:18:55 +0000 Message-Id: <6ae55e1f.384e1.57340e61@gitrepo.freebsd.org> The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=e3440c4f1e65d5b7c2e703ccdd85acabd32abeb6 commit e3440c4f1e65d5b7c2e703ccdd85acabd32abeb6 Author: Konstantin Belousov AuthorDate: 2026-10-25 15:30:20 +0000 Commit: Konstantin Belousov CommitDate: 2026-10-31 03:15:22 +0000 rtld: some cosmetics in donelist_init() (cherry picked from commit e2979f4cbbf6546daa7ad9fd1cd544d22c286315) --- libexec/rtld-elf/rtld.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 2ceb27613873..74cfc2e34dfd 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -1034,20 +1034,20 @@ _rtld(Elf_Addr *sp, func_ptr_type *exit_proc, Obj_Entry **objp) /* * Fill in a DoneList with an allocation large enough to hold all of - * the currently-loaded Keep this as a macro since it calls - * alloca and we want that to occur within the scope of the caller. + * the currently-loaded objects. Keep this as a macro since it calls + * alloca() and we want that to occur within the scope of the caller. */ #define DLP_ALLOCA_LIMIT 100 /* 800 bytes on LP64 */ -#define donelist_init(_DLP, _REQ) do { \ +#define donelist_init(_DLP, _REQ) do { \ DoneList *_dlp = _DLP; \ SymLook *_r = _REQ; \ - _dlp->num_alloc = obj_count, \ + _dlp->num_alloc = obj_count; \ _dlp->req = NULL; \ if (_dlp->num_alloc > DLP_ALLOCA_LIMIT) { \ _dlp->objs = xcalloc(_dlp->num_alloc, sizeof(_dlp->objs[0])); \ if (_r != NULL && _r->donelist_mem == NULL) { \ _r->donelist_mem = _dlp->objs; \ - _dlp->req = _r; \ + _dlp->req = _r; \ } \ } else { \ _dlp->objs = alloca(_dlp->num_alloc * sizeof(_dlp->objs[0])); \