diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2020-04-14 03:28:20 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-04-15 13:39:57 +0000 |
commit | 32a1bd280a6e1f3144751dfc33699df1d25f3bcd (patch) | |
tree | 03eeb3787930d607d71dcb66ea1b61d0f9d8d3ad | |
parent | a81b5dbfc988e83649c06e1a1877174833386051 (diff) | |
download | strace-32a1bd280a6e1f3144751dfc33699df1d25f3bcd.tar.gz |
xlat: add FAN_DIR_MODIFY to fan_event_flags
* xlat/fan_event_flags.in (FAN_DIR_MODIFY): New constant, introduced
by Linux commit v5.7-rc1~72^2~5.
* tests/fanotify_mark.c: Update expected output.
-rw-r--r-- | tests/fanotify_mark.c | 5 | ||||
-rw-r--r-- | xlat/fan_event_flags.in | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/fanotify_mark.c b/tests/fanotify_mark.c index 88ea1d4ea..f4bda84a9 100644 --- a/tests/fanotify_mark.c +++ b/tests/fanotify_mark.c @@ -145,15 +145,16 @@ main(void) "FAN_OPEN_PERM|" "FAN_ACCESS_PERM|" "FAN_OPEN_EXEC_PERM|" + "FAN_DIR_MODIFY|" "FAN_ONDIR|" "FAN_EVENT_ON_CHILD|" - "0xdeadfeedb7f8a000" + "0xdeadfeedb7f0a000" # endif # if XLAT_VERBOSE " */" # endif }, - { ARG_ULL_STR(0xffffffffb7f8a000) + { ARG_ULL_STR(0xffffffffb7f0a000) # if !XLAT_RAW " /* FAN_??? */" # endif diff --git a/xlat/fan_event_flags.in b/xlat/fan_event_flags.in index 53ecdb694..210e2b126 100644 --- a/xlat/fan_event_flags.in +++ b/xlat/fan_event_flags.in @@ -15,5 +15,6 @@ FAN_Q_OVERFLOW 0x00004000 FAN_OPEN_PERM 0x00010000 FAN_ACCESS_PERM 0x00020000 FAN_OPEN_EXEC_PERM 0x00040000 +FAN_DIR_MODIFY 0x00080000 FAN_ONDIR 0x40000000 FAN_EVENT_ON_CHILD 0x08000000 |