• Linus Torvalds's avatar
    Merge tag 'vfs-6.11.mount.api' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs · b8fc1bd7
    Linus Torvalds authored
    Pull vfs mount API updates from Christian Brauner:
    
     - 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.
    
    * tag 'vfs-6.11.mount.api' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
      fuse: Convert to new uid/gid option parsing helpers
      fuse: verify {g,u}id mount options correctly
      fat: Convert to new uid/gid option parsing helpers
      fat: Convert to new mount api
      fat: move debug into fat_mount_options
      vboxsf: Convert to new uid/gid option parsing helpers
      tracefs: Convert to new uid/gid option parsing helpers
      smb: client: Convert to new uid/gid option parsing helpers
      tmpfs: Convert to new uid/gid option parsing helpers
      ntfs3: Convert to new uid/gid option parsing helpers
      isofs: Convert to new uid/gid option parsing helpers
      hugetlbfs: Convert to new uid/gid option parsing helpers
      ext4: Convert to new uid/gid option parsing helpers
      exfat: Convert to new uid/gid option parsing helpers
      efivarfs: Convert to new uid/gid option parsing helpers
      debugfs: Convert to new uid/gid option parsing helpers
      autofs: Convert to new uid/gid option parsing helpers
      fs_parse: add uid & gid option option parsing helpers
      hostfs: Add const qualifier to host_root in hostfs_fill_super()
      hostfs: convert hostfs to use the new mount API
    b8fc1bd7
inode.c 28 KB