Re: UID width

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 4 Jan 1999 15:41:37 +0000 (GMT)


> I just realized something: The include files for functions dealing with
> uids and gids (like getpwnam for instance) define them as 16 bit wide
> versus 32 bits in i86 Solaris!!! Whose fault is this? e2fs? gcc? Will it
> be upgraded? Can it be patched now?

Its 16bits wide to the kernel and to the old libc (libc5). Glibc uses a 32bit
uid_t, ready for when the kernel changes. A url for a set of experimental 32bit
uid patches were posted to the kernel list not long ago.

http://www-personal.engin.umich.edu/~wingc/uid32

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/