svn commit: r200606 - in head/sys: compat/freebsd32 sys

John Baldwin jhb at freebsd.org
Wed Dec 16 20:43:01 UTC 2009


On Wednesday 16 December 2009 12:17:40 pm Warner Losh wrote:
> Author: imp
> Date: Wed Dec 16 17:17:40 2009
> New Revision: 200606
> URL: http://svn.freebsd.org/changeset/base/200606
> 
> Log:
>   Fix compiling FREEBSD_COMPAT[4,5,6] without FREEBSD_COMPAT7.
>   
>   Note: Not sure this is the right way to do compat, but it makes the
>   headers consistent with the implementations.

Please revert.  I think this has already been reverted once before.  Though 
this approach happens to work for the SYSV IPC case because it uses 
SYSCALL_MODULE() to register the system calls at runtime (even when compiled 
statically into the kernel), it would not work for a COMPAT syscall that did 
not use NOSTD.

From src/UPDATING:

20090624:
        The ABI of various structures related to the SYSV IPC API have been
        changed.  As a result, the COMPAT_FREEBSD[456] and COMPAT_43 kernel
        options now all require COMPAT_FREEBSD7.  Bump __FreeBSD_version to
        800100.

-- 
John Baldwin


More information about the svn-src-head mailing list