diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2026-03-02 00:08:14 +0000 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2026-03-02 00:08:14 +0000 |
| commit | 8ca72161f4af1c51192f5878cfc0e39a0ee84a03 (patch) | |
| tree | 6a745cb23a39b8c63a9dd9d293bbc53f384014e8 /repos/extra/librewolf/musl-sandbox-libgcc.patch | |
| parent | 020d4bcb24c405908e274f62074f7bc23663454a (diff) | |
| download | alicelinux-8ca72161f4af1c51192f5878cfc0e39a0ee84a03.tar.gz alicelinux-8ca72161f4af1c51192f5878cfc0e39a0ee84a03.zip | |
librewolf: updated to 148.0.1
Diffstat (limited to 'repos/extra/librewolf/musl-sandbox-libgcc.patch')
| -rw-r--r-- | repos/extra/librewolf/musl-sandbox-libgcc.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/repos/extra/librewolf/musl-sandbox-libgcc.patch b/repos/extra/librewolf/musl-sandbox-libgcc.patch new file mode 100644 index 00000000..74220e23 --- /dev/null +++ b/repos/extra/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)); + } |