diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2026-03-02 00:19:43 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2026-03-02 00:19:43 +0000 |
| commit | ba183bce192264f4578989337ef61e756b7e130d (patch) | |
| tree | 755618486e31be1f5822cde6149ad806768dc241 /librewolf/musl-sandbox-libgcc.patch | |
| parent | ddeed1d8c208089ab95d7c971487650dc3b1ddff (diff) | |
| download | alicelinux-ba183bce192264f4578989337ef61e756b7e130d.tar.gz alicelinux-ba183bce192264f4578989337ef61e756b7e130d.zip | |
Woodpecker CI 8ca72161f4af1c51192f5878cfc0e39a0ee84a03 [SKIP CI]
Diffstat (limited to 'librewolf/musl-sandbox-libgcc.patch')
| -rw-r--r-- | librewolf/musl-sandbox-libgcc.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/librewolf/musl-sandbox-libgcc.patch b/librewolf/musl-sandbox-libgcc.patch new file mode 100644 index 00000000..74220e23 --- /dev/null +++ b/librewolf/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)); + } |