[vbox-dev] [PATCH 2/2] vgdrvLinuxIOCtl: Always return standard Linux errno values

Knut St. Osmundsen knut.osmundsen at oracle.com
Sun Aug 6 20:08:48 GMT 2017


Hi Hans,

I'm with you on this not being entirely optimal.  However 'man ioctl'
(http://man7.org/linux/man-pages/man2/ioctl.2.html) documents it as sane
behavior.  So why change working code? 

As I mentioned, the ideal fix would be to pass the VBox status code back
separately in the request buffer, making the fix cross platform rather
than linux specific.  But that's a lot of work.

-bird





More information about the vbox-dev mailing list