aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-10-25 15:57:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-10-25 15:57:23 +0000
commitfe61f17cfc18f17befca3280e828bb40e8c772b0 (patch)
tree3a27a533ced1d9bff3983cef9385ae46493fc42b
parent7c5e34d7f1b8f8f5acd94c2b885ae13b85414dcd (diff)
downloadglibc-fe61f17cfc18f17befca3280e828bb40e8c772b0.zip
glibc-fe61f17cfc18f17befca3280e828bb40e8c772b0.tar.gz
glibc-fe61f17cfc18f17befca3280e828bb40e8c772b0.tar.bz2
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.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/sys/inotify.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d44c837..c2ceb6c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-10-25 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
+ macro.
+
2018-10-25 Florian Weimer <fweimer@redhat.com>
[BZ #23562]
diff --git a/sysdeps/unix/sysv/linux/sys/inotify.h b/sysdeps/unix/sysv/linux/sys/inotify.h
index 49cc374..8f766ba 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. */