[vbox-dev] [patch] FreeBSD without procfs

Bernhard Froehlich decke at bluelife.at
Thu Dec 10 15:46:25 GMT 2009


procfs on FreeBSD is considered a security risk and is therefor not
mounted per default and users are encouraged not to mount it unless it is
absolutely neccessary. There are a few possible alternatives to get the
same information (path of the running binary, command line arguments, ...)
namely sysctl(3) and kvm(3).

Baptiste Daroussin has created patches to get rid of the procfs
requirement on FreeBSD and I've modified and fixed them where necessary to
get them into proper shape. The patches use sysctl(3) and should work on
at least FreeBSD 6.2 and newer (did not have an older box to test it).

The patches are under the MIT License and also available on:
http://home.bluelife.at/ports/virtualbox/freebsd-without-procfs.diff

-- 
Bernhard Fröhlich
http://www.bluelife.at/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freebsd-without-procfs.diff
Type: application/octet-stream
Size: 5708 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20091210/bc38179a/attachment.obj>


More information about the vbox-dev mailing list