linux/include
David Howells a411aee96e [PATCH] Handle TIF_RESTORE_SIGMASK for FRV
Handle TIF_RESTORE_SIGMASK as added by David Woodhouse's patch entitled:

        [PATCH] 2/3 Add TIF_RESTORE_SIGMASK support for arch/powerpc
        [PATCH] 3/3 Generic sys_rt_sigsuspend

It does the following:

 (1) Declares TIF_RESTORE_SIGMASK for FRV.

 (2) Invokes it over to do_signal() when TIF_RESTORE_SIGMASK is set.

 (3) Makes do_signal() support TIF_RESTORE_SIGMASK, using the signal mask saved
     in current->saved_sigmask.

 (4) Discards sys_rt_sigsuspend() from the arch, using the generic one instead.

 (5) Makes sys_sigsuspend() save the signal mask and set TIF_RESTORE_SIGMASK
     rather than attempting to fudge the return registers.

 (6) Makes sys_sigsuspend() return -ERESTARTNOHAND rather than looping
     intrinsically.

 (7) Makes setup_frame(), setup_rt_frame() and handle_signal() return 0 or
     -EFAULT rather than true/false to be consistent with the rest of the
      kernel.

Due to the fact do_signal() is then only called from one place:

 (8) Make do_signal() no longer have a return value is it was just being
     ignored; force_sig() takes care of this.

 (9) Discards the old sigmask argument to do_signal() as it's no longer
     necessary.

This patch depends on the FRV signalling patches as well as the
sys_rt_sigsuspend patch.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-18 19:20:29 -08:00
..
acpi
asm-alpha
asm-arm Merge master.kernel.org:/pub/scm/linux/kernel/git/tmlind/linux-omap-upstream 2006-01-18 22:56:29 +00:00
asm-arm26
asm-cris
asm-frv [PATCH] Handle TIF_RESTORE_SIGMASK for FRV 2006-01-18 19:20:29 -08:00
asm-generic
asm-h8300
asm-i386 [PATCH] vfs: *at functions: i386 2006-01-18 19:20:29 -08:00
asm-ia64
asm-m32r
asm-m68k
asm-m68knommu
asm-mips
asm-parisc
asm-powerpc [PATCH] Generic sys_rt_sigsuspend() 2006-01-18 19:20:29 -08:00
asm-ppc
asm-s390
asm-sh
asm-sh64
asm-sparc
asm-sparc64 [SPARC64]: Serial Console for E250 Patch 2006-01-18 14:54:31 -08:00
asm-um [PATCH] uml: add __raw_writel definition 2006-01-18 19:20:18 -08:00
asm-v850
asm-x86_64 [PATCH] vfs: *at functions: x86_64 2006-01-18 19:20:29 -08:00
asm-xtensa
keys
linux [PATCH] Generic sys_rt_sigsuspend() 2006-01-18 19:20:29 -08:00
math-emu
media
mtd
net
pcmcia
rdma
rxrpc
scsi [PATCH] scsi_transport_spi build fix 2006-01-18 19:20:16 -08:00
sound
video