[Bug 292282] NFS Shows Empty Filenames Under Linux Emulation

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 08 Jan 2026 23:45:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292282

--- Comment #2 from Martin Cracauer <cracauer@cons.org> ---
Problem seems to be that getdents64(2) returns 26 instead of 12 entries.

openat(AT_FDCWD, "/mnt/tmp", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents64(3, 0x104a550 /* 26 entries */, 32768) = 768

The correct number of entries for my specific directory is 12.

-- 
You are receiving this mail because:
You are the assignee for the bug.