From 6448be7e7c39ec007c5221361d3e096f155ad77d Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Thu, 1 May 2014 16:47:39 +0200 Subject: [PATCH] fanotify_init.2: Add BUGS section, noting that event_f_flags is not checked Signed-off-by: Heinrich Schuchardt Signed-off-by: Michael Kerrisk --- man2/fanotify_init.2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/man2/fanotify_init.2 b/man2/fanotify_init.2 index 4824378d8..0d37946bf 100644 --- a/man2/fanotify_init.2 +++ b/man2/fanotify_init.2 @@ -208,6 +208,18 @@ was introduced in version 2.6.36 of the Linux kernel and enabled in version 2.6.37. .SH "CONFORMING TO" This system call is Linux-specific. +.SH BUGS +As of Linux 3.15, +the following bug exists: +.IP * 3 +.\" FIXME: Patch proposed. +The value of argument +.I event_f_flags +is not checked. +Flags that are only for internal use, +like +.BR FMODE_EXEC , +might be set. .SH "SEE ALSO" .BR fanotify_mark (2), .BR fanotify (7)