> 
> 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.                   \\  msm...@freebsd.org
\\    -- Joseph Merrick           \\  msm...@cdrom.com




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

Reply via email to