um: Some fixes to build UML with musl
authorIgnat Korchagin <ignat@cloudflare.com>
Sun, 19 Jul 2020 21:02:21 +0000 (22:02 +0100)
committerRichard Weinberger <richard@nod.at>
Sun, 11 Oct 2020 21:13:06 +0000 (23:13 +0200)
commit5e1121cd43d4d3436140a462bfc230ff8aeb1693
tree0625c198e0f982529da43df493efe15f17040642
parente4e721fe4ccb504a29d1e8d4047667557281d932
um: Some fixes to build UML with musl

musl toolchain and headers are a bit more strict. These fixes enable building
UML with musl as well as seem not to break on glibc.

Signed-off-by: Ignat Korchagin <ignat@cloudflare.com>
Tested-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/daemon_user.c
arch/um/drivers/pcap_user.c
arch/um/drivers/slip_user.c
arch/um/drivers/vector_user.c
arch/um/os-Linux/util.c
arch/x86/um/user-offsets.c