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

> > 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;
typedef __kernel_uid_t uid_t;
typedef __kernel_gid_t gid_t;
#endif /* __KERNEL__ */

Thanks for pointing this out,
Chris Wing

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:55    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean