]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proc: setting the process to produce a core dump on FreeBSD.
authordevnexen@gmail.com <devnexen@gmail.com>
Sat, 21 Aug 2021 08:13:10 +0000 (09:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 25 Aug 2021 03:14:27 +0000 (05:14 +0200)
commit21185970c199761c81b3b21b13b64dc9dd64838a
tree8183ed15bb93cca454e222d75874bee61170e34a
parentff0f27886080cb3fbbe96f38acf3655438bc0b0c
MINOR: proc: setting the process to produce a core dump on FreeBSD.

using the procctl api to set the current process as traceable, thus being able to produce a core dump as well.

making it as compile option if not wished or using freebsd prior to 11.x (last no EOL release).
Makefile
src/haproxy.c