package/xen: bump to 4.21.0
PATCH 1/1 package/xen: bump to 4.21.0
Resolved in version bump
- 0001-9pfs-include-linux-limits.h-for-XATTR_SIZE_MAX.patch
- 0002-Fix-build-with-64-bits-time_t.patch
- 0003-libs-light-fix-tv_sec-printf-format.patch
- 0004-libs-light-fix-tv_sec-fprintf-format.patch
- 0005-tools-drop-bogus-and-obsolete-ptyfuncs.m4.patch
- 0006-Arm64-adjust-__irq_to_desc-to-fix-build-with-gcc14.patch
- 0007-xen-arm32-avoid-.rodata-to-be-marked-as-executable.patc
- 0008-arm-Avoid-using-solaris-syntax-for-.section-directiv.patch
Tested on a ARM64 host machine with
utils/docker-run support/testing/run-tests \
-d dl -o output_folder -s \
tests.package.test_xen--- ...de-linux-limits.h-for-XATTR_SIZE_MAX.patch | 43 --- .../0002-Fix-build-with-64-bits-time_t.patch | 95 ------- ...-libs-light-fix-tv_sec-printf-format.patch | 63 ----- ...libs-light-fix-tv_sec-fprintf-format.patch | 30 --- ...-drop-bogus-and-obsolete-ptyfuncs.m4.patch | 253 ------------------ ..._irq_to_desc-to-fix-build-with-gcc14.patch | 62 ----- ...d-.rodata-to-be-marked-as-executable.patch | 58 ---- ...solaris-syntax-for-.section-directiv.patch | 73 ----- package/xen/xen.hash | 2 +- package/xen/xen.mk | 2 +- 10 files changed, 2 insertions(+), 679 deletions(-) delete mode 100644 package/xen/0001-9pfs-include-linux-limits.h-for-XATTR_SIZE_MAX.patch delete mode 100644 package/xen/0002-Fix-build-with-64-bits-time_t.patch delete mode 100644 package/xen/0003-libs-light-fix-tv_sec-printf-format.patch delete mode 100644 package/xen/0004-libs-light-fix-tv_sec-fprintf-format.patch delete mode 100644 package/xen/0005-tools-drop-bogus-and-obsolete-ptyfuncs.m4.patch delete mode 100644 package/xen/0006-Arm64-adjust-__irq_to_desc-to-fix-build-with-gcc14.patch delete mode 100644 package/xen/0007-xen-arm32-avoid-.rodata-to-be-marked-as-executable.patch delete mode 100644 package/xen/0008-arm-Avoid-using-solaris-syntax-for-.section-directiv.patch
package/xen/0001-9pfs-include-linux-limits.h-for-XATTR_SIZE_MAX.patch deleted +0 -43
@@ -1,43 +0,0 @@ -Message-Id: <07010a2ad79559c412949f0005dbe3cb03d8416e.1498504812.git.ps@pks.im> -From: Patrick Steinhardt <[email protected]> -Date: Mon, 26 Jun 2017 21:20:45 +0200 -Subject: [PATCH] 9pfs: include <linux/limits.h> for XATTR_SIZE_MAX - -The function `v9fs_xattrcreate` makes use of the define `XATTR_SIZE_MAX` -to reject attempts of creating xattrs with an invalid size, which is -defined in <linux/limits.h>. On glibc-based systems, this header is -indirectly included via <limits.h>, <bits/posix1_lim.h>, -<bitts/local_lim.h>, but on other platforms this is not guaranteed due -to not being part of the POSIX standard. One examples are systems based -on musl libc, which do not include the <linux/limits.h> indirectly, -which leads to `XATTR_SIZE_MAX` being undefined. - -Fix this error by directly include <linux/limits.h>. As the 9P fs code -is being Linux-based either way, we can simply do so without breaking -other platforms. This enables building 9pfs on musl-based systems. - -Signed-off-by: Patrick Steinhardt <[email protected]> -[ Changes by AF - - Apply to the QEMU tree inside of Xen -] -Signed-off-by: Alistair Francis <[email protected]> ---- -Upstream Status: Pending review and acceptance - - tools/qemu-xen/hw/9pfs/9p.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/tools/qemu-xen/hw/9pfs/9p.c b/tools/qemu-xen/hw/9pfs/9p.c -index 96d2683348..48cd558e96 100644 ---- a/tools/qemu-xen/hw/9pfs/9p.c -+++ b/tools/qemu-xen/hw/9pfs/9p.c -@@ -13,6 +13,7 @@ - - #include "qemu/osdep.h" - #include <glib/gprintf.h> -+#include <linux/limits.h> - #include "hw/virtio/virtio.h" - #include "qapi/error.h" - #include "qemu/error-report.h" --- -2.13.2
package/xen/0002-Fix-build-with-64-bits-time_t.patch deleted +0 -95
95 lines not on this page · raw message
package/xen/0003-libs-light-fix-tv_sec-printf-format.patch deleted +0 -63
63 lines not on this page · raw message
package/xen/0004-libs-light-fix-tv_sec-fprintf-format.patch deleted +0 -30
@@ -1,30 +0,0 @@ -From 4881285bcfd8f2e2c913c6e9f011b1e90652f414 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine <[email protected]> -Date: Sat, 28 Aug 2021 11:00:07 +0200 -Subject: [PATCH] libs/light: fix tv_sec fprintf format - -Don't assume tv_sec is a unsigned long, it is 64 bits on NetBSD 32 bits. -Use %jd and cast to (intmax_t) instead - -Signed-off-by: Fabrice Fontaine <[email protected]> -[Upstream status: sent to [email protected]] ---- - tools/libs/light/libxl_domain.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tools/libxl/libxl_domain.c b/tools/libxl/libxl_domain.c -index c00c36c928..51a6127552 100644 ---- a/tools/libxl/libxl_domain.c -+++ b/tools/libxl/libxl_domain.c -@@ -1444,7 +1444,7 @@ static int libxl__mark_domid_recent(libxl__gc *gc, uint32_t domid) - } - } - -- r = fprintf(nf, "%lu %u\n", ctxt.ts.tv_sec, domid); -+ r = fprintf(nf, "%jd %u\n", (intmax_t)ctxt.ts.tv_sec, domid); - if (r < 0) { - LOGED(ERROR, domid, "failed to write to '%s'", new); - goto out; --- -2.32.0 -
package/xen/0005-tools-drop-bogus-and-obsolete-ptyfuncs.m4.patch deleted +0 -253
253 lines not on this page · raw message
package/xen/0006-Arm64-adjust-__irq_to_desc-to-fix-build-with-gcc14.patch deleted +0 -62
62 lines not on this page · raw message
package/xen/0007-xen-arm32-avoid-.rodata-to-be-marked-as-executable.patch deleted +0 -58
58 lines not on this page · raw message
package/xen/0008-arm-Avoid-using-solaris-syntax-for-.section-directiv.patch deleted +0 -73
73 lines not on this page · raw message
package/xen/xen.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 7917681bc6e744789815131fcf7799e6b83a0d45b5801ac654322b037ce472f8 xen-4.14.6.tar.gz +sha256 6b92967972576c87e210e4a3b9d6f3cf0080739971efcf3c114fe07a2681fe92 xen-4.21.0.tar.gz sha256 ecca9538e9d3f7e3c2bff827502f4495e2ef9e22c451298696ea08886b176c2c COPYING
package/xen/xen.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -XEN_VERSION = 4.14.6 +XEN_VERSION = 4.21.0 XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION) XEN_SELINUX_MODULES = systemd udev xen XEN_LICENSE = GPL-2.0
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
All,
Quoted 11 lines · Matthew Weber
Resolved in version bump
- 0001-9pfs-include-linux-limits.h-for-XATTR_SIZE_MAX.patch
- 0002-Fix-build-with-64-bits-time_t.patch
- 0003-libs-light-fix-tv_sec-printf-format.patch
- 0004-libs-light-fix-tv_sec-fprintf-format.patch
- 0005-tools-drop-bogus-and-obsolete-ptyfuncs.m4.patch
- 0006-Arm64-adjust-__irq_to_desc-to-fix-build-with-gcc14.patch
- 0007-xen-arm32-avoid-.rodata-to-be-marked-as-executable.patc
- 0008-arm-Avoid-using-solaris-syntax-for-.section-directiv.patch
Quoted 5 lines
Tested on a ARM64 host machine with
utils/docker-run support/testing/run-tests \ -d dl -o output_folder -s \ tests.package.test_xen
Found an issue, I'll keep testing. (I marked this as non-applicable in patchwork.)
Matt
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Matthew,
Quoted 15 lines · Matthew Weber
All,
Quoted 11 lines · Matthew Weber
Resolved in version bump
- 0001-9pfs-include-linux-limits.h-for-XATTR_SIZE_MAX.patch
- 0002-Fix-build-with-64-bits-time_t.patch
- 0003-libs-light-fix-tv_sec-printf-format.patch
- 0004-libs-light-fix-tv_sec-fprintf-format.patch
- 0005-tools-drop-bogus-and-obsolete-ptyfuncs.m4.patch
- 0006-Arm64-adjust-__irq_to_desc-to-fix-build-with-gcc14.patch
- 0007-xen-arm32-avoid-.rodata-to-be-marked-as-executable.patc
- 0008-arm-Avoid-using-solaris-syntax-for-.section-directiv.patch
Quoted 8 lines
Quoted 5 lines
Tested on a ARM64 host machine with
utils/docker-run support/testing/run-tests \ -d dl -o output_folder -s \ tests.package.test_xenFound an issue, I'll keep testing. (I marked this as non-applicable in patchwork.)
Thanks for the patch. I would like to point out that a proposal was sent a while back, to bump xen to 4.20.1. See:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
Please note that such a bump should be marked as a "security bump", with all the associated CVEs identified.
The main issue was a qemu download during the xen build process.
Quoted 1 line
Matt
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot