From 19a66be0daf85dbdc311d74cfcba4b0502c1a3be Mon Sep 17 00:00:00 2001 From: Wojciech Slenska Date: Wed, 16 Apr 2025 10:39:32 +0200 Subject: fuse-overlayfs: update to v1.14 * fuse-overlayfs-1.14 - isolate security xattrs for STAT_OVERRIDE_CONTAINERS. Prefix all security xattrs with XATTR_CONTAINERS_OVERRIDE_PREFIX. - prefer user.containers.override_stat over user.fuseoverlayfs. - do not force -1 for owner overriding extended attributes. Otherwise the value is written to the override extended attribute. - fix file owner retrieval for chmod. - honor umask with xattr_permissions. - honor mode for devices with xattr_permissions. - propagate extended attributes permissions with copyup. * fuse-overlayfs-1.13 - fix a performance issue when dealing with big directories. * fuse-overlayfs-1.12 - change license to GPL-2.0-or-later. * fuse-overlayfs-1.11 - main: if a lower layer doesn't support ACLs do not enable them. * fuse-overlayfs-1.10 - main: use /proc/self/fd to read xattrs. - main: inherit ACLs for new files/dirs. - main: fix passing noatime. - main: add checks for valid /proc mount. - main: fix copy_file_range for deleted files. - main: fix creating links of just deleted files. Signed-off-by: Wojciech Slenska Signed-off-by: Bruce Ashfield --- ...001-utils-Add-missing-include-on-limits.h.patch | 36 ---------------------- .../fuse-overlayfs/fuse-overlayfs_1.14.bb | 15 +++++++++ .../fuse-overlayfs/fuse-overlayfs_1.9.bb | 18 ----------- 3 files changed, 15 insertions(+), 54 deletions(-) delete mode 100644 recipes-extended/fuse-overlayfs/fuse-overlayfs/0001-utils-Add-missing-include-on-limits.h.patch create mode 100644 recipes-extended/fuse-overlayfs/fuse-overlayfs_1.14.bb delete mode 100644 recipes-extended/fuse-overlayfs/fuse-overlayfs_1.9.bb diff --git a/recipes-extended/fuse-overlayfs/fuse-overlayfs/0001-utils-Add-missing-include-on-limits.h.patch b/recipes-extended/fuse-overlayfs/fuse-overlayfs/0001-utils-Add-missing-include-on-limits.h.patch deleted file mode 100644 index cd504ce5..00000000 --- a/recipes-extended/fuse-overlayfs/fuse-overlayfs/0001-utils-Add-missing-include-on-limits.h.patch +++ /dev/null @@ -1,36 +0,0 @@ -From b48e958aaecfdfc3bb48db082a548a09d6487181 Mon Sep 17 00:00:00 2001 -From: Andrei Gherzan -Date: Wed, 13 Jul 2022 12:05:07 +0200 -Subject: [PATCH] utils: Add missing include on limits.h - -This happens to not be an issue with glibc because it gets indirectly -included via dirent.h: - -.. /usr/include/dirent.h -[...] -..... /usr/include/linux/limits.h - -When using the musl libc implementation, that is not the case anymore -and the build fails. - -Signed-off-by: Andrei Gherzan -Upstream-Status: Submitted [https://github.com/containers/fuse-overlayfs/pull/362] ---- - utils.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/utils.h b/utils.h -index 13a177e..6fbc328 100644 ---- a/utils.h -+++ b/utils.h -@@ -32,6 +32,7 @@ - # include - # include - # include "fuse-overlayfs.h" -+# include - - # define XATTR_OVERRIDE_STAT "user.fuseoverlayfs.override_stat" - # define XATTR_PRIVILEGED_OVERRIDE_STAT "security.fuseoverlayfs.override_stat" --- -2.25.1 - diff --git a/recipes-extended/fuse-overlayfs/fuse-overlayfs_1.14.bb b/recipes-extended/fuse-overlayfs/fuse-overlayfs_1.14.bb new file mode 100644 index 00000000..0f6d0fb6 --- /dev/null +++ b/recipes-extended/fuse-overlayfs/fuse-overlayfs_1.14.bb @@ -0,0 +1,15 @@ +SUMMARY = "FUSE implementation of overlayfs." +DESCRIPTION = "An implementation of overlay+shiftfs in FUSE for rootless \ +containers." + +LICENSE = "GPL-2.0-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRCREV = "33cb788edc05f5e3cbb8a7a241f5a04bee264730" +SRC_URI = "git://github.com/containers/fuse-overlayfs.git;nobranch=1;protocol=https" + +DEPENDS = "fuse3" + +S = "${WORKDIR}/git" + +inherit autotools pkgconfig diff --git a/recipes-extended/fuse-overlayfs/fuse-overlayfs_1.9.bb b/recipes-extended/fuse-overlayfs/fuse-overlayfs_1.9.bb deleted file mode 100644 index 31199928..00000000 --- a/recipes-extended/fuse-overlayfs/fuse-overlayfs_1.9.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "FUSE implementation of overlayfs." -DESCRIPTION = "An implementation of overlay+shiftfs in FUSE for rootless \ -containers." - -LICENSE = "GPL-3.0-or-later" -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" - -SRCREV = "51592ea406f48faeccab288f65dcba6c4a67cd90" -SRC_URI = " \ - git://github.com/containers/fuse-overlayfs.git;nobranch=1;protocol=https \ - file://0001-utils-Add-missing-include-on-limits.h.patch \ -" - -DEPENDS = "fuse3" - -S = "${WORKDIR}/git" - -inherit autotools pkgconfig -- cgit v1.2.3-54-g00ecf