From: Julian Seward Date: Fri, 14 Aug 2015 08:05:35 +0000 (+0000) Subject: Bug 349034 - Add Lustre ioctls LL_IOC_GROUP_LOCK and LL_IOC_GROUP_UNLOCK X-Git-Tag: svn/VALGRIND_3_11_0~116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=396f02357d59d1205d6249f4e0d98d9a515ea225;p=thirdparty%2Fvalgrind.git Bug 349034 - Add Lustre ioctls LL_IOC_GROUP_LOCK and LL_IOC_GROUP_UNLOCK Patch from Frank Zago (fzago@cray.com) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15541 --- diff --git a/coregrind/m_syswrap/syswrap-linux.c b/coregrind/m_syswrap/syswrap-linux.c index d036ae75bf..6fd0d8376c 100644 --- a/coregrind/m_syswrap/syswrap-linux.c +++ b/coregrind/m_syswrap/syswrap-linux.c @@ -5550,6 +5550,10 @@ PRE(sys_ioctl) /* InfiniBand */ case VKI_IB_USER_MAD_ENABLE_PKEY: + /* Lustre */ + case VKI_LL_IOC_GROUP_LOCK: + case VKI_LL_IOC_GROUP_UNLOCK: + /* V4L2 */ case VKI_V4L2_LOG_STATUS: diff --git a/include/vki/vki-linux.h b/include/vki/vki-linux.h index 82d733bd2e..4ede25c7d6 100644 --- a/include/vki/vki-linux.h +++ b/include/vki/vki-linux.h @@ -3692,6 +3692,10 @@ struct vki_getparent { //---------------------------------------------------------------------- // From Lustre's lustre/include/lustre/lustre_user.h //---------------------------------------------------------------------- +#define VKI_LL_IOC_GROUP_LOCK \ + _VKI_IOW('f', 158, long) +#define VKI_LL_IOC_GROUP_UNLOCK \ + _VKI_IOW('f', 159, long) #define VKI_LL_IOC_GETPARENT \ _VKI_IOWR('f', 249, struct vki_getparent)