2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 11:13:58 +08:00
linux-next/arch/um/os-Linux
Jeff Dike 4b84c69b5f [PATCH] uml: Move signal handlers to arch code
Have most signals go through an arch-provided handler which recovers the
sigcontext and then calls a generic handler.  This replaces the
ARCH_GET_SIGCONTEXT macro, which was somewhat fragile.  On x86_64, recovering
%rdx (which holds the sigcontext pointer) must be the first thing that
happens.  sig_handler duly invokes that first, but there is no guarantee that
I can see that instructions won't be reordered such that %rdx is used before
that.  Having the arch provide the handler seems much more robust.

Some signals in some parts of UML require their own handlers - these places
don't call set_handler any more.  They call sigaction or signal themselves.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-26 08:49:07 -07:00
..
drivers [PATCH] uml: fix format errors 2006-04-11 06:18:36 -07:00
include Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
skas [PATCH] uml: Move signal handlers to arch code 2006-09-26 08:49:07 -07:00
sys-i386 [PATCH] uml: Move signal handlers to arch code 2006-09-26 08:49:07 -07:00
sys-x86_64 [PATCH] uml: Move signal handlers to arch code 2006-09-26 08:49:07 -07:00
aio.c [PATCH] uml: Formatting changes 2006-01-06 08:33:45 -08:00
elf_aux.c [PATCH] uml makefiles sanitized 2005-09-29 08:46:26 -07:00
file.c [PATCH] uml: add some EINTR protection 2006-07-10 13:24:24 -07:00
helper.c [PATCH] uml: Fix handling of failed execs of helpers 2006-09-26 08:49:06 -07:00
irq.c [PATCH] uml: Move signal handlers to arch code 2006-09-26 08:49:07 -07:00
main.c [PATCH] uml: Move signal handlers to arch code 2006-09-26 08:49:07 -07:00
Makefile [PATCH] uml: implement {get,set}_thread_area for i386 2006-03-31 12:18:52 -08:00
mem.c [PATCH] uml: Use ARRAY_SIZE more assiduously 2006-09-26 08:49:05 -07:00
process.c [PATCH] uml: Move signal handlers to arch code 2006-09-26 08:49:07 -07:00
sigio.c [PATCH] uml: SIGIO cleanups 2006-09-26 08:49:07 -07:00
signal.c [PATCH] uml: Move signal handlers to arch code 2006-09-26 08:49:07 -07:00
start_up.c [PATCH] uml: physical memory map file fixes 2006-04-19 09:13:51 -07:00
time.c [PATCH] uml: Move signal handlers to arch code 2006-09-26 08:49:07 -07:00
tls.c [PATCH] uml: check for differences in host support 2006-03-31 12:18:52 -08:00
trap.c [PATCH] uml: Use klibc setjmp/longjmp 2006-09-26 08:49:05 -07:00
tt.c [PATCH] uml: move libc-dependent irq code to os-Linux 2006-03-27 08:44:37 -08:00
tty_log.c [PATCH] uml: move tty logging to os-Linux 2006-03-27 08:44:38 -08:00
tty.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
uaccess.c [PATCH] uml: Use klibc setjmp/longjmp 2006-09-26 08:49:05 -07:00
umid.c [PATCH] uml: rename and improve actually_do_remove() 2006-07-01 09:56:03 -07:00
user_syms.c [PATCH] uml: export symbols added by GCC hardened 2006-05-01 18:17:45 -07:00
util.c [PATCH] uml: Use klibc setjmp/longjmp 2006-09-26 08:49:05 -07:00