]> granicus.if.org Git - strace/commitdiff
xlat: update FAN_* constants
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 5 Jan 2019 21:14:42 +0000 (21:14 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 5 Jan 2019 21:14:42 +0000 (21:14 +0000)
* xlat/fan_event_flags.in (FAN_OPEN_EXEC, FAN_OPEN_EXEC_PERM): New
constants introduced by Linux kernel commits v5.0-rc1~124^2~5
and v5.0-rc1~124^2~3, respectively.
* NEWS: Mention this.
* tests/fanotify_mark.c (main): Update expected output.

NEWS
tests/fanotify_mark.c
xlat/fan_event_flags.in

diff --git a/NEWS b/NEWS
index 19c173d618fed7ee7ebbe351cf53183267dc2b96..43c8b49184957014caaba5d48fe9313a09d3d870 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,7 +2,7 @@ Noteworthy changes in release ?.?? (????-??-??)
 ===============================================
 
 * Improvements
-  * Updated lists of BPF_*, BTRFS_*, IFLA_*, KERN_*, KVM_CAP_*, NDA_*,
+  * Updated lists of BPF_*, BTRFS_*, FAN_*, IFLA_*, KERN_*, KVM_CAP_*, NDA_*,
     NETNSA_*, NT_*, PR_*, SECCOMP_*, SCTP_*, V4L2_*, and *_MAGIC constants.
 
 * Bug fixes
index e7ab7c3eec8a8f3dd0aee27a394794d7c8f686f5..b19bcff7b1b4998cac419dd986d06784b9b83f24 100644 (file)
@@ -133,14 +133,14 @@ main(void)
 # endif
 # if !XLAT_RAW
                        "FAN_ACCESS|FAN_MODIFY|FAN_CLOSE_WRITE|FAN_OPEN|"
-                       "FAN_ACCESS_PERM|FAN_ONDIR|FAN_EVENT_ON_CHILD|"
-                       "0xdeadfeedb2ccbec4"
+                       "FAN_OPEN_EXEC|FAN_ACCESS_PERM|FAN_OPEN_EXEC_PERM|"
+                       "FAN_ONDIR|FAN_EVENT_ON_CHILD|0xdeadfeedb2c8aec4"
 # endif
 # if XLAT_VERBOSE
                        " */"
 # endif
                        },
-               { ARG_ULL_STR(0xffffffffb7fcbfc4)
+               { ARG_ULL_STR(0xffffffffb7f8afc4)
 # if !XLAT_RAW
                        " /* FAN_??? */"
 # endif
index c8d4552b2b589d24c56a25a8a715914402a01c77..119063b756062756ed097ae91c83bde865ce6920 100644 (file)
@@ -3,8 +3,10 @@ FAN_MODIFY 0x00000002
 FAN_CLOSE_WRITE 0x00000008
 FAN_CLOSE_NOWRITE 0x00000010
 FAN_OPEN 0x00000020
+FAN_OPEN_EXEC 0x00001000
 FAN_Q_OVERFLOW 0x00004000
 FAN_OPEN_PERM 0x00010000
 FAN_ACCESS_PERM 0x00020000
+FAN_OPEN_EXEC_PERM 0x00040000
 FAN_ONDIR 0x40000000
 FAN_EVENT_ON_CHILD 0x08000000