linux-stable/arch
Eric W. Biederman 91ca180dbd signal: Use force_sig_fault_to_task for the two calls that don't deliver to current
In preparation for removing the task parameter from force_sig_fault
introduce force_sig_fault_to_task and use it for the two cases where
it matters.

On mips force_fcr31_sig calls force_sig_fault and is called on either
the current task, or a task that is suspended and is being switched to
by the scheduler.  This is safe because the task being switched to by
the scheduler is guaranteed to be suspended.  This ensures that
task->sighand is stable while the signal is delivered to it.

On parisc user_enable_single_step calls force_sig_fault and is in turn
called by ptrace_request.  The function ptrace_request always calls
user_enable_single_step on a child that is stopped for tracing.  The
child being traced and not reaped ensures that child->sighand is not
NULL, and that the child will not change child->sighand.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2019-05-29 09:31:43 -05:00
..
alpha signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
arc signal: Explicitly call force_sig_fault on current 2019-05-29 09:31:43 -05:00
arm signal: Explicitly call force_sig_fault on current 2019-05-29 09:31:43 -05:00
arm64 signal: Remove task parameter from force_sig_mceerr 2019-05-27 09:36:28 -05:00
c6x signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
csky signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
h8300 signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
hexagon signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
ia64 signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
m68k signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
microblaze signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
mips signal: Use force_sig_fault_to_task for the two calls that don't deliver to current 2019-05-29 09:31:43 -05:00
nds32 signal: Explicitly call force_sig_fault on current 2019-05-29 09:31:43 -05:00
nios2 signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
openrisc signal: Explicitly call force_sig_fault on current 2019-05-29 09:31:43 -05:00
parisc signal: Use force_sig_fault_to_task for the two calls that don't deliver to current 2019-05-29 09:31:43 -05:00
powerpc signal: Remove task parameter from force_sig_mceerr 2019-05-27 09:36:28 -05:00
riscv signal: Explicitly call force_sig_fault on current 2019-05-29 09:31:43 -05:00
s390 signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
sh signal: Explicitly call force_sig_fault on current 2019-05-29 09:31:43 -05:00
sparc signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
um signal/um: Remove task parameter from send_sigtrap 2019-05-29 09:31:42 -05:00
unicore32 signal: Explicitly call force_sig_fault on current 2019-05-29 09:31:43 -05:00
x86 signal: Explicitly call force_sig_fault on current 2019-05-29 09:31:43 -05:00
xtensa signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
.gitignore
Kconfig Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-05-16 11:00:20 -07:00