From: Joseph Myers Date: Thu, 25 Oct 2018 15:57:23 +0000 (+0000) Subject: Add IN_MASK_CREATE from Linux 4.19 to sys/inotify.h. X-Git-Tag: glibc-2.29~367 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe61f17cfc18f17befca3280e828bb40e8c772b0;p=thirdparty%2Fglibc.git Add IN_MASK_CREATE from Linux 4.19 to sys/inotify.h. This patch adds the IN_MASK_CREATE macro from Linux 4.19 to sys/inotify.h. Tested for x86_64. * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New macro. --- diff --git a/ChangeLog b/ChangeLog index d44c8376fed..c2ceb6ce5aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-10-25 Joseph Myers + + * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New + macro. + 2018-10-25 Florian Weimer [BZ #23562] diff --git a/sysdeps/unix/sysv/linux/sys/inotify.h b/sysdeps/unix/sysv/linux/sys/inotify.h index 49cc3748511..8f766baf3d7 100644 --- a/sysdeps/unix/sysv/linux/sys/inotify.h +++ b/sysdeps/unix/sysv/linux/sys/inotify.h @@ -66,6 +66,7 @@ struct inotify_event #define IN_DONT_FOLLOW 0x02000000 /* Do not follow a sym link. */ #define IN_EXCL_UNLINK 0x04000000 /* Exclude events on unlinked objects. */ +#define IN_MASK_CREATE 0x10000000 /* Only create watches. */ #define IN_MASK_ADD 0x20000000 /* Add to the mask of an already existing watch. */ #define IN_ISDIR 0x40000000 /* Event occurred against dir. */