[lkml]   [1999]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: UID width
    In <> Juan Carlos Castro y Castro ( wrote:
    > 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.

    PLEASE, read linux-kernel archives before starting panic, Ok ? This question
    was already talked to death here few times. UID was, is and will be 16bit in
    Linux kernel 1.x & 2.[012]. UID expansion is sheduled for 2.3 (may be not early
    stages). This is VERY non-trivial task as UID size is hardcoded in many-many
    places of kernel. Even if needed four bytes per inode is reserved in ext2fs.
    For now -- use glibc2 (there are UIDs are 32bit even if you could not use
    UIDs > 65535 just now and UID's and GID's in getpwnam ARE 32bit!) and hope for
    best with 2.3 and then 2.4 (3.0?)...

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:49    [W:0.023 / U:38.096 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site