Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Raptor Engineering Public Development
Chromium
OpenPOWER Patches
Commits
6135ee13
Commit
6135ee13
authored
6 months ago
by
Timothy Pearson
Browse files
Options
Download
Email Patches
Plain Diff
Update to Chromium 128.0.6613.137
parent
f90167c8
Changes
160
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
263 additions
and
263 deletions
+263
-263
README
README
+1
-1
patches/ppc64le/breakpad/0001-Implement-support-for-ppc64-on-Linux.patch
.../breakpad/0001-Implement-support-for-ppc64-on-Linux.patch
+69
-69
patches/ppc64le/core/add-ppc64-architecture-to-extensions.diff
...es/ppc64le/core/add-ppc64-architecture-to-extensions.diff
+6
-6
patches/ppc64le/core/baseline-isa-3-0.patch
patches/ppc64le/core/baseline-isa-3-0.patch
+9
-9
patches/ppc64le/crashpad/0001-Implement-support-for-PPC64-on-Linux.patch
.../crashpad/0001-Implement-support-for-PPC64-on-Linux.patch
+99
-99
patches/ppc64le/fixes/fix-breakpad-compile.patch
patches/ppc64le/fixes/fix-breakpad-compile.patch
+3
-3
patches/ppc64le/fixes/fix-clang-selection.patch
patches/ppc64le/fixes/fix-clang-selection.patch
+3
-3
patches/ppc64le/fixes/fix-different-data-layouts.patch
patches/ppc64le/fixes/fix-different-data-layouts.patch
+3
-3
patches/ppc64le/fixes/fix-partition-alloc-compile.patch
patches/ppc64le/fixes/fix-partition-alloc-compile.patch
+3
-3
patches/ppc64le/fixes/fix-rust-linking.patch
patches/ppc64le/fixes/fix-rust-linking.patch
+3
-3
patches/ppc64le/fixes/fix-rustc.patch
patches/ppc64le/fixes/fix-rustc.patch
+3
-3
patches/ppc64le/fixes/fix-unknown-warning-option-messages.diff
...es/ppc64le/fixes/fix-unknown-warning-option-messages.diff
+3
-3
patches/ppc64le/libaom/0001-Add-ppc64-target-to-libaom.patch
patches/ppc64le/libaom/0001-Add-ppc64-target-to-libaom.patch
+6
-6
patches/ppc64le/libaom/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch
...om/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch
+12
-12
patches/ppc64le/sandbox/0001-linux-seccomp-bpf-ppc64-glibc-workaround-in-SIGSYS-h.patch
...inux-seccomp-bpf-ppc64-glibc-workaround-in-SIGSYS-h.patch
+3
-3
patches/ppc64le/sandbox/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch
...e/sandbox/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch
+3
-3
patches/ppc64le/sandbox/0001-sandbox-linux-Implement-partial-support-for-ppc64-sy.patch
...andbox-linux-Implement-partial-support-for-ppc64-sy.patch
+10
-10
patches/ppc64le/sandbox/0001-sandbox-linux-Update-IsSyscallAllowed-in-broker_proc.patch
...andbox-linux-Update-IsSyscallAllowed-in-broker_proc.patch
+3
-3
patches/ppc64le/sandbox/0001-sandbox-linux-Update-syscall-helpers-lists-for-ppc64.patch
...andbox-linux-Update-syscall-helpers-lists-for-ppc64.patch
+18
-18
patches/ppc64le/sandbox/0001-sandbox-linux-bpf_dsl-Update-syscall-ranges-for-ppc6.patch
...andbox-linux-bpf_dsl-Update-syscall-ranges-for-ppc6.patch
+3
-3
No files found.
README
View file @
6135ee13
=================================================================================
VERSION
128.0.6613.1
19
128.0.6613.1
37
=================================================================================
APPLICATION
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/breakpad/0001-Implement-support-for-ppc64-on-Linux.patch
View file @
6135ee13
...
...
@@ -54,10 +54,10 @@ https://wiki.raptorcs.com/wiki/Porting/Chromium
src/tools/linux/md2core/minidump-2-core.cc | 45 +++++++++++++++
25 files changed, 281 insertions(+), 35 deletions(-)
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/raw_context_cpu.h
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/raw_context_cpu.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/raw_context_cpu.h
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/raw_context_cpu.h
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/raw_context_cpu.h
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/raw_context_cpu.h
@@ -51,6 +51,8 @@
typedef MDRawContextRISCV64 RawContextCP
# else
# error "Unexpected __riscv_xlen"
...
...
@@ -67,10 +67,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/du
#else
#error "This code has not been ported to your platform yet."
#endif
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc
@@ -336,7 +336,42 @@
void ThreadInfo::FillCPUContext(RawConte
#error "Unexpected __riscv_xlen"
#endif
...
...
@@ -153,10 +153,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/du
+#endif
+
} // namespace google_breakpad
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h
@@ -67,6 +67,10 @@
struct ThreadInfo {
// Use the structures defined in <sys/user.h>
struct user_regs_struct regs;
...
...
@@ -180,10 +180,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/du
};
} // namespace google_breakpad
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
@@ -324,6 +324,48 @@
void UContextReader::FillCPUContext(RawC
#error "Unexpected __riscv_xlen"
#endif
...
...
@@ -233,10 +233,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/du
#endif
} // namespace google_breakpad
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h
@@ -54,6 +54,9 @@
struct UContextReader {
#elif defined(__aarch64__)
static void FillCPUContext(RawContextCPU* out, const ucontext_t* uc,
...
...
@@ -247,10 +247,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/du
#else
static void FillCPUContext(RawContextCPU* out, const ucontext_t* uc);
#endif
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
@@ -464,6 +464,13 @@
bool ExceptionHandler::HandleSignal(int
memcpy(&g_crash_context_.float_state, fp_ptr,
sizeof(g_crash_context_.float_state));
...
...
@@ -295,10 +295,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/ha
#elif defined(__riscv)
context.siginfo.si_addr =
reinterpret_cast<void*>(context.context.uc_mcontext.__gregs[REG_PC]);
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h
@@ -200,7 +200,11 @@
class ExceptionHandler {
siginfo_t siginfo;
pid_t tid; // the crashing thread.
...
...
@@ -312,10 +312,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/ha
fpstate_t float_state;
#endif
};
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler_unittest.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler_unittest.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler_unittest.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler_unittest.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler_unittest.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler_unittest.cc
@@ -321,7 +321,7 @@
TEST(ExceptionHandlerTest, ParallelChild
ASSERT_EQ(SIGSEGV, WTERMSIG(status));
return;
...
...
@@ -347,10 +347,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/ha
const int kOffset = kMemorySize - sizeof(kIllegalInstruction);
const pid_t child = fork();
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer.cc
@@ -141,7 +141,9 @@
class MicrodumpWriter {
const MicrodumpExtraInfo& microdump_extra_info,
LinuxDumper* dumper)
...
...
@@ -393,10 +393,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/mi
const google_breakpad::fpstate_t* const float_state_;
#endif
LinuxDumper* dumper_;
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer_unittest.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer_unittest.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer_unittest.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer_unittest.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer_unittest.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/microdump_writer/microdump_writer_unittest.cc
@@ -282,10 +282,19 @@
TEST(MicrodumpWriterTest, BasicWithMappi
CrashAndGetMicrodump(mappings, MicrodumpExtraInfo(), &buf);
ASSERT_TRUE(ContainsMicrodump(buf));
...
...
@@ -420,10 +420,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/mi
#else
ASSERT_NE(std::string::npos,
buf.find("M 00001000 0000002A 00001000 "
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc
@@ -118,6 +118,9 @@
bool LinuxCoreDumper::GetThreadInfoByInd
#elif defined(__riscv)
stack_pointer = reinterpret_cast<uint8_t*>(
...
...
@@ -446,10 +446,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/mi
# if defined(__ANDROID__)
for (int i = EF_R0; i <= EF_R31; i++)
info.mcontext.gregs[i - EF_R0] = status->pr_reg[i];
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.cc
@@ -770,7 +770,9 @@
bool LinuxDumper::GetStackInfo(const voi
reinterpret_cast<uint8_t*>(int_stack_pointer & ~(page_size - 1));
...
...
@@ -461,10 +461,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/mi
const MappingInfo* mapping = FindMapping(stack_pointer);
if (!mapping)
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.h
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.h
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.h
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.h
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.h
@@ -64,7 +64,8 @@
namespace google_breakpad {
typedef Elf32_auxv_t elf_aux_entry;
#elif defined(__x86_64) || defined(__aarch64__) || \
...
...
@@ -475,10 +475,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/mi
typedef Elf64_auxv_t elf_aux_entry;
#endif
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc
@@ -56,6 +56,8 @@
#define TID_PTR_REGISTER "$1"
#elif defined(__riscv)
...
...
@@ -488,10 +488,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/mi
#else
#error This test has not been ported to this platform.
#endif
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc
@@ -208,12 +208,12 @@
bool LinuxPtraceDumper::ReadRegisterSet(
#ifdef PTRACE_GETREGSET
struct iovec io;
...
...
@@ -533,10 +533,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/mi
#else
# error "This code hasn't been ported to your platform yet."
#endif
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc
@@ -470,6 +470,9 @@
TEST(LinuxPtraceDumperTest, VerifyStackR
#elif defined(__riscv)
pid_t* process_tid_location =
...
...
@@ -556,10 +556,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/mi
#else
#error This test has not been ported to this platform.
#endif
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.cc
@@ -144,7 +144,9 @@
class MinidumpWriter {
: fd_(minidump_fd),
path_(minidump_path),
...
...
@@ -613,10 +613,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/mi
const google_breakpad::fpstate_t* const float_state_; // ditto
#endif
LinuxDumper* dumper_;
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h
@@ -47,6 +47,8 @@
class ExceptionHandler;
#if defined(__aarch64__)
...
...
@@ -626,10 +626,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/mi
#elif !defined(__ARM_EABI__) && !defined(__mips__)
typedef std::remove_pointer<fpregset_t>::type fpstate_t;
#endif
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc
@@ -723,6 +723,9 @@
TEST(MinidumpWriterTest, InvalidStackPoi
#elif defined(__riscv)
context.context.uc_mcontext.__gregs[MD_CONTEXT_RISCV_REG_SP] =
...
...
@@ -640,10 +640,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/client/linux/mi
#else
# error "This code has not been ported to your platform yet."
#endif
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file.cc
@@ -72,8 +72,7 @@
bool MemoryMappedFile::Map(const char* p
#if defined(__x86_64__) || defined(__aarch64__) || \
...
...
@@ -654,10 +654,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/common/linux/me
struct kernel_stat st;
if (sys_fstat(fd, &st) == -1 || st.st_size < 0) {
#else
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file_unittest.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file_unittest.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file_unittest.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file_unittest.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file_unittest.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/common/linux/memory_mapped_file_unittest.cc
@@ -179,9 +179,10 @@
TEST_F(MemoryMappedFileTest, RemapAfterM
TEST_F(MemoryMappedFileTest, MapWithOffset) {
// Put more data in the test file this time. Offsets can only be
...
...
@@ -672,10 +672,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/common/linux/me
for (size_t i = 0; i < data1_size; ++i) {
data1[i] = i & 0x7f;
}
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/common/memory_allocator_unittest.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/common/memory_allocator_unittest.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/common/memory_allocator_unittest.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/common/memory_allocator_unittest.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/common/memory_allocator_unittest.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/common/memory_allocator_unittest.cc
@@ -60,8 +60,9 @@
TEST(PageAllocatorTest, LargeObject) {
EXPECT_EQ(0U, allocator.pages_allocated());
...
...
@@ -687,10 +687,10 @@ Index: chromium-128.0.6613.119/third_party/breakpad/breakpad/src/common/memory_a
for (unsigned i = 1; i < 10; ++i) {
uint8_t* p = reinterpret_cast<uint8_t*>(allocator.Alloc(i));
ASSERT_FALSE(p == NULL);
Index: chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/tools/linux/md2core/minidump-2-core.cc
Index: chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/tools/linux/md2core/minidump-2-core.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/breakpad/src/tools/linux/md2core/minidump-2-core.cc
+++ chromium-128.0.6613.1
19
/third_party/breakpad/breakpad/src/tools/linux/md2core/minidump-2-core.cc
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/breakpad/src/tools/linux/md2core/minidump-2-core.cc
+++ chromium-128.0.6613.1
37
/third_party/breakpad/breakpad/src/tools/linux/md2core/minidump-2-core.cc
@@ -82,6 +82,8 @@
#define ELF_ARCH EM_AARCH64
#elif defined(__riscv)
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/core/add-ppc64-architecture-to-extensions.diff
View file @
6135ee13
Index: chromium-128.0.6613.1
19
/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
Index: chromium-128.0.6613.1
37
/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
+++ chromium-128.0.6613.1
19
/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
--- chromium-128.0.6613.1
37
.orig/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
+++ chromium-128.0.6613.1
37
/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
@@ -303,6 +303,8 @@
bool ChromeRuntimeAPIDelegate::GetPlatfo
info->arch = extensions::api::runtime::PlatformArch::kMips;
} else if (strcmp(arch, "mips64el") == 0) {
...
...
@@ -20,10 +20,10 @@ Index: chromium-128.0.6613.119/chrome/browser/extensions/api/runtime/chrome_runt
} else {
NOTREACHED_IN_MIGRATION();
return false;
Index: chromium-128.0.6613.1
19
/extensions/common/api/runtime.json
Index: chromium-128.0.6613.1
37
/extensions/common/api/runtime.json
===================================================================
--- chromium-128.0.6613.1
19
.orig/extensions/common/api/runtime.json
+++ chromium-128.0.6613.1
19
/extensions/common/api/runtime.json
--- chromium-128.0.6613.1
37
.orig/extensions/common/api/runtime.json
+++ chromium-128.0.6613.1
37
/extensions/common/api/runtime.json
@@ -98,7 +98,8 @@
{"name": "x86-32", "description": "Specifies the processer architecture as x86-32."},
{"name": "x86-64", "description": "Specifies the processer architecture as x86-64."},
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/core/baseline-isa-3-0.patch
View file @
6135ee13
Index: chromium-128.0.6613.1
19
/build/config/compiler/BUILD.gn
Index: chromium-128.0.6613.1
37
/build/config/compiler/BUILD.gn
===================================================================
--- chromium-128.0.6613.1
19
.orig/build/config/compiler/BUILD.gn
+++ chromium-128.0.6613.1
19
/build/config/compiler/BUILD.gn
--- chromium-128.0.6613.1
37
.orig/build/config/compiler/BUILD.gn
+++ chromium-128.0.6613.1
37
/build/config/compiler/BUILD.gn
@@ -1445,7 +1445,7 @@
config("compiler_cpu_abi") {
cflags += [ "-maix64" ]
ldflags += [ "-maix64" ]
...
...
@@ -11,10 +11,10 @@ Index: chromium-128.0.6613.119/build/config/compiler/BUILD.gn
ldflags += [ "-m64" ]
}
} else if (current_cpu == "riscv64") {
Index: chromium-128.0.6613.1
19
/third_party/libvpx/BUILD.gn
Index: chromium-128.0.6613.1
37
/third_party/libvpx/BUILD.gn
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/libvpx/BUILD.gn
+++ chromium-128.0.6613.1
19
/third_party/libvpx/BUILD.gn
--- chromium-128.0.6613.1
37
.orig/third_party/libvpx/BUILD.gn
+++ chromium-128.0.6613.1
37
/third_party/libvpx/BUILD.gn
@@ -105,7 +105,7 @@
config("libvpx_config") {
if (current_cpu == "ppc64") {
...
...
@@ -24,10 +24,10 @@ Index: chromium-128.0.6613.119/third_party/libvpx/BUILD.gn
"-maltivec",
"-mvsx",
]
Index: chromium-128.0.6613.1
19
/v8/BUILD.gn
Index: chromium-128.0.6613.1
37
/v8/BUILD.gn
===================================================================
--- chromium-128.0.6613.1
19
.orig/v8/BUILD.gn
+++ chromium-128.0.6613.1
19
/v8/BUILD.gn
--- chromium-128.0.6613.1
37
.orig/v8/BUILD.gn
+++ chromium-128.0.6613.1
37
/v8/BUILD.gn
@@ -1419,7 +1419,7 @@
config("toolchain") {
defines += [ "V8_TARGET_ARCH_PPC_LE" ]
cflags += [
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/crashpad/0001-Implement-support-for-PPC64-on-Linux.patch
View file @
6135ee13
...
...
@@ -40,20 +40,20 @@ This patch implements support for the PPC64 architecture on Linux hosts.
util/misc/capture_context_test_util_linux.cc | 6 +
36 files changed, 932 insertions(+), 12 deletions(-)
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/CONTRIBUTORS
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/CONTRIBUTORS
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/CONTRIBUTORS
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/CONTRIBUTORS
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/CONTRIBUTORS
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/CONTRIBUTORS
@@ -13,3 +13,5 @@
Mark Mentovai <mark@chromium.org>
Robert Sesek <rsesek@chromium.org>
Scott Graham <scottmg@chromium.org>
Joshua Peraza <jperaza@chromium.org>
+Shawn Anastasio <sanastasio@raptorengineering.com>
+Timothy Pearson <tpearson@raptorengineering.com>
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/minidump/minidump_context.h
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/minidump/minidump_context.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/minidump/minidump_context.h
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/minidump/minidump_context.h
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/minidump/minidump_context.h
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/minidump/minidump_context.h
@@ -687,6 +687,70 @@
struct MinidumpContextRISCV64 {
uint32_t fcsr;
};
...
...
@@ -125,10 +125,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/minidump/minidump_c
} // namespace crashpad
#endif // CRASHPAD_MINIDUMP_MINIDUMP_CONTEXT_H_
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
@@ -110,6 +110,13 @@
MinidumpContextWriter::CreateFromSnapsho
break;
}
...
...
@@ -192,10 +192,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/minidump/minidump_c
+}
} // namespace crashpad
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
@@ -413,6 +413,49 @@
class MinidumpContextRISCV64Writer final
MinidumpContextRISCV64 context_;
};
...
...
@@ -246,10 +246,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/minidump/minidump_c
} // namespace crashpad
#endif // CRASHPAD_MINIDUMP_MINIDUMP_CONTEXT_WRITER_H_
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
@@ -328,6 +328,21 @@
TYPED_TEST(MinidumpContextWriter, RISCV6
TypeParam>(context, ExpectMinidumpContextRISCV64, kSeed);
}
...
...
@@ -272,10 +272,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/minidump/minidump_c
} // namespace
} // namespace test
} // namespace crashpad
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
@@ -177,6 +177,8 @@
std::string MinidumpMiscInfoDebugBuildSt
static constexpr char kCPU[] = "mips64";
#elif defined(ARCH_CPU_RISCV64)
...
...
@@ -285,10 +285,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/minidump/minidump_m
#else
#error define kCPU for this CPU
#endif
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
@@ -297,6 +297,40 @@
void InitializeMinidumpContextRISCV64(Mi
context->fcsr = value++;
}
...
...
@@ -369,10 +369,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/minidump/test/minid
+
} // namespace test
} // namespace crashpad
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
@@ -90,6 +90,9 @@
void ExpectMinidumpContextMIPS64(uint32_
void ExpectMinidumpContextRISCV64(uint32_t expect_seed,
const MinidumpContextRISCV64* observed,
...
...
@@ -383,10 +383,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/minidump/test/minid
//! \}
} // namespace test
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/capture_memory.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/capture_memory.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/snapshot/capture_memory.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/capture_memory.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/snapshot/capture_memory.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/capture_memory.cc
@@ -123,6 +123,11 @@
void CaptureMemory::PointedToByContext(c
for (size_t i = 0; i < std::size(context.riscv64->regs); ++i) {
MaybeCaptureMemoryAround(delegate, context.riscv64->regs[i]);
...
...
@@ -399,10 +399,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/snapshot/capture_me
#else
#error Port.
#endif
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
@@ -47,6 +47,9 @@
enum CPUArchitecture {
//! \brief 64-bit RISC-V.
...
...
@@ -413,10 +413,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/snapshot/cpu_archit
};
} // namespace crashpad
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/cpu_context.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/cpu_context.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/snapshot/cpu_context.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/cpu_context.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/snapshot/cpu_context.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/cpu_context.cc
@@ -173,6 +173,8 @@
uint64_t CPUContext::InstructionPointer(
return arm64->pc;
case kCPUArchitectureRISCV64:
...
...
@@ -443,10 +443,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/snapshot/cpu_contex
case kCPUArchitectureRISCV64:
return true;
case kCPUArchitectureX86:
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/cpu_context.h
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/cpu_context.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/snapshot/cpu_context.h
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/cpu_context.h
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/snapshot/cpu_context.h
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/cpu_context.h
@@ -371,6 +371,24 @@
struct CPUContextRISCV64 {
uint32_t fcsr;
};
...
...
@@ -480,10 +480,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/snapshot/cpu_contex
};
};
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
@@ -15,6 +15,7 @@
#ifndef CRASHPAD_SNAPSHOT_LINUX_CPU_CONTEXT_LINUX_H_
#define CRASHPAD_SNAPSHOT_LINUX_CPU_CONTEXT_LINUX_H_
...
...
@@ -571,10 +571,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/snapshot/linux/cpu_
} // namespace internal
} // namespace crashpad
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
@@ -194,12 +194,15 @@
void TestAgainstTarget(PtraceConnection*
device == 0 && inode == 0 && mapping_name == "[vdso]";
#if defined(ARCH_CPU_X86)
...
...
@@ -592,10 +592,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/snapshot/linux/debu
},
module_mapping->name,
module_mapping->device,
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
@@ -367,6 +367,69 @@
bool ExceptionSnapshotLinux::ReadContext
return internal::ReadContext(reader, context_address, context_.riscv64);
}
...
...
@@ -666,10 +666,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/snapshot/linux/exce
#endif // ARCH_CPU_X86_FAMILY
bool ExceptionSnapshotLinux::Initialize(
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
@@ -91,6 +91,8 @@
class ExceptionSnapshotLinux final : pub
CPUContextMIPS64 mips64;
#elif defined(ARCH_CPU_RISCV64)
...
...
@@ -679,10 +679,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/snapshot/linux/exce
#endif
} context_union_;
CPUContext context_;
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
@@ -325,7 +325,28 @@
void ExpectContext(const CPUContext& act
sizeof(actual.riscv64->fpregs)),
0);
...
...
@@ -712,10 +712,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/snapshot/linux/exce
#else
#error Port.
#endif
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
@@ -129,6 +129,8 @@
void ProcessReaderLinux::Thread::Initial
: thread_info.thread_context.t32.regs[29];
#elif defined(ARCH_CPU_RISCV64)
...
...
@@ -725,10 +725,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/snapshot/linux/proc
#else
#error Port.
#endif
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
@@ -456,6 +456,89 @@
static_assert(offsetof(UContext<ContextT
offsetof(ucontext_t, uc_mcontext.__fpregs),
"context offset mismatch");
...
...
@@ -819,10 +819,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/snapshot/linux/sign
#else
#error Port.
#endif // ARCH_CPU_X86_FAMILY
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
@@ -208,6 +208,8 @@
CPUArchitecture SystemSnapshotLinux::Get
: kCPUArchitectureMIPSEL;
#elif defined(ARCH_CPU_RISCV64)
...
...
@@ -862,10 +862,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/snapshot/linux/syst
#else
#error Port.
#endif // ARCH_CPU_X86_FAMILY
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
@@ -196,6 +196,14 @@
bool ThreadSnapshotLinux::Initialize(
InitializeCPUContextRISCV64(thread.thread_info.thread_context.t64,
thread.thread_info.float_context.f64,
...
...
@@ -881,10 +881,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/snapshot/linux/thre
#else
#error Port.
#endif
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
@@ -76,6 +76,8 @@
class ThreadSnapshotLinux final : public
CPUContextMIPS64 mips64;
#elif defined(ARCH_CPU_RISCV64)
...
...
@@ -894,10 +894,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/snapshot/linux/thre
#else
#error Port.
#endif // ARCH_CPU_X86_FAMILY
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
@@ -317,5 +317,38 @@
void InitializeCPUContextRISCV64(CPUCont
riscv64->fcsr = value++;
}
...
...
@@ -937,10 +937,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/snapshot/test/test_
+
} // namespace test
} // namespace crashpad
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
@@ -64,6 +64,7 @@
void InitializeCPUContextARM64(CPUContex
void InitializeCPUContextMIPS(CPUContext* context, uint32_t seed);
void InitializeCPUContextMIPS64(CPUContext* context, uint32_t seed);
...
...
@@ -949,10 +949,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/snapshot/test/test_
//! \}
} // namespace test
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/test/linux/get_tls.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/test/linux/get_tls.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/test/linux/get_tls.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/test/linux/get_tls.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/test/linux/get_tls.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/test/linux/get_tls.cc
@@ -51,6 +51,8 @@
LinuxVMAddress GetTLS() {
: "$3");
#elif defined(ARCH_CPU_RISCV64)
...
...
@@ -962,10 +962,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/test/linux/get_tls.
#else
#error Port.
#endif // ARCH_CPU_ARMEL
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/test/multiprocess_posix.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/test/multiprocess_posix.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/test/multiprocess_posix.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/test/multiprocess_posix.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/test/multiprocess_posix.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/test/multiprocess_posix.cc
@@ -162,7 +162,8 @@
void Multiprocess::SetExpectedChildTermi
}
...
...
@@ -976,10 +976,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/test/multiprocess_p
SetExpectedChildTermination(kTerminationSignal, SIGTRAP);
#else
SetExpectedChildTermination(kTerminationSignal, SIGILL);
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
@@ -56,6 +56,11 @@
bool AuxiliaryVector::Read(PtraceConnect
if (type == AT_IGNORE) {
continue;
...
...
@@ -992,10 +992,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/util/linux/auxiliar
if (!MapInsertOrReplace(&values_, type, value, nullptr)) {
LOG(ERROR) << "duplicate auxv entry";
return false;
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/util/linux/ptracer.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/util/linux/ptracer.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/util/linux/ptracer.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/util/linux/ptracer.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/util/linux/ptracer.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/util/linux/ptracer.cc
@@ -430,6 +430,64 @@
bool GetThreadArea64(pid_t tid,
return true;
}
...
...
@@ -1071,10 +1071,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/util/linux/ptracer.
GetThreadArea64(tid,
info->thread_context,
&info->thread_specific_data_address,
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/util/linux/thread_info.h
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/util/linux/thread_info.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/util/linux/thread_info.h
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/util/linux/thread_info.h
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/util/linux/thread_info.h
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/util/linux/thread_info.h
@@ -34,6 +34,10 @@
#include <asm/ptrace.h>
#endif
...
...
@@ -1193,10 +1193,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/util/linux/thread_i
//! \brief The thread-local storage address for the thread.
LinuxVMAddress thread_specific_data_address;
};
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/util/misc/capture_context.h
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/util/misc/capture_context.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/util/misc/capture_context.h
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/util/misc/capture_context.h
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/util/misc/capture_context.h
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/util/misc/capture_context.h
@@ -70,6 +70,7 @@
using NativeCPUContext = ucontext_t;
//! Linux | ARM/ARM64 | `r0`/`x0`
//! Linux | MIPS/MIPS64 | `$a0`
...
...
@@ -1205,10 +1205,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/util/misc/capture_c
//!
//! Additionally, the value `LR` on ARM/ARM64 will be the return address of
//! this function.
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
@@ -30,7 +30,7 @@
.globl CAPTURECONTEXT_SYMBOL2
#if defined(__i386__) || defined(__x86_64__)
...
...
@@ -1435,10 +1435,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/util/misc/capture_c
#elif defined(__riscv)
#define MCONTEXT_GREGS_OFFSET 176
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
@@ -48,7 +48,7 @@
void TestCaptureContext() {
uintptr_t pc = ProgramCounterFromContext(context_1);
...
...
@@ -1448,10 +1448,10 @@ Index: chromium-128.0.6613.119/third_party/crashpad/crashpad/util/misc/capture_c
// Sanitizers can cause enough code bloat that the “nearby” check would
// likely fail.
const uintptr_t kReferencePC =
Index: chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
Index: chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
+++ chromium-128.0.6613.1
19
/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
--- chromium-128.0.6613.1
37
.orig/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
+++ chromium-128.0.6613.1
37
/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
@@ -38,6 +38,8 @@
void SanityCheckContext(const NativeCPUC
#elif defined(ARCH_CPU_RISCV64)
EXPECT_EQ(context.uc_mcontext.__gregs[10],
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-breakpad-compile.patch
View file @
6135ee13
Index: chromium-128.0.6613.1
19
/third_party/breakpad/BUILD.gn
Index: chromium-128.0.6613.1
37
/third_party/breakpad/BUILD.gn
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/breakpad/BUILD.gn
+++ chromium-128.0.6613.1
19
/third_party/breakpad/BUILD.gn
--- chromium-128.0.6613.1
37
.orig/third_party/breakpad/BUILD.gn
+++ chromium-128.0.6613.1
37
/third_party/breakpad/BUILD.gn
@@ -782,7 +782,6 @@
if (is_linux || is_chromeos || is_androi
"breakpad/src/client/minidump_file_writer.h",
"breakpad/src/common/convert_UTF.cc",
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-clang-selection.patch
View file @
6135ee13
Index: chromium-128.0.6613.1
19
/build/config/BUILDCONFIG.gn
Index: chromium-128.0.6613.1
37
/build/config/BUILDCONFIG.gn
===================================================================
--- chromium-128.0.6613.1
19
.orig/build/config/BUILDCONFIG.gn
+++ chromium-128.0.6613.1
19
/build/config/BUILDCONFIG.gn
--- chromium-128.0.6613.1
37
.orig/build/config/BUILDCONFIG.gn
+++ chromium-128.0.6613.1
37
/build/config/BUILDCONFIG.gn
@@ -138,7 +138,6 @@
declare_args() {
# Set to true when compiling with the Clang compiler.
is_clang = current_os != "linux" ||
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-different-data-layouts.patch
View file @
6135ee13
...
...
@@ -24,10 +24,10 @@ inconsistency in data layouts when targeting this particular platform.
The error reported by the linker is not technically an error, however, only
a warning goosed up by a --fatal-warnings flag.
Index: chromium-128.0.6613.1
19
/build/config/compiler/BUILD.gn
Index: chromium-128.0.6613.1
37
/build/config/compiler/BUILD.gn
===================================================================
--- chromium-128.0.6613.1
19
.orig/build/config/compiler/BUILD.gn
+++ chromium-128.0.6613.1
19
/build/config/compiler/BUILD.gn
--- chromium-128.0.6613.1
37
.orig/build/config/compiler/BUILD.gn
+++ chromium-128.0.6613.1
37
/build/config/compiler/BUILD.gn
@@ -380,7 +380,7 @@
config("compiler") {
# Linker warnings.
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-partition-alloc-compile.patch
View file @
6135ee13
kIndex: chromium-114.0.5735.45/base/allocator/partition_allocator/partition_alloc.gni
===================================================================
Index: chromium-128.0.6613.1
19
/base/allocator/partition_allocator/partition_alloc.gni
Index: chromium-128.0.6613.1
37
/base/allocator/partition_allocator/partition_alloc.gni
===================================================================
--- chromium-128.0.6613.1
19
.orig/base/allocator/partition_allocator/partition_alloc.gni
+++ chromium-128.0.6613.1
19
/base/allocator/partition_allocator/partition_alloc.gni
--- chromium-128.0.6613.1
37
.orig/base/allocator/partition_allocator/partition_alloc.gni
+++ chromium-128.0.6613.1
37
/base/allocator/partition_allocator/partition_alloc.gni
@@ -19,7 +19,8 @@
if (is_nacl) {
# NaCl targets don't use 64-bit pointers.
has_64_bit_pointers = false
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-rust-linking.patch
View file @
6135ee13
Index: chromium-128.0.6613.1
19
/build/toolchain/gcc_toolchain.gni
Index: chromium-128.0.6613.1
37
/build/toolchain/gcc_toolchain.gni
===================================================================
--- chromium-128.0.6613.1
19
.orig/build/toolchain/gcc_toolchain.gni
+++ chromium-128.0.6613.1
19
/build/toolchain/gcc_toolchain.gni
--- chromium-128.0.6613.1
37
.orig/build/toolchain/gcc_toolchain.gni
+++ chromium-128.0.6613.1
37
/build/toolchain/gcc_toolchain.gni
@@ -441,7 +441,13 @@
template("single_gcc_toolchain") {
# -soname flag is not available on aix ld
soname_flag = "-Wl,-soname=\"$soname\""
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-rustc.patch
View file @
6135ee13
author: Andres Salomon <dilinger@debian.org>
description: allow ppc64le to build by using proper rustc target
Index: chromium-128.0.6613.1
19
/build/config/rust.gni
Index: chromium-128.0.6613.1
37
/build/config/rust.gni
===================================================================
--- chromium-128.0.6613.1
19
.orig/build/config/rust.gni
+++ chromium-128.0.6613.1
19
/build/config/rust.gni
--- chromium-128.0.6613.1
37
.orig/build/config/rust.gni
+++ chromium-128.0.6613.1
37
/build/config/rust.gni
@@ -186,6 +186,8 @@
rust_abi_target = ""
if (is_linux || is_chromeos) {
if (current_cpu == "arm64") {
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-unknown-warning-option-messages.diff
View file @
6135ee13
Index: chromium-128.0.6613.1
19
/build/config/compiler/BUILD.gn
Index: chromium-128.0.6613.1
37
/build/config/compiler/BUILD.gn
===================================================================
--- chromium-128.0.6613.1
19
.orig/build/config/compiler/BUILD.gn
+++ chromium-128.0.6613.1
19
/build/config/compiler/BUILD.gn
--- chromium-128.0.6613.1
37
.orig/build/config/compiler/BUILD.gn
+++ chromium-128.0.6613.1
37
/build/config/compiler/BUILD.gn
@@ -1844,7 +1844,7 @@
config("default_warnings") {
# -Wno-class-memaccess warns about hash table and vector in blink.
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/libaom/0001-Add-ppc64-target-to-libaom.patch
View file @
6135ee13
...
...
@@ -8,10 +8,10 @@ Subject: [PATCH] Add ppc64 target to libaom
third_party/libaom/cmake_update.sh | 3 +++
2 files changed, 15 insertions(+)
Index: chromium-128.0.6613.1
19
/third_party/libaom/BUILD.gn
Index: chromium-128.0.6613.1
37
/third_party/libaom/BUILD.gn
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/libaom/BUILD.gn
+++ chromium-128.0.6613.1
19
/third_party/libaom/BUILD.gn
--- chromium-128.0.6613.1
37
.orig/third_party/libaom/BUILD.gn
+++ chromium-128.0.6613.1
37
/third_party/libaom/BUILD.gn
@@ -275,6 +275,18 @@
if (current_cpu == "arm64") {
}
}
...
...
@@ -41,10 +41,10 @@ Index: chromium-128.0.6613.119/third_party/libaom/BUILD.gn
if (is_android) {
deps += [ "//third_party/cpu_features:ndk_compat" ]
}
Index: chromium-128.0.6613.1
19
/third_party/libaom/cmake_update.sh
Index: chromium-128.0.6613.1
37
/third_party/libaom/cmake_update.sh
===================================================================
--- chromium-128.0.6613.1
19
.orig/third_party/libaom/cmake_update.sh
+++ chromium-128.0.6613.1
19
/third_party/libaom/cmake_update.sh
--- chromium-128.0.6613.1
37
.orig/third_party/libaom/cmake_update.sh
+++ chromium-128.0.6613.1
37
/third_party/libaom/cmake_update.sh
@@ -190,6 +190,9 @@
reset_dirs linux/arm64-cpu-detect
gen_config_files linux/arm64-cpu-detect \
"${toolchain}/arm64-linux-gcc.cmake ${all_platforms}"
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/libaom/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch
View file @
6135ee13
Index: chromium-128.0.6613.1
19
/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
Index: chromium-128.0.6613.1
37
/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
===================================================================
--- /dev/null
+++ chromium-128.0.6613.1
19
/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
+++ chromium-128.0.6613.1
37
/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
@@ -0,0 +1,95 @@
+;
+; Copyright (c) 2024, Alliance for Open Media. All rights reserved
...
...
@@ -98,10 +98,10 @@ Index: chromium-128.0.6613.119/third_party/libaom/source/config/linux/ppc64/conf
+HAVE_VSX equ 1
+HAVE_WXWIDGETS equ 0
+STATIC_LINK_JXL equ 0
Index: chromium-128.0.6613.1
19
/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
Index: chromium-128.0.6613.1
37
/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
===================================================================
--- /dev/null
+++ chromium-128.0.6613.1
19
/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
+++ chromium-128.0.6613.1
37
/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
@@ -0,0 +1,13 @@
+/*
+ * Copyright (c) 2024, Alliance for Open Media. All rights reserved
...
...
@@ -116,10 +116,10 @@ Index: chromium-128.0.6613.119/third_party/libaom/source/config/linux/ppc64/conf
+#include "aom/aom_codec.h"
+static const char* const cfg = "cmake ../source/libaom -G \"Unix Makefiles\" -DCMAKE_TOOLCHAIN_FILE=\"../source/libaom/build/cmake/toolchains/ppc-linux-gcc.cmake\" -DCONFIG_AV1_DECODER=0 -DCONFIG_AV1_ENCODER=1 -DCONFIG_LIBYUV=0 -DCONFIG_AV1_HIGHBITDEPTH=0 -DCONFIG_AV1_TEMPORAL_DENOISING=1 -DCONFIG_QUANT_MATRIX=0 -DCONFIG_REALTIME_ONLY=1 -DCONFIG_SIZE_LIMIT=1 -DDECODE_HEIGHT_LIMIT=16384 -DDECODE_WIDTH_LIMIT=16384";
+const char *aom_codec_build_config(void) {return cfg;}
Index: chromium-128.0.6613.1
19
/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
Index: chromium-128.0.6613.1
37
/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
===================================================================
--- /dev/null
+++ chromium-128.0.6613.1
19
/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
+++ chromium-128.0.6613.1
37
/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
@@ -0,0 +1,99 @@
+/*
+ * Copyright (c) 2024, Alliance for Open Media. All rights reserved
...
...
@@ -220,10 +220,10 @@ Index: chromium-128.0.6613.119/third_party/libaom/source/config/linux/ppc64/conf
+#define INLINE inline
+#define STATIC_LINK_JXL 0
+#endif // AOM_CONFIG_H_
Index: chromium-128.0.6613.1
19
/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
Index: chromium-128.0.6613.1
37
/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
===================================================================
--- /dev/null
+++ chromium-128.0.6613.1
19
/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
+++ chromium-128.0.6613.1
37
/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
@@ -0,0 +1,1541 @@
+// This file is generated. Do not edit.
+#ifndef AOM_DSP_RTCD_H_
...
...
@@ -1766,10 +1766,10 @@ Index: chromium-128.0.6613.119/third_party/libaom/source/config/linux/ppc64/conf
+#endif
+
+#endif
Index: chromium-128.0.6613.1
19
/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
Index: chromium-128.0.6613.1
37
/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
===================================================================
--- /dev/null
+++ chromium-128.0.6613.1
19
/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
+++ chromium-128.0.6613.1
37
/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
@@ -0,0 +1,107 @@
+// This file is generated. Do not edit.
+#ifndef AOM_SCALE_RTCD_H_
...
...
@@ -1878,10 +1878,10 @@ Index: chromium-128.0.6613.119/third_party/libaom/source/config/linux/ppc64/conf
+#endif
+
+#endif
Index: chromium-128.0.6613.1
19
/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
Index: chromium-128.0.6613.1
37
/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
===================================================================
--- /dev/null
+++ chromium-128.0.6613.1
19
/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
+++ chromium-128.0.6613.1
37
/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
@@ -0,0 +1,484 @@
+// This file is generated. Do not edit.
+#ifndef AV1_RTCD_H_
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0001-linux-seccomp-bpf-ppc64-glibc-workaround-in-SIGSYS-h.patch
View file @
6135ee13
...
...
@@ -10,10 +10,10 @@ More investigation required.
sandbox/linux/seccomp-bpf/trap.cc | 14 ++++++++++++++
1 file changed, 14 insertions(+)
Index: chromium-128.0.6613.1
19
/sandbox/linux/seccomp-bpf/trap.cc
Index: chromium-128.0.6613.1
37
/sandbox/linux/seccomp-bpf/trap.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/sandbox/linux/seccomp-bpf/trap.cc
+++ chromium-128.0.6613.1
19
/sandbox/linux/seccomp-bpf/trap.cc
--- chromium-128.0.6613.1
37
.orig/sandbox/linux/seccomp-bpf/trap.cc
+++ chromium-128.0.6613.1
37
/sandbox/linux/seccomp-bpf/trap.cc
@@ -236,6 +236,20 @@
void Trap::SigSys(int nr, LinuxSigInfo*
SetIsInSigHandler();
}
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch
View file @
6135ee13
...
...
@@ -7,10 +7,10 @@ Subject: [PATCH 1/1] sandbox: Enable seccomp_bpf for ppc64
sandbox/features.gni | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: chromium-128.0.6613.1
19
/sandbox/features.gni
Index: chromium-128.0.6613.1
37
/sandbox/features.gni
===================================================================
--- chromium-128.0.6613.1
19
.orig/sandbox/features.gni
+++ chromium-128.0.6613.1
19
/sandbox/features.gni
--- chromium-128.0.6613.1
37
.orig/sandbox/features.gni
+++ chromium-128.0.6613.1
37
/sandbox/features.gni
@@ -9,7 +9,8 @@
use_seccomp_bpf = (is_linux || is_chromeos || is_android) &&
(current_cpu == "x86" || current_cpu == "x64" ||
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0001-sandbox-linux-Implement-partial-support-for-ppc64-sy.patch
View file @
6135ee13
...
...
@@ -17,10 +17,10 @@ GNU/Linux environments, but may require expansion elsewhere.
create mode 100644 sandbox/linux/system_headers/ppc64_linux_syscalls.h
create mode 100644 sandbox/linux/system_headers/ppc64_linux_ucontext.h
Index: chromium-128.0.6613.1
19
/sandbox/linux/BUILD.gn
Index: chromium-128.0.6613.1
37
/sandbox/linux/BUILD.gn
===================================================================
--- chromium-128.0.6613.1
19
.orig/sandbox/linux/BUILD.gn
+++ chromium-128.0.6613.1
19
/sandbox/linux/BUILD.gn
--- chromium-128.0.6613.1
37
.orig/sandbox/linux/BUILD.gn
+++ chromium-128.0.6613.1
37
/sandbox/linux/BUILD.gn
@@ -383,6 +383,8 @@
component("sandbox_services") {
source_set("sandbox_services_headers") {
...
...
@@ -30,10 +30,10 @@ Index: chromium-128.0.6613.119/sandbox/linux/BUILD.gn
"system_headers/arm64_linux_syscalls.h",
"system_headers/arm_linux_syscalls.h",
"system_headers/arm_linux_ucontext.h",
Index: chromium-128.0.6613.1
19
/sandbox/linux/system_headers/linux_syscalls.h
Index: chromium-128.0.6613.1
37
/sandbox/linux/system_headers/linux_syscalls.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/sandbox/linux/system_headers/linux_syscalls.h
+++ chromium-128.0.6613.1
19
/sandbox/linux/system_headers/linux_syscalls.h
--- chromium-128.0.6613.1
37
.orig/sandbox/linux/system_headers/linux_syscalls.h
+++ chromium-128.0.6613.1
37
/sandbox/linux/system_headers/linux_syscalls.h
@@ -35,5 +35,9 @@
#include "sandbox/linux/system_headers/arm64_linux_syscalls.h"
#endif
...
...
@@ -44,10 +44,10 @@ Index: chromium-128.0.6613.119/sandbox/linux/system_headers/linux_syscalls.h
+
#endif // SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SYSCALLS_H_
Index: chromium-128.0.6613.1
19
/sandbox/linux/system_headers/ppc64_linux_syscalls.h
Index: chromium-128.0.6613.1
37
/sandbox/linux/system_headers/ppc64_linux_syscalls.h
===================================================================
--- /dev/null
+++ chromium-128.0.6613.1
19
/sandbox/linux/system_headers/ppc64_linux_syscalls.h
+++ chromium-128.0.6613.1
37
/sandbox/linux/system_headers/ppc64_linux_syscalls.h
@@ -0,0 +1,12 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
...
...
@@ -61,10 +61,10 @@ Index: chromium-128.0.6613.119/sandbox/linux/system_headers/ppc64_linux_syscalls
+//TODO: is it necessary to redefine syscall numbers for PPC64?
+
+#endif // SANDBOX_LINUX_SYSTEM_HEADERS_PPC64_LINUX_SYSCALLS_H_
Index: chromium-128.0.6613.1
19
/sandbox/linux/system_headers/ppc64_linux_ucontext.h
Index: chromium-128.0.6613.1
37
/sandbox/linux/system_headers/ppc64_linux_ucontext.h
===================================================================
--- /dev/null
+++ chromium-128.0.6613.1
19
/sandbox/linux/system_headers/ppc64_linux_ucontext.h
+++ chromium-128.0.6613.1
37
/sandbox/linux/system_headers/ppc64_linux_ucontext.h
@@ -0,0 +1,12 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0001-sandbox-linux-Update-IsSyscallAllowed-in-broker_proc.patch
View file @
6135ee13
...
...
@@ -7,10 +7,10 @@ Subject: [PATCH] sandbox/linux: Update IsSyscallAllowed in broker_process.cc
sandbox/linux/syscall_broker/broker_process.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: chromium-128.0.6613.1
19
/sandbox/linux/syscall_broker/broker_process.cc
Index: chromium-128.0.6613.1
37
/sandbox/linux/syscall_broker/broker_process.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/sandbox/linux/syscall_broker/broker_process.cc
+++ chromium-128.0.6613.1
19
/sandbox/linux/syscall_broker/broker_process.cc
--- chromium-128.0.6613.1
37
.orig/sandbox/linux/syscall_broker/broker_process.cc
+++ chromium-128.0.6613.1
37
/sandbox/linux/syscall_broker/broker_process.cc
@@ -169,7 +169,7 @@
bool BrokerProcess::IsSyscallBrokerable(
#if defined(__NR_fstatat64)
case __NR_fstatat64:
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0001-sandbox-linux-Update-syscall-helpers-lists-for-ppc64.patch
View file @
6135ee13
...
...
@@ -12,10 +12,10 @@ Subject: [PATCH] sandbox/linux: Update syscall helpers/lists for ppc64
sandbox/linux/services/syscall_wrappers.cc | 2 +-
6 files changed, 73 insertions(+), 55 deletions(-)
Index: chromium-128.0.6613.1
19
/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
Index: chromium-128.0.6613.1
37
/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
+++ chromium-128.0.6613.1
19
/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
--- chromium-128.0.6613.1
37
.orig/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
+++ chromium-128.0.6613.1
37
/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
@@ -90,7 +90,8 @@
bool IsBaselinePolicyWatched(int sysno)
SyscallSets::IsPrctl(sysno) ||
SyscallSets::IsProcessGroupOrSession(sysno) ||
...
...
@@ -54,10 +54,10 @@ Index: chromium-128.0.6613.119/sandbox/linux/seccomp-bpf-helpers/baseline_policy
if (SyscallSets::IsSocketCall(sysno))
return RestrictSocketcallCommand();
#endif
Index: chromium-128.0.6613.1
19
/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
Index: chromium-128.0.6613.1
37
/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
+++ chromium-128.0.6613.1
19
/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
--- chromium-128.0.6613.1
37
.orig/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
+++ chromium-128.0.6613.1
37
/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
@@ -36,7 +36,7 @@
#include "sandbox/linux/system_headers/linux_time.h"
...
...
@@ -146,10 +146,10 @@ Index: chromium-128.0.6613.119/sandbox/linux/seccomp-bpf-helpers/syscall_paramet
PTRACE_GETREGS, PTRACE_GETFPREGS, PTRACE_GET_THREAD_AREA,
PTRACE_GETREGSET,
#endif
Index: chromium-128.0.6613.1
19
/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h
Index: chromium-128.0.6613.1
37
/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h
+++ chromium-128.0.6613.1
19
/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h
--- chromium-128.0.6613.1
37
.orig/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h
+++ chromium-128.0.6613.1
37
/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h
@@ -52,7 +52,7 @@
SANDBOX_EXPORT bpf_dsl::ResultExpr Restr
// O_NONBLOCK | O_SYNC | O_LARGEFILE | O_CLOEXEC | O_NOATIME.
SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictFcntlCommands();
...
...
@@ -159,10 +159,10 @@ Index: chromium-128.0.6613.119/sandbox/linux/seccomp-bpf-helpers/syscall_paramet
// Restrict socketcall(2) to only allow socketpair(2), send(2), recv(2),
// sendto(2), recvfrom(2), shutdown(2), sendmsg(2) and recvmsg(2).
SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictSocketcallCommand();
Index: chromium-128.0.6613.1
19
/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
Index: chromium-128.0.6613.1
37
/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
+++ chromium-128.0.6613.1
19
/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
--- chromium-128.0.6613.1
37
.orig/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
+++ chromium-128.0.6613.1
37
/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
@@ -29,7 +29,8 @@
bool SyscallSets::IsAllowedGettime(int s
switch (sysno) {
case __NR_gettimeofday:
...
...
@@ -582,10 +582,10 @@ Index: chromium-128.0.6613.119/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR_vserver:
#endif
return true;
Index: chromium-128.0.6613.1
19
/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
Index: chromium-128.0.6613.1
37
/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
+++ chromium-128.0.6613.1
19
/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
--- chromium-128.0.6613.1
37
.orig/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
+++ chromium-128.0.6613.1
37
/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
@@ -46,13 +46,14 @@
class SANDBOX_EXPORT SyscallSets {
static bool IsDeniedGetOrModifySocket(int sysno);
...
...
@@ -623,10 +623,10 @@ Index: chromium-128.0.6613.119/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
// Big system V multiplexing system call.
static bool IsSystemVIpc(int sysno);
#endif
Index: chromium-128.0.6613.1
19
/sandbox/linux/services/syscall_wrappers.cc
Index: chromium-128.0.6613.1
37
/sandbox/linux/services/syscall_wrappers.cc
===================================================================
--- chromium-128.0.6613.1
19
.orig/sandbox/linux/services/syscall_wrappers.cc
+++ chromium-128.0.6613.1
19
/sandbox/linux/services/syscall_wrappers.cc
--- chromium-128.0.6613.1
37
.orig/sandbox/linux/services/syscall_wrappers.cc
+++ chromium-128.0.6613.1
37
/sandbox/linux/services/syscall_wrappers.cc
@@ -61,7 +61,7 @@
long sys_clone(unsigned long flags,
#if defined(ARCH_CPU_X86_64)
return syscall(__NR_clone, flags, child_stack, ptid, ctid, tls);
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0001-sandbox-linux-bpf_dsl-Update-syscall-ranges-for-ppc6.patch
View file @
6135ee13
...
...
@@ -7,10 +7,10 @@ Subject: [PATCH 1/4] sandbox/linux/bpf_dsl: Update syscall ranges for ppc64
sandbox/linux/bpf_dsl/linux_syscall_ranges.h | 7 +++++++
1 file changed, 7 insertions(+)
Index: chromium-128.0.6613.1
19
/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
Index: chromium-128.0.6613.1
37
/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
===================================================================
--- chromium-128.0.6613.1
19
.orig/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
+++ chromium-128.0.6613.1
19
/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
--- chromium-128.0.6613.1
37
.orig/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
+++ chromium-128.0.6613.1
37
/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
@@ -56,6 +56,13 @@
#define MAX_PUBLIC_SYSCALL __NR_syscalls
#define MAX_SYSCALL MAX_PUBLIC_SYSCALL
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
5
…
8
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment