Move from sendsig() to its callers the initsiginfo() calls and
authorguenther <guenther@openbsd.org>
Tue, 10 Jul 2018 04:19:59 +0000 (04:19 +0000)
committerguenther <guenther@openbsd.org>
Tue, 10 Jul 2018 04:19:59 +0000 (04:19 +0000)
commit4cf51ffb3914592f5084e60babf4664172b380db
tree393e8faa30d001d2573bc24d2f757b52f829ca90
parentacfd23a9922dea186cff1d7b2024368bbfb28234
Move from sendsig() to its callers the initsiginfo() calls and
instead of passing sendsig() the code+type+val, pass a siginfo_t*
to copy from.  Eliminate the indirection through struct emul for
sendsig(); we no longer have a SunOS4-compat version of sendsig()

ok deraadt@
17 files changed:
sys/arch/alpha/alpha/machdep.c
sys/arch/amd64/amd64/machdep.c
sys/arch/arm/arm/sig_machdep.c
sys/arch/arm64/arm64/sig_machdep.c
sys/arch/hppa/hppa/machdep.c
sys/arch/i386/i386/machdep.c
sys/arch/m88k/m88k/sig_machdep.c
sys/arch/macppc/macppc/machdep.c
sys/arch/mips64/mips64/sendsig.c
sys/arch/sh/sh/sh_machdep.c
sys/arch/socppc/socppc/machdep.c
sys/arch/sparc64/sparc64/machdep.c
sys/kern/exec_elf.c
sys/kern/init_main.c
sys/kern/kern_sig.c
sys/sys/proc.h
sys/sys/signalvar.h