diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2020-05-06 08:29:45 +0200 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-05-06 10:21:09 +0200 |
commit | c9413fd0912a1f1e6cdc9e5fd25d15f4f22cc11a (patch) | |
tree | e56ee22d91689d9faf9d6dc43c936b80d1966b48 /community/firefox/sandbox-fork.patch | |
parent | d618ecb8bb35efdf8a9fea44664f350843fc58ca (diff) | |
download | aports-c9413fd0912a1f1e6cdc9e5fd25d15f4f22cc11a.tar.bz2 aports-c9413fd0912a1f1e6cdc9e5fd25d15f4f22cc11a.tar.xz |
community/firefox: security upgrade to 76.0
Diffstat (limited to 'community/firefox/sandbox-fork.patch')
-rw-r--r-- | community/firefox/sandbox-fork.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/firefox/sandbox-fork.patch b/community/firefox/sandbox-fork.patch new file mode 100644 index 0000000000..328943cb00 --- /dev/null +++ b/community/firefox/sandbox-fork.patch @@ -0,0 +1,13 @@ +make SYS_fork non-fatal, musl uses it for fork(2) + +--- a/security/sandbox/linux/SandboxFilter.cpp ++++ b/security/sandbox/linux/SandboxFilter.cpp +@@ -1253,6 +1253,8 @@ + // usually do something reasonable on error. + case __NR_clone: + return ClonePolicy(Error(EPERM)); ++ case __NR_fork: ++ return Error(ENOSYS); + + # ifdef __NR_fadvise64 + case __NR_fadvise64: |