VirtualBox

Opened 13 years ago

Closed 8 years ago

#9228 closed enhancement (invalid)

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

Reported by: Robert Millan Owned by:
Component: other Version: VirtualBox 4.0.12
Keywords: Cc:
Guest type: other Host type: other

Description (last modified by aeichner)

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 (1)

freebsd_kernel.diff (22.7 KB ) - added by Robert Millan 13 years ago.

Download all attachments as: .zip

Change History (4)

by Robert Millan, 13 years ago

Attachment: freebsd_kernel.diff added

comment:1 by Robert Millan, 13 years ago

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 by Robert Millan, 12 years ago

Any news about this?

comment:3 by aeichner, 8 years ago

Description: modified (diff)
Resolution: invalid
Status: newclosed

Please use the vbox-dev mailing list for such patch series.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use