linux_dsm_epyc7002/arch/nds32/kernel
Eric W. Biederman f6ed1ecad5 signal/nds32: Use force_sig(SIGILL) in do_revisn
As originally committed do_revisn would deliver a siginfo for SIGILL
with an si_code composed of random stack contents.  That makes no
sense and is not something userspace can depend on.  So simplify
the code and just use "force_sig(SIG_ILL, current)" instead.

Fixes: 2923f5ea77 ("nds32: Exception handling")
Cc: Vincent Chen <vincentc@andestech.com>
Cc: Greentime Hu <greentime@andestech.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2018-04-25 10:40:33 -05:00
..
vdso nds32: fix building failed if using elf toolchain. 2018-03-16 15:45:22 +08:00
asm-offsets.c
atl2c.c nds32: L2 cache support 2018-02-22 10:44:34 +08:00
cacheinfo.c nds32: Cache and TLB routines 2018-02-22 10:44:32 +08:00
devtree.c nds32: Device tree support 2018-02-22 10:44:34 +08:00
dma.c nds32: DMA mapping API 2018-02-22 10:44:32 +08:00
ex-entry.S nds32: Exception handling 2018-02-22 10:44:31 +08:00
ex-exit.S nds32: Exception handling 2018-02-22 10:44:31 +08:00
ex-scall.S nds32: System calls handling 2018-02-22 10:44:33 +08:00
head.S nds32: Kernel booting and initialization 2018-02-22 10:44:31 +08:00
irq.c nds32: IRQ handling 2018-02-22 10:44:32 +08:00
Makefile nds32: Build infrastructure 2018-02-22 10:44:35 +08:00
module.c nds32: Loadable modules 2018-02-22 10:44:34 +08:00
nds32_ksyms.c nds32: Library functions 2018-02-22 10:44:33 +08:00
process.c nds32: Process management 2018-02-22 10:44:32 +08:00
ptrace.c nds32: Debugging support 2018-02-22 10:44:34 +08:00
setup.c nds32: Kernel booting and initialization 2018-02-22 10:44:31 +08:00
signal.c nds32: Signal handling support 2018-02-22 10:44:33 +08:00
stacktrace.c nds32: Exception handling 2018-02-22 10:44:31 +08:00
sys_nds32.c nds32: System calls handling 2018-02-22 10:44:33 +08:00
syscall_table.c nds32: System calls handling 2018-02-22 10:44:33 +08:00
time.c nds32: Generic timers support 2018-02-22 10:44:34 +08:00
traps.c signal/nds32: Use force_sig(SIGILL) in do_revisn 2018-04-25 10:40:33 -05:00
vdso.c nds32: VDSO support 2018-02-22 10:44:33 +08:00
vmlinux.lds.S nds32: Build infrastructure 2018-02-22 10:44:35 +08:00