"Hooks" for mount and unmount actions of automounter? (used for auditing)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

are there any "hooks" in the automounter for custom actions that should happen at mount and unmount time of a filesystem? We are starting with auditing specific system calls on files using Linux' auditd. However filesystems which don't existing when auditd starts lead to an error. And when I configure auditd for the parent of the mountpoint of a filesystem, then the rules are not recursively applied even when the filesystem is mounted later.

A workaround could be to add a filesystem specific rule (using auditctl) when the filesystem is mounted and remove it again once the filesystem is unmounted by the automounter. Is that doable?

Cheers
frank


--
To unsubscribe from this list: send the line "unsubscribe autofs" in



[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux