]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - arch/csky/abiv2/fpu.c
signal: Remove the task parameter from force_sig_fault
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 23 May 2019 16:04:24 +0000 (11:04 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 29 May 2019 14:31:43 +0000 (09:31 -0500)
commit2e1661d2673667d886cd40ad9f414cb6db48d8da
tree5a2c32eb8a5c575bfb5c7013f5d9d427f5c06c34
parent91ca180dbdd687d45fe4aab055b02d29c91b90df
signal: Remove the task parameter from force_sig_fault

As synchronous exceptions really only make sense against the current
task (otherwise how are you synchronous) remove the task parameter
from from force_sig_fault to make it explicit that is what is going
on.

The two known exceptions that deliver a synchronous exception to a
stopped ptraced task have already been changed to
force_sig_fault_to_task.

The callers have been changed with the following emacs regular expression
(with obvious variations on the architectures that take more arguments)
to avoid typos:

force_sig_fault[(]\([^,]+\)[,]\([^,]+\)[,]\([^,]+\)[,]\W+current[)]
->
force_sig_fault(\1,\2,\3)

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
67 files changed:
arch/alpha/kernel/traps.c
arch/alpha/mm/fault.c
arch/arc/kernel/traps.c
arch/arc/mm/fault.c
arch/arm/kernel/ptrace.c
arch/arm/kernel/traps.c
arch/arm/mm/alignment.c
arch/arm/mm/fault.c
arch/arm64/kernel/traps.c
arch/c6x/kernel/traps.c
arch/csky/abiv1/alignment.c
arch/csky/abiv2/fpu.c
arch/csky/kernel/traps.c
arch/csky/mm/fault.c
arch/hexagon/kernel/traps.c
arch/hexagon/mm/vm_fault.c
arch/ia64/kernel/brl_emu.c
arch/ia64/kernel/traps.c
arch/ia64/kernel/unaligned.c
arch/ia64/mm/fault.c
arch/m68k/kernel/traps.c
arch/m68k/mm/fault.c
arch/microblaze/kernel/exceptions.c
arch/microblaze/mm/fault.c
arch/mips/kernel/traps.c
arch/mips/mm/fault.c
arch/nds32/kernel/fpu.c
arch/nds32/kernel/traps.c
arch/nds32/mm/fault.c
arch/nios2/kernel/traps.c
arch/openrisc/kernel/traps.c
arch/openrisc/mm/fault.c
arch/parisc/kernel/traps.c
arch/parisc/kernel/unaligned.c
arch/parisc/math-emu/driver.c
arch/parisc/mm/fault.c
arch/powerpc/kernel/process.c
arch/powerpc/kernel/traps.c
arch/powerpc/mm/fault.c
arch/powerpc/platforms/cell/spufs/fault.c
arch/riscv/kernel/traps.c
arch/s390/kernel/traps.c
arch/s390/mm/fault.c
arch/sh/kernel/hw_breakpoint.c
arch/sh/kernel/traps_32.c
arch/sh/math-emu/math.c
arch/sh/mm/fault.c
arch/sparc/kernel/process_64.c
arch/sparc/kernel/sys_sparc_32.c
arch/sparc/kernel/sys_sparc_64.c
arch/sparc/kernel/traps_32.c
arch/sparc/kernel/traps_64.c
arch/sparc/mm/fault_32.c
arch/sparc/mm/fault_64.c
arch/um/kernel/ptrace.c
arch/um/kernel/trap.c
arch/unicore32/kernel/traps.c
arch/unicore32/mm/fault.c
arch/x86/entry/vsyscall/vsyscall_64.c
arch/x86/kernel/ptrace.c
arch/x86/kernel/traps.c
arch/x86/kernel/umip.c
arch/x86/mm/fault.c
arch/xtensa/kernel/traps.c
arch/xtensa/mm/fault.c
include/linux/sched/signal.h
kernel/signal.c