FAN_FS_ERROR allows reporting of event type FS_ERROR to userspace, which is a mechanism to report file system wide problems via fanotify. This commit preallocate userspace visible bits to match the FS_ERROR event.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -20,6 +20,7 @@ · 19 unmodified lines | |||
| 20 | #define FAN_OPEN_EXEC 0x00001000 /* File was opened for exec */ | 20 | #define FAN_OPEN_EXEC 0x00001000 /* File was opened for exec */ |
| 21 | 21 | ||
| 22 | #define FAN_Q_OVERFLOW 0x00004000 /* Event queued overflowed */ | 22 | #define FAN_Q_OVERFLOW 0x00004000 /* Event queued overflowed */ |
| 23 | #define FAN_FS_ERROR 0x00008000 /* Filesystem error */ | ||
| 23 | 24 | ||
| 24 | #define FAN_OPEN_PERM 0x00010000 /* File open in perm check */ | 25 | #define FAN_OPEN_PERM 0x00010000 /* File open in perm check */ |
| 25 | #define FAN_ACCESS_PERM 0x00020000 /* File accessed in perm check */ | 26 | #define FAN_ACCESS_PERM 0x00020000 /* File accessed in perm check */ |