Date: Wed, 25 Apr 2001 22:51:10 -0400 (EDT) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: bde@zeta.org.au Cc: arch@freebsd.org Subject: Re: gid_t vs. plain int Message-ID: <200104260251.WAA15799@khavrinen.lcs.mit.edu> In-Reply-To: <Pine.BSF.4.21.0104260813260.27478-100000@besplex.bde.org> References: <20010425183640.C54687@ringworld.oblivion.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104260251.WAA15799>