Skip to contentSkip to conversation

fsnotify changes for 5.13-rc1

GIT PULL Merged Jan Kara 2 participants 2 messages Apr 28, 2021 – Apr 29, 2021 VFS

lore
Share & tools
lore

Jan Kara

author reviewer
#0 lore raw

Hello Linus,

could you please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git fsnotify_for_v5.13-rc1

to get support for limited fanotify functionality for unpriviledged users, faster merging of fanotify events, and a few smaller fsnotify improvements.

Top of the tree is 59cda49ecf6c. The full shortlog is:

Amir Goldstein (9):
fsnotify: allow fsnotify_{peek,remove}_first_event with empty queue
fanotify: reduce event objectid to 29-bit hash
fanotify: mix event info and pid into merge key hash
fsnotify: use hash table for faster events merge
fanotify: limit number of event merge attempts
fanotify: configurable limits via sysfs
fanotify: support limited functionality for unprivileged users
fs: introduce a wrapper uuid_to_fsid()
shmem: allow reporting fanotify events with file handles on tmpfs

Christian Brauner (1):
fanotify_user: use upper_32_bits() to verify mask

The diffstat is

 fs/ext2/super.c                      |   5 +-
 fs/ext4/super.c                      |   5 +-
 fs/notify/fanotify/fanotify.c        | 166 ++++++++++++++++++--------
 fs/notify/fanotify/fanotify.h        |  46 +++++++-
 fs/notify/fanotify/fanotify_user.c   | 219 +++++++++++++++++++++++++++++------
 fs/notify/fdinfo.c                   |   3 +-
 fs/notify/group.c                    |   1 -
 fs/notify/inotify/inotify_fsnotify.c |   9 +-
 fs/notify/inotify/inotify_user.c     |   7 +-
 fs/notify/mark.c                     |   4 -
 fs/notify/notification.c             |  64 +++++-----
 fs/zonefs/super.c                    |   5 +-
 include/linux/fanotify.h             |  36 +++++-
 include/linux/fsnotify_backend.h     |  29 ++---
 include/linux/sched/user.h           |   3 -
 include/linux/statfs.h               |   8 ++
 include/linux/user_namespace.h       |   4 +
 kernel/sysctl.c                      |  12 +-
 kernel/ucount.c                      |   4 +
 mm/shmem.c                           |   3 +
 20 files changed, 472 insertions(+), 161 deletions(-)

Thanks
Honza

Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR
merge bot Merged
#1 lore raw
The pull request you sent on Wed, 28 Apr 2021 14:19:56 +0200:

The pull request you sent on Wed, 28 Apr 2021 14:19:56 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git fsnotify_for_v5.13-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3644286f6cbcea86f6fa4d308e7ac06bf2a3715a

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html