From nobody Tue Aug 4 19:00:05 2026 X-Original-To: dev-commits-src-main@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 4hF2tF1BY6z6nFYQ for ; Tue, 04 Aug 2026 19:00:21 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hF2tC66Vcz3FJF for ; Tue, 04 Aug 2026 19:00:19 +0000 (UTC) (envelope-from asomers@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-6984169c126so251019a12.1 for ; Tue, 04 Aug 2026 12:00:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1785870018; cv=none; d=google.com; s=arc-20260327; b=RUH9G8gutYkacXxWeLk+esY0EcxYSv8BMrzgOv4ly2plb3wt5HkEu7m97p15cbK/C2 sfl0xW1vO/fNrz8uR+hhaJM/xa6L6+eUaxPPPcav0xOtMNFHFOXLbbg26FYzlwfZ0CDX SmzLmkkIbFCOrC7YZIQucL1qYKevpveqtmeaz74L400ZObsEM224Do+zD+Nf2WOsPhEa FbJ5unyxqniDJuxZxTcEKhR4GYjiL4R+wLZxphMoXEdgCrqljfe4OA2f3xXXTiu/mrcN 1dUHkPN+gtLX9/uZgRMHrSxc0V4+lHqXT6H7IIdsH2fF2zCbh3TkRcBmru9j7qYZRWuZ U5cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=WFe8bBRCCSiwPkhq55rgVW2s/LeU67k8uYMSR7Fn41c=; fh=+XXs5xpiwN4cBd8wpq8u+pnr8MqSiyFX6huGc6BqMRo=; b=ElRoade1bO7FkxrYBEbKJmO8wOFWi8bkVuaUGWvqRkIel16l16kIihwloD4sbgGPc7 lXJzyBAnZQu/bdaAumIM/5BxUIKK00wKdU73UDdQ6mEJ5H6XVG6TQ1TZzV6RClnygIm/ alrG47n+Jvd+DGZqaHV3Bd96MFx1i+0yts+PSDZbKlCaopy+26953jcWFVhUNY4Od7Kn 8XEGD8GQ3XtJ9p+yO1yj4dbOvVTkYBy6F22P6og2Oh7KvZ/0x5AS8v5EB46Wi8fQOZmb mjhu/eKr6nv9p1loiR26cykFjMpqYhYbyxqp+ohSBY/fnWee9sQOdTLQri7iYMM0lO4n M2Pw==; darn=freebsd.org ARC-Authentication-Results: i=1; mx.google.com; arc=none X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785870018; x=1786474818; h=content-transfer-encoding:content-type:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=WFe8bBRCCSiwPkhq55rgVW2s/LeU67k8uYMSR7Fn41c=; b=lBQMcpS+KVCL2+kkhR5p9oM2F7ti8qB9qTUYU6/RDkgCZSf0kS8U7eukHeb0n1e0hy eSd2GP841pYNf4vZ5hHDeBLp5weYVNfLvDSt9FnrZdeimv0lf7K5XUiBK6+tlE8JWdzw BaZ+XYu29MDPnkDR/VO9QVA3L+mhm4abmHjmlYYnZsuLtJV62piJr9qQ5Ft4LHZQpVUM aHKMBNDpizi9tN9mZjAweWYShS/Wehi7j8WEjn+yvI9cZXpwwgNJCspPoJdiwEmDFgUZ h4bJZMUeh/gqH+mK4f2LPwTUD9ygCwlZ5DeVDNVJFpMJ75XAFp6iv75dtyHg+ykVkMzx JeKQ== X-Forwarded-Encrypted: i=1; AHgh+RpbOH0ZM43vvH2AK3YqVs7u8IQDcpdwwhd5/1NfrADo+QnDpKGCzE3Fjl2Z/4rU+VTKeFhmhYipyINmLV3dG1rX3RoFZg==@freebsd.org X-Gm-Message-State: AOJu0Yxr1d7leoH9vdnUX3mXrdswmiDtz/FbcqNsuD0S8CA7LmO4ShPl Kf8dYh6jHE8gX8frp5BSxEHssXRVppQT/SUCoKPHTPfiXLvazrK1OT1KTcg328D6vrTIvXmaO5x D3YkzCV4/Z1vc2ValcBg8TmX8loGBDLY= X-Gm-Gg: AR+sD13Uy0ylvAttMS3+IAcl0T+rr+O8ewRhy9Ff53ZqSj8qt6rZTUwoMOsKBDi4gbY Nyq8WpyLVzn2ghZbTyhNaAZ1QRieYRdA7JPFgPBxywEeKbHiR52AMGRab7DGq49suThvog1Bkpu 4ioZCTJb/jemAwjbzfiK9PnFDFEJSNcdAgX1YATj9knR9ZtZQ/LOoTt8QTb5zAOG3S0Pl/ozUJ1 U6B3Rn5dK98gD9rgZ85f0pk+oUSvvo6LeFScSP8jNHsRNYsM9bMRojBf7AB0uA41QqY/zTG+4F2 hgONCVo6xWzwn2kJmYSaqPu9uoHBeuryhxAgVRDYgcPIw/AgHVxm+ey4rN73MAd5KjqYAXgMjum 9KxGazjhS2d6zFgmfmURk2v40D7rqOyWDzyxfXTlG X-Received: by 2002:a05:6402:278b:b0:69c:76c6:9bef with SMTP id 4fb4d7f45d1cf-6a14f138a90mr550777a12.10.1785870018064; Tue, 04 Aug 2026 12:00:18 -0700 (PDT) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 References: <6a70e844.251cb.6995429f@gitrepo.freebsd.org> In-Reply-To: From: Alan Somers Date: Tue, 4 Aug 2026 13:00:05 -0600 X-Gm-Features: AUfX_mx71OthltybK6x-BVIY0T-rOENAcSu7cz3ple3AbwI_rEqjpG-UzCC2GM0 Message-ID: Subject: Re: git: 4bd01d6ae016 - main - fts: refactor to use fd-relative operations internally To: Mark Johnston Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org, Jitendra Bhati Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4hF2tC66Vcz3FJF X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Spamd-Bar: ---- On Tue, Aug 4, 2026 at 12:58=E2=80=AFPM Mark Johnston w= rote: > > 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=3D4bd01d6ae01632501b63438b= 8d9a401db9744a78 > > > > 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_n= ame, > > ...) 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 call= ers > > to provide a pre-opened directory fd, enabling fts(3) traversal ins= ide > > Capsicum capability mode. > > > > Mirror all fts_open() changes to fts_open_b(). > > > > As a result of expanding _ftsend, publish new ELF symbol versions f= or > > 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-t= est/29201/ I'm testing a fix now. I should have something ready for you soon.