History

Merge tag 'fsnotify_for_v6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs

Pull fsnotify updates from Jan Kara: "A couple of smaller random fsnotify fixes" * tag 'fsnotify_for_v6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: fsnotify: Fix ordering of iput() and watched_objects decrement fsnotify: fix sending inotify event with unexpected filename fanotify: allow reporting errors on failure to open fd fsnotify, lsm: Decouple fsnotify from lsm

Linus Torvalds committed 1 year ago

Commit 2dde2632 parents c01f664 21d1b618 files · +77 −59Browse files

Showing the changes to include/uapi (1 of 8 files). Show all

Unified · Split

include/uapi/linux/fanotify.h+1−0
@@ -60,6 +60,7 @@ · 59 unmodified lines
6060 #define FAN_REPORT_DIR_FID 0x00000400 /* Report unique directory id */
6161 #define FAN_REPORT_NAME 0x00000800 /* Report events with name */
6262 #define FAN_REPORT_TARGET_FID 0x00001000 /* Report dirent target id */
63+#define FAN_REPORT_FD_ERROR 0x00002000 /* event->fd can report error */
6364
6465 /* Convenience macro - FAN_REPORT_NAME requires FAN_REPORT_DIR_FID */
6566 #define FAN_REPORT_DFID_NAME (FAN_REPORT_DIR_FID | FAN_REPORT_NAME)