From owner-freebsd-arch Wed Apr 25 19:51:30 2001 Delivered-To: freebsd-arch@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id D289537B422 for ; Wed, 25 Apr 2001 19:51:25 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id WAA15799; Wed, 25 Apr 2001 22:51:10 -0400 (EDT) (envelope-from wollman) Date: Wed, 25 Apr 2001 22:51:10 -0400 (EDT) From: Garrett Wollman Message-Id: <200104260251.WAA15799@khavrinen.lcs.mit.edu> To: bde@zeta.org.au Subject: Re: gid_t vs. plain int X-Newsgroups: mit.lcs.mail.freebsd-arch In-Reply-To: References: <20010425183640.C54687@ringworld.oblivion.bg> Organization: MIT Laboratory for Computer Science Cc: arch@freebsd.org Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bruce writes: >BTW, the kernel still uses int for gids in many places, e.g., >kern/syscalls.master says that chown(2) takes an "int gid" arg. This >depends on various type puns to work. Of course it has to do that in order to allow for the possibility that gid_t might still be a short. Of course, this precludes gid_t from being something-longer-than-int, but much larger parts of the ABI would have to change at the same time in that case. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message