From owner-freebsd-hackers Wed May 22 23:20:14 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from south.nanolink.com (south.nanolink.com [217.75.134.10]) by hub.freebsd.org (Postfix) with SMTP id C946037B40F for ; Wed, 22 May 2002 23:20:09 -0700 (PDT) Received: (qmail 5696 invoked by uid 85); 23 May 2002 06:28:37 -0000 Received: from unknown (HELO straylight.ringlet.net) (212.116.140.125) by south.nanolink.com with SMTP; 23 May 2002 06:28:35 -0000 Received: (qmail 18912 invoked by uid 1000); 23 May 2002 06:19:30 -0000 Date: Thu, 23 May 2002 09:19:30 +0300 From: Peter Pentchev To: Darren Pilgrim Cc: Jamie Heckford , freebsd-hackers@freebsd.org Subject: Re: UID Limit Message-ID: <20020523091930.N349@straylight.oblivion.bg> Mail-Followup-To: Darren Pilgrim , Jamie Heckford , freebsd-hackers@freebsd.org References: <001901c201a5$25b8e0e0$4464a8c0@JAMIEHECKFORD> <20020522192114.M349@straylight.oblivion.bg> <3CEC2F81.718CBE37@pantherdragon.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="6J7GEvtanOfV9oXA" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3CEC2F81.718CBE37@pantherdragon.org>; from dmp@pantherdragon.org on Wed, May 22, 2002 at 04:53:37PM -0700 X-Virus-Scanned: by Nik's Monitoring Daemon (AMaViS perl-11d) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --6J7GEvtanOfV9oXA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 22, 2002 at 04:53:37PM -0700, Darren Pilgrim wrote: > Peter Pentchev wrote: > >=20 > > On Wed, May 22, 2002 at 04:27:12PM +0100, Jamie Heckford wrote: > > > Hi, > > > > > > I was wondering if anyone would be able to tell me what the limit is = on a > > > UID? Ie what is the highest integer it can go up to..... > > > > > > I suppose as well some applications have different values.. or am I > > > completly wrong :) > >=20 > > The functions that deal with user ID's take a parameter of type uid_t. > > The uid_t type is defined in as u_int32_t. Hence, at lea= st > > theoretically, FreeBSD supports uid's in the range 0 to 4G-1. >=20 > It supports them that high, yes, but I believe they wrap at 99999. I believe you are thinking of pid's (process ID's), not uid's (user ID's). G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence contradicts itself - or rather - well, no, actually it doesn'= t! --6J7GEvtanOfV9oXA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE87Iny7Ri2jRYZRVMRAgtGAKCCgKv+x+EEbOEGBhX+u1DIeUfS+QCgpZEd 7MDrUP+Xvq8At7q5LL5QQQY= =Oc2G -----END PGP SIGNATURE----- --6J7GEvtanOfV9oXA-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message