[vbox-dev] [patch] Cleanup FreeBSD character device

Bernhard Froehlich decke at bluelife.at
Wed Nov 2 19:20:34 GMT 2011


Recently on FreeBSD 10-CURRENT the flag D_PSEUDO was removed and so 
building the kernel module failed since then like this:

out/freebsd.amd64/release/bin/src/vboxdrv/freebsd/SUPDrv-freebsd.c:104: 
error:
'D_PSEUDO' undeclared here (not in a function)

Gladly Ed Schouten who did the change in the FreeBSD kernel also spend 
some time and had a look at the virtualbox character device 
implementation. He wrote a patch to not only fix the compile issue but 
also cleanup the code a bit.

The thread about the issue and testing of the patch is:
http://lists.freebsd.org/pipermail/freebsd-ports/2011-October/071095.html

The Author of the patch is Ed Schouten <ed at 80386.nl>.

The License of the patch is MIT as he writes at the end of the thread 
above.

As usual the patch has been successfully tested but by a limited number 
of people.

-- 
Bernhard Fröhlich
http://www.bluelife.at/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-cdev-fixes
Type: application/octet-stream
Size: 9975 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20111102/b2a20c39/attachment.obj>


More information about the vbox-dev mailing list