* [meta-virtualization][PATCH] fuse-overlayfs: update to v1.14
@ 2025-04-16 8:39 Wojciech Slenska
2025-05-20 2:47 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Wojciech Slenska @ 2025-04-16 8:39 UTC (permalink / raw)
To: meta-virtualization; +Cc: Wojciech Slenska
* 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 <wojciech.slenska@gmail.com>
---
...tils-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 <andrei.gherzan@huawei.com>
-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 <andrei.gherzan@huawei.com>
-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 <sys/types.h>
- # include <fcntl.h>
- # include "fuse-overlayfs.h"
-+# include <limits.h>
-
- # 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
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [meta-virtualization][PATCH] fuse-overlayfs: update to v1.14
2025-04-16 8:39 [meta-virtualization][PATCH] fuse-overlayfs: update to v1.14 Wojciech Slenska
@ 2025-05-20 2:47 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2025-05-20 2:47 UTC (permalink / raw)
To: wojciech.slenska; +Cc: meta-virtualization
I somehow managed to miss this patch.
I'm just starting an upgrade cycle on the packages of m-virt, but
I don't always do fuse-overlayfs .. so I've grabbed the patch and
pushed it to master.
Bruce
In message: [meta-virtualization][PATCH] fuse-overlayfs: update to v1.14
on 16/04/2025 Wojciech Slenska via lists.yoctoproject.org wrote:
> * 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 <wojciech.slenska@gmail.com>
> ---
> ...tils-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 <andrei.gherzan@huawei.com>
> -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 <andrei.gherzan@huawei.com>
> -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 <sys/types.h>
> - # include <fcntl.h>
> - # include "fuse-overlayfs.h"
> -+# include <limits.h>
> -
> - # 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
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#9228): https://lists.yoctoproject.org/g/meta-virtualization/message/9228
> Mute This Topic: https://lists.yoctoproject.org/mt/112291695/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-20 2:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-16 8:39 [meta-virtualization][PATCH] fuse-overlayfs: update to v1.14 Wojciech Slenska
2025-05-20 2:47 ` Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.