VirtualBox

Opened 13 years ago

Last modified 8 years ago

#9228 closed enhancement

GNU/kFreeBSD support: matching some (but not all!) RT_OS_FREEBSD checks — at Initial Version

Reported by: Robert Millan Owned by:
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.

Change History (1)

by Robert Millan, 13 years ago

Attachment: freebsd_kernel.diff added
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use