Re: UID width

H. Peter Anvin (hpa@transmeta.com)
5 Jan 1999 00:05:48 GMT


Followup to: <368FB196.B6B3E969@pcshop.com.br>
By author: Juan Carlos Castro y Castro <jcastro@pcshop.com.br>
In newsgroup: linux.dev.kernel
>
> 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?
>
> I'm about to make a Solaris-to-L:inux migration and I'll have to perform
> a few somersaults to fit the user database into 16 bits. Could be worse,
> I know. But someone, somewhere, is going to hit this limit like a brick
> wall. Think about big ISPs.
>

This is an FAQ. This is part of Linux' Minix legacy, and will be
fixed in the 2.3 kernel series. Binary backwards compatibility will
be provided with libc6 binaries, but not libc5 or earlier if uid/gid
>= 65535 are in use.

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

- 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/