This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: [RFD]: Changing datatypes for uid_t/gid_t
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- To: Corinna Vinschen <cygwin at cygwin dot com>, cygwin <cygwin at cygwin dot com>
- Date: Mon, 21 Jan 2002 17:45:28 -0500
- Subject: Re: [RFD]: Changing datatypes for uid_t/gid_t
At 01:27 PM 1/21/2002, Corinna Vinschen wrote:
>We have three possible data sizes:
>
>- 16 bit. Don't touch anything. Advantage: Nothing to do for us,
> no compatibility problems at all.
>
>- 32 bit. Coincidentally equal to sizeof int and sizeof long.
> Advantage: Should even work with older software which often
> silently assume that a uid/gid can be stored in a int.
>
>- 64 bit. Advantage: Since the RIDs used in Windows are just
> 32 bit, one could create uids/gids with using the upper 32 bit
> of the uid/gid as a domain/server identifier, e.g.
> locadmin:10000000500:544:...
> fooadmin:20000000500:544:...
I'd recommend going with the size that is the same as uid/gid on other
UNIX systems. I guess that puts me in the 32 bit camp.
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/