summaryrefslogtreecommitdiff
path: root/repo/firefox/sandbox-fork.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/firefox/sandbox-fork.patch
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'repo/firefox/sandbox-fork.patch')
-rw-r--r--repo/firefox/sandbox-fork.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/repo/firefox/sandbox-fork.patch b/repo/firefox/sandbox-fork.patch
deleted file mode 100644
index c7222ab..0000000
--- a/repo/firefox/sandbox-fork.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-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: