[RFD]: Changing datatypes for uid_t/gid_t
Larry Hall (RFK Partners, Inc)
lhall@rfk.com
Mon Jan 21 14:52:00 GMT 2002
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/
More information about the Cygwin
mailing list