linux/arch/um/os-Linux
Krzysztof Mazur 4d1a535b8e um: Use POSIX ucontext_t instead of struct ucontext
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: stable@vger.kernel.org
Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net>
Signed-off-by: Richard Weinberger <richard@nod.at>
2018-02-19 19:38:51 +01:00
..
drivers um: return negative in tuntap_open_tramp() 2017-09-13 22:36:50 +02:00
skas um: Fix FP register size for XSTATE/XSAVE 2017-09-13 22:24:38 +02:00
aio.c
elf_aux.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
execvp.c um: Use os_warn to print out pre-boot warning/error messages 2017-07-05 23:18:25 +02:00
file.c um: Update UBD to use pread/pwrite family of functions 2016-01-10 21:49:48 +01:00
helper.c um: Fix waitpid() usage in helper code 2015-10-19 22:53:37 +02:00
irq.c
main.c um: Use os_warn to print out pre-boot warning/error messages 2017-07-05 23:18:25 +02:00
Makefile um: Support kcov 2016-08-04 00:18:06 +02:00
mem.c um: Use os_warn to print out pre-boot warning/error messages 2017-07-05 23:18:25 +02:00
process.c um: Switch clocksource to hrtimers 2015-11-06 22:54:49 +01:00
registers.c
sigio.c
signal.c um: Use POSIX ucontext_t instead of struct ucontext 2018-02-19 19:38:51 +01:00
start_up.c Fix minor typos and grammar in UML start_up help 2017-09-13 22:33:23 +02:00
time.c um: Switch clocksource to hrtimers 2015-11-06 22:54:49 +01:00
tty.c
umid.c um: Use os_warn to print out pre-boot warning/error messages 2017-07-05 23:18:25 +02:00
user_syms.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
util.c um: Add os_warn() for pre-boot warning/error messages 2017-07-05 23:18:02 +02:00