]> git.proxmox.com Git - mirror_qemu.git/commit - bsd-user/qemu.h
bsd-user/signal.c: Implement signal_init()
authorWarner Losh <imp@bsdimp.com>
Sat, 8 Jan 2022 23:57:31 +0000 (16:57 -0700)
committerWarner Losh <imp@bsdimp.com>
Fri, 28 Jan 2022 22:52:39 +0000 (15:52 -0700)
commit149076ade7b8250fa62a6b1e7462f8d2c340b27e
tree48eb1a8c4fee931255e7653de7f612bd5a0181db
parent1366ef817a151f8f89a561494ea24204ad7917c7
bsd-user/signal.c: Implement signal_init()

Initialize the signal state for the emulator. Setup a set of sane
default signal handlers, mirroring the host's signals. For fatal signals
(those that exit by default), establish our own set of signal
handlers. Stub out the actual signal handler we use for the moment.

Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Kyle Evans <kevans@freebsd.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> XXX SIGPROF PENDING
bsd-user/qemu.h
bsd-user/signal.c