aboutsummaryrefslogtreecommitdiffstats
path: root/community/firefox/fix-seccomp-bpf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/firefox/fix-seccomp-bpf.patch')
-rw-r--r--community/firefox/fix-seccomp-bpf.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/firefox/fix-seccomp-bpf.patch b/community/firefox/fix-seccomp-bpf.patch
new file mode 100644
index 0000000000..de7bd175ee
--- /dev/null
+++ b/community/firefox/fix-seccomp-bpf.patch
@@ -0,0 +1,14 @@
+--- a/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc 2018-12-14 08:53:46.083976137 +0000
++++ b/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc 2018-12-14 08:51:22.084596411 +0000
+@@ -25,6 +25,11 @@
+ #include "sandbox/linux/system_headers/linux_seccomp.h"
+ #include "sandbox/linux/system_headers/linux_signal.h"
+
++// musl libc defines siginfo_t __si_fields instead of _sifields
++#if defined(OS_LINUX) && !defined(__GLIBC__)
++#define _sifields __si_fields
++#endif
++
+ namespace {
+
+ struct arch_sigsys {