]> git.ipfire.org Git - thirdparty/qemu.git/commit
bsd-user/signal.c: Only copy the _capsicum for FreeBSD_version > 1400026
authorWarner Losh <imp@bsdimp.com>
Tue, 1 Feb 2022 20:30:30 +0000 (13:30 -0700)
committerWarner Losh <imp@bsdimp.com>
Tue, 1 Feb 2022 21:43:20 +0000 (14:43 -0700)
commiteb9d35f686ed1279d57463d9e6f289988f594c19
tree737a326c29f18b1445bf273eb4d857a3d2f96d8e
parent3bbe296c1c7a6ddce7a294e006b8c4a53b385292
bsd-user/signal.c: Only copy the _capsicum for FreeBSD_version > 1400026

The capsicum signal stuff is new with FreeBSD 14, rev 1400026, so only
define QEMU_SI_CAPSICUM there. Only copy _capsicum when QEMU_SI_CAPSICUM
is defined. Default to no info being passed for signals we make no guess
about.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/signal-common.h
bsd-user/signal.c