Re: [uml-devel] [PATCH] missed musl compatibility patch

2015-06-29 Thread Hans-Werner Hilse
Hi, Am 2015-06-27 20:18, schrieb Richard Weinberger: > On Fri, Jun 26, 2015 at 10:36 AM, Hans-Werner Hilse > wrote: >> I'm sorry but one patch that is necessary for compilation against >> musl libc was still missing in the series I sent earlier. >> (Thank you very much for applying!) > > Okay.

[uml-devel] [PATCH v2] um: Do not rely on libc to provide modify_ldt()

2015-06-29 Thread Hans-Werner Hilse
modify_ldt() was declared as an external symbol. Despite the man page for this syscall telling that there is no wrapper in glibc, since version 2.1 there actually is, so linking to the glibc works. Since modify_ldt() is not a POSIX interface, other libc implementations do not always provide a wrap

[uml-devel] [PATCH v2] missed musl compatibility patch

2015-06-29 Thread Hans-Werner Hilse
Updated patch to provide our own mofify_ldt() wrapper. The earlier version did not take into account that outside the "os-Linux" directories the host API is not accessible. However, an according syscall() definition is in os.h, which is already included. The syscall number can be taken from the ke