Skip to content

fuse: fix up uid/gid mount option handling

Eric Sandeen linux-fsdevel llvm oe-kbuild-all 1 version Applied

Status from this message: Applied to the vfs.mount.api branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2fuse: verify {g,u}id mount options correctlyfs/fuse/inode.c+20 -40 replies
2/2fuse: Convert to new uid/gid option parsing helpersfs/fuse/inode.c+4 -80 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChristian BraunerJosef Bacik
SeriesR-b R-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] fuse: fix up uid/gid mount option handling

This short series fixes up fuse uid/gid mount option handling.

First, as was done for tmpfs in
0200679fc795 ("tmpfs: verify {g,u}id mount options correctly") it validates that the requested uid and/or gid is representable in the filesystem's idmapping. I've shamelessly copied commit description and code from that commit.

Second, it is switched to use the uid/gid mount helpers proposed at
https://lore.kernel.org/linux-fsdevel/[email protected]/T/#t

Both of these are compile-tested only.

Thanks,
-Eric