aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt5-qtwebengine/musl-sandbox.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/qt5-qtwebengine/musl-sandbox.patch')
-rw-r--r--community/qt5-qtwebengine/musl-sandbox.patch21
1 files changed, 11 insertions, 10 deletions
diff --git a/community/qt5-qtwebengine/musl-sandbox.patch b/community/qt5-qtwebengine/musl-sandbox.patch
index ac411f846d7..ad01ea8d3ef 100644
--- a/community/qt5-qtwebengine/musl-sandbox.patch
+++ b/community/qt5-qtwebengine/musl-sandbox.patch
@@ -2,7 +2,7 @@ diff --git a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_par
index 348ab6e8c..2eac6ef82 100644
--- 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
-@@ -139,21 +139,11 @@ namespace sandbox {
+@@ -127,21 +127,11 @@ namespace sandbox {
// present (as in newer versions of posix_spawn).
ResultExpr RestrictCloneToThreadsAndEPERMFork() {
const Arg<unsigned long> flags(0);
@@ -29,7 +29,7 @@ index 348ab6e8c..2eac6ef82 100644
// The following two flags are the two important flags in any vfork-emulating
// clone call. EPERM any clone call that contains both of them.
-@@ -163,7 +153,7 @@ ResultExpr RestrictCloneToThreadsAndEPERMFork() {
+@@ -151,7 +141,7 @@ ResultExpr RestrictCloneToThreadsAndEPERMFork() {
AnyOf((flags & (CLONE_VM | CLONE_THREAD)) == 0,
(flags & kImportantCloneVforkFlags) == kImportantCloneVforkFlags);
@@ -79,8 +79,8 @@ diff --git a/src/3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_sysc
index 59d0eab8e..7ae700213 100644
--- a/src/3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h
+++ b/src/3rdparty/chromium/sandbox/linux/system_headers/arm64_linux_syscalls.h
-@@ -1063,4 +1063,8 @@
- #define __NR_memfd_create 279
+@@ -1119,4 +1119,8 @@
+ #define __NR_rseq 293
#endif
+#if !defined(__NR_membarrier)
@@ -92,8 +92,8 @@ diff --git a/src/3rdparty/chromium/sandbox/linux/system_headers/arm_linux_syscal
index 1addd5384..d8811ce87 100644
--- a/src/3rdparty/chromium/sandbox/linux/system_headers/arm_linux_syscalls.h
+++ b/src/3rdparty/chromium/sandbox/linux/system_headers/arm_linux_syscalls.h
-@@ -1385,6 +1385,11 @@
- #define __NR_memfd_create (__NR_SYSCALL_BASE+385)
+@@ -1441,6 +1441,11 @@
+ #define __NR_io_pgetevents (__NR_SYSCALL_BASE+399)
#endif
+#if !defined(__NR_membarrier)
@@ -134,8 +134,8 @@ diff --git a/src/3rdparty/chromium/sandbox/linux/system_headers/x86_32_linux_sys
index a6afc62d9..6ab7740de 100644
--- a/src/3rdparty/chromium/sandbox/linux/system_headers/x86_32_linux_syscalls.h
+++ b/src/3rdparty/chromium/sandbox/linux/system_headers/x86_32_linux_syscalls.h
-@@ -1422,5 +1422,10 @@
- #define __NR_memfd_create 356
+@@ -1710,5 +1710,10 @@
+ #define __NR_clone3 435
#endif
+#if !defined(__NR_membarrier)
@@ -145,12 +145,13 @@ index a6afc62d9..6ab7740de 100644
+
#endif // SANDBOX_LINUX_SYSTEM_HEADERS_X86_32_LINUX_SYSCALLS_H_
+
diff --git a/src/3rdparty/chromium/sandbox/linux/system_headers/x86_64_linux_syscalls.h b/src/3rdparty/chromium/sandbox/linux/system_headers/x86_64_linux_syscalls.h
index 349504aee..6a6d4756f 100644
--- a/src/3rdparty/chromium/sandbox/linux/system_headers/x86_64_linux_syscalls.h
+++ b/src/3rdparty/chromium/sandbox/linux/system_headers/x86_64_linux_syscalls.h
-@@ -1290,5 +1290,10 @@
- #define __NR_memfd_create 319
+@@ -1350,5 +1350,10 @@
+ #define __NR_rseq 334
#endif
+#if !defined(__NR_membarrier)