Discussion:
Valgrind: r16392 - in /trunk: NEWS coregrind/m_syswrap/syswrap-solaris.c
(too old to reply)
s***@valgrind.org
2017-05-17 04:36:12 UTC
Permalink
Raw Message
Author: iraisr
Date: Wed May 17 05:36:06 2017
New Revision: 16392

Log:
POST syscall wrapper for clock_gettime was not properly hooked up on Solaris.
This resulted in false positive undefined warnings.
Fixes BZ#379895.

Modified:
trunk/NEWS
trunk/coregrind/m_syswrap/syswrap-solaris.c

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Wed May 17 05:36:06 2017
@@ -198,6 +198,7 @@
379838 disAMode(x86): not an addr!
379703 PC ISA 3.0 fixes: stxvx, stxv, xscmpexpdp instructions, expected output
update.
+379895 clock_gettime does not execute POST syscall wrapper

Release 3.12.0 (20 October 2016)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Modified: trunk/coregrind/m_syswrap/syswrap-solaris.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-solaris.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-solaris.c Wed May 17 05:36:06 2017
@@ -10953,7 +10953,7 @@
SOLXY(__NR_auditsys, sys_auditsys), /* 186 */
SOLX_(__NR_p_online, sys_p_online), /* 189 */
SOLX_(__NR_sigqueue, sys_sigqueue), /* 190 */
- SOLX_(__NR_clock_gettime, sys_clock_gettime), /* 191 */
+ SOLXY(__NR_clock_gettime, sys_clock_gettime), /* 191 */
SOLX_(__NR_clock_settime, sys_clock_settime), /* 192 */
SOLXY(__NR_clock_getres, sys_clock_getres), /* 193 */
SOLXY(__NR_timer_create, sys_timer_create), /* 194 */
Loading...