Skip to content

ovl: metacopy/verity fixes and improvements

Miklos Szeredi linux-fsdevel linux-unionfs 3 versions – Applied

Status from this message: Pushed to overlayfs/vfs.git#overlayfs-next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 6 repliesApplied
  2. v25 patches 15 repliesSuperseded
  3. v15 patches 28 repliesSuperseded

Changes in v3 from the cover letter

- consistently refuse following redirect/metacopy for upper found through
index (dropped RVB's due to this change)
- move redirect/metacopy check into helper
- remove verity -> metacopy dependency (Amir)
- stable fixes moved to git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs.git#ovl-fixes

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3ovl: make redirect/metacopy rejection consistentfs/overlayfs/namei.c+57 -244 replies
2/3ovl: relax redirect/metacopy requirements for lower -> data redirectDocumentation/filesystems/overlayfs.rst fs/overlayfs/namei.c fs/overlayfs/params.c+15 -111 reply
3/3ovl: don't require "metacopy=on" for "verity"fs/overlayfs/params.c+2 -241 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchAmir Goldstein
1/3
2/3R-b
3/3R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/3] ovl: metacopy/verity fixes and improvements

The main purpose of this patchset is allowing metadata/data-only layers to be usable in user namespaces (without super user privs). The main use case is composefs in unprivileged containers.

Will post xfstests testcases shortly.

v3:
- consistently refuse following redirect/metacopy for upper found through
index (dropped RVB's due to this change)
- move redirect/metacopy check into helper
- remove verity -> metacopy dependency (Amir)
- stable fixes moved to git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs.git#ovl-fixes

v2:
- drop broken hunk in param.c (Amir)
- patch header improvements (Amir)

---
Miklos Szeredi (3):
ovl: make redirect/metacopy rejection consistent
ovl: relax redirect/metacopy requirements for lower -> data redirect
ovl: don't require "metacopy=on" for "verity"

 Documentation/filesystems/overlayfs.rst |  7 ++
 fs/overlayfs/namei.c                    | 89 +++++++++++++++++--------
 fs/overlayfs/params.c                   | 31 +--------
 3 files changed, 71 insertions(+), 56 deletions(-)
Signature · 1 line
2.49.0