Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 1999 10:46:20 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Vadim Belman <voland@plab.ku.dk>
Cc:        freebsd-stable@FreeBSD.ORG, marcel@FreeBSD.org
Subject:   Re: pwd_mkdb max uid warning. 
Message-ID:  <15569.942914780@axl.noc.iafrica.com>
In-Reply-To: Your message of "17 Nov 1999 20:51:48 %2B0200." <85iu312bp7.fsf@dialup90.apex.dp.ua> 

next in thread | previous in thread | raw e-mail | index | archive | help


On 17 Nov 1999 20:51:48 +0200, Vadim Belman wrote:

>       I see only one reason for this: for keeping compatibility with
>       old utilities which don't use uid_t but relay on unsigned short
>       values. Am I right? Is there any other reason? Or, perhaps, this
>       code is obsolete and may be removed without harm?

This code is not obsolete.  Bruce Evans brought to my attention at least
two problem areas:  IDs used by NFS, and IDs used by the linuxulator.
The latter one is interesting... The linuxulator will take a UID that
overflows a u_int16_t by 1 (resulting in the value 0) as root's UID.

Ciao,
Sheldon.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15569.942914780>