diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2026-02-25 14:56:03 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2026-02-25 14:56:03 +0000 |
| commit | 54d794a1b88e205090af9ec6f89a6daaa9ffa69a (patch) | |
| tree | 970bdfca3b907d31954573d35ccdcf9cda938846 /firefox/musl-sandbox-libgcc.patch | |
| parent | 94fd0d6303dcac01d6d52c5a6d2d7504cb35b61e (diff) | |
| download | alicelinux-54d794a1b88e205090af9ec6f89a6daaa9ffa69a.tar.gz alicelinux-54d794a1b88e205090af9ec6f89a6daaa9ffa69a.zip | |
Woodpecker CI 2e1ae7580ce30cfe34521519fea2614da30be3af [SKIP CI]
Diffstat (limited to 'firefox/musl-sandbox-libgcc.patch')
| -rw-r--r-- | firefox/musl-sandbox-libgcc.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/firefox/musl-sandbox-libgcc.patch b/firefox/musl-sandbox-libgcc.patch new file mode 100644 index 00000000..74220e23 --- /dev/null +++ b/firefox/musl-sandbox-libgcc.patch @@ -0,0 +1,23 @@ +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)); + } |