Subject: Re: bin/18222: patch to allow a uid or gid of (-2) matching default NFS mapping for remote root users
To: David Laight <david@l8s.co.uk>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 09/07/2002 15:51:08
[ On Saturday, September 7, 2002 at 19:23:10 (+0100), David Laight wrote: ]
> Subject: Re: bin/18222: patch to allow a uid or gid of (-2) matching default NFS mapping for remote root users
>
> > >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) ?
Yes, I suppose it would! Thanks!
--
Greg A. Woods
+1 416 218-0098; <g.a.woods@ieee.org>; <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>