Commit d2f6519a authored by Timothy Pearson's avatar Timothy Pearson
Browse files

Update to Chromium 130.0.6723.58

parent 31999af1
=================================================================================
VERSION
129.0.6668.58
130.0.6723.58
=================================================================================
APPLICATION
......@@ -13,22 +13,18 @@ quilt push -a
=================================================================================
MINIMUM SYSTEM REQUIREMENTS
**PATCHED** LLVM 17 or higher
LLVM 18.1.8 / LLVM 19.1.1 or higher
**** PATCH REQUIREMENTS ****
LLVM 17 and up miscompile floating point libcalls with signed integer arguments
on all architectures. Since LLVM 16 significantly miscompiles ppc64el code
(leading to Chromium segfaults), LLVM 17 or higher will need to have a patch
applied prior to building Chromium. If this is not done, the browser will
**** LLVM REQUIREMENTS ****
LLVM 17 and up (prior to 18.1.8) miscompile floating point libcalls with
signed integer arguments on all architectures. Since LLVM 16 significantly
miscompiles ppc64el code (leading to Chromium segfaults), LLVM 18.1.8 or
higher is mandatory. If this requirement is not satisfied, the browser will
consume massive system resources and randomly crash.
The patch currently resides in a pull request for LLVM on Github:
Full information is available on the merged upstream pull request here:
https://github.com/llvm/llvm-project/pull/109134
This patch applies successfully to Clang 18, which SSC is currently using to
build its production Chromium on POWER packages. Hopefully, it will be
merged shortly and backported to Clang 19 / Clang 18.
**** WARNING ****
LLVM 16 is known to miscompile part of v8!
......
--- a/base/system/sys_info.cc
+++ b/base/system/sys_info.cc
@@ -255,6 +255,8 @@
Index: chromium-130.0.6723.44/base/system/sys_info.cc
===================================================================
--- chromium-130.0.6723.44.orig/base/system/sys_info.cc
+++ chromium-130.0.6723.44/base/system/sys_info.cc
@@ -253,6 +253,8 @@ std::string SysInfo::ProcessCPUArchitect
return "ARM";
#elif defined(ARCH_CPU_ARM64)
return "ARM_64";
......
Index: chromium-129.0.6668.58/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
Index: chromium-130.0.6723.44/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
===================================================================
--- chromium-129.0.6668.58.orig/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
+++ chromium-129.0.6668.58/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
@@ -303,6 +303,8 @@ bool ChromeRuntimeAPIDelegate::GetPlatfo
--- chromium-130.0.6723.44.orig/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
+++ chromium-130.0.6723.44/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
@@ -307,6 +307,8 @@ bool ChromeRuntimeAPIDelegate::GetPlatfo
info->arch = extensions::api::runtime::PlatformArch::kMips;
} else if (strcmp(arch, "mips64el") == 0) {
info->arch = extensions::api::runtime::PlatformArch::kMips64;
......@@ -11,7 +11,7 @@ Index: chromium-129.0.6668.58/chrome/browser/extensions/api/runtime/chrome_runti
} else {
NOTREACHED_IN_MIGRATION();
return false;
@@ -319,6 +321,8 @@ bool ChromeRuntimeAPIDelegate::GetPlatfo
@@ -323,6 +325,8 @@ bool ChromeRuntimeAPIDelegate::GetPlatfo
info->nacl_arch = extensions::api::runtime::PlatformNaclArch::kMips;
} else if (strcmp(nacl_arch, "mips64") == 0) {
info->nacl_arch = extensions::api::runtime::PlatformNaclArch::kMips64;
......@@ -20,10 +20,10 @@ Index: chromium-129.0.6668.58/chrome/browser/extensions/api/runtime/chrome_runti
} else {
NOTREACHED_IN_MIGRATION();
return false;
Index: chromium-129.0.6668.58/extensions/common/api/runtime.json
Index: chromium-130.0.6723.44/extensions/common/api/runtime.json
===================================================================
--- chromium-129.0.6668.58.orig/extensions/common/api/runtime.json
+++ chromium-129.0.6668.58/extensions/common/api/runtime.json
--- chromium-130.0.6723.44.orig/extensions/common/api/runtime.json
+++ chromium-130.0.6723.44/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."},
......
Index: chromium-129.0.6668.58/build/config/compiler/BUILD.gn
Index: chromium-130.0.6723.44/build/config/compiler/BUILD.gn
===================================================================
--- chromium-129.0.6668.58.orig/build/config/compiler/BUILD.gn
+++ chromium-129.0.6668.58/build/config/compiler/BUILD.gn
@@ -1460,7 +1460,7 @@ config("compiler_cpu_abi") {
--- chromium-130.0.6723.44.orig/build/config/compiler/BUILD.gn
+++ chromium-130.0.6723.44/build/config/compiler/BUILD.gn
@@ -1474,7 +1474,7 @@ config("compiler_cpu_abi") {
cflags += [ "-maix64" ]
ldflags += [ "-maix64" ]
} else {
......@@ -11,10 +11,10 @@ Index: chromium-129.0.6668.58/build/config/compiler/BUILD.gn
ldflags += [ "-m64" ]
}
} else if (current_cpu == "riscv64") {
Index: chromium-129.0.6668.58/third_party/libvpx/BUILD.gn
Index: chromium-130.0.6723.44/third_party/libvpx/BUILD.gn
===================================================================
--- chromium-129.0.6668.58.orig/third_party/libvpx/BUILD.gn
+++ chromium-129.0.6668.58/third_party/libvpx/BUILD.gn
--- chromium-130.0.6723.44.orig/third_party/libvpx/BUILD.gn
+++ chromium-130.0.6723.44/third_party/libvpx/BUILD.gn
@@ -105,7 +105,7 @@ config("libvpx_config") {
if (current_cpu == "ppc64") {
......@@ -24,12 +24,12 @@ Index: chromium-129.0.6668.58/third_party/libvpx/BUILD.gn
"-maltivec",
"-mvsx",
]
Index: chromium-129.0.6668.58/v8/BUILD.gn
Index: chromium-130.0.6723.44/v8/BUILD.gn
===================================================================
--- chromium-129.0.6668.58.orig/v8/BUILD.gn
+++ chromium-129.0.6668.58/v8/BUILD.gn
@@ -1449,7 +1449,7 @@ config("toolchain") {
defines += [ "V8_TARGET_ARCH_PPC_LE" ]
--- chromium-130.0.6723.44.orig/v8/BUILD.gn
+++ chromium-130.0.6723.44/v8/BUILD.gn
@@ -1434,7 +1434,7 @@ config("toolchain") {
if (current_os == "linux") {
cflags += [
# Enable usage of AltiVec, VSX, and other POWER8 and higher features
- "-mcpu=power8",
......
Index: chromium-129.0.6668.58/build/rust/cargo_crate.gni
Index: chromium-130.0.6723.44/build/rust/cargo_crate.gni
===================================================================
--- chromium-129.0.6668.58.orig/build/rust/cargo_crate.gni
+++ chromium-129.0.6668.58/build/rust/cargo_crate.gni
@@ -429,7 +429,7 @@ template("cargo_crate") {
rust_abi_target,
--- chromium-130.0.6723.44.orig/build/rust/cargo_crate.gni
+++ chromium-130.0.6723.44/build/rust/cargo_crate.gni
@@ -430,7 +430,7 @@ template("cargo_crate") {
]
}
- if (current_cpu == "arm64" || current_cpu == "x64") {
+ if (current_cpu == "arm64" || current_cpu == "x64" || current_cpu == "ppc64") {
if (current_cpu == "arm64" || current_cpu == "x64" ||
- current_cpu == "loong64" || current_cpu == "riscv64") {
+ current_cpu == "loong64" || current_cpu == "riscv64" || current_cpu == "ppc64") {
args += [
"--pointer-width",
"64",
Index: chromium-129.0.6668.58/third_party/breakpad/BUILD.gn
Index: chromium-130.0.6723.44/third_party/breakpad/BUILD.gn
===================================================================
--- chromium-129.0.6668.58.orig/third_party/breakpad/BUILD.gn
+++ chromium-129.0.6668.58/third_party/breakpad/BUILD.gn
--- chromium-130.0.6723.44.orig/third_party/breakpad/BUILD.gn
+++ chromium-130.0.6723.44/third_party/breakpad/BUILD.gn
@@ -785,7 +785,6 @@ if (is_linux || is_chromeos || is_androi
"breakpad/src/client/minidump_file_writer.h",
"breakpad/src/common/convert_UTF.cc",
......
Index: chromium-129.0.6668.58/build/config/BUILDCONFIG.gn
Index: chromium-130.0.6723.44/build/config/BUILDCONFIG.gn
===================================================================
--- chromium-129.0.6668.58.orig/build/config/BUILDCONFIG.gn
+++ chromium-129.0.6668.58/build/config/BUILDCONFIG.gn
--- chromium-130.0.6723.44.orig/build/config/BUILDCONFIG.gn
+++ chromium-130.0.6723.44/build/config/BUILDCONFIG.gn
@@ -138,7 +138,6 @@ declare_args() {
# Set to true when compiling with the Clang compiler.
is_clang = current_os != "linux" ||
......
......@@ -24,11 +24,11 @@ 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-129.0.6668.58/build/config/compiler/BUILD.gn
Index: chromium-130.0.6723.44/build/config/compiler/BUILD.gn
===================================================================
--- chromium-129.0.6668.58.orig/build/config/compiler/BUILD.gn
+++ chromium-129.0.6668.58/build/config/compiler/BUILD.gn
@@ -382,7 +382,7 @@ config("compiler") {
--- chromium-130.0.6723.44.orig/build/config/compiler/BUILD.gn
+++ chromium-130.0.6723.44/build/config/compiler/BUILD.gn
@@ -385,7 +385,7 @@ config("compiler") {
# Linker warnings.
if (fatal_linker_warnings && !is_apple && current_os != "aix" &&
......
kIndex: chromium-114.0.5735.45/base/allocator/partition_allocator/partition_alloc.gni
===================================================================
Index: chromium-129.0.6668.58/base/allocator/partition_allocator/partition_alloc.gni
Index: chromium-130.0.6723.44/base/allocator/partition_allocator/partition_alloc.gni
===================================================================
--- chromium-129.0.6668.58.orig/base/allocator/partition_allocator/partition_alloc.gni
+++ chromium-129.0.6668.58/base/allocator/partition_allocator/partition_alloc.gni
--- chromium-130.0.6723.44.orig/base/allocator/partition_allocator/partition_alloc.gni
+++ chromium-130.0.6723.44/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
......
Index: chromium-129.0.6668.58/build/toolchain/gcc_toolchain.gni
Index: chromium-130.0.6723.44/build/toolchain/gcc_toolchain.gni
===================================================================
--- chromium-129.0.6668.58.orig/build/toolchain/gcc_toolchain.gni
+++ chromium-129.0.6668.58/build/toolchain/gcc_toolchain.gni
--- chromium-130.0.6723.44.orig/build/toolchain/gcc_toolchain.gni
+++ chromium-130.0.6723.44/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\""
......
author: Andres Salomon <dilinger@debian.org>
description: allow ppc64le to build by using proper rustc target
Index: chromium-129.0.6668.58/build/config/rust.gni
Index: chromium-130.0.6723.44/build/config/rust.gni
===================================================================
--- chromium-129.0.6668.58.orig/build/config/rust.gni
+++ chromium-129.0.6668.58/build/config/rust.gni
@@ -186,6 +186,8 @@ rust_abi_target = ""
--- chromium-130.0.6723.44.orig/build/config/rust.gni
+++ chromium-130.0.6723.44/build/config/rust.gni
@@ -193,6 +193,8 @@ rust_abi_target = ""
if (is_linux || is_chromeos) {
if (current_cpu == "arm64") {
rust_abi_target = "aarch64-unknown-linux-gnu"
......
--- a/components/variations/proto/study.proto
+++ b/components/variations/proto/study.proto
@@ -264,6 +264,9 @@
Index: chromium-130.0.6723.44/components/variations/proto/study.proto
===================================================================
--- chromium-130.0.6723.44.orig/components/variations/proto/study.proto
+++ chromium-130.0.6723.44/components/variations/proto/study.proto
@@ -262,6 +262,9 @@ message Study {
// A Mac-only value, indicating an x86-64 binary running on an arm64 host
// via "Rosetta 2" binary translation.
TRANSLATED_X86_64 = 4;
......@@ -10,9 +12,11 @@
}
// Enum to pass as optional bool.
--- a/components/variations/service/variations_field_trial_creator_base.cc
+++ b/components/variations/service/variations_field_trial_creator_base.cc
@@ -109,6 +109,9 @@
Index: chromium-130.0.6723.44/components/variations/service/variations_field_trial_creator_base.cc
===================================================================
--- chromium-130.0.6723.44.orig/components/variations/service/variations_field_trial_creator_base.cc
+++ chromium-130.0.6723.44/components/variations/service/variations_field_trial_creator_base.cc
@@ -109,6 +109,9 @@ Study::CpuArchitecture GetCurrentCpuArch
if (process_arch == "x86") {
return Study::X86_32;
}
......
Index: chromium-129.0.6668.58/build/config/compiler/BUILD.gn
Index: chromium-130.0.6723.44/build/config/compiler/BUILD.gn
===================================================================
--- chromium-129.0.6668.58.orig/build/config/compiler/BUILD.gn
+++ chromium-129.0.6668.58/build/config/compiler/BUILD.gn
@@ -1859,7 +1859,7 @@ config("default_warnings") {
--- chromium-130.0.6723.44.orig/build/config/compiler/BUILD.gn
+++ chromium-130.0.6723.44/build/config/compiler/BUILD.gn
@@ -1873,7 +1873,7 @@ config("default_warnings") {
# -Wno-class-memaccess warns about hash table and vector in blink.
# But the violation is intentional.
......@@ -11,7 +11,7 @@ Index: chromium-129.0.6668.58/build/config/compiler/BUILD.gn
cflags_cc += [ "-Wno-class-memaccess" ]
}
@@ -1869,7 +1869,9 @@ config("default_warnings") {
@@ -1883,7 +1883,9 @@ config("default_warnings") {
# Don't warn about "maybe" uninitialized. Clang doesn't include this
# in -Wall but gcc does, and it gives false positives.
......@@ -22,7 +22,7 @@ Index: chromium-129.0.6668.58/build/config/compiler/BUILD.gn
cflags += [ "-Wno-deprecated-declarations" ]
# -Wcomment gives too many false positives in the case a
@@ -1880,7 +1882,9 @@ config("default_warnings") {
@@ -1894,7 +1896,9 @@ config("default_warnings") {
# -Wpacked-not-aligned complains all generated mojom-shared-internal.h
# files.
......
......@@ -8,11 +8,11 @@ Subject: [PATCH] Add ppc64 target to libaom
third_party/libaom/cmake_update.sh | 3 +++
2 files changed, 15 insertions(+)
Index: chromium-129.0.6668.58/third_party/libaom/BUILD.gn
Index: chromium-130.0.6723.44/third_party/libaom/BUILD.gn
===================================================================
--- chromium-129.0.6668.58.orig/third_party/libaom/BUILD.gn
+++ chromium-129.0.6668.58/third_party/libaom/BUILD.gn
@@ -274,6 +274,18 @@ if (current_cpu == "arm64") {
--- chromium-130.0.6723.44.orig/third_party/libaom/BUILD.gn
+++ chromium-130.0.6723.44/third_party/libaom/BUILD.gn
@@ -279,6 +279,18 @@ if (current_cpu == "arm64") {
}
}
......@@ -31,7 +31,7 @@ Index: chromium-129.0.6668.58/third_party/libaom/BUILD.gn
static_library("libaom") {
check_includes = false
if (!is_debug && is_win) {
@@ -337,6 +349,9 @@ static_library("libaom") {
@@ -342,6 +354,9 @@ static_library("libaom") {
# This is needed by all arm boards due to aom_arm_cpu_caps()
sources += [ "source/libaom/aom_ports/aarch32_cpudetect.c" ]
}
......@@ -41,10 +41,10 @@ Index: chromium-129.0.6668.58/third_party/libaom/BUILD.gn
if (is_android) {
deps += [ "//third_party/cpu_features:ndk_compat" ]
}
Index: chromium-129.0.6668.58/third_party/libaom/cmake_update.sh
Index: chromium-130.0.6723.44/third_party/libaom/cmake_update.sh
===================================================================
--- chromium-129.0.6668.58.orig/third_party/libaom/cmake_update.sh
+++ chromium-129.0.6668.58/third_party/libaom/cmake_update.sh
--- chromium-130.0.6723.44.orig/third_party/libaom/cmake_update.sh
+++ chromium-130.0.6723.44/third_party/libaom/cmake_update.sh
@@ -189,6 +189,9 @@ reset_dirs linux/arm64-cpu-detect
gen_config_files linux/arm64-cpu-detect \
"${toolchain}/arm64-linux-gcc.cmake ${all_platforms}"
......
Index: chromium-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
Index: chromium-130.0.6723.44/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
===================================================================
--- /dev/null
+++ chromium-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/config/aom_config.asm
+++ chromium-130.0.6723.44/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-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/confi
+HAVE_VSX equ 1
+HAVE_WXWIDGETS equ 0
+STATIC_LINK_JXL equ 0
Index: chromium-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
Index: chromium-130.0.6723.44/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
===================================================================
--- /dev/null
+++ chromium-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/config/aom_config.c
+++ chromium-130.0.6723.44/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-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/confi
+#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-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
Index: chromium-130.0.6723.44/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
===================================================================
--- /dev/null
+++ chromium-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
+++ chromium-130.0.6723.44/third_party/libaom/source/config/linux/ppc64/config/aom_config.h
@@ -0,0 +1,98 @@
+/*
+ * Copyright (c) 2024, Alliance for Open Media. All rights reserved.
......@@ -219,10 +219,10 @@ Index: chromium-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/confi
+#define HAVE_WXWIDGETS 0
+#define STATIC_LINK_JXL 0
+#endif // AOM_CONFIG_H_
Index: chromium-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
Index: chromium-130.0.6723.44/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
===================================================================
--- /dev/null
+++ chromium-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
+++ chromium-130.0.6723.44/third_party/libaom/source/config/linux/ppc64/config/aom_dsp_rtcd.h
@@ -0,0 +1,1501 @@
+/*
+ * Copyright (c) 2024, Alliance for Open Media. All rights reserved.
......@@ -1725,10 +1725,10 @@ Index: chromium-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/confi
+#endif
+
+#endif
Index: chromium-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
Index: chromium-130.0.6723.44/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
===================================================================
--- /dev/null
+++ chromium-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
+++ chromium-130.0.6723.44/third_party/libaom/source/config/linux/ppc64/config/aom_scale_rtcd.h
@@ -0,0 +1,91 @@
+/*
+ * Copyright (c) 2024, Alliance for Open Media. All rights reserved.
......@@ -1821,10 +1821,10 @@ Index: chromium-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/confi
+#endif
+
+#endif
Index: chromium-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
Index: chromium-130.0.6723.44/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
===================================================================
--- /dev/null
+++ chromium-129.0.6668.58/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
+++ chromium-130.0.6723.44/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
@@ -0,0 +1,438 @@
+/*
+ * Copyright (c) 2024, Alliance for Open Media. All rights reserved.
......
......@@ -10,10 +10,10 @@ More investigation required.
sandbox/linux/seccomp-bpf/trap.cc | 14 ++++++++++++++
1 file changed, 14 insertions(+)
Index: chromium-129.0.6668.58/sandbox/linux/seccomp-bpf/trap.cc
Index: chromium-130.0.6723.44/sandbox/linux/seccomp-bpf/trap.cc
===================================================================
--- chromium-129.0.6668.58.orig/sandbox/linux/seccomp-bpf/trap.cc
+++ chromium-129.0.6668.58/sandbox/linux/seccomp-bpf/trap.cc
--- chromium-130.0.6723.44.orig/sandbox/linux/seccomp-bpf/trap.cc
+++ chromium-130.0.6723.44/sandbox/linux/seccomp-bpf/trap.cc
@@ -236,6 +236,20 @@ void Trap::SigSys(int nr, LinuxSigInfo*
SetIsInSigHandler();
}
......
......@@ -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-129.0.6668.58/sandbox/features.gni
Index: chromium-130.0.6723.44/sandbox/features.gni
===================================================================
--- chromium-129.0.6668.58.orig/sandbox/features.gni
+++ chromium-129.0.6668.58/sandbox/features.gni
--- chromium-130.0.6723.44.orig/sandbox/features.gni
+++ chromium-130.0.6723.44/sandbox/features.gni
@@ -9,7 +9,8 @@
use_seccomp_bpf = (is_linux || is_chromeos || is_android) &&
(current_cpu == "x86" || current_cpu == "x64" ||
......
......@@ -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-129.0.6668.58/sandbox/linux/BUILD.gn
Index: chromium-130.0.6723.44/sandbox/linux/BUILD.gn
===================================================================
--- chromium-129.0.6668.58.orig/sandbox/linux/BUILD.gn
+++ chromium-129.0.6668.58/sandbox/linux/BUILD.gn
--- chromium-130.0.6723.44.orig/sandbox/linux/BUILD.gn
+++ chromium-130.0.6723.44/sandbox/linux/BUILD.gn
@@ -383,6 +383,8 @@ component("sandbox_services") {
source_set("sandbox_services_headers") {
......@@ -30,10 +30,10 @@ Index: chromium-129.0.6668.58/sandbox/linux/BUILD.gn
"system_headers/arm64_linux_syscalls.h",
"system_headers/arm_linux_syscalls.h",
"system_headers/arm_linux_ucontext.h",
Index: chromium-129.0.6668.58/sandbox/linux/system_headers/linux_syscalls.h
Index: chromium-130.0.6723.44/sandbox/linux/system_headers/linux_syscalls.h
===================================================================
--- chromium-129.0.6668.58.orig/sandbox/linux/system_headers/linux_syscalls.h
+++ chromium-129.0.6668.58/sandbox/linux/system_headers/linux_syscalls.h
--- chromium-130.0.6723.44.orig/sandbox/linux/system_headers/linux_syscalls.h
+++ chromium-130.0.6723.44/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-129.0.6668.58/sandbox/linux/system_headers/linux_syscalls.h
+
#endif // SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SYSCALLS_H_
Index: chromium-129.0.6668.58/sandbox/linux/system_headers/ppc64_linux_syscalls.h
Index: chromium-130.0.6723.44/sandbox/linux/system_headers/ppc64_linux_syscalls.h
===================================================================
--- /dev/null
+++ chromium-129.0.6668.58/sandbox/linux/system_headers/ppc64_linux_syscalls.h
+++ chromium-130.0.6723.44/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-129.0.6668.58/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-129.0.6668.58/sandbox/linux/system_headers/ppc64_linux_ucontext.h
Index: chromium-130.0.6723.44/sandbox/linux/system_headers/ppc64_linux_ucontext.h
===================================================================
--- /dev/null
+++ chromium-129.0.6668.58/sandbox/linux/system_headers/ppc64_linux_ucontext.h
+++ chromium-130.0.6723.44/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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment