summaryrefslogtreecommitdiff
path: root/dev-qt/qtwebengine/files/qtwebengine-6.8.2-glibc2.41.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/qtwebengine/files/qtwebengine-6.8.2-glibc2.41.patch')
-rw-r--r--dev-qt/qtwebengine/files/qtwebengine-6.8.2-glibc2.41.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-qt/qtwebengine/files/qtwebengine-6.8.2-glibc2.41.patch b/dev-qt/qtwebengine/files/qtwebengine-6.8.2-glibc2.41.patch
new file mode 100644
index 000000000000..85288a94a6a0
--- /dev/null
+++ b/dev-qt/qtwebengine/files/qtwebengine-6.8.2-glibc2.41.patch
@@ -0,0 +1,20 @@
+https://bugs.gentoo.org/949654
+
+Quick downstream fix for now. Hasn't been sent to upstream(s) yet
+as of the writing of this, but believe it should happen soon.
+
+From 6c7a3a3a733cf33e9355f497815700e5e26e7c3d Mon Sep 17 00:00:00 2001
+From: Mike Lothian <mike@fireburn.co.uk>
+Date: Wed, 12 Feb 2025 13:52:01 +0000
+Subject: [PATCH] Test fix
+--- a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
++++ b/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
+@@ -238,7 +238,7 @@ ResultExpr RestrictMmapFlags() {
+ // TODO(davidung), remove MAP_DENYWRITE with updated Tegra libraries.
+ const uint64_t kAllowedMask = MAP_SHARED | MAP_PRIVATE | MAP_ANONYMOUS |
+ MAP_STACK | MAP_NORESERVE | MAP_FIXED |
+- MAP_DENYWRITE | MAP_LOCKED |
++ MAP_DENYWRITE | MAP_LOCKED | MAP_DROPPABLE |
+ kArchSpecificAllowedMask;
+ const Arg<int> flags(3);
+ return If((flags & ~kAllowedMask) == 0, Allow()).Else(CrashSIGSYS());