aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/um/stub_segv.c
AgeCommit message (Collapse)AuthorFilesLines
2018-03-29um: Compile with modern headersJason A. Donenfeld1-0/+1
Recent libcs have gotten a bit more strict, so we actually need to include the right headers and use the right types. This enables UML to compile again. Signed-off-by: Jason A. Donenfeld <[email protected]> Cc: [email protected] Signed-off-by: Richard Weinberger <[email protected]>
2018-02-19um: Use POSIX ucontext_t instead of struct ucontextKrzysztof Mazur1-1/+1
glibc 2.26 removed the 'struct ucontext' to "improve" POSIX compliance and break programs, including User Mode Linux. Fix User Mode Linux by using POSIX ucontext_t. This fixes: arch/um/os-Linux/signal.c: In function 'hard_handler': arch/um/os-Linux/signal.c:163:22: error: dereferencing pointer to incomplete type 'struct ucontext' mcontext_t *mc = &uc->uc_mcontext; arch/x86/um/stub_segv.c: In function 'stub_segv_handler': arch/x86/um/stub_segv.c:16:13: error: dereferencing pointer to incomplete type 'struct ucontext' &uc->uc_mcontext); Cc: [email protected] Signed-off-by: Krzysztof Mazur <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
2012-10-09um: get rid of pointless include "..." where include <...> will doAl Viro1-3/+3
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
2011-11-02um: take arch/um/sys-x86 to arch/x86/umAl Viro1-0/+19
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>