CLEANUP: wdt: do not remap SI_TKILL to SI_LWP, test the values directly
authorWilly Tarreau <w@1wt.eu>
Fri, 8 Oct 2021 13:31:04 +0000 (15:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Oct 2021 15:22:26 +0000 (17:22 +0200)
commit6414e4423c03dbc07cba97560d390c9c98e390ff
tree9233b7c2ad98f63e1476e486f3da600a4097c549
parentb474f43816a9322cb33ec4ab4929683d2f042547
CLEANUP: wdt: do not remap SI_TKILL to SI_LWP, test the values directly

We used to remap SI_TKILL to SI_LWP when SI_TKILL was not available
(e.g. FreeBSD) but that's ugly and since we need this only in a single
switch/case block in wdt.c it's even simpler and cleaner to perform the
two tests there, so let's do this.
include/haproxy/compat.h
src/wdt.c