]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Support the F_GETPIPE_SZ and F_SETPIPE_SZ fcntl calls. Fixes #278349.
authorTom Hughes <tom@compton.nu>
Wed, 10 Aug 2011 10:11:14 +0000 (10:11 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 10 Aug 2011 10:11:14 +0000 (10:11 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11960

coregrind/m_syswrap/syswrap-linux.c

index c09aa53d5ab8b1b27611430749800434a3e9ecf0..7add3ee8c5427372359cc0df3d021139ccd32e64 100644 (file)
@@ -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);