twx-linux/arch/mips/kernel
Matt Fleming 8598f3cd80 MIPS: Use set_current_blocked() and block_sigmask()
As described in e6fa16ab ("signal: sigprocmask() should do
retarget_shared_pending()") the modification of current->blocked is
incorrect as we need to check whether the signal we're about to block
is pending in the shared queue.

Also, use the new helper function introduced in commit 5e6292c0f28f
("signal: add block_sigmask() for adding sigmask to current->blocked")
which centralises the code for updating current->blocked after
successfully delivering a signal and reduces the amount of duplicate
code across architectures. In the past some architectures got this
code wrong, so using this helper function should stop that from
happening again.

Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: David Daney <ddaney@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Patchwork: https://patchwork.linux-mips.org/patch/3363/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2012-04-27 00:12:47 +01:00
..
cpufreq
.gitignore
8250-platform.c
asm-offsets.c
binfmt_elfn32.c
binfmt_elfo32.c
bmips_vec.S
branch.c
cevt-bcm1480.c
cevt-ds1287.c
cevt-gt641xx.c
cevt-r4k.c
cevt-sb1250.c
cevt-smtc.c
cevt-txx9.c
cpu-bugs64.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
cpu-probe.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
csrc-bcm1480.c
csrc-ioasic.c
csrc-powertv.c
csrc-r4k.c
csrc-sb1250.c
early_printk.c
entry.S
ftrace.c
genex.S
gpio_txx9.c
head.S
i8253.c
i8259.c
init_task.c
irq_cpu.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
irq_txx9.c
irq-gic.c
irq-gt641xx.c
irq-msc01.c
irq-rm7000.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
irq-rm9000.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
irq.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
jump_label.c
kgdb.c
kprobes.c
kspd.c fs: Remove missed ->fds_bits from cessation use of fd_set structs internally 2012-02-24 14:04:50 +01:00
linux32.c
machine_kexec.c
Makefile
mcount.S
mips_ksyms.c
mips_machine.c
mips-mt-fpaff.c remove references to cpu_*_map in arch/ 2012-03-29 15:38:30 +10:30
mips-mt.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
module.c
octeon_switch.S
perf_event_mipsxx.c perf: Disable PERF_SAMPLE_BRANCH_* when not supported 2012-03-05 14:55:42 +01:00
perf_event.c
proc.c remove references to cpu_*_map in arch/ 2012-03-29 15:38:30 +10:30
process.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
prom.c irq_domain/mips: Allow irq_domain on MIPS 2012-02-24 09:47:23 -07:00
ptrace32.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
ptrace.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
r4k_fpu.S
r4k_switch.S
r2300_fpu.S
r2300_switch.S
r6000_fpu.S
relocate_kernel.S
reset.c
rtlx.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
scall32-o32.S
scall64-64.S
scall64-n32.S
scall64-o32.S
setup.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
signal32.c MIPS: Use set_current_blocked() and block_sigmask() 2012-04-27 00:12:47 +01:00
signal_n32.c MIPS: Use set_current_blocked() and block_sigmask() 2012-04-27 00:12:47 +01:00
signal-common.h
signal.c MIPS: Use set_current_blocked() and block_sigmask() 2012-04-27 00:12:47 +01:00
smp-bmips.c remove references to cpu_*_map in arch/ 2012-03-29 15:38:30 +10:30
smp-cmp.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
smp-mt.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
smp-up.c
smp.c remove references to cpu_*_map in arch/ 2012-03-29 15:38:30 +10:30
smtc-asm.S
smtc-proc.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
smtc.c remove references to cpu_*_map in arch/ 2012-03-29 15:38:30 +10:30
spinlock_test.c
spram.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
stacktrace.c
sync-r4k.c
syscall.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
time.c
topology.c
traps.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
unaligned.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
vdso.c coredump: remove VM_ALWAYSDUMP flag 2012-03-23 16:58:42 -07:00
vmlinux.lds.S
vpe.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
watch.c