#fanotify

2023-09-11

Do you ever wish that you could monitor cgroup creation / removal race-free with fanotify? Now you can! Any kernfs works!

Linux v6.6-rc1 is out and it contains my commit:

* github.com/torvalds/linux/comm

Example usage in Go:

* github.com/cloudflare/ebpf_exp

All you do is ask for events from a mount and then read them in a loop. No need to re-arm watches like with inotify.

The patch is trivial and can be easily backported if you want it in an older kernel.

#linux #kernel #ebpf #fanotify #cgroups

Martin Pittmartinpitt
2022-11-11

I just released 0.17.0, with a nice contribution to fix zfs monitoring, and some bug fixes. Already uploaded to .

github.com/martinpitt/fatrace/

2022-01-20

Released earlier this month, kernel 5.16 is full of great features, including two that had been in development for some time by our kernel team: the new #futex syscall & the new #fanotify event! Here's a look at our contributions: col.la/lk516 #futex2 #embedded

2020-02-22

@bjarni prefer #fanotify to #inotify for that, it now has a filestystem-broad mode.

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst