diff options
author | Max Rees <maxcrees@me.com> | 2020-04-19 00:42:37 -0500 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2020-04-19 00:42:37 -0500 |
commit | 12232c95aa083ff2f7b4d8eb85f8e921775b6402 (patch) | |
tree | e2bcb71d9485f0492e8e04df55b3d945f03496c1 /user/firefox-esr/seccomp-membarrier.patch | |
parent | 1a6055b6ee2e394377aeb9b28c5adc2ec79a8e35 (diff) | |
download | packages-12232c95aa083ff2f7b4d8eb85f8e921775b6402.tar.gz packages-12232c95aa083ff2f7b4d8eb85f8e921775b6402.tar.bz2 packages-12232c95aa083ff2f7b4d8eb85f8e921775b6402.tar.xz packages-12232c95aa083ff2f7b4d8eb85f8e921775b6402.zip |
user/firefox-esr: allow membarrier(2) in content process sandbox (#261)
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 |