|
Mark Wielaard |
c2382e |
commit 9e00f6ed1e84a3b251aded21ef98ed9e4adc6936
|
|
Mark Wielaard |
c2382e |
Author: sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>
|
|
Mark Wielaard |
c2382e |
Date: Wed Nov 23 13:15:22 2016 +0000
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
Bug 352767 - Wine/valgrind: Warning: noted but unhandled ioctl 0x5307
|
|
Mark Wielaard |
c2382e |
with no size/direction hints. (CDROMSTOP).
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
Patch from Austin English (austinenglish@gmail.com).
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16152 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
diff --git a/coregrind/m_syswrap/syswrap-linux.c b/coregrind/m_syswrap/syswrap-linux.c
|
|
Mark Wielaard |
c2382e |
index fda8dd1..5e540e8 100644
|
|
Mark Wielaard |
c2382e |
--- a/coregrind/m_syswrap/syswrap-linux.c
|
|
Mark Wielaard |
c2382e |
+++ b/coregrind/m_syswrap/syswrap-linux.c
|
|
Mark Wielaard |
c2382e |
@@ -5672,6 +5672,7 @@ PRE(sys_ioctl)
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
/* CDROM stuff. */
|
|
Mark Wielaard |
c2382e |
case VKI_CDROM_DISC_STATUS:
|
|
Mark Wielaard |
c2382e |
+ case VKI_CDROMSTOP:
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
/* KVM ioctls that dont check for a numeric value as parameter */
|
|
Mark Wielaard |
c2382e |
case VKI_KVM_S390_ENABLE_SIE:
|
|
Mark Wielaard |
c2382e |
@@ -9188,6 +9189,7 @@ POST(sys_ioctl)
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
/* CD ROM stuff (??) */
|
|
Mark Wielaard |
c2382e |
case VKI_CDROM_DISC_STATUS:
|
|
Mark Wielaard |
c2382e |
+ case VKI_CDROMSTOP:
|
|
Mark Wielaard |
c2382e |
break;
|
|
Mark Wielaard |
c2382e |
case VKI_CDROMSUBCHNL:
|
|
Mark Wielaard |
c2382e |
POST_MEM_WRITE(ARG3, sizeof(struct vki_cdrom_subchnl));
|
|
Mark Wielaard |
c2382e |
diff --git a/include/vki/vki-linux.h b/include/vki/vki-linux.h
|
|
Mark Wielaard |
c2382e |
index bdb8f33..7f6a117 100644
|
|
Mark Wielaard |
c2382e |
--- a/include/vki/vki-linux.h
|
|
Mark Wielaard |
c2382e |
+++ b/include/vki/vki-linux.h
|
|
Mark Wielaard |
c2382e |
@@ -1865,6 +1865,7 @@ struct vki_scsi_idlun {
|
|
Mark Wielaard |
c2382e |
(struct cdrom_tochdr) */
|
|
Mark Wielaard |
c2382e |
#define VKI_CDROMREADTOCENTRY 0x5306 /* Read TOC entry
|
|
Mark Wielaard |
c2382e |
(struct cdrom_tocentry) */
|
|
Mark Wielaard |
c2382e |
+#define VKI_CDROMSTOP 0x5307 /* Stop the cdrom drive */
|
|
Mark Wielaard |
c2382e |
#define VKI_CDROMSUBCHNL 0x530b /* Read subchannel data
|
|
Mark Wielaard |
c2382e |
(struct cdrom_subchnl) */
|
|
Mark Wielaard |
c2382e |
#define VKI_CDROMREADMODE2 0x530c /* Read CDROM mode 2 data (2336 Bytes)
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
commit 88c8d843f64fcb56a0ddd492fb560e6594c3f2e6
|
|
Mark Wielaard |
c2382e |
Author: sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>
|
|
Mark Wielaard |
c2382e |
Date: Wed Nov 23 13:26:23 2016 +0000
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
Bug 348616 - Wine/valgrind: Warning: noted but unhandled ioctl 0x5390
|
|
Mark Wielaard |
c2382e |
with no size/direction hints. (DVD_READ_STRUCT)
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
Patch from Austin English (austinenglish@gmail.com).
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16153 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
diff --git a/coregrind/m_syswrap/syswrap-linux.c b/coregrind/m_syswrap/syswrap-linux.c
|
|
Mark Wielaard |
c2382e |
index 5e540e8..af10b92 100644
|
|
Mark Wielaard |
c2382e |
--- a/coregrind/m_syswrap/syswrap-linux.c
|
|
Mark Wielaard |
c2382e |
+++ b/coregrind/m_syswrap/syswrap-linux.c
|
|
Mark Wielaard |
c2382e |
@@ -5674,7 +5674,10 @@ PRE(sys_ioctl)
|
|
Mark Wielaard |
c2382e |
case VKI_CDROM_DISC_STATUS:
|
|
Mark Wielaard |
c2382e |
case VKI_CDROMSTOP:
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
- /* KVM ioctls that dont check for a numeric value as parameter */
|
|
Mark Wielaard |
c2382e |
+ /* DVD stuff */
|
|
Mark Wielaard |
c2382e |
+ case VKI_DVD_READ_STRUCT:
|
|
Mark Wielaard |
c2382e |
+
|
|
Mark Wielaard |
c2382e |
+ /* KVM ioctls that don't check for a numeric value as parameter */
|
|
Mark Wielaard |
c2382e |
case VKI_KVM_S390_ENABLE_SIE:
|
|
Mark Wielaard |
c2382e |
case VKI_KVM_CREATE_IRQCHIP:
|
|
Mark Wielaard |
c2382e |
case VKI_KVM_S390_INITIAL_RESET:
|
|
Mark Wielaard |
c2382e |
@@ -9226,6 +9229,10 @@ POST(sys_ioctl)
|
|
Mark Wielaard |
c2382e |
case VKI_CDROM_GET_CAPABILITY: /* 0x5331 */
|
|
Mark Wielaard |
c2382e |
break;
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
+ /* DVD stuff */
|
|
Mark Wielaard |
c2382e |
+ case VKI_DVD_READ_STRUCT:
|
|
Mark Wielaard |
c2382e |
+ break;
|
|
Mark Wielaard |
c2382e |
+
|
|
Mark Wielaard |
c2382e |
case VKI_FIGETBSZ:
|
|
Mark Wielaard |
c2382e |
POST_MEM_WRITE(ARG3, sizeof(unsigned long));
|
|
Mark Wielaard |
c2382e |
break;
|
|
Mark Wielaard |
c2382e |
diff --git a/include/vki/vki-linux.h b/include/vki/vki-linux.h
|
|
Mark Wielaard |
c2382e |
index 7f6a117..b64b521 100644
|
|
Mark Wielaard |
c2382e |
--- a/include/vki/vki-linux.h
|
|
Mark Wielaard |
c2382e |
+++ b/include/vki/vki-linux.h
|
|
Mark Wielaard |
c2382e |
@@ -1885,6 +1885,7 @@ struct vki_scsi_idlun {
|
|
Mark Wielaard |
c2382e |
#define VKI_CDROM_DISC_STATUS 0x5327 /* get CD type information */
|
|
Mark Wielaard |
c2382e |
#define VKI_CDROM_GET_CAPABILITY 0x5331 /* get capabilities */
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
+#define VKI_DVD_READ_STRUCT 0x5390 /* read structure */
|
|
Mark Wielaard |
c2382e |
#define VKI_CDROM_SEND_PACKET 0x5393 /* send a packet to the drive */
|
|
Mark Wielaard |
c2382e |
|
|
Mark Wielaard |
c2382e |
struct vki_cdrom_msf0
|