Date: Mon, 21 Dec 2009 12:05:39 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Doug Barton <dougb@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Warner Losh <imp@freebsd.org>, John Baldwin <jhb@freebsd.org> Subject: Re: svn commit: r200606 - in head/sys: compat/freebsd32 sys Message-ID: <86aaxcsi2k.fsf@ds4.des.no> In-Reply-To: <4B2C127A.8060509@FreeBSD.org> (Doug Barton's message of "Fri, 18 Dec 2009 15:38:34 -0800") References: <200912161717.nBGHHeQZ005541@svn.freebsd.org> <200912161541.53834.jhb@freebsd.org> <868wd0cyjd.fsf@ds4.des.no> <4B2C127A.8060509@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton <dougb@FreeBSD.org> writes: > Trying to look at this from the user perspective, it's kind of silly > that if what I want is COMPAT5 I also need to add COMPAT<somethingelse>. > > I don't know the issues in the code so I don't know what the solution > should be on the back end, but on the front end what needs to work is > that I specify the compat level I want in my kernel config, then the > code does what's necessary to make that work. So basically #ifdef FREEBSD_COMPAT4 #ifndef FREEBSD_COMPAT5 #define FREEBSD_COMPAT5 #endif #endif #ifdef FREEBSD_COMPAT5 #ifndef FREEBSD_COMPAT6 #define FREEBSD_COMPAT6 #endif #endif #ifdef FREEBSD_COMPAT6 #ifndef FREEBSD_COMPAT7 #define FREEBSD_COMPAT7 #endif #endif etc. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86aaxcsi2k.fsf>