diff --git a/valgrind-3.10.0-aarch64-syscalls.patch b/valgrind-3.10.0-aarch64-syscalls.patch index 42bd05f..55475c3 100644 --- a/valgrind-3.10.0-aarch64-syscalls.patch +++ b/valgrind-3.10.0-aarch64-syscalls.patch @@ -243,3 +243,33 @@ index 54238ed..f8a59c1 100644 //ZZ LINX_(__NR_setresuid32, sys_setresuid), // 208 //ZZ LINXY(__NR_getresuid32, sys_getresuid), // 209 //ZZ +commit 2562dd489ed5ff9d5eb73f7d2957eb3b2c5dc801 +Author: mjw +Date: Thu Nov 13 13:03:25 2014 +0000 + + Bug 340922 arm64: unhandled getgroups/setgroups syscalls. + + git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14716 a5019735-40e9-0310-863c-91ae7b9d1cf9 + +diff --git a/coregrind/m_syswrap/syswrap-arm64-linux.c b/coregrind/m_syswrap/syswrap-arm64-linux.c +index 59e1cf6..cd27ad2 100644 +--- a/coregrind/m_syswrap/syswrap-arm64-linux.c ++++ b/coregrind/m_syswrap/syswrap-arm64-linux.c +@@ -968,6 +968,8 @@ static SyscallTableEntry syscall_main_table[] = { + GENX_(__NR_getpgid, sys_getpgid), // 155 + GENX_(__NR_getsid, sys_getsid), // 156 + GENX_(__NR_setsid, sys_setsid), // 157 ++ GENXY(__NR_getgroups, sys_getgroups), // 158 ++ GENX_(__NR_setgroups, sys_setgroups), // 159 + GENXY(__NR_uname, sys_newuname), // 160 + GENXY(__NR_getrlimit, sys_old_getrlimit), // 163 + GENX_(__NR_setrlimit, sys_setrlimit), // 164 +@@ -1237,8 +1239,6 @@ static SyscallTableEntry syscall_main_table[] = { + //ZZ GENX_(__NR_setreuid32, sys_setreuid), // 203 + //ZZ GENX_(__NR_setregid32, sys_setregid), // 204 + //ZZ +-//ZZ GENXY(__NR_getgroups32, sys_getgroups), // 205 +-//ZZ GENX_(__NR_setgroups32, sys_setgroups), // 206 + //ZZ LINX_(__NR_setresuid32, sys_setresuid), // 208 + //ZZ LINXY(__NR_getresuid32, sys_getresuid), // 209 + //ZZ diff --git a/valgrind.spec b/valgrind.spec index 5302690..65e56b6 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.10.0 -Release: 5%{?dist} +Release: 6%{?dist} Epoch: 1 License: GPLv2+ URL: http://www.valgrind.org/ @@ -68,6 +68,7 @@ Patch5: valgrind-3.10.0-old-ppc32-instr-magic.patch # KDE#340028 unhandled syscalls for arm64 (msync, pread64, setreuid, setregid) # KDE#340236 arm64 mknodat (33), fchdir (50), chroot (51), fchownat (54) # KDE#340630 arm64 fchmod (52) and fchown (55) syscalls not recognized. +# KDE#340922 arm64: unhandled getgroups/setgroups syscalls. Patch6: valgrind-3.10.0-aarch64-syscalls.patch # KDE#339858 arm64 recognize dmb sy. Data Memory Barrier full SYstem variant. @@ -339,6 +340,9 @@ echo ===============END TESTING=============== %endif %changelog +* Wed Nov 19 2014 Mark Wielaard - 3.10.0-6 +- Add getgroups/setgroups to valgrind-3.10.0-aarch64-syscalls.patch + * Tue Nov 4 2014 Mark Wielaard - 3.10.0-5 - Merge valgrind-3.10.0-aarch64-times.patch and valgrind-3.10.0-aarch64-getsetsid.patch