• Linus Torvalds's avatar
    Merge tag 'fsnotify_for_v5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · b6ff1070
    Linus Torvalds authored
    Pull fsnotify updates from Jan Kara:
     "This implements the fanotify FAN_DIR_MODIFY event.
    
      This event reports the name in a directory under which a change
      happened and together with the directory filehandle and fstatat()
      allows reliable and efficient implementation of directory
      synchronization"
    
    * tag 'fsnotify_for_v5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
      fanotify: Fix the checks in fanotify_fsid_equal
      fanotify: report name info for FAN_DIR_MODIFY event
      fanotify: record name info for FAN_DIR_MODIFY event
      fanotify: Drop fanotify_event_has_fid()
      fanotify: prepare to report both parent and child fid's
      fanotify: send FAN_DIR_MODIFY event flavor with dir inode and name
      fanotify: divorce fanotify_path_event and fanotify_fid_event
      fanotify: Store fanotify handles differently
      fanotify: Simplify create_fd()
      fanotify: fix merging marks masks with FAN_ONDIR
      fanotify: merge duplicate events on parent and child
      fsnotify: replace inode pointer with an object id
      fsnotify: simplify arguments passing to fsnotify_parent()
      fsnotify: use helpers to access data by data_type
      fsnotify: funnel all dirent events through fsnotify_name()
      fsnotify: factor helpers fsnotify_dentry() and fsnotify_file()
      fsnotify: tidy up FS_ and FAN_ constants
    b6ff1070
audit_watch.c 13.8 KB