From: Tom Hughes Date: Thu, 10 Jul 2014 14:50:06 +0000 (+0000) Subject: Add support for the F_OFD_SETLK, F_OFD_SETLKW, and F_OFD_GETLK fcntl X-Git-Tag: svn/VALGRIND_3_10_0~287 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ceb1ad640a81fa560cb54fc68bcd1f163624b767;p=thirdparty%2Fvalgrind.git Add support for the F_OFD_SETLK, F_OFD_SETLKW, and F_OFD_GETLK fcntl commands. BZ#337285. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14150 --- diff --git a/coregrind/m_syswrap/syswrap-linux.c b/coregrind/m_syswrap/syswrap-linux.c index 1b784f20dc..f5608f0fd7 100644 --- a/coregrind/m_syswrap/syswrap-linux.c +++ b/coregrind/m_syswrap/syswrap-linux.c @@ -5451,6 +5451,9 @@ PRE(sys_fcntl64) case VKI_F_SETLK64: case VKI_F_SETLKW64: # endif + case VKI_F_OFD_GETLK: + case VKI_F_OFD_SETLK: + case VKI_F_OFD_SETLKW: PRINT("sys_fcntl64[ARG3=='lock'] ( %ld, %ld, %#lx )", ARG1,ARG2,ARG3); PRE_REG_READ3(long, "fcntl64", unsigned int, fd, unsigned int, cmd,