aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/firefox/musl-sandbox-libgcc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repos/extra/firefox/musl-sandbox-libgcc.patch')
-rw-r--r--repos/extra/firefox/musl-sandbox-libgcc.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/repos/extra/firefox/musl-sandbox-libgcc.patch b/repos/extra/firefox/musl-sandbox-libgcc.patch
deleted file mode 100644
index 74220e23..00000000
--- a/repos/extra/firefox/musl-sandbox-libgcc.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff '--color=auto' -Naur a/security/sandbox/linux/Sandbox.cpp b/security/sandbox/linux/Sandbox.cpp
---- a/security/sandbox/linux/Sandbox.cpp 2025-12-08 16:42:41.692767283 +0200
-+++ b/security/sandbox/linux/Sandbox.cpp 2025-12-08 17:08:51.260959576 +0200
-@@ -18,9 +18,7 @@
- #include "SandboxLogging.h"
-
- #include <dirent.h>
--#ifdef NIGHTLY_BUILD
--# include "dlfcn.h"
--#endif
-+#include <dlfcn.h>
- #include <errno.h>
- #include <fcntl.h>
- #include <linux/futex.h>
-@@ -776,7 +774,7 @@
- files->Add("/proc/stat", SandboxOpenedFile::Error{});
- files->Add("/proc/net/unix", SandboxOpenedFile::Error{});
- files->Add("/proc/self/maps", SandboxOpenedFile::Error{});
--
-+ (void)dlopen("libgcc_s.so.1", RTLD_GLOBAL|RTLD_LAZY);
- // Finally, start the sandbox.
- SetCurrentProcessSandbox(GetMediaSandboxPolicy(files));
- }