aboutsummaryrefslogtreecommitdiffstats
path: root/community/firefox-esr/sandbox-fork.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/firefox-esr/sandbox-fork.patch')
-rw-r--r--community/firefox-esr/sandbox-fork.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/firefox-esr/sandbox-fork.patch b/community/firefox-esr/sandbox-fork.patch
index 328943cb001..c7222ab494d 100644
--- a/community/firefox-esr/sandbox-fork.patch
+++ b/community/firefox-esr/sandbox-fork.patch
@@ -2,12 +2,14 @@ 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 @@
+@@ -1253,6 +1253,10 @@
// usually do something reasonable on error.
case __NR_clone:
return ClonePolicy(Error(EPERM));
++#ifdef __NR_fork
+ case __NR_fork:
+ return Error(ENOSYS);
++#endif
# ifdef __NR_fadvise64
case __NR_fadvise64: