3.10.1-17 - Add setuid and setresgid to valgrind-3.10.1-aarch64-syscalls.patch.

This commit is contained in:
Mark Wielaard 2015-08-10 23:58:27 +02:00
parent ea879741c2
commit 2afe75c30d
2 changed files with 29 additions and 3 deletions

View File

@ -189,3 +189,26 @@ index 7b7e824..fc6ca08 100644
//ZZ // GENX_(__NR_lock, sys_ni_syscall), // 53
//ZZ
//ZZ LINXY(__NR_fcntl, sys_fcntl), // 55
commit 53d91c0f31aba5d1c9a896b4fdb0ef5f7eca47cf
Author: mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Date: Sun Aug 9 22:37:52 2015 +0000
Bug #351140 arm64 syscalls setuid (146) and setresgid (149) not implemented.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15517 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_syswrap/syswrap-arm64-linux.c b/coregrind/m_syswrap/syswrap-arm64-linux.c
index ee224ca..10872fa 100644
--- a/coregrind/m_syswrap/syswrap-arm64-linux.c
+++ b/coregrind/m_syswrap/syswrap-arm64-linux.c
@@ -957,8 +957,10 @@ static SyscallTableEntry syscall_main_table[] = {
GENX_(__NR_setregid, sys_setregid), // 143
GENX_(__NR_setgid, sys_setgid), // 144
GENX_(__NR_setreuid, sys_setreuid), // 145
+ GENX_(__NR_setuid, sys_setuid), // 146
LINX_(__NR_setresuid, sys_setresuid), // 147
LINXY(__NR_getresuid, sys_getresuid), // 148
+ LINX_(__NR_setresgid, sys_setresgid), // 149
LINXY(__NR_getresgid, sys_getresgid), // 150
GENXY(__NR_times, sys_times), // 153
GENX_(__NR_setpgid, sys_setpgid), // 154

View File

@ -3,7 +3,7 @@
Summary: Tool for finding memory management bugs in programs
Name: %{?scl_prefix}valgrind
Version: 3.10.1
Release: 16%{?dist}
Release: 17%{?dist}
Epoch: 1
License: GPLv2+
URL: http://www.valgrind.org/
@ -64,9 +64,9 @@ Patch5: valgrind-3.10.1-mempcpy.patch
# KDE#343802 - s390x memcheck reports spurious conditional jump
Patch6: valgrind-3.10-s390-spechelper.patch
# KDE#342038, KDE#343732, KDE#343733, KDE#344007, KDE#344307
# KDE#342038, KDE#343732, KDE#343733, KDE#344007, KDE#344307, KDE##351140
# mbind, get_mempolicy, set_mempolicy, flock, setgid, msgget, msgctl,
# msgrcv, msgsnd, accept4, mount, umount2
# msgrcv, msgsnd, accept4, mount, umount2, setuid, setresgid
Patch7: valgrind-3.10.1-aarch64-syscalls.patch
# KDE#344007 ppc64 missing accept4 syscall
@ -391,6 +391,9 @@ echo ===============END TESTING===============
%endif
%changelog
* Mon Aug 10 2015 Mark Wielaard <mjw@redhat.com> - 3.10.1-17
- Add setuid and setresgid to valgrind-3.10.1-aarch64-syscalls.patch.
* Mon Aug 03 2015 Mark Wielaard <mjw@redhat.com> - 3.10.1-16
- Add valgrind-3.10.1-ppc64-hwcap2.patch