diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2020-05-05 03:25:00 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2020-05-05 03:25:00 +0000 |
commit | 9680fd28fc8dd8ff8abcb504a0f820ad655d5dfb (patch) | |
tree | 4839cecbf4b82a8d2ae03b343eda0f5f461fcdf3 /user/firefox-esr/seccomp-membarrier.patch | |
parent | a2fa7dc1a27961d625ed32d3187599a248a3089a (diff) | |
parent | 12232c95aa083ff2f7b4d8eb85f8e921775b6402 (diff) | |
download | packages-9680fd28fc8dd8ff8abcb504a0f820ad655d5dfb.tar.gz packages-9680fd28fc8dd8ff8abcb504a0f820ad655d5dfb.tar.bz2 packages-9680fd28fc8dd8ff8abcb504a0f820ad655d5dfb.tar.xz packages-9680fd28fc8dd8ff8abcb504a0f820ad655d5dfb.zip |
Merge branch 'fix/ff-seccomp' into 'master'
user/firefox-esr: allow membarrier(2) in content process sandbox (#261)
See merge request adelie/packages!440
Diffstat (limited to 'user/firefox-esr/seccomp-membarrier.patch')
-rw-r--r-- | user/firefox-esr/seccomp-membarrier.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/user/firefox-esr/seccomp-membarrier.patch b/user/firefox-esr/seccomp-membarrier.patch new file mode 100644 index 000000000..be1744113 --- /dev/null +++ b/user/firefox-esr/seccomp-membarrier.patch @@ -0,0 +1,12 @@ +musl ldso issues a membarrier when setting up TLS + +--- firefox-68.7.0/security/sandbox/linux/SandboxFilter.cpp 2020-04-03 19:30:03.000000000 +0000 ++++ firefox-68.7.0/security/sandbox/linux/SandboxFilter.cpp 2020-04-19 04:59:30.280000000 +0000 +@@ -529,6 +529,7 @@ class SandboxPolicyCommon : public Sandb + + // ipc::Shmem; also, glibc when creating threads: + case __NR_mprotect: ++ case __NR_membarrier: + return Allow(); + + // madvise hints used by malloc; see bug 1303813 and bug 1364533 |