fanotify_mark.2: ERRORS: ENOSYS if not available

fanotify_mark() may fail with ENOSYS, if the kernel
was configured without setting CONFIG_FANOTIFY=y.

Tested with an appropriately configured kernel 3.14.2.8

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-05-01 07:48:40 +02:00
parent a8972eed32
commit 89ba4cc2ae
1 changed files with 7 additions and 0 deletions

View File

@ -280,6 +280,13 @@ The number of marks exceeds the limit of 8192 and
was not specified in the call to
.BR fanotify_init (2).
.TP
.B ENOSYS
This kernel does not implement
.BR fanotify_mark ().
To make the fanotify API available,
.B CONFIG_FANOTIFY
has to be enabled in the Linux configuration.
.TP
.B ENOTDIR
.I flags
contains