Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 1996 15:50:56 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Cc:        james@expresslane.ca (James FitzGibbon)
Subject:   Re: UIDs greater than 65535 ?
Message-ID:  <199606151350.PAA03498@uriah.heep.sax.de>
In-Reply-To: <Pine.BSI.3.93.960613120205.5404A-100000@expresslane.ca> from James FitzGibbon at "Jun 13, 96 12:08:05 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



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