Date: Tue, 10 Nov 2015 14:13:09 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Ivan Radovanovic <radovanovic@gmail.com> Cc: freebsd-hackers@FreeBSD.org Subject: Re: Detecting new file name after receiving kevent's NOTE_RENAME Message-ID: <20151110121309.GO2257@kib.kiev.ua> In-Reply-To: <5641B6D0.4070207@gmail.com> References: <5641A2A5.7070909@gmail.com> <20151110081421.GL2257@kib.kiev.ua> <5641B6D0.4070207@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151110121309.GO2257>