From owner-freebsd-stable Thu Nov 18 1:22: 0 1999 Delivered-To: freebsd-stable@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id 81EA41531B for ; Thu, 18 Nov 1999 01:21:51 -0800 (PST) (envelope-from marcel@scc.nl) Received: from [212.238.132.94] (helo=scones.sup.scc.nl) by post.mail.nl.demon.net with esmtp (Exim 2.12 #1) id 11oNlX-000OwA-00; Thu, 18 Nov 1999 09:22:08 +0000 Received: from scc.nl (scones.sup.scc.nl [192.168.2.4]) by scones.sup.scc.nl (8.9.3/8.9.3) with ESMTP id KAA50232; Thu, 18 Nov 1999 10:21:34 +0100 (CET) (envelope-from marcel@scc.nl) Message-ID: <3833C51E.3DA48CE5@scc.nl> Date: Thu, 18 Nov 1999 10:21:34 +0100 From: Marcel Moolenaar Organization: SCC vof X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.5 i386) X-Accept-Language: en MIME-Version: 1.0 To: Sheldon Hearn Cc: Vadim Belman , freebsd-stable@FreeBSD.ORG Subject: Re: pwd_mkdb max uid warning. References: <15569.942914780@axl.noc.iafrica.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sheldon Hearn wrote: > > 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. I'm thinking of introducing a mapping for this. Every uid/gid that can't be represented by the Linuxulator can optionally be mapped onto a single uid/gid (settable through sysctl). -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message