summaryrefslogtreecommitdiff
path: root/repo/thunderbird/sandbox-fork.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-01 18:23:59 +0100
committerdavidovski <david@davidovski.xyz>2022-06-01 18:23:59 +0100
commitfccdaa986f67f820df2914bef851d5fed77abac8 (patch)
tree6bc6503af26cbc32f5db1558c129f7303282172e /repo/thunderbird/sandbox-fork.patch
parentfa2c7177695d2072d541057a9610e55b51ff4db1 (diff)
added thunderbird and qt5
Diffstat (limited to 'repo/thunderbird/sandbox-fork.patch')
-rw-r--r--repo/thunderbird/sandbox-fork.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/repo/thunderbird/sandbox-fork.patch b/repo/thunderbird/sandbox-fork.patch
new file mode 100644
index 0000000..c7222ab
--- /dev/null
+++ b/repo/thunderbird/sandbox-fork.patch
@@ -0,0 +1,15 @@
+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,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: