Subject: Re: struct ucred changed.
To: None <tech-kern@netbsd.org>
From: David Laight <David.Laight@btinternet.com>
List: tech-kern
Date: 11/29/2001 16:58:22
Aren't uid_t and gid_t 32 bit?
If so you (probably) haven't changed the alignment!

If the 'ucred' structure is zero'd on creation a little-endian
system won't see a difference.
But you will have changed the values seen on a big-endian system.

    David

> On Thu, 29 Nov 2001, Christos Zoulas wrote:
> 
> : I just changed cr_ref and cr_ngroups to be u_int32_t in struct
> : ucred,
> 
> ...and please remember to bump osrelease.sh when it's committed, of course.
> 8-)
> 
> : Since things appear to work, should we bother to version mount(2)
> : and nfssvc(2)?
> 
> I'd venture yes in both cases, provisionally.  For the former, think old
> mount_ffs(8) and mount_mfs(8) binaries (rather important); for the latter,
> old nfsd(8) binaries (perhaps there's third party software, but I doubt
> it).
> 
> -- 
> -- Todd Vierling <tv@wasabisystems.com>  *  Wasabi & NetBSD:  Run with it.
> -- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/
> 
>