qemu-e2k/bsd-user
Warner Losh e32a63010f bsd-user/signal.c: Add si_type argument to queue_signal
Mirror the linux-user practice and add a si_type argument to queue
signal. This will be transported as the upper 8 bits in the si_type
element of siginfo so that we know what bits of the structure are valid
and so we can properly implement host_to_target_siginfo_noswap and
tswap_siginfo. Adapt the one caller of queue_signal to the new
interface.  Use all the same names as Linux (except _RT which we don't
treat differently, unlike Linux), though some are unused. Place this
into signal-common.h since that's a better place given bsd-user's
structure. Move prototype of queue_signal to signal-common.h to mirror
linux-user's location.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
2022-01-28 15:52:39 -07:00
..
arm bsd-user/arm/target_arch_cpu.h: Implement data faults 2022-01-28 15:52:39 -07:00
freebsd bsd-user: Create setup_sigframe_arch to setup sigframe context 2022-01-28 15:52:38 -07:00
i386 bsd-user/signal-common.h: Move signal functions prototypes to here 2022-01-28 15:52:39 -07:00
include user: move common-user includes to a subdirectory of {bsd,linux}-user/ 2022-01-12 14:08:29 +01:00
netbsd bsd-user: elf cleanup 2021-09-10 14:13:06 -06:00
openbsd bsd-user: elf cleanup 2021-09-10 14:13:06 -06:00
x86_64 bsd-user/signal-common.h: Move signal functions prototypes to here 2022-01-28 15:52:39 -07:00
bsdload.c bsd-user: TARGET_NGROUPS unused in this file, remove 2021-09-10 14:13:06 -06:00
elfcore.c bsd-user: add stubbed out core dump support 2021-09-10 14:13:06 -06:00
elfload.c bsd-user: Refactor load_elf_sections and is_target_elf_binary 2021-09-10 14:13:06 -06:00
errno_defs.h bsd-user: Create special-errno.h 2021-12-19 20:47:33 -08:00
main.c bsd-user: Remove vestiges of signal queueing code 2022-01-28 15:52:38 -07:00
meson.build user: move common-user includes to a subdirectory of {bsd,linux}-user/ 2022-01-12 14:08:29 +01:00
mmap.c bsd-user/mmap.c: assert that target_mprotect cannot fail 2021-10-18 12:51:38 -06:00
qemu.h bsd-user/signal.c: Implement signal_init() 2022-01-28 15:52:39 -07:00
signal-common.h bsd-user/signal.c: Add si_type argument to queue_signal 2022-01-28 15:52:39 -07:00
signal.c bsd-user/signal.c: Add si_type argument to queue_signal 2022-01-28 15:52:39 -07:00
strace.c bsd-user: style tweak: Remove #if 0'd code 2021-05-11 11:07:22 -06:00
syscall_defs.h bsd-user: Rewrite target system call definintion glue 2021-09-10 14:13:06 -06:00
syscall.c bsd-user/sysarch: Move to using do_freebsd_arch_sysarch interface 2021-10-18 12:51:39 -06:00
uaccess.c bsd-user: style tweak: keyword space ( 2021-05-11 11:07:22 -06:00