mirror of https://github.com/mkerrisk/man-pages
fanotify_init.2: ERRORS: ENOSYS if not available
fanotify_init() 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:
parent
ce430f41fe
commit
a8972eed32
|
@ -191,6 +191,13 @@ The number of fanotify groups of the user exceeds 128.
|
|||
.B ENOMEM
|
||||
The allocation of memory for the notification group failed.
|
||||
.TP
|
||||
.B ENOSYS
|
||||
This kernel does not implement
|
||||
.BR fanotify_init ().
|
||||
To make the fanotify API available,
|
||||
.B CONFIG_FANOTIFY
|
||||
has to be enabled in the Linux configuration.
|
||||
.TP
|
||||
.B EPERM
|
||||
The operation is not permitted because the caller lacks the
|
||||
.B CAP_SYS_ADMIN
|
||||
|
|
Loading…
Reference in New Issue