[Bug 260235] sysutils/lsof: filenames missing on FreeBSD >= 13, due to namecache field change

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 05 Dec 2021 11:09:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260235

            Bug ID: 260235
           Summary: sysutils/lsof: filenames missing on FreeBSD >= 13, due
                    to namecache field change
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ler@FreeBSD.org
          Reporter: damjan.jov@gmail.com
             Flags: maintainer-feedback?(ler@FreeBSD.org)
          Assignee: ler@FreeBSD.org

In sys/kern/vfs_cache.c struct namecache nc_hash field changed from a doubly
linked list to a singly linked list in commit
2b86f9d6d013a9ad8b1f8d03286018e785d5b3f6, breaking reading filenames in lsof.
(Yes, it was almost impossible to debug)

Patch submitted upstream at https://github.com/lsof-org/lsof/pull/180 but until
its merged we may want to apply it to our port.

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