Detecting new file name after receiving kevent's NOTE_RENAME

Konstantin Belousov kostikbel at gmail.com
Tue Nov 10 12:13:18 UTC 2015


On Tue, Nov 10, 2015 at 10:20:16AM +0100, Ivan Radovanovic wrote:
> Thanks, kern.proc.filedesc is super-efficient compared to what I had in 
> mind. I assume right way to use it would be through kinfo_getfile(3).

Both direct sysctl use and kinfo_getfile() are supported, in the sense
that the API and ABI of the interfaces are not supposed to change in
non-backward compatible way, and the interfaces itself are not supposed
to disappear.


More information about the freebsd-hackers mailing list