diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2026-05-24 15:40:32 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2026-05-24 15:40:32 +0000 |
| commit | dea2a1fa20fc8e843cd85e5920a67b9054d00b2e (patch) | |
| tree | f331ff92dc5fd26f5803b483a24a0a21fd9bb97a /repos/extra/firefox/musl-siginfo.patch | |
| parent | ef5bfeb93345a5a681d88e99775622bf28defd8d (diff) | |
| download | alicelinux-dea2a1fa20fc8e843cd85e5920a67b9054d00b2e.tar.gz alicelinux-dea2a1fa20fc8e843cd85e5920a67b9054d00b2e.zip | |
Woodpecker CI ef5bfeb93345a5a681d88e99775622bf28defd8d [SKIP CI]
Diffstat (limited to 'repos/extra/firefox/musl-siginfo.patch')
| -rw-r--r-- | repos/extra/firefox/musl-siginfo.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/repos/extra/firefox/musl-siginfo.patch b/repos/extra/firefox/musl-siginfo.patch deleted file mode 100644 index 300846f4..00000000 --- a/repos/extra/firefox/musl-siginfo.patch +++ /dev/null @@ -1,35 +0,0 @@ -From d8ec0bd6f3b0ad2dfd8a97a864f08decaafdea69 Mon Sep 17 00:00:00 2001 -From: Samuel Holland <samuel@sholland.org> -Date: Sun, 8 Jan 2017 19:16:38 -0600 -Subject: [PATCH 10/30] musl: Add alternate name for private siginfo struct - member - -musl does not provide a macro for detecting its presence. For now, -assume that it is the only non-glibc-based libc on Linux systems. - -Signed-off-by: Samuel Holland <samuel@sholland.org> -Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> ---- - security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc b/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc -index 9884be8bb2..86d8f88e30 100644 ---- a/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc -+++ b/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc -@@ -174,7 +174,11 @@ void Trap::SigSys(int nr, LinuxSigInfo* info, ucontext_t* ctx) { - // If the version of glibc doesn't include this information in - // siginfo_t (older than 2.17), we need to explicitly copy it - // into an arch_sigsys structure. -- memcpy(&sigsys, &info->_sifields, sizeof(sigsys)); -+#if defined(__GLIBC__) -+ memcpy(&sigsys, &info->_sifields, sizeof(sigsys)); -+#else -+ memcpy(&sigsys, &info->__si_fields, sizeof(sigsys)); -+#endif - #endif - - #if defined(__mips__) --- -2.34.1 - |