Path to this page:
Subject: CVS commit: pkgsrc/devel/libinotify
From: Thomas Klausner
Date: 2024-08-06 14:38:50
Message id: 20240806123850.CDDDDFC74@cvs.NetBSD.org
Log Message:
libinotify: update to 0.0.20240724.
libinotify-kqueue is a gem of software that does two things:
* It implements a sophisticated filesystem changes detection algorithm via
kqueue/kevent API (for instance, tracking renames or diff'ing directory contents)
* It exposes this functionality via Linux inotify interface, which allows the
library to be used as a drop-in compatibility shim
The compatibility, however, comes at cost, since the library has to emulate
the inotify descriptor via an unix domain socket. This means that delivering an
event involves copying the data into the kernel and then pulling it back.
This change adds a special operating mode for libinotify-kqueue dubbed \
"direct".
In this mode the socket pipe is replaced with another kqueue that is used to
deliver events via a kevent(EVFILT_USER) call.
Using this mode requires minor changes to the client code compared to using
plain inotify API, but in return it allows for reusing libinotify's algorithms
without a performance penalty.
Sponsored by: Serenity Cybersecurity, LLC
Files: