kernel-hacking-2024-linux-s.../arch/um
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 uml: move sig_handler_common_skas 2008-02-05 09:44:30 -08:00
kernel uml: get rid of syscall counters 2008-02-05 09:44:30 -08:00
os-Linux uml: clean up sig_handler_common_skas 2008-02-05 09:44:30 -08:00
scripts
sys-i386 uml: simplify SIGSEGV handling 2008-02-05 09:44:28 -08:00
sys-ia64
sys-ppc
sys-x86_64 uml: kill processes instead of panicing kernel 2008-02-05 09:44:28 -08:00
defconfig
Kconfig uml: remove duplicate config symbol and unused file and variables 2008-02-05 09:44:29 -08:00
Kconfig.char uml: fix URLs in Kconfig and help strings 2008-02-05 09:44:25 -08:00
Kconfig.debug uml: GPROF needs to depend on FRAME_POINTER 2008-02-05 09:44:25 -08:00
Kconfig.i386
Kconfig.net uml: fix URLs in Kconfig and help strings 2008-02-05 09:44:25 -08:00
Kconfig.x86_64
Makefile uml: fx command-line CFLAGS and LDFLAGS support 2008-02-05 09:44:29 -08:00
Makefile-i386
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas
Makefile-x86_64