From nobody Fri Apr 17 00:42:47 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 4fxbh82M42z6b0Pf for ; Fri, 17 Apr 2026 00:42:48 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fxbh75WMZz3f6p for ; Fri, 17 Apr 2026 00:42:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776386567; 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=X7bGV/Mu6vZVYkoQdlq4Fjoqr9HA37lo7kmNARE2jSU=; b=opQXlzDbhp3t/tPWRsOSsWJJTCYnjD5PumCy5u4oYnMMfMipX9M0cZAWROcQWNRw1TP0fW jrGejWXEyAOm+RK8EcI3nrF3C286H2ikYc1Z135wYWPc0po8YymNKNZJucXUgJzzYBFCUS kmFiQo8stDBOhllqe/SagdUiHp/DvgPk6wskJ/qcYQdQAu971aSYB6VO7foEmxvGA6Ev6J 3uQiK3bEnSMeHp18JWjbnnrr4nUJR+fkCwMICNkqrb5CYnjQIHqRY5DWqZyY+dSLhjwTn7 IeSfK+4/lUI8x2iqCYTW2AkFdrT2TXeh+Cw0SCfOJXZVTAuXe2QBlMeMntoRzA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1776386567; a=rsa-sha256; cv=none; b=VYY0nb8bPzOMWvBKXT5A0hxvFGHVNe/bykj+R9071G0JuBUyhZjVt5iGhOshc89POFehZY +USTr4jBylrcpn8FZcvaKIiwukELskQHl5oXcOlOlutGjAqDCeEFUXQe5epG0sZIcbUXWB fFRykoR8izuzI+td+wNDO5wNzpIiCPQnmXTe1cThioo4iVN/yQ5AW2yNBPmzGWbNyL1pb8 35tewyQpJLaA7gz0e19nd+a/ncOsEDBzZy4dwwey9OsNtotWIKDN5bwVMGAFA9jct84H1j N+S7ZEEqgTLAimMeC3wswE9vCqKmyYQk69CgUNhIlnBqW4T2HG4vMGuCsZjktg== 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=1776386567; 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=X7bGV/Mu6vZVYkoQdlq4Fjoqr9HA37lo7kmNARE2jSU=; b=GDjOvgGe9KRss2ZMg42QAX130Dejv+aJx+xHM8/wzVciDzVC5AvcvifIba7alavtp3ZKcI v7Nm+zWguuE2ctfzljejZb71M9WFm59KOEbXBmR+a3uY44DA6Vf1wHG2GSjKwZ/Kqo6DTa eHEUQk85LcdzW6RAff48liwfwS0LXnLN4KmUwPSMrd0PRkdcm9m/jbR8RiAKTQ7NzxFn+K OgkZ4tducySo5HVWSSd5ndTkBaYw4QId1Ec+KsvGon3AA3jnf/4FxcrF1cJXiBwUbVAaxw 2hGKRHkPoJywYVT2OC5kijgsD1mtsscR7CPe4QhjCMZJVRkw5EBlaOK15o0+6Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fxbh750yQzXQF for ; Fri, 17 Apr 2026 00:42:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 41ec2 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 17 Apr 2026 00:42:47 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: ee3ef70c403e - stable/15 - fork.2: note that all methods to pre-resolve symbols have consequences List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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: ee3ef70c403e4069f9c2958e5c3106c61e27f118 Auto-Submitted: auto-generated Date: Fri, 17 Apr 2026 00:42:47 +0000 Message-Id: <69e18207.41ec2.305806e9@gitrepo.freebsd.org> The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=ee3ef70c403e4069f9c2958e5c3106c61e27f118 commit ee3ef70c403e4069f9c2958e5c3106c61e27f118 Author: Konstantin Belousov AuthorDate: 2026-04-12 09:16:13 +0000 Commit: Konstantin Belousov CommitDate: 2026-04-17 00:42:38 +0000 fork.2: note that all methods to pre-resolve symbols have consequences (cherry picked from commit 660498986a8e56025d9d2f9c6a0813c09a27ba8e) --- lib/libsys/fork.2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libsys/fork.2 b/lib/libsys/fork.2 index e59b208a9ff5..89a5631d7daa 100644 --- a/lib/libsys/fork.2 +++ b/lib/libsys/fork.2 @@ -138,6 +138,7 @@ services ( or .Xr rtld 1 ) are available in the child if forked from multi-threaded parent. +.Pp In particular, if using dynamic linking, all dynamic symbols used by the child after .Fn _Fork @@ -151,6 +152,7 @@ option to the static linker or by using each symbol before the .Fn _Fork call to force the binding. +Either of the methods subtly changes the ABI of the resulting binary. .Sh RETURN VALUES Upon successful completion, .Fn fork