mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-22 22:16:19 +00:00
25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
From b8735496287b7c2a15224f7d837dc74a09434bdb Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Fri, 7 Jul 2017 15:12:39 -0700
|
|
Subject: [PATCH] chromium: musl: Use correct member name __si_fields from
|
|
LinuxSigInfo
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
chromium/sandbox/linux/seccomp-bpf/trap.cc | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/chromium/sandbox/linux/seccomp-bpf/trap.cc b/chromium/sandbox/linux/seccomp-bpf/trap.cc
|
|
index 003708d2c89..0fef3148f9d 100644
|
|
--- a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf/trap.cc
|
|
+++ b/src/3rdparty/chromium/sandbox/linux/seccomp-bpf/trap.cc
|
|
@@ -168,7 +168,7 @@ void Trap::SigSys(int nr, LinuxSigInfo* info, ucontext_t* ctx) {
|
|
// most versions of glibc don't include this information in siginfo_t. So,
|
|
// we need to explicitly copy it into a arch_sigsys structure.
|
|
struct arch_sigsys sigsys;
|
|
- memcpy(&sigsys, &info->_sifields, sizeof(sigsys));
|
|
+ memcpy(&sigsys, &info->__si_fields, sizeof(sigsys));
|
|
|
|
#if defined(__mips__)
|
|
// When indirect syscall (syscall(__NR_foo, ...)) is made on Mips, the
|