Subject: Proposal: COMPAT_FREEBSD & COMPAT_BSDI handling
To: None <tech-kern@netbsd.org>
From: Jaromir Dolecek <dolecek@ics.muni.cz>
List: tech-kern
Date: 09/08/1999 19:28:45
Hi,
COMPAT_FREEBSD needs COMPAT_14, COMPAT_13, COMPAT_12, COMPAT_09 & COMPAT_43
for the kernel to actually link. IMHO those should be automatically defined
when COMPAT_FREEBSD is defined. So the sys/conf/files would be adjusted as
follows:

defopt COMPAT_FREEBSD : COMPAT_14 COMPAT_13 COMPAT_12 COMPAT_09 COMPAT_43

Furthermore:
I think there should be added COMPAT_* option for BSDi compatibility, which
would do something similar for COMPAT_{14|13|12|NOMID} and maybe
COMPAT_{11|10|09} if needed, such as follows:

defopt COMPAT_BSDI : COMPAT_14 COMPAT_13 COMPAT_12 COMPAT_NOMID

Sure enough there are other emulations which need some COMPAT_* flags
on (seems like osf1, hpux needs COMPAT_43, for example). Those
should have needed flags automatically defined too.

Any objections to the proposed change ?

Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org>      http://www.ics.muni.cz/~dolecek/
"The only way how to get rid temptation is to yield to it." -- Oscar Wilde