|
From: <sv...@va...> - 2011-08-10 10:16:04
|
Author: tom
Date: 2011-08-10 11:11:14 +0100 (Wed, 10 Aug 2011)
New Revision: 11960
Log:
Support the F_GETPIPE_SZ and F_SETPIPE_SZ fcntl calls. Fixes #278349.
Modified:
trunk/coregrind/m_syswrap/syswrap-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-linux.c
===================================================================
--- trunk/coregrind/m_syswrap/syswrap-linux.c 2011-08-10 09:57:27 UTC (rev 11959)
+++ trunk/coregrind/m_syswrap/syswrap-linux.c 2011-08-10 10:11:14 UTC (rev 11960)
@@ -3745,6 +3745,7 @@
case VKI_F_GETOWN:
case VKI_F_GETSIG:
case VKI_F_GETLEASE:
+ case VKI_F_GETPIPE_SZ:
PRINT("sys_fcntl ( %ld, %ld )", ARG1,ARG2);
PRE_REG_READ2(long, "fcntl", unsigned int, fd, unsigned int, cmd);
break;
@@ -3758,6 +3759,7 @@
case VKI_F_NOTIFY:
case VKI_F_SETOWN:
case VKI_F_SETSIG:
+ case VKI_F_SETPIPE_SZ:
PRINT("sys_fcntl[ARG3=='arg'] ( %ld, %ld, %ld )", ARG1,ARG2,ARG3);
PRE_REG_READ3(long, "fcntl",
unsigned int, fd, unsigned int, cmd, unsigned long, arg);
|