COMPAT_43 ?

Garrett Wollman wollman at khavrinen.lcs.mit.edu
Mon Mar 14 15:28:34 PST 2005


<<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.

-GAWollman



More information about the freebsd-current mailing list