mirror of https://github.com/mkerrisk/man-pages
fanotify_mark.2, fanotify.7: Minor tweaks to Amir Goldstein's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
b2f8214d47
commit
953d1e0792
|
@ -70,7 +70,7 @@ must be nonempty or the error
|
||||||
will occur.
|
will occur.
|
||||||
.TP
|
.TP
|
||||||
.B FAN_MARK_FLUSH
|
.B FAN_MARK_FLUSH
|
||||||
Remove either all marks for filesystems, all marks for mounts or all
|
Remove either all marks for filesystems, all marks for mounts, or all
|
||||||
marks for directories and files from the fanotify group.
|
marks for directories and files from the fanotify group.
|
||||||
If
|
If
|
||||||
.I flags
|
.I flags
|
||||||
|
@ -83,7 +83,7 @@ contains
|
||||||
.BR FAN_MARK_FILESYSTEM ,
|
.BR FAN_MARK_FILESYSTEM ,
|
||||||
all marks for filesystems are removed from the group.
|
all marks for filesystems are removed from the group.
|
||||||
Otherwise, all marks for directories and files are removed.
|
Otherwise, all marks for directories and files are removed.
|
||||||
No flag other than and only one of the flags
|
No flag other than and at most one of the flags
|
||||||
.B FAN_MARK_MOUNT
|
.B FAN_MARK_MOUNT
|
||||||
or
|
or
|
||||||
.B FAN_MARK_FILESYSTEM
|
.B FAN_MARK_FILESYSTEM
|
||||||
|
|
|
@ -56,7 +56,7 @@ system call creates and initializes an fanotify notification group
|
||||||
and returns a file descriptor referring to it.
|
and returns a file descriptor referring to it.
|
||||||
.PP
|
.PP
|
||||||
An fanotify notification group is a kernel-internal object that holds
|
An fanotify notification group is a kernel-internal object that holds
|
||||||
a list of files, directories, filesystems and mount points for which
|
a list of files, directories, filesystems, and mount points for which
|
||||||
events shall be created.
|
events shall be created.
|
||||||
.PP
|
.PP
|
||||||
For each entry in an fanotify notification group, two bit masks exist: the
|
For each entry in an fanotify notification group, two bit masks exist: the
|
||||||
|
@ -66,7 +66,7 @@ mask and the
|
||||||
mask.
|
mask.
|
||||||
The mark mask defines file activities for which an event shall be created.
|
The mark mask defines file activities for which an event shall be created.
|
||||||
The ignore mask defines activities for which no event shall be generated.
|
The ignore mask defines activities for which no event shall be generated.
|
||||||
Having these two types of masks permits a filesystem, mount point or
|
Having these two types of masks permits a filesystem, mount point, or
|
||||||
directory to be marked for receiving events, while at the same time
|
directory to be marked for receiving events, while at the same time
|
||||||
ignoring events for specific objects under a mount point or directory.
|
ignoring events for specific objects under a mount point or directory.
|
||||||
.PP
|
.PP
|
||||||
|
|
Loading…
Reference in New Issue