Change sendsig() interface so that the MD code does not need to access
authorclaudio <claudio@openbsd.org>
Wed, 6 Oct 2021 15:46:03 +0000 (15:46 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 6 Oct 2021 15:46:03 +0000 (15:46 +0000)
commitba203458c83af4b5fd6f6bf05acf4a352bdbdddc
treea6342dc9b67b8aabaea951bf6542a820f9d3e61c
parent7699728a8abe559e2323f48c2f47ee4c41693910
Change sendsig() interface so that the MD code does not need to access
data from struct process anymore. This changes how siginfo and onstack
are accessed and make sendsig() more MP friendly.
With and OK semarie@ OK kettenis@
15 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/powerpc64/powerpc64/machdep.c
sys/arch/riscv64/riscv64/sig_machdep.c
sys/arch/sh/sh/sh_machdep.c
sys/arch/sparc64/sparc64/machdep.c
sys/kern/kern_sig.c
sys/sys/signalvar.h