From 82530e7a9b7adc88deede2f6a214de6cfaba34ca Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Mar 04 2019 16:47:19 +0000 Subject: 3.14.0-15 - Add valgrind-3.14.0-ppc64-quotactl.patch --- diff --git a/valgrind-3.14.0-ppc64-quotactl.patch b/valgrind-3.14.0-ppc64-quotactl.patch new file mode 100644 index 0000000..87b4033 --- /dev/null +++ b/valgrind-3.14.0-ppc64-quotactl.patch @@ -0,0 +1,22 @@ +commit 7f74ba249ead48f351676c37d498b17305212123 +Author: Mark Wielaard +Date: Mon Mar 4 17:22:56 2019 +0100 + + Bug 405079 - unhandled ppc64le-linux syscall: 131 (quotactl) + + quotactl is really a "generic" linux syscall that just happened to not + have been hooked up for ppc64le. Add it to syswrap-ppc64-linux.c. + +diff --git a/coregrind/m_syswrap/syswrap-ppc64-linux.c b/coregrind/m_syswrap/syswrap-ppc64-linux.c +index 0fdcc8e..eada099 100644 +--- a/coregrind/m_syswrap/syswrap-ppc64-linux.c ++++ b/coregrind/m_syswrap/syswrap-ppc64-linux.c +@@ -755,7 +755,7 @@ static SyscallTableEntry syscall_table[] = { + LINX_(__NR_delete_module, sys_delete_module), // 129 + + // _____(__NR_get_kernel_syms, sys_get_kernel_syms), // 130 +-// _____(__NR_quotactl, sys_quotactl), // 131 ++ LINX_(__NR_quotactl, sys_quotactl), // 131 + GENX_(__NR_getpgid, sys_getpgid), // 132 + GENX_(__NR_fchdir, sys_fchdir), // 133 + // _____(__NR_bdflush, sys_bdflush), // 134 diff --git a/valgrind.spec b/valgrind.spec index b4d9ac8..543f48b 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -3,7 +3,7 @@ Summary: Tool for finding memory management bugs in programs Name: %{?scl_prefix}valgrind Version: 3.14.0 -Release: 14%{?dist} +Release: 15%{?dist} Epoch: 1 License: GPLv2+ URL: http://www.valgrind.org/ @@ -178,6 +178,9 @@ Patch36: valgrind-3.14.0-s390x-vec-facility-bit.patch # KDE#404054 powerpc subfe x, x, x initializes x to 0 or -1 based on CA Patch37: valgrind-3.14.0-ppc-subfe.patch +# KDE#405079 unhandled ppc64le-linux syscall: 131 (quotactl) +Patch38: valgrind-3.14.0-ppc64-quotactl.patch + %if %{build_multilib} # Ensure glibc{,-devel} is installed for both multilib arches @@ -345,6 +348,7 @@ Valgrind User Manual for details. %patch35 -p1 %patch36 -p1 %patch37 -p1 +%patch38 -p1 %build CC=gcc @@ -579,6 +583,9 @@ fi %endif %changelog +* Mon Mar 4 2019 Mark Wielaard - 3.14.0-15 +- Add valgrind-3.14.0-ppc64-quotactl.patch + * Thu Feb 21 2019 Mark Wielaard - 3.14.0-14 - Add valgrind-3.14.0-ppc-subfe.patch