linux/arch
Eric W. Biederman 3c67075d5d signal/m68k: Use force_sig_fault where appropriate
Filling in struct siginfo before calling force_sig_info a tedious and
error prone process, where once in a great while the wrong fields
are filled out, and siginfo has been inconsistently cleared.

Simplify this process by using the helper force_sig_fault.  Which
takes as a parameters all of the information it needs, ensures
all of the fiddly bits of filling in struct siginfo are done properly
and then calls force_sig_info.

In short about a 5 line reduction in code for every time force_sig_info
is called, which makes the calling function clearer.

Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k@lists.linux-m68k.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2018-04-25 10:41:01 -05:00
..
alpha signal/alpha: Use force_sig_fault where appropriate 2018-04-25 10:40:59 -05:00
arc signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
arm signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
arm64 signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
c6x signal/c6x: Use force_sig_fault where appropriate 2018-04-25 10:40:59 -05:00
h8300 h8300: remove extraneous __BIG_ENDIAN definition 2018-03-22 17:07:01 -07:00
hexagon signal/hexagon: Use force_sig_fault as appropriate 2018-04-25 10:41:00 -05:00
ia64 signal/ia64: Replace FPE_FIXME with FPE_FLTUNK 2018-04-25 10:40:55 -05:00
m68k signal/m68k: Use force_sig_fault where appropriate 2018-04-25 10:41:01 -05:00
microblaze signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
mips signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
nds32 signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
nios2 signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
openrisc signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
parisc signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
powerpc signal/powerpc: Replace TRAP_FIXME with TRAP_UNK 2018-04-25 10:40:58 -05:00
riscv signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
s390 signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
sh signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
sparc signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
um signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
unicore32 signal/unicore32: Use FPE_FLTUNK instead of 0 in ucf64_raise_sigfpe 2018-04-25 10:40:56 -05:00
x86 signal: Add TRAP_UNK si_code for undiagnosted trap exceptions 2018-04-25 10:40:56 -05:00
xtensa signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
.gitignore
Kconfig kbuild: remove incremental linking option 2018-03-26 02:01:19 +09:00