• E
    fsnotify: intoduce a notification merge argument · 6e5f77b3
    Eric Paris 提交于
    Each group can define their own notification (and secondary_q) merge
    function.  Inotify does tail drop, fanotify does matching and drop which
    can actually allocate a completely new event.  But for fanotify to properly
    deal with permissions events it needs to know the new event which was
    ultimately added to the notification queue.  This patch just implements a
    void ** argument which is passed to the merge function.  fanotify can use
    this field to pass the new event back to higher layers.
    Signed-off-by: NEric Paris <eparis@redhat.com>
    for fanotify to properly deal with permissions events
    6e5f77b3
fsnotify_backend.h 17.6 KB