xlat: add IN_MASK_CREATE to inotify_flags.in
* xlat/inotify_flags.in (IN_MASK_CREATE): New constant, introduced by Linux commit v4.19-rc1~115^2. * tests/inotify.c (main): Update expected output.
This commit is contained in:
parent
44e21ae30d
commit
9aa1efde58
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user