From: Bart Van Assche Date: Thu, 28 Apr 2011 18:36:49 +0000 (+0000) Subject: syswrap/Linux: trace ioctl() calls only once / do not report two-argument X-Git-Tag: svn/VALGRIND_3_7_0~520 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbdd04d5a997be35357772fa235e3c7282504ce4;p=thirdparty%2Fvalgrind.git syswrap/Linux: trace ioctl() calls only once / do not report two-argument ioctl() calls as an error. Patch provided by Mark Hills. Closes #272730. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11717 --- diff --git a/coregrind/m_syswrap/syswrap-linux.c b/coregrind/m_syswrap/syswrap-linux.c index 4d3dca9092..e3c57d69b0 100644 --- a/coregrind/m_syswrap/syswrap-linux.c +++ b/coregrind/m_syswrap/syswrap-linux.c @@ -3769,9 +3769,6 @@ POST(sys_fcntl64) PRE(sys_ioctl) { *flags |= SfMayBlock; - PRINT("sys_ioctl ( %ld, 0x%lx, %#lx )",ARG1,ARG2,ARG3); - PRE_REG_READ3(long, "ioctl", - unsigned int, fd, unsigned int, request, unsigned long, arg); // We first handle the ones that don't use ARG3 (even as a // scalar/non-pointer argument).