]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
syswrap/Linux: trace ioctl() calls only once / do not report two-argument
authorBart Van Assche <bvanassche@acm.org>
Thu, 28 Apr 2011 18:36:49 +0000 (18:36 +0000)
committerBart Van Assche <bvanassche@acm.org>
Thu, 28 Apr 2011 18:36:49 +0000 (18:36 +0000)
ioctl() calls as an error. Patch provided by Mark Hills. Closes #272730.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11717

coregrind/m_syswrap/syswrap-linux.c

index 4d3dca909264a2b4a1e8844ee42a51bebb81546b..e3c57d69b08647e2f9f07c937113b77abe444ac0 100644 (file)
@@ -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).