SkillAgentSearch skills...

Fanotify

A simple fanotify example for watching events on a filesystem.

Install / Use

/learn @NegativeMjark/Fanotify
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Fanotify - Monitoring Filesystem Events

A simple C example of the fanotify_ system calls for linux.

.. _fanotify: http://man7.org/linux/man-pages/man7/fanotify.7.html

Building

.. code:: bash

make

Running

To monitor all the close events on the root file-system run:

.. code:: bash

sudo ./fanotify CLOSE MOUNT /

Related Skills

View on GitHub
GitHub Stars13
CategoryDevelopment
Updated2y ago
Forks8

Languages

C

Security Score

75/100

Audited on Mar 6, 2024

No findings