VirtualBox

Ticket #9228 (new enhancement)

Opened 3 years ago

Last modified 2 years ago

GNU/kFreeBSD support: matching some (but not all!) RT_OS_FREEBSD checks

Reported by: rmh Owned by:
Priority: major Component: other
Version: VirtualBox 4.0.12 Keywords:
Cc: Guest type: other
Host type: other

Description

As GNU/kFreeBSD is an hybrid system (userland from GNU with kernel from FreeBSD), it can't just define RT_OS_FREEBSD, because RT_OS_FREEBSD is sometimes used for kernel-related checks and sometimes used for userland-related checks (and we only want to match the first type).

Here's a patch that adds defined(FreeBSD_kernel) selectively on those RT_OS_FREEBSD checks that care about the kernel only.

Attachments

freebsd_kernel.diff Download (22.7 KB) - added by rmh 3 years ago.

Change History

Changed 3 years ago by rmh

comment:1 Changed 3 years ago by rmh

Btw, all patches I have submitted here are copyright 2011 Robert Millan and I hereby license them under the MIT license ( http://www.virtualbox.org/wiki/MIT%20license)

comment:2 Changed 2 years ago by rmh

Any news about this?

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use