lkml.org 
[lkml]   [1999]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectglibc patch to use 32-bit UIDs (important note)
In order to actually use 32-bit UIDs on Linux, in addition to the 32-bit
UID kernel patches you also need a patched version of glibc that knows to
make the new system calls.

The following patch to glibc-2.1.1 will work with my 32-bit UID patches
for Linux 2.3:

http://www.engin.umich.edu/caen/systems/Linux/code/misc/2.3/19991130/glibc-2.1.1-highuid.patch

In order for glibc 2.1 to build properly, /usr/src/linux needs to contain
the headers from the 32-bit UID patched kernel. It may be enough to just
copy over the file [linux source dir]/include/asm-xxx/unistd.h.

Beware, this patch is incomplete in the sense that the resulting glibc
will only work on a kernel that has been patched to use 32-bit UIDs. In
other words, if you switch your system to use this glibc and then boot an
ordinary kernel, your system will crash.

This patch, or an updated version, will be included in all future releases
of the 32-bit UID kernel patch.

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