]> git.ipfire.org Git - thirdparty/samba.git/commit
lib:replace: Implement setproctitle() based on PRCTL_MM_MAP
authorAndreas Schneider <asn@samba.org>
Fri, 17 Oct 2025 08:16:30 +0000 (10:16 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 22 Oct 2025 08:03:35 +0000 (08:03 +0000)
commitceb9109c87765a28eba69b51ec726fbf70b2ba4a
treedb826bf64cd2485627785665becda08eafca91be
parent298be05d8fe850c6a7521ba53cd876351b5b7425
lib:replace: Implement setproctitle() based on PRCTL_MM_MAP

This should work on Linux. It requires CAP_SYS_RESOURCE, but our daemons
run as root anyway.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Oct 22 08:03:35 UTC 2025 on atb-devel-224
lib/replace/replace.c