Open e-dant opened 3 months ago
I don't have much time to work on this, but I find it very interesting.
My knowledge of BPF is limited, but I can image having additional notify-bpf-*
crates tailored to specific use-cases. Similar to the debouncer crates.
I've been toying with an (e)BPF filesystem watcher, here.
It was made out of some frustration with the filesystem watchers available on Linux. Namely:
So the bpf watcher was born.
For security-oriented applications that want to watch almost every filesystem on the disk, I think bpf is the way to go.
Fielding your thoughts. With some work, would it fit with this project?