Subject: Re: alarm(4G)?
To: None <email@example.com, firstname.lastname@example.org>
From: Olaf Seibert <email@example.com>
Date: 01/08/1999 16:21:46
Paul Wain <firstname.lastname@example.org> wrote:
>This one makes some sense when you think about it in terms of say NFS et al...
>uid=-1, gid=-1 => nobody/unknown on NFS/PCNFS
>uid=-2, gid=-2 => bad root access over NFS/PCNFS - see exports(5)
>Thus, the max valid value for uid/gid is (signed int) -3, or 2^31-2 (-1 is 2^32,
>-2 is 2^31-1) assuming that uid and gid are 32 bit ints
You seem to be miscounting here in several places.
-1 is 2^32 - 1
-2 is 2^32 - 2
-3 is 2^32 - 3
where "is" means bitwise pattern equality for 32-bit values.
___ Olaf 'Rhialto' Seibert - email@example.com. ---- Unauthorized duplication,
\X/ .kun.nl ---- while sometimes necessary, is never as good as the real thing.