lkml.org 
[lkml]   [1999]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] 32-bit UID support for 2.3.30pre6 (important update)
    Richard:

    > > The following names have been redefined or are new:
    > >
    > > uid_t, gid_t
    >
    > This will break compiling of libc5 programmes, because the definition
    > of uid_t is grabbed from the kernel includes, which you've just
    > changed.

    Hmm... well, this means that we will have to do something like the
    following in include/linux/types.h:

    /* libc5 pulls its definition of uid_t out of this file, so it can never
    change when included by non-kernel code */
    #ifdef __KERNEL__
    typedef __kernel_uid32_t uid_t;
    typedef __kernel_gid32_t gid_t;
    #else
    typedef __kernel_uid_t uid_t;
    typedef __kernel_gid_t gid_t;
    #endif /* __KERNEL__ */


    Thanks for pointing this out,
    Chris Wing
    wingc@engin.umich.edu


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

    \
     
     \ /
      Last update: 2005-03-22 13:55    [W:0.020 / U:3.244 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site