Subject: [firstname.lastname@example.org: CVS commit: syssrc]
To: None <email@example.com>
From: Jason R Thorpe <firstname.lastname@example.org>
Date: 06/04/2000 23:22:47
...this is something I stumbled on along the way to fixing a bug in
TI-RPC. Turns out that this wasn't necessary to fix the RPC problem
I was seeing, but there was an open PR on the potential problem, and
the `unfdpass' regression program was failing.
For reference, the PR was kern/9516. We should now be conformant with
RFC2292 on this issue.
----- Forwarded message from Jason R Thorpe <email@example.com> -----
Date: Sun, 4 Jun 2000 23:06:12 -0700 (PDT)
From: Jason R Thorpe <firstname.lastname@example.org>
Subject: CVS commit: syssrc
Module Name: syssrc
Committed By: thorpej
Date: Mon Jun 5 06:06:11 UTC 2000
- 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.
----- End forwarded message -----
-- Jason R. Thorpe <email@example.com>