Subject: Re: struct ucred changed.
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 11/29/2001 17:03:04
In article <02bf01c178f7$0e62dd60$0100a8c0@snowdrop>,
David Laight <David.Laight@btinternet.com> wrote:
>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

You are right. So it will break on big endian systems. Ok, that means
we need to version everything. Argh.

chritos