Subject: CVS commit: [netbsd-1-6] src/sys/compat/linux/common
To: None <source-changes@NetBSD.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 10/22/2003 04:18:46
Module Name:	src
Committed By:	jmc
Date:		Wed Oct 22 04:18:46 UTC 2003

Modified Files:
	src/sys/compat/linux/common [netbsd-1-6]: linux_socket.h

Log Message:
Pullup rev 1.11 (requested by tv in ticket #1425)

        More complete sendmsg(2) and recvmsg(2) emulation:
        * translate MSG_* flags
        * rewrite CMSG level/type to appropriate NetBSD value on input,
          and to Linux value on output
        * handle different CMSG_DATA alignment for some archs

        This fixes SCM_RIGHTS passing. Other SCM_* types are not supported -
        the set is different on NetBSD and Linux. SCM_TIMESTAMP doesn't seem
        to be actually implemented in Linux 2.5.15, so it's not supported
        for Linux binaries either (for now).


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.10.10.1 src/sys/compat/linux/common/linux_socket.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.