A simple C example of the fanotify system calls for linux.
make
To monitor all the close events on the root file-system run:
sudo ./fanotify CLOSE MOUNT /
A simple C example of the fanotify system calls for linux.
make
To monitor all the close events on the root file-system run:
sudo ./fanotify CLOSE MOUNT /