]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli/debug: show dev: show capabilities
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Fri, 21 Jun 2024 16:11:46 +0000 (18:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 26 Jun 2024 05:38:21 +0000 (07:38 +0200)
commit2cd52a88bee19c8948df8a71e9494d2474f05e5b
tree0a768bfe1f73dae306aedabe424ff07fcd515a06
parent0d79c9bedfa564e3c032c1e910c29949f5133d91
MINOR: cli/debug: show dev: show capabilities

If haproxy compiled with Linux capabilities support, let's show process
capabilities before applying the configuration and at runtime in 'show dev'
command output. This maybe useful for debugging purposes. Especially in
cases, when process changes its UID and GID to non-priviledged or it
has started and run under non-priviledged UID and needed capabilities are
set by admin on the haproxy binary.
include/haproxy/linuxcap.h
src/debug.c