[vbox-dev] [patch] FreeBSD without procfs

Bernhard Froehlich decke at bluelife.at
Fri Dec 18 09:00:48 GMT 2009


On Thu, December 17, 2009 10:52 pm, Alexander Eichner wrote:
> Hi Bernhard,
>
> thanks for the patch. I modified it a bit and applied it now. It
> should be soon available in the public repository.

Thanks. More coming soon. Will such FreeBSD related patches also be
included in maintenance releases say 3.1.4? Because we could easily update
the port to a stable version then and would not need to backport all
freebsd related changes.

> And thanks a lot for this really nice present! :D

I hope you enjoy it :o)

> Regards,
> Alexander Eichner
>
> Am 10.12.2009 um 16:46 schrieb Bernhard Froehlich:
>
>> 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/
>> <freebsd-without-
>> procfs.diff>_______________________________________________
>> vbox-dev mailing list
>> vbox-dev at virtualbox.org
>> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>
>






More information about the vbox-dev mailing list