From nobody Sat Feb 7 22:15:28 2026 X-Original-To: emulation@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 4f7ldX1l6Kz6RWS8 for ; Sat, 07 Feb 2026 22:15:28 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f7ldX0Zb2z3bv6 for ; Sat, 07 Feb 2026 22:15:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770502528; 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: in-reply-to:in-reply-to:references:references; bh=2ShlJ1ijuc4x/HuxdcUXoyUNHY9U63U7c39isBy3LgY=; b=Ah/Wkvo+QQBd+BDi+aGLGnSk6bpNtUaoVOJyf6ZMZAb6FUzEn/xTyTjVF1lblUTtGFlShz 2cIVP9nOnsx4p2Ko+oPPbI0R4UUOoklTZleGMSbUe8DqiSFgOKnqXMmi9f3CEncF7hfn+s 5EbEwTbN94xWoFXQlm/OKXK8tlA3M9JcGYDWqkFDxhMxnaEPBrtZCvGVkt80KFT/NmZlDb ToMwPHjHkcv0SeJd6RElhvG9UlJE695n7TbYhJJ62+yUa5urZZe9kGTsfyqIS3d7G1lVYK S+yhQ0JC3zrcYzrCQXSX+utqNCObgT4wJw2yXAwjUY6+ztsBAfnST6JRgGe9TA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770502528; a=rsa-sha256; cv=none; b=g1m+TDcYa2+e2vcQGJpkkNcBOMFK/olm9m0s1VrVvt+cXYl+x8PtNvK593Ri/90P4I0f3c XRHFfsjltH0bpcP8KYnLWT18pp2GyxIiOT2Yc7zkP9/dw76IGO4eoUT8546MZ6DBmt34SI avyzSowLY5B0yZ0Rp4H7efSZxMRZWo3FXHYW0IIFsS4bHMqvpFePGJd9M6geB+emmr8V9c y5AqLztdnR5XmEgQNdC/NwszX/kBnskTt8HHW4gZtLK7Q0vj8QuCZH/WvdBAAV+fZ2hCbH Sv7EAUx08tUZJG99Lj60aGNPR5IPPGguicDP6Z4W4Hsk+sADsacdTnSfk3jLAw== 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=1770502528; 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: in-reply-to:in-reply-to:references:references; bh=2ShlJ1ijuc4x/HuxdcUXoyUNHY9U63U7c39isBy3LgY=; b=ejx37WIJgPtYNofa6hnXT75roi/gn9Vx48Cgzf6uvjoEnLSvzEeoiQMCCLbDPW+P4kb8F4 i5/O5rLO9AahoUEvkq7cFuf8gqcbdfXZd3La7UEos5XGadtWVq5NxgqG+lcpXrU9z9/1Nn 9hN6ggQ+CXxu9xjeRnzw51MC4Os3WdFqtDXcDmvjIgMNfp2OalbMwMBVsIEgc0yq6ACu29 PS8e9tg/byakSnw1odA119WFAL6YgtE6xGn8a6aPvlXfJIRI/vSSt2T+oX99b9Vroyz0j2 tDbaWW63C7po12FDvuw1O1rKHuALk1HupNc3xvkvmMdPSLTGkcwSmaelg22HYw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4f7ldX0BKqz4gN for ; Sat, 07 Feb 2026 22:15:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 617MFRTI069519 for ; Sat, 7 Feb 2026 22:15:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 617MFRok069518 for emulation@FreeBSD.org; Sat, 7 Feb 2026 22:15:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 292282] NFS Shows Empty Filenames Under Linux Emulation Date: Sat, 07 Feb 2026 22:15:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292282 --- Comment #13 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D110f2567cb51f1eeddbd5d9937000ad64= f6dc746 commit 110f2567cb51f1eeddbd5d9937000ad64f6dc746 Author: Rick Macklem AuthorDate: 2026-02-07 22:12:55 +0000 Commit: Rick Macklem CommitDate: 2026-02-07 22:12:55 +0000 linux_file.c: Fix handling of NFS getdents() emulation Bugzilla PR#292282 reports a problem, where a Linux binary running in the Linuxulator gets bogus entries in a readdir()/getdents() reply when the directory is an NFS mount. This appears to be caused by the NFS client including entries with d_fileno =3D=3D 0, which are always ignored by BSD, but are not ignored by Linux. This patch filters out the "d_fileno =3D=3D 0" entries and the reporter of the bugzilla PR notes that it fixes the problem for him. It could be argued that the NFS client should filter out the "d_fileno =3D=3D 0" entries, but the NFS client readdir code is "fragile" and any change to it runs a significant risk of causing regression type problems. As such, since the LInuxulator is already broken for this case, it seems safer to filter them out there. PR: 292282 Tested by: Jerry Williams Reviewed by: markj MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D54679 sys/compat/linux/linux_file.c | 178 ++++++++++++++++++++++++++------------= ---- 1 file changed, 110 insertions(+), 68 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=