From: Tom Hughes Date: Wed, 10 Aug 2011 10:11:14 +0000 (+0000) Subject: Support the F_GETPIPE_SZ and F_SETPIPE_SZ fcntl calls. Fixes #278349. X-Git-Tag: svn/VALGRIND_3_7_0~277 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c121370d4c9aaaff5566c9cfca4af0e2b446cd0;p=thirdparty%2Fvalgrind.git Support the F_GETPIPE_SZ and F_SETPIPE_SZ fcntl calls. Fixes #278349. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11960 --- diff --git a/coregrind/m_syswrap/syswrap-linux.c b/coregrind/m_syswrap/syswrap-linux.c index c09aa53d5a..7add3ee8c5 100644 --- a/coregrind/m_syswrap/syswrap-linux.c +++ b/coregrind/m_syswrap/syswrap-linux.c @@ -3745,6 +3745,7 @@ PRE(sys_fcntl) 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 @@ PRE(sys_fcntl) 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);