diff --git a/tests/inotify.c b/tests/inotify.c index 925d69ff..595f09a6 100644 --- a/tests/inotify.c +++ b/tests/inotify.c @@ -52,8 +52,8 @@ main(void) static const char *bogus_mask_str = "IN_ACCESS|IN_ATTRIB|" "IN_CLOSE_WRITE|IN_OPEN|IN_MOVED_TO|IN_DELETE|IN_DELETE_SELF|" "IN_MOVE_SELF|IN_Q_OVERFLOW|IN_IGNORED|IN_ONLYDIR|" - "IN_DONT_FOLLOW|IN_EXCL_UNLINK|IN_MASK_ADD|IN_ISDIR|IN_ONESHOT|" - "0x18ff1000"; + "IN_DONT_FOLLOW|IN_EXCL_UNLINK|IN_MASK_CREATE|IN_MASK_ADD|" + "IN_ISDIR|IN_ONESHOT|0x8ff1000"; long rc; char *bogus_path = tail_memdup(bogus_path_str.path, diff --git a/xlat/inotify_flags.in b/xlat/inotify_flags.in index db1d8393..671bd0e6 100644 --- a/xlat/inotify_flags.in +++ b/xlat/inotify_flags.in @@ -16,6 +16,7 @@ IN_IGNORED 0x00008000 IN_ONLYDIR 0x01000000 IN_DONT_FOLLOW 0x02000000 IN_EXCL_UNLINK 0x04000000 +IN_MASK_CREATE 0x10000000 IN_MASK_ADD 0x20000000 IN_ISDIR 0x40000000 IN_ONESHOT 0x80000000