• Eric Paris's avatar
    fanotify: allow users to set an ignored_mask · b9e4e3bd
    Eric Paris authored
    Change the sys_fanotify_mark() system call so users can set ignored_masks
    on inodes.  Remember, if a user new sets a real mask, and only sets ignored
    masks, the ignore will never be pinned in memory.  Thus ignored_masks can
    be lost under memory pressure and the user may again get events they
    previously thought were ignored.
    Signed-off-by: default avatarEric Paris <eparis@redhat.com>
fanotify_user.c 14.3 KB