Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fanotifier ¶
type Fanotifier struct {
// contains filtered or unexported fields
}
Fanotifier monitors "/" mountpoint of a new mount namespace and notifies all accessed files.
func SpawnFanotifier ¶
func SpawnFanotifier(fanotifierBin string) (*Fanotifier, error)
func (*Fanotifier) Close ¶
func (n *Fanotifier) Close() (err error)
Close kills fanotifier process and closes the connection.
func (*Fanotifier) GetPath ¶
func (n *Fanotifier) GetPath() (string, error)
GetPath gets path notified by the fanotifier.
func (*Fanotifier) MountNamespacePath ¶
func (n *Fanotifier) MountNamespacePath() string
MountNamespacePath returns the path to the mount namespace where the fanotifier is monitoring.
func (*Fanotifier) Start ¶
func (n *Fanotifier) Start() error
Start starts fanotifier in the new mount namespace
Click to show internal directories.
Click to hide internal directories.