diff options
| author | Matthew Bobrowski <mbobrowski@mbobrowski.org> | 2019-01-12 12:56:15 +1100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2019-02-26 17:39:00 +0100 |
| commit | fc37d2f1c8d8bf42c731b2738e6e2d0612f35fa4 (patch) | |
| tree | 6e4bf10bf10dc15213488cc31f83af2ce8a13568 /man7 | |
| parent | 5ef4a59dbf1daffc785ac2ee687a16cb311746f0 (diff) | |
| download | man-pages-fc37d2f1c8d8bf42c731b2738e6e2d0612f35fa4.tar.gz | |
fanotify_mark.2, fanotify.7: Document FAN_OPEN_EXEC and FAN_OPEN_EXEC_PERM
New event masks have been added to the fanotify API. Documentation to
support the use and behaviour of these new masks has been added
accordingly.
Signed-off-by: Matthew Bobrowski <mbobrowski@mbobrowski.org>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7')
| -rw-r--r-- | man7/fanotify.7 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/man7/fanotify.7 b/man7/fanotify.7 index 00e080522a..cc24577356 100644 --- a/man7/fanotify.7 +++ b/man7/fanotify.7 @@ -250,6 +250,14 @@ A file or a directory (but see BUGS) was accessed (read). .B FAN_OPEN A file or a directory was opened. .TP +.B FAN_OPEN_EXEC +A file was opened with the intent to be executed. +See +.B NOTES +in +.BR fanotify_mark (2) +for additional details. +.TP .B FAN_MODIFY A file was modified. .TP @@ -285,6 +293,16 @@ access the filesystem object shall be granted. An application wants to open a file or directory. The reader must write a response that determines whether the permission to open the filesystem object shall be granted. +.TP +.B FAN_OPEN_EXEC_PERM +An application wants to open a file for execution. +The reader must write a response that determines whether the permission to +open the filesystem object for execution shall be granted. +See +.B NOTES +in +.BR fanotify_mark (2) +for additional details. .PP To check for any close event, the following bit mask may be used: .TP |
