From owner-freebsd-hackers Fri Jul 30 0:59:24 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (castles548.castles.com [208.214.165.112]) by hub.freebsd.org (Postfix) with ESMTP id CF83E1568E for ; Fri, 30 Jul 1999 00:59:21 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id AAA01190; Fri, 30 Jul 1999 00:53:56 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199907300753.AAA01190@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Sheldon Hearn Cc: hackers@freebsd.org Subject: Re: No MAXUID ? In-reply-to: Your message of "Thu, 29 Jul 1999 15:18:51 +0200." <44527.933254331@axl.noc.iafrica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 30 Jul 1999 00:53:56 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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