diff --git a/4d2e607af5d758f9ae42864cb6b26af49e9f5b1d.patch b/4d2e607af5d758f9ae42864cb6b26af49e9f5b1d.patch new file mode 100644 index 0000000000000000000000000000000000000000..5ac918f147feb7230009ac9ea54d41290712ff7e --- /dev/null +++ b/4d2e607af5d758f9ae42864cb6b26af49e9f5b1d.patch @@ -0,0 +1,21 @@ +diff --git a/xendump.c b/xendump.c +index 70cf261..a81817d 100644 +--- a/xendump.c ++++ b/xendump.c +@@ -2055,6 +2055,16 @@ xc_core_elf_verify(char *file, char *buf) + goto bailout; + break; + ++ case EM_ARM: ++ if (machine_type_mismatch(file, "ARM", NULL, 0)) ++ goto bailout; ++ break; ++ ++ case EM_AARCH64: ++ if (machine_type_mismatch(file, "ARM64", NULL, 0)) ++ goto bailout; ++ break; ++ + default: + if (machine_type_mismatch(file, "(unknown)", NULL, 0)) + goto bailout; diff --git a/crash.spec b/crash.spec index 56316c6dece61d96031646f64f15d49dbe86fa60..3e76a2681146f12bfaff60af85c8793262a42c78 100644 --- a/crash.spec +++ b/crash.spec @@ -1,6 +1,6 @@ Name: crash Version: 7.2.8 -Release: 3 +Release: 4 Summary: Linux kernel crash utility. License: GPLv3 URL: http://people.redhat.com/anderson @@ -11,6 +11,7 @@ Patch1: use_system_readline_v3.patch Patch9000: add-SDEI-stack-resolution.patch Patch9001: fix-bitmap_len-calculation-overflow-problem-in-large.patch +Patch9002: 4d2e607af5d758f9ae42864cb6b26af49e9f5b1d.patch BuildRequires: ncurses-devel zlib-devel lzo-devel snappy-devel BuildRequires: gcc gcc-c++ bison readline-devel @@ -75,6 +76,9 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h %{_mandir}/man8/crash.8* %changelog +* 20201026123007621517 patch-tracking 7.2.8-4 +- append patch file of upstream repository from <4d2e607af5d758f9ae42864cb6b26af49e9f5b1d> to <4d2e607af5d758f9ae42864cb6b26af49e9f5b1d> + * Tue Sep 8 2020 shixuantong - 7.2.8-3 - Restore Source0 and URL @@ -91,4 +95,4 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h - Package rebuild. * Fri Aug 30 2019 openEuler Buildteam - 7.2.6-1 -- Package init. +- Package init. \ No newline at end of file