linux-stable/arch/um/os-Linux
Jeff Dike e6a2d1f702 uml: clean up sig_handler_common_skas
sig_handler_common_skas needs significant modernization, starting with
its name and storage class.

There is no need to hide the true type of the sigcontext pointer, so
the void * dummy parameter can be replaced with a sigcontext *sc.

The array of uml_pt_regs structs used in the page fault case are gone,
replaced by a local variable.  This is also used in the non-segfault
case instead of the copy in the task_struct.  Since it's local, the
special handling of the is_user flag can go away.

There hasn't been any special treatment of SIGUSR1 in ages, so the
line that enables it can be deleted.

The special treatment of SIGSEGV similarly goes away, but to
compensate, SA_NODEFER is added to sa_mask when registering a signal
handler.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-05 09:44:30 -08:00
..
drivers uml: tidy helper code 2008-02-05 09:44:30 -08:00
include Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
skas uml: move sig_handler_common_skas 2008-02-05 09:44:30 -08:00
sys-i386 uml: style fixes in FP code 2007-10-16 09:43:07 -07:00
sys-x86_64 uml: throw out CONFIG_MODE_TT 2007-10-16 09:43:05 -07:00
aio.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
elf_aux.c [PATCH] uml: host VDSO fix 2007-03-01 14:53:38 -08:00
execvp.c [PATCH] uml: make execvp safe for our usage 2006-11-25 13:28:34 -08:00
file.c uml: style fixes in file.c 2008-02-05 09:44:29 -08:00
helper.c uml: tidy helper code 2008-02-05 09:44:30 -08:00
irq.c uml: syle fixes in arch/um/os-Linux 2008-02-05 09:44:29 -08:00
main.c uml: install panic notifier earlier 2008-02-05 09:44:29 -08:00
Makefile uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
mem.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
process.c uml: stop gdb from deleting breakpoints when running UML 2007-12-17 19:28:15 -08:00
registers.c uml: kill processes instead of panicing kernel 2008-02-05 09:44:28 -08:00
sigio.c uml: syle fixes in arch/um/os-Linux 2008-02-05 09:44:29 -08:00
signal.c uml: clean up sig_handler_common_skas 2008-02-05 09:44:30 -08:00
start_up.c uml: miscellaneous code cleanups 2008-02-05 09:44:29 -08:00
time.c uml: after_sleep_interval should return something 2007-12-03 08:13:17 -08:00
tls.c uml: style fixes pass 1 2007-10-16 09:43:05 -07:00
tty.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
tty_log.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
uaccess.c uml: get rid of do_longjmp 2007-10-16 09:43:05 -07:00
umid.c uml: style fixes pass 3 2007-10-16 09:43:05 -07:00
user_syms.c uml: fix string exporting on UML/i386 2007-07-24 12:24:58 -07:00
util.c uml: eliminate setjmp_wrapper 2008-02-05 09:44:29 -08:00