Hello community, here is the log from the commit of package valgrind for openSUSE:Factory checked in at 2017-11-01 11:06:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/valgrind (Old) and /work/SRC/openSUSE:Factory/.valgrind.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "valgrind" Wed Nov 1 11:06:57 2017 rev:106 rq:537539 version:3.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/valgrind/valgrind.changes 2017-06-30 18:41:47.234982388 +0200 +++ /work/SRC/openSUSE:Factory/.valgrind.new/valgrind.changes 2017-11-01 11:07:01.227510900 +0100 @@ -1,0 +2,5 @@ +Mon Oct 30 11:00:12 UTC 2017 - dmueller@suse.com + +- add epoll-wait-fix.patch (bsc#1064958) + +------------------------------------------------------------------- New: ---- epoll-wait-fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ valgrind.spec ++++++ --- /var/tmp/diff_new_pack.94f80E/_old 2017-11-01 11:07:02.071480069 +0100 +++ /var/tmp/diff_new_pack.94f80E/_new 2017-11-01 11:07:02.071480069 +0100 @@ -36,6 +36,7 @@ # svn di svn://svn.valgrind.org/vex/tags/VEX_3_5_0 svn://svn.valgrind.org/vex/branches/VEX_3_5_BRANCH > VEX_3_5_BRANCH.diff Patch1: jit-register-unregister.diff Patch2: armv6-support.diff +Patch3: epoll-wait-fix.patch BuildRequires: automake BuildRequires: docbook-xsl-stylesheets BuildRequires: docbook_4 @@ -110,6 +111,7 @@ # needs porting to 3.11 ##%patch1 %patch2 +%patch3 %build export FLAGS="%{optflags}" ++++++ epoll-wait-fix.patch ++++++ backport of https://bugs.kde.org/show_bug.cgi?id=381289 see https://bugzilla.suse.com/show_bug.cgi?id=1064958 --- coregrind/m_syswrap/syswrap-linux.c (revision 16470) +++ coregrind/m_syswrap/syswrap-linux.c (working copy) @@ -1901,7 +1901,7 @@ PRE(sys_epoll_pwait) int, maxevents, int, timeout, vki_sigset_t *, sigmask, vki_size_t, sigsetsize); PRE_MEM_WRITE( "epoll_pwait(events)", ARG2, sizeof(struct vki_epoll_event)*ARG3); - if (ARG4) + if (ARG5) PRE_MEM_READ( "epoll_pwait(sigmask)", ARG5, sizeof(vki_sigset_t) ); } POST(sys_epoll_pwait) Index: memcheck/tests/linux/syscalls-2007.c =================================================================== --- memcheck/tests/linux/syscalls-2007.c (revision 16470) +++ memcheck/tests/linux/syscalls-2007.c (working copy) @@ -79,5 +79,16 @@ int main (void) } #endif +#if defined(HAVE_EPOLL_CREATE) && defined(HAVE_EPOLL_PWAIT) + { + int fd3; + struct epoll_event evs[10]; + + fd3 = epoll_create (10); + /* epoll_pwait can take a NULL sigmask. */ + epoll_pwait (fd3, evs, 10, 1, NULL); + } +#endif + return 0; }