Subject: Re: bin/18222: patch to allow a uid or gid of (-2) matching default NFS mapping for remote root users
To: None <netbsd-bugs@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 09/07/2002 19:23:10
> >Synopsis:       patch to allow a uid or gid of (-2) matching default
>		   NFS mapping for remote root users
> 
> 	increase UID_MAX and GID_MAX to (UINT_MAX-1)

Wouldn't it be better to use (~(uid_t)0 - 1) and (~(gid_t)0 - 1) ?

	David

-- 
David Laight: david@l8s.co.uk