svn commit: r191984 - in head/sys: cddl/contrib/opensolaris/uts/common/rpc modules/zfs

Jung-uk Kim jkim at FreeBSD.org
Tue May 12 19:16:49 UTC 2009


On Tuesday 12 May 2009 04:18 am, Doug Rabson wrote:
> On 12 May 2009, at 09:16, Kip Macy wrote:
> > On Tue, May 12, 2009 at 12:33 AM, Doug Rabson <dfr at rabson.org> 
wrote:
> >> On 12 May 2009, at 06:03, Kip Macy wrote:
> >>> Here is the problem, FreeBSD is sloppy about 32-bit vs. 64-bit
> >>> for xdr
> >>> whereas in the kernel, Solaris is not.
> >>
> >> I thought that XDR 'long' types were 32 bit regardless of
> >> whether the platform was 32 or 64 bit. I'll have to read the
> >> code again.
> >
> > I'm not familiar with XDR, so I might be in error. If you could
> > reconcile the differences between Solaris and FreeBSD so that ZFS
> > can use FreeBSD's XDR implementation I would greatly appreciate
> > it.
>
> I'll see what I can do. Thanks for taking the time to look at it.

xdr in kernel is originally from Sun.  So, we have two versions of xdr 
from Sun with different license terms now, one from ancient rpcsrc 
distribution and one from OpenSolaris.  Interesting...

Sorry, just thinking out loud... ;-)

Jung-uk Kim


More information about the svn-src-all mailing list