]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
tools/cgexec: guard systemd default delegate slice
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Sun, 19 Nov 2023 08:44:57 +0000 (14:14 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 7 Dec 2023 16:21:09 +0000 (09:21 -0700)
commit5a701ea97f501c3d35b8dff51e769f8a37f6df97
tree07f0ad7633edbdc7a9ae920bfdd080e8be8df76e
parente3e08291cbd55e7a28cffa68f3a87790b9be9a87
tools/cgexec: guard systemd default delegate slice

Guard setting default systemd delegate slice with WITH_SYSTEMD, to limit
the systemd delegation only to --enable-systemd=yes only.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit 49c65117d247e9697b19d6847df5678f6c27ea0f)
src/tools/cgexec.c