From: Tom Hughes Date: Wed, 10 Aug 2011 09:57:27 +0000 (+0000) Subject: Make sure the post handler for mincore is called in amd64 and s390 as X-Git-Tag: svn/VALGRIND_3_7_0~278 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8da32e7807a5411abaf07caf87edba54daa46cbf;p=thirdparty%2Fvalgrind.git Make sure the post handler for mincore is called in amd64 and s390 as it already was on other platforms. Fix to #279795. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11959 --- diff --git a/coregrind/m_syswrap/syswrap-amd64-linux.c b/coregrind/m_syswrap/syswrap-amd64-linux.c index c90af60754..5377969541 100644 --- a/coregrind/m_syswrap/syswrap-amd64-linux.c +++ b/coregrind/m_syswrap/syswrap-amd64-linux.c @@ -1085,7 +1085,7 @@ static SyscallTableEntry syscall_table[] = { GENX_(__NR_mremap, sys_mremap), // 25 GENX_(__NR_msync, sys_msync), // 26 - GENX_(__NR_mincore, sys_mincore), // 27 + GENXY(__NR_mincore, sys_mincore), // 27 GENX_(__NR_madvise, sys_madvise), // 28 PLAX_(__NR_shmget, sys_shmget), // 29 diff --git a/coregrind/m_syswrap/syswrap-s390x-linux.c b/coregrind/m_syswrap/syswrap-s390x-linux.c index 102478fbfa..0049f7dfc4 100644 --- a/coregrind/m_syswrap/syswrap-s390x-linux.c +++ b/coregrind/m_syswrap/syswrap-s390x-linux.c @@ -1364,7 +1364,7 @@ static SyscallTableEntry syscall_table[] = { LINX_(__NR_setfsuid, sys_setfsuid), // 215 LINX_(__NR_setfsgid, sys_setfsgid), // 216 // ?????(__NR_pivot_root, ), - GENX_(__NR_mincore, sys_mincore), // 218 + GENXY(__NR_mincore, sys_mincore), // 218 GENX_(__NR_madvise, sys_madvise), // 219 GENXY(__NR_getdents64, sys_getdents64), // 220