Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 1999 00:53:56 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Sheldon Hearn <sheldonh@uunet.co.za>
Cc:        hackers@freebsd.org
Subject:   Re: No MAXUID ? 
Message-ID:  <199907300753.AAA01190@dingo.cdrom.com>
In-Reply-To: Your message of "Thu, 29 Jul 1999 15:18:51 %2B0200." <44527.933254331@axl.noc.iafrica.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I've come up empty-handed hunting for a constant that defines the
> maximum UID supported by the system. I'm working on our passwd and
> pwd_mkdb stuff and want to get rid of the artificial limitation of 65535
> (USHRT_MAX) imposed in (at least) pwd_mkdb.
> 
> Have I missed a useful define, or should I add one? If I should add one,
> does it go in pwd.h, types.h or syslimits.h?

It probably belongs in param.h, and you can probably safely calculate it
as (uid_t)0 - 1;

-- 
\\  The mind's the standard       \\  Mike Smith
\\  of the man.                   \\  msmith@freebsd.org
\\    -- Joseph Merrick           \\  msmith@cdrom.com




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




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