ioctl 0x530d is not supported by valgrind Reproducible: Always Steps to Reproduce: 1.run this code with valgrind http://pastebin.com/xK2aX0re 2. 3. Actual Results: ==6713== Warning: noted but unhandled ioctl 0x530d with no size/direction hints. ==6713== This could cause spurious value errors to appear. ==6713== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. Expected Results: it should not have issued the warning
Created attachment 97850 [details] its a patch and fixes the error I added some switch cases to PRE() and POST()
The attached patch is missing definition for VKI_CDROMREADMODE1. However it's obvious so I've added it at the right place in vki-linux.h.
Committed in Valgrind SVN as r16358.