Skip to contentSkip to conversation

mount fixes

GIT PULL Merged Al Viro 2 participants 2 messages Jun 8, 2025 VFS

lore
Share & tools
lore

Al Viro

author maintainer
#0 lore raw

The following changes since commit a82ba839915926f8713183fd023c6d9357bae26c:

Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (2025-05-30 15:04:11 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-fixes

for you to fetch changes up to 12f147ddd6de7382dad54812e65f3f08d05809fc:

do_change_type(): refuse to operate on unmounted/not ours mounts (2025-06-07 01:37:56 -0400)

----------------------------------------------------------------
mount-related bugfixes

this cycle regression (well, bugfix for this cycle bugfix for v6.15-rc1 regression)
do_move_mount(): split the checks in subtree-of-our-ns and entire-anon cases selftests/mount_setattr: adapt detached mount propagation test
v6.15 fs: allow clone_private_mount() for a path on real rootfs
v6.11 fs/fhandle.c: fix a race in call of has_locked_children()
v5.15 fix propagation graph breakage by MOVE_MOUNT_SET_GROUP move_mount(2)
v5.15 clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns
v5.7 path_overmount(): avoid false negatives
v3.12 finish_automount(): don't leak MNT_LOCKED from parent to child
v2.6.15 do_change_type(): refuse to operate on unmounted/not ours mounts

----------------------------------------------------------------
Al Viro (7):
fs/fhandle.c: fix a race in call of has_locked_children() path_overmount(): avoid false negatives
finish_automount(): don't leak MNT_LOCKED from parent to child
fix propagation graph breakage by MOVE_MOUNT_SET_GROUP move_mount(2) do_move_mount(): split the checks in subtree-of-our-ns and entire-anon cases clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns do_change_type(): refuse to operate on unmounted/not ours mounts

Christian Brauner (1):
selftests/mount_setattr: adapt detached mount propagation test

KONDO KAZUMA(近藤 和真) (1):
fs: allow clone_private_mount() for a path on real rootfs

 fs/namespace.c                                     | 113 +++++++++++++--------
 include/linux/mount.h                              |   3 +-
 .../selftests/mount_setattr/mount_setattr_test.c   |  17 +---
 3 files changed, 74 insertions(+), 59 deletions(-)