In message: <20100313170725.gw8...@hoeg.nl> Ed Schouten <e...@80386.nl> writes: : * M. Warner Losh <i...@bsdimp.com> wrote: : > that sounds like a good idea. But it isn't as simple as changing all : > the COMPAT_FREEBSDX in the .c code. There's also hooks in the syscall : > glue generation that would be affected. : : Hmmm... Indeed. : : I thought a bit more about this and I realized it would be better if we : wouldn't use a FreeBSD major number for this, but the actual : __FreeBSD_version.
Hmmm, that might be harder. The problem is that when I want to run a program from FreeBSD 3.0, I may need an interface that was in 3.0, but was removed prior to 5.0 shipping. This means the kernel needs the COMPAT_FREEBSD4 option right now to work. So things are kind of confusing. Under your plan, which __FreeBSD_version would we use here? The COMPAT_FREEBSD_BACK_TO=3 would be the right setting here. This may pick up a little extra junk, but would be clear to the user what they are configuring. Comments? Warner _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"