From nobody Tue Aug 4 18:58:10 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 4hF2qm5Dm2z6nF0S; Tue, 04 Aug 2026 18:58:12 +0000 (UTC) (envelope-from markj@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hF2qm4XB3z3DqL; Tue, 04 Aug 2026 18:58:12 +0000 (UTC) (envelope-from markj@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785869892; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=B83DcQHnoaA8h4uQcWZJLWqeJguIE/HwqPealhxhJC0=; b=tVlle25Yz9Q5Pd5P18PESP5ARseN62ckSnIuPI85QAsW+uu+b8Aa3/4nbpqmitsbza+E+9 TVZpYvVYnc7NwkufCIH7T5Adz3waqrnmb42OoHw3/aNQ5AbhziCL6vlm2bcEf9VUQ5qwT/ u+drVcY1xTqf3mAq+5lCUsdtutsxep5JoI0ftEn2lpyw9sNUiiAPf6V7zyFUkfMNs3lCtz pyd+eKKjCEnpfc/5Cj3pkAKfYjqM6dk+XpkhRTgXVHl2npQK+5IdALDTrgTbG6EVyXbNAU UG25S6wfGa6kUERZiLHvRFhj/x3PQeHZntq/5uXinljKnjByB0K10oOTtK7hmA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785869892; a=rsa-sha256; cv=none; b=EwbipCzKCgt3JYLL5fIEE0Fyg2nFt3d1PoutU+NfPUUANAU829cShtx/BsG1fy/Ap/t8rs JVp12V0XnmsjTsXPh/+dJMAcs0AwUVi3AH09vbW7DzEAmrjKzTV1xyNx1Nj8UGjtht54E6 43bdxisrA3Qs+iKaQ/k4CVdREJXnLNxEon1FVse2kCqWtJ0EtoJkjaqjk64oXK+QUuv4gE Aog/frIqCwvTF9UhhGSO9tbOUPxKZOLPtmekqq5iMCKOM1nGXg41086cWufXGmFpGL7M1n aJ6twlsjCssGwnDVKiIjvnBG+pVXxYyrtKmSLgTd2FfdfaNWoyFIONJ7P6xO+Q== 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=1785869892; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=B83DcQHnoaA8h4uQcWZJLWqeJguIE/HwqPealhxhJC0=; b=LaYNgTnb+VSwq2BTsNNdNB5ii5LZ3nIrUL+SBMCO5dwydq61n23KaUBdUbVuPoAbQOi7fF OCUXvsue5j4z+2Ki4Sw+RTA92l+RLkn0OkpCVXilx0TsHirIyPhWYqUHxEW33fdrUuI7Nt UFRT6dLawXsUfKUVTNGSABT/Vfhwc9eeRuqbN2Jx1xQ5acIdKFWLeLvughhjTaYC+GRIj0 pREwnhsxwdPcX8GsCuQV5hCEDA87D3QITwqRJlCVdLktIu5y32AZWfDK2beXEH6+i7cUIf iUeKGNPclj0B7IVzQ/Mrif4tbJZOVzl42aVf9Sg6+s1YuLqcYBsci02wokwEaA== Received: from nuc (192-0-220-237.cpe.teksavvy.com [192.0.220.237]) (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 did not present a certificate) (Authenticated sender: markj) by smtp.freebsd.org (Postfix) with ESMTPSA id 4hF2qm18Trz14dM; Tue, 04 Aug 2026 18:58:12 +0000 (UTC) (envelope-from markj@freebsd.org) Date: Tue, 4 Aug 2026 14:58:10 -0400 From: Mark Johnston To: Alan Somers Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org, Jitendra Bhati Subject: Re: git: 4bd01d6ae016 - main - fts: refactor to use fd-relative operations internally Message-ID: References: <6a70e844.251cb.6995429f@gitrepo.freebsd.org> 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6a70e844.251cb.6995429f@gitrepo.freebsd.org> On Mon, Aug 03, 2026 at 07:13:08PM +0000, Alan Somers wrote: > The branch main has been updated by asomers: > > URL: https://cgit.FreeBSD.org/src/commit/?id=4bd01d6ae01632501b63438b8d9a401db9744a78 > > commit 4bd01d6ae01632501b63438b8d9a401db9744a78 > Author: Jitendra Bhati > AuthorDate: 2026-06-12 17:07:55 +0000 > Commit: Alan Somers > CommitDate: 2026-08-03 19:12:28 +0000 > > fts: refactor to use fd-relative operations internally > > Replace all _open() calls with _openat() in __fts_open(), fts_read(), > and fts_children(). Replace statfs() with _fstatfs(). > > Add fts_dirfd to struct _ftsent, set to the file descriptor of the > parent directory. Callers can use openat(ent->fts_dirfd, ent->fts_name, > ...) to access files safely without relying on fts_accpath, which > enables programs in capability mode to open the files described by > _ftsent. > > This is a preparatory change for fts_openat() which will allow callers > to provide a pre-opened directory fd, enabling fts(3) traversal inside > Capsicum capability mode. > > Mirror all fts_open() changes to fts_open_b(). > > As a result of expanding _ftsend, publish new ELF symbol versions for > fts_openat and related functions. > > Sponsored by: Google LLC (GSoC 2026) > Reviewed by: asomers > Pull Request: https://github.com/freebsd/freebsd-src/pull/2303 Quite a few regression tests seem to be failing after this commit, e.g., some of the makefs tests: https://ci.freebsd.org/job/FreeBSD-main-amd64-test/29201/