From owner-freebsd-current Sat Jun 15 07:21:18 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA26479 for current-outgoing; Sat, 15 Jun 1996 07:21:18 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA26473 for ; Sat, 15 Jun 1996 07:21:12 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id QAA07085; Sat, 15 Jun 1996 16:20:41 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id QAA10720; Sat, 15 Jun 1996 16:20:38 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id PAA03498; Sat, 15 Jun 1996 15:50:57 +0200 (MET DST) From: J Wunsch Message-Id: <199606151350.PAA03498@uriah.heep.sax.de> Subject: Re: UIDs greater than 65535 ? To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Sat, 15 Jun 1996 15:50:56 +0200 (MET DST) Cc: james@expresslane.ca (James FitzGibbon) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from James FitzGibbon at "Jun 13, 96 12:08:05 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As James FitzGibbon wrote: > But pw_scan.c uses this check routine : > > if (id > USHRT_MAX) { > warnx("%s > max uid value (%d)", p, USHRT_MAX); > return (0); > } > > So that although a userid can have a 32-bit value, the password scanning > routines won't allow anything higher than 16 bit. > > Is this just an oversight (i.e. can we just change the constant in > pw_scan.c? ) or are there other reasons why the UIDs are limited to 16-bit > ? I think that's for hysterical raisons. Perhaps older (unsupported) file systems like SYSVFS might break, as well as Yellow Plague. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)