From nobody Fri Nov 20 15:10:45 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 4jWJgT62tmz71yK5 for ; Fri, 20 Nov 2026 15:10:45 +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 4jWJgT50k6z4jDx for ; Fri, 20 Nov 2026 15:10:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795187445; 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=4ZBXZGvY+6Al1kUrUmkvYQA8pcxwaXI0cnntod5CxD0=; b=C5ZNxHK9dXCgx/lr7SLn1po4WP/ceReIw2DGQd9HeNgN2DImK/CnNXiX8fQG0ATvUbiPoJ xyEpYaXF52Fo4UFecW3YApI5YlxqXkVYI2OtogGo61yWtRfu/t8SX7AbQpfy5onvQLewPH dKJ74pzfFe7fitvdNzn05pK+LfDWHDDqB27VYHNrbwiyjARbxpvJF6JD3Y9tOu5n4mDs0w W5lPrRU+Q2KKqDNacV+uA2/k7MMOpN6vs5AUG3Iey+EdivcU5XvC4iaSJixVFq4Yt2Pwgv ahUCDyo+A5ZYmCyPcRC6Th8MS8AnC+6r7Qjs9UfdWw509FhyTqoyIb3CLex5/A== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1795187445; b=qEZ0iFleZPVTqKSDEPELw0BJYn+GnHkF6A3uqh50/tBdG2Ipj4W5P15TItxdOV0QxCuEql zyrXpLzSbAmfk3Coh4XMBWpkibwwivjdo2DzUuWA1PNazUXVXBNlzM7MH4VJ9YrM77+8Z+ ZRIlEdykNT3UqAzBUQ4i7gFhlycy61dlocQ9j4xAmKonwtXpPRkpDDzL3X1qTilVXGiDGC kQifgB3sj1u1lk5GOuYyiCiCfyq71lDumfEu03cZV9vXvQfcZozrW4T0EFdUzzgYzv4fVS M5PxdZj5efmTZNx1SRtJsjb2MqF0Gl1inrCd9/H/uycyDUgsYVIxwvKT187qpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795187445; 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=4ZBXZGvY+6Al1kUrUmkvYQA8pcxwaXI0cnntod5CxD0=; b=ATM6eSfA/0QsTPO7RKUoY+tdGFXa4WoVTwE6+8dpMVSiXaBsNnzs4eYs3iRt6frg72KJfy FOBdXaZDgbDrrTMOGsvLqkbvJRFlGsqPUqlq6Nk14cCwGujXg5kte4D+5LrA4qlBKL8ZX2 CcSrmLBJjWBlsZec0OIMiFB2uaSFydzpxHE5+FlJhalgou0uqFVQ77ogNTAU2UhECXCs56 b5HoP3qOaKAqkOZE+GkwudLFcn1Ib5ph0rqNnKVAN7lTQgW35viZO9MPtIt/lMwtt7dzB+ 6sxEMnjiNAp1Hq8v7ZHjtc2w8vsmVgcCAZUxZCebOhOOEvuoMNTAcGrQk2oO+g== 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 4jWJgT4c96zsqS for ; Fri, 20 Nov 2026 15:10:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 18636 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 20 Nov 2026 15:10:45 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 06ec6146b0a7 - main - pwd_altroot(9): expand herald comment List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org List-Id: Commit messages for all branches of the 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/main X-Git-Reftype: branch X-Git-Commit: 06ec6146b0a7f24a3657b0d4c46eb5e87533bc91 Auto-Submitted: auto-generated Date: Fri, 20 Nov 2026 15:10:45 +0000 Message-Id: <6b0062f5.18636.6fb12a45@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=06ec6146b0a7f24a3657b0d4c46eb5e87533bc91 commit 06ec6146b0a7f24a3657b0d4c46eb5e87533bc91 Author: Konstantin Belousov AuthorDate: 2026-10-12 15:38:12 +0000 Commit: Konstantin Belousov CommitDate: 2026-11-20 15:10:26 +0000 pwd_altroot(9): expand herald comment Requested and reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D60035 --- sys/kern/kern_descrip.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index d7e16db12a05..c38b48cdc9cd 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -4409,7 +4409,11 @@ pwd_chdir(struct thread *td, struct vnode *vp) } /* - * Process is transitioning to/from a non-native ABI. + * Set the alternative root directory for the process. + * + * A non-NULL altroot_vp enables the alternative root and uses + * altroot_vp for it. NULL disables it by setting the alternative + * root to the process root directory. */ int pwd_altroot(struct thread *td, struct vnode *altroot_vp)