linux_dsm_epyc7002/arch/s390
Eric W. Biederman 9507a5d012 signal/s390: 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: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux-s390@vger.kernel.org
Acked-by: Martin Schwidefsky >schwidefsky@de.ibm.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2018-04-25 10:44:08 -05:00
..
appldata s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00
boot s390/ipl: rely on diag308 store to get ipl info 2018-04-10 07:38:59 +02:00
configs firmware: Drop FIRMWARE_IN_KERNEL Kconfig option 2018-01-25 12:46:30 +01:00
crypto s390/crypto: Adjust s390 aes and paes cipher priorities 2018-04-10 07:38:54 +02:00
hypfs s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00
include s390: correct nospec auto detection init order 2018-04-11 17:46:00 +02:00
kernel signal/s390: Use force_sig_fault where appropriate 2018-04-25 10:44:08 -05:00
kvm KVM: s390: provide counters for all interrupt injects/delivery 2018-03-14 19:21:18 +00:00
lib s390: fix preemption race in disable_sacf_uaccess 2017-12-15 15:05:21 +01:00
mm signal/s390: Use force_sig_fault where appropriate 2018-04-25 10:44:08 -05:00
net bpf, s390x: remove obsolete exception handling from div/mod 2018-01-26 16:42:06 -08:00
numa s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci s390/pci: handle insufficient resources during dma tlb flush 2017-12-13 10:51:33 +01:00
tools KVM: s390: implement CPU model only facilities 2018-03-09 09:44:17 +00:00
defconfig s390: update defconfig 2017-10-16 08:19:28 +02:00
Kbuild s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00
Kconfig s390: add sysfs attributes for spectre 2018-03-28 08:38:26 +02:00
Kconfig.debug License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile s390: add automatic detection of the spectre defense 2018-03-28 08:38:24 +02:00