Re: [patch 4/4] uml: make it link in tt mode against NPTL glibc

From: Al Viro
Date: Thu May 26 2005 - 23:23:02 EST


On Fri, May 27, 2005 at 02:40:24AM +0200, blaisorblade@xxxxxxxx wrote:
>
> To make sure switcheroo() can execute when we remap all the executable image,
> we used a trick to make it use a local copy of errno... this trick does not
> work with NPTL glibc, only with LinuxThreads, so use another (simpler) one to
> make it work anyway.
>
> Might need compile testing on different host archs, since it changes
> __syscall_return from <asm/unistd.h>.

For one thing, it's broken since mmap2() doesn't exist on amd64. This stuff
*is* low-level - as low-level as it gets. It's clearly per-architecture.
See ftp.linux.org.uk/pub/people/viro/UM14-unmap-RC12-rc4 for a fix...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/