[GIT PULL for v6.11] vfs mount api

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

 



Hey Linus,

/* Summary */
This contains work for the mount api:

- Add a generic helper to parse uid and gid mount options. Currently we
  open-code the same logic in various filesystems which is error prone.
  Especially since the verification of uid and gid mount options is a sensitive
  operation in the face of idmappings. Add a generic helper and convert all
  filesystems over to it. Make sure that filesystems that are mountable in
  unprivileged containers verify that the specified uid and gid can be
  represented in the owning namespace of the filesystem.

- Convert hostfs to the new mount api.

/* Testing */
clang: Debian clang version 16.0.6 (26)
gcc: (Debian 13.2.0-24)

All patches are based on v6.10-rc1 and have been sitting in linux-next.
No build failures or warnings were observed.

/* Conflicts */
No known conflicts.

The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0:

  Linux 6.10-rc1 (2024-05-26 15:20:12 -0700)

are available in the Git repository at:

  git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.11.mount.api

for you to fetch changes up to eea6a8322efd3982e59c41a5b61948a0b043ca58:

  fuse: Convert to new uid/gid option parsing helpers (2024-07-03 16:55:11 +0200)

Please consider pulling these changes from the signed vfs-6.11.mount.api tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.11.mount.api

----------------------------------------------------------------
Eric Sandeen (18):
      fs_parse: add uid & gid option option parsing helpers
      autofs: Convert to new uid/gid option parsing helpers
      debugfs: Convert to new uid/gid option parsing helpers
      efivarfs: Convert to new uid/gid option parsing helpers
      exfat: Convert to new uid/gid option parsing helpers
      ext4: Convert to new uid/gid option parsing helpers
      hugetlbfs: Convert to new uid/gid option parsing helpers
      isofs: Convert to new uid/gid option parsing helpers
      ntfs3: Convert to new uid/gid option parsing helpers
      tmpfs: Convert to new uid/gid option parsing helpers
      smb: client: Convert to new uid/gid option parsing helpers
      tracefs: Convert to new uid/gid option parsing helpers
      vboxsf: Convert to new uid/gid option parsing helpers
      fat: move debug into fat_mount_options
      fat: Convert to new mount api
      fat: Convert to new uid/gid option parsing helpers
      fuse: verify {g,u}id mount options correctly
      fuse: Convert to new uid/gid option parsing helpers

Hongbo Li (1):
      hostfs: convert hostfs to use the new mount API

Nathan Chancellor (1):
      hostfs: Add const qualifier to host_root in hostfs_fill_super()

 Documentation/filesystems/mount_api.rst |   9 +-
 fs/autofs/inode.c                       |  16 +-
 fs/debugfs/inode.c                      |  16 +-
 fs/efivarfs/super.c                     |  12 +-
 fs/exfat/super.c                        |   8 +-
 fs/ext4/super.c                         |  22 +-
 fs/fat/fat.h                            |  18 +-
 fs/fat/inode.c                          | 674 ++++++++++++++++----------------
 fs/fat/namei_msdos.c                    |  38 +-
 fs/fat/namei_vfat.c                     |  38 +-
 fs/fs_parser.c                          |  34 ++
 fs/fuse/inode.c                         |  24 +-
 fs/hostfs/hostfs_kern.c                 |  83 +++-
 fs/hugetlbfs/inode.c                    |  12 +-
 fs/isofs/inode.c                        |  16 +-
 fs/ntfs3/super.c                        |  12 +-
 fs/smb/client/fs_context.c              |  39 +-
 fs/tracefs/inode.c                      |  16 +-
 fs/vboxsf/super.c                       |  16 +-
 include/linux/fs_parser.h               |   6 +-
 mm/shmem.c                              |  12 +-
 21 files changed, 594 insertions(+), 527 deletions(-)




[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