[Devel] [PATCH RH7 00/14] port move_mount_set_group and mount_setattr

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Thu Apr 13 13:47:10 MSK 2023


We need this as in Virtuozzo criu after rebase to mainstream criu in u20
we will switch to this new API for sharing group setting accross mounts.

https://jira.sw.ru/browse/PSBM-144416
Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>

Aleksa Sarai (1):
  lib: introduce copy_struct_from_user() helper

Christian Brauner (6):
  namespace: take lock_mount_hash() directly when changing flags
  mount: make {lock,unlock}_mount_hash() static
  namespace: only take read lock in do_reconfigure_mnt()
  fs: split out functions to hold writers
  fs: add mount_setattr()
  fs: drop peer group ids under namespace lock

David Howells (3):
  VFS: Differentiate mount flags (MS_*) from internal superblock flags
  vfs: Undo an overly zealous MS_RDONLY -> SB_RDONLY conversion
  vfs: Separate changing mount flags full remount

Markus Trippelsdorf (1):
  VFS: Handle lazytime in do_mount()

Mimi Zohar (1):
  vfs: fix mounting a filesystem with i_version

Pavel Tikhomirov (2):
  mount: rename do_set_group to do_set_group_old
  move_mount: allow to add a mount into an existing group

 Documentation/filesystems/porting |   2 +-
 arch/x86/syscalls/syscall_32.tbl  |   1 +
 arch/x86/syscalls/syscall_64.tbl  |   1 +
 fs/mount.h                        |  10 -
 fs/namespace.c                    | 646 +++++++++++++++++++++++++-----
 fs/super.c                        |  68 ++--
 include/linux/fs.h                |  45 ++-
 include/linux/mount.h             |   2 +-
 include/linux/uaccess.h           |  70 ++++
 include/linux/vz_bitops.h         |  11 +
 include/uapi/linux/fs.h           |   3 +-
 init/do_mounts.c                  |   2 +-
 lib/strnlen_user.c                |   8 +-
 lib/usercopy.c                    |  76 ++++
 14 files changed, 780 insertions(+), 165 deletions(-)
 create mode 100644 include/linux/vz_bitops.h

-- 
2.39.2



More information about the Devel mailing list