lkml.org 
[lkml]   [2000]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.3.39 doesn't build xconfig or menuconfig (libc5 / old_uid_t?)
David:

Oops. What I wanted to do was not define old_uid_t unless __KERNEL__ was
defined, to avoid polluting the namespace when compiling under libc5.

Try the following patch, it should do this properly.

Sorry for any invenience,

Chris Wing
wingc@engin.umich.edu


--- ../linux-2.3.39/include/linux/types.h Mon Jan 10 21:29:05 2000
+++ include/linux/types.h Tue Jan 11 18:38:51 2000
@@ -23,6 +23,10 @@
typedef __kernel_uid16_t uid16_t;
typedef __kernel_gid16_t gid16_t;

+/* This is defined by include/asm-{arch}/posix_types.h */
+typedef __kernel_old_uid_t old_uid_t;
+typedef __kernel_old_gid_t old_gid_t;
+
/* libc5 includes this file to define uid_t, thus uid_t can never change
* when it is included by non-kernel code
*/
@@ -30,10 +34,6 @@
typedef __kernel_uid_t uid_t;
typedef __kernel_gid_t gid_t;
#endif /* __KERNEL__ */
-
-/* This is defined by include/asm-{arch}/posix_types.h */
-typedef __kernel_old_uid_t old_uid_t;
-typedef __kernel_old_gid_t old_gid_t;

#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
typedef __kernel_loff_t loff_t;


-
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.056 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site