]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: shctx: Naming shared memory context
authorDavid Carlier <devnexen@gmail.com>
Sat, 20 Apr 2024 06:18:48 +0000 (07:18 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Apr 2024 08:25:38 +0000 (10:25 +0200)
commit98d22f212a24cc10e358e0f311e715a5bbbe2e96
tree0759e2a023369dd09abf0327bb93c0ca2c3b0cdd
parent3ef60012ae700f6cf56830063771fd1600f876b7
MEDIUM: shctx: Naming shared memory context

From Linux 5.17, anonymous regions can be name via prctl/PR_SET_VMA
so caches can be identified when looking at HAProxy process memory
mapping.
The most possible error is lack of kernel support, as a result
we ignore it, if the naming fails the mapping of memory context
ought to still occur.
include/haproxy/shctx.h
src/cache.c
src/shctx.c
src/ssl_sock.c