xlat: add FAN_ENABLE_AUDIT to fan_init_flags xlat

* xlat/fan_init_flags.in (FAN_ENABLE_AUDIT): New constant, introduced by
Linux commit v4.15-rc1~130^2^2~11.
* tests/fanotify_init.c: Update expected output.
This commit is contained in:
Eugene Syromyatnikov 2018-09-11 01:45:30 +02:00
parent 4544b3f554
commit b7d8794dbf
2 changed files with 3 additions and 1 deletions

View File

@ -68,7 +68,8 @@ main(void)
"FAN_CLASS_CONTENT|0xefaced00 /* FAN_??? */" },
{ (kernel_ulong_t) 0xffffffffffffffffULL,
"0xc /* FAN_CLASS_??? */|FAN_CLOEXEC|FAN_NONBLOCK|"
"FAN_UNLIMITED_QUEUE|FAN_UNLIMITED_MARKS|0xffffffc0" },
"FAN_UNLIMITED_QUEUE|FAN_UNLIMITED_MARKS|"
"FAN_ENABLE_AUDIT|0xffffff80" },
};
static const struct strval event_f_flags[] = {
{ F8ILL_KULONG_MASK, "O_RDONLY" },

View File

@ -2,3 +2,4 @@ FAN_CLOEXEC 0x00000001
FAN_NONBLOCK 0x00000002
FAN_UNLIMITED_QUEUE 0x00000010
FAN_UNLIMITED_MARKS 0x00000020
FAN_ENABLE_AUDIT 0x00000040