[Bug 260241] [feature request] Provide a sysctl or fcntl that would return the list of paths for a given file descriptor
Date: Sun, 05 Dec 2021 18:39:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260241 Damjan Jovanovic <damjan.jov@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com --- Comment #1 from Damjan Jovanovic <damjan.jov@gmail.com> --- Wine's file change notifications would also benefit from this (https://source.winehq.org/patches/data/221384). In that patch I've used sysctl with CTL_KERN + KERN_PROC + KERN_PROC_FILEDESC + pid, but frequent linear searches for each file descriptor are going to be slow. -- You are receiving this mail because: You are the assignee for the bug.