Linux filesystem development
 help / color / mirror / Atom feed
From: Christian Brauner <brauner@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Christian Brauner <brauner@kernel.org>,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL for v6.11] vfs mount api
Date: Fri, 12 Jul 2024 15:55:41 +0200	[thread overview]
Message-ID: <20240712-vfs-mount-42ac86732006@brauner> (raw)

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@gitolite.kernel.org: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(-)

             reply	other threads:[~2024-07-12 13:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-12 13:55 Christian Brauner [this message]
2024-07-15 20:34 ` [GIT PULL for v6.11] vfs mount api pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240712-vfs-mount-42ac86732006@brauner \
    --to=brauner@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox