[Bug 197695] Fix broken KERN_PROC_FILEDESC sysctl
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Mar 8 14:29:30 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197695
Jilles Tjoelker <jilles at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|patch |
CC| |jilles at FreeBSD.org
--- Comment #5 from Jilles Tjoelker <jilles at FreeBSD.org> ---
As it is now, KERN_PROC_FILEDESC is designed for debugging only. The namecache
is best-effort. See for example SVN r275897, which states that newly created
files are deliberately not entered into the namecache (as part of a change to
enter core dump filenames into the namecache).
A second problem is that KERN_PROC_FILEDESC processes all file descriptors at
once and may therefore be slow.
I think directory file descriptors always know their names because directories
have a single "..", all the way up to the root.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list