diff options
author | Dmitry V. Levin <ldv@strace.io> | 2022-01-08 08:02:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2022-01-08 08:02:00 +0000 |
commit | b8e4b2f91a1ef0fd4081e4aa06d41f8cc601d746 (patch) | |
tree | 36a630eeee311e3c1e39e10d66941503d84743cc | |
parent | 4513fdb9477f9bbd4bc67b412aef54b1f4a11bbf (diff) | |
download | strace-b8e4b2f91a1ef0fd4081e4aa06d41f8cc601d746.tar.gz |
xlat: update FAN_* constants
* src/xlat/fan_event_flags.in (FAN_FS_ERROR): New constant introduced
by Linux kernel commit v5.16-rc1~101^2~16.
* tests/fanotify_mark.c (main): Update expected output.
* NEWS: Mention this change.
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/xlat/fan_event_flags.in | 1 | ||||
-rw-r--r-- | tests/fanotify_mark.c | 5 |
3 files changed, 5 insertions, 3 deletions
@@ -9,7 +9,7 @@ Noteworthy changes in release ?.?? (????-??-??) * Enhanced decoding of BPF_MAP_CREATE, BPF_PROG_TEST_RUN, and BPF_PROG_LOAD bpf syscall commands. * Enhanced decoding of BTRFS_IOC_FS_INFO ioctl command. - * Updated lists of AUDIT_*, BPF_*, BTRFS_*, and SO_* constants. + * Updated lists of AUDIT_*, BPF_*, BTRFS_*, FAN_*, and SO_* constants. * Updated lists of ioctl commands from Linux 5.16. * Bug fixes diff --git a/src/xlat/fan_event_flags.in b/src/xlat/fan_event_flags.in index 210e2b126..22a83e52d 100644 --- a/src/xlat/fan_event_flags.in +++ b/src/xlat/fan_event_flags.in @@ -12,6 +12,7 @@ FAN_DELETE_SELF 0x00000400 FAN_MOVE_SELF 0x00000800 FAN_OPEN_EXEC 0x00001000 FAN_Q_OVERFLOW 0x00004000 +FAN_FS_ERROR 0x00008000 FAN_OPEN_PERM 0x00010000 FAN_ACCESS_PERM 0x00020000 FAN_OPEN_EXEC_PERM 0x00040000 diff --git a/tests/fanotify_mark.c b/tests/fanotify_mark.c index 3cdcac521..c589fe60a 100644 --- a/tests/fanotify_mark.c +++ b/tests/fanotify_mark.c @@ -145,19 +145,20 @@ main(void) "FAN_MOVE_SELF|" "FAN_OPEN_EXEC|" "FAN_Q_OVERFLOW|" + "FAN_FS_ERROR|" "FAN_OPEN_PERM|" "FAN_ACCESS_PERM|" "FAN_OPEN_EXEC_PERM|" "FAN_DIR_MODIFY|" "FAN_ONDIR|" "FAN_EVENT_ON_CHILD|" - "0xdeadfeedb7f0a000" + "0xdeadfeedb7f02000" # endif # if XLAT_VERBOSE " */" # endif }, - { ARG_ULL_STR(0xffffffffb7f0a000) + { ARG_ULL_STR(0xffffffffb7f02000) # if !XLAT_RAW " /* FAN_??? */" # endif |