From: Julian Seward Date: Wed, 23 Nov 2016 13:26:23 +0000 (+0000) Subject: Bug 348616 - Wine/valgrind: Warning: noted but unhandled ioctl 0x5390 X-Git-Tag: svn/VALGRIND_3_13_0~268 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cad347059e0df8ce62a5fb947b380d06d6e5ae24;p=thirdparty%2Fvalgrind.git Bug 348616 - Wine/valgrind: Warning: noted but unhandled ioctl 0x5390 with no size/direction hints. (DVD_READ_STRUCT) Patch from Austin English (austinenglish@gmail.com). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16153 --- diff --git a/coregrind/m_syswrap/syswrap-linux.c b/coregrind/m_syswrap/syswrap-linux.c index 5e540e86a8..af10b92b60 100644 --- a/coregrind/m_syswrap/syswrap-linux.c +++ b/coregrind/m_syswrap/syswrap-linux.c @@ -5674,7 +5674,10 @@ PRE(sys_ioctl) case VKI_CDROM_DISC_STATUS: case VKI_CDROMSTOP: - /* KVM ioctls that dont check for a numeric value as parameter */ + /* DVD stuff */ + case VKI_DVD_READ_STRUCT: + + /* KVM ioctls that don't check for a numeric value as parameter */ case VKI_KVM_S390_ENABLE_SIE: case VKI_KVM_CREATE_IRQCHIP: case VKI_KVM_S390_INITIAL_RESET: @@ -9226,6 +9229,10 @@ POST(sys_ioctl) case VKI_CDROM_GET_CAPABILITY: /* 0x5331 */ break; + /* DVD stuff */ + case VKI_DVD_READ_STRUCT: + break; + case VKI_FIGETBSZ: POST_MEM_WRITE(ARG3, sizeof(unsigned long)); break; diff --git a/include/vki/vki-linux.h b/include/vki/vki-linux.h index 7f6a117eb5..b64b52108a 100644 --- a/include/vki/vki-linux.h +++ b/include/vki/vki-linux.h @@ -1885,6 +1885,7 @@ struct vki_scsi_idlun { #define VKI_CDROM_DISC_STATUS 0x5327 /* get CD type information */ #define VKI_CDROM_GET_CAPABILITY 0x5331 /* get capabilities */ +#define VKI_DVD_READ_STRUCT 0x5390 /* read structure */ #define VKI_CDROM_SEND_PACKET 0x5393 /* send a packet to the drive */ struct vki_cdrom_msf0