COMPAT_43 ?

Warner Losh imp at bsdimp.com
Mon Mar 14 15:34:05 PST 2005


From: Garrett Wollman <wollman at khavrinen.lcs.mit.edu>
Subject: Re: COMPAT_43 ?
Date: Mon, 14 Mar 2005 18:28:26 -0500 (EST)

> <<On Sun, 13 Mar 2005 15:26:24 -0700 (MST), "M. Warner Losh" <imp at bsdimp.com> said:
> 
> > 	(6) The old creat, mknod, lseek, stat, truncate, getdirentries
> >             interface are covered by this as well (again, so old
> >             binaries can work, and likely there's some emulation code
> >             that depends on it).
> 
> In at least a significant number of these cases, the "old binaries"
> would be 4.3 binaries on a VAX.  Look at rev. 1.1 of syscalls.master
> and notice how many of them were already marked COMPAT in 4.4-Lite.  I
> believe creat, wait, sigvec, sigblock, sigsetmask, and killpg were
> also COMPAT_43 in Net/2.  creat() has never been a syscall in the
> entire life of FreeBSD, but we're still carrying around the code to
> implement it for "compatibility" with old VAX binaries.

Clearly this is to make sure that if we ever do a port to a VAX we can
have the compat binaries :-)

Warner


More information about the freebsd-current mailing list