xlat: update FAN_* constants

* 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.
This commit is contained in:
Дмитрий Левин 2019-01-05 21:14:42 +00:00
parent 9c529cda68
commit 88d842435e
3 changed files with 6 additions and 4 deletions

2
NEWS
View File

@ -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

View 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

View 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