Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 06/04/2000 23:06:12
Module Name:	syssrc
Committed By:	thorpej
Date:		Mon Jun  5 06:06:11 UTC 2000

Modified Files:
	syssrc/sys/kern: uipc_usrreq.c

Log Message:
- Fix file descriptor passing AGAIN.  This has apparently been broken
  on LP64 systems (and probably the SPARC) since the __cmsg_alignbytes()
  changes went in.
- Change file descriptor passing to use CMSG_DATA(), not (cm + 1).  This
  pretty much has to be done in order to make it work properly on LP64,
  and considering that it's been broken this long...
- Use CMSG_SPACE() to determine the mbuf length needed for a given
  control message, and CMSG_LEN() to stash in the cmsg_len member.


To generate a diff of this commit:
cvs rdiff -r1.46 -r1.47 syssrc/sys/kern/uipc_usrreq.c

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