[PATCH 0/2] fanotify: support restartable permission events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These patches are in order to add support for restarting permission
events which is useful for HSM use cases which are backed by a daemon
to respond reliably [1].

In terms of testing, there is an additional LTP test attached which
exercises releasing queue via the new api [2]

[1] https://lore.kernel.org/linux-fsdevel/6za2mngeqslmqjg3icoubz37hbbxi6bi44canfsg2aajgkialt@c3ujlrjzkppr/
[2] https://github.com/ibrahim-jirdeh/ltp/commit/ec38a798b823954f5c5f801b006257ff278f523b

Ibrahim Jirdeh (2):
  fanotify: create helper for clearing pending events
  fanotify: introduce restartable permission events

 fs/notify/fanotify/fanotify.c       |   4 +-
 fs/notify/fanotify/fanotify.h       |  10 ++
 fs/notify/fanotify/fanotify_user.c  | 168 +++++++++++++++++++++++++---
 fs/notify/group.c                   |   2 +
 include/linux/fanotify.h            |   1 +
 include/linux/fsnotify_backend.h    |   2 +
 include/uapi/linux/fanotify.h       |   6 +
 tools/include/uapi/linux/fanotify.h |   6 +
 8 files changed, 180 insertions(+), 19 deletions(-)

--
2.47.3





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux