cgroup: don't enable bpf pseudo-controllers when doing a wildcard delegation
authorLennart Poettering <lennart@poettering.net>
Wed, 24 Jan 2024 21:40:04 +0000 (22:40 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 25 Jan 2024 12:42:13 +0000 (13:42 +0100)
commit677e6c14b199c1fa637b7c4c8cae39c31213a79d
tree02c86db4149ae5f003466c978bfb9bdeb91fe942
parentb009782b5d926dfc00cab5375a8b284123fb3158
cgroup: don't enable bpf pseudo-controllers when doing a wildcard delegation

We can only delegate actual controllers, not the BPF pseudo-controllers
we defined as there's imply no concept for that. Hence, when users set
Delegate=yes to do a wildcard delegation, only delegate the regular
controllers.

This means that we won't bother with BPF stuff for such units where it's
entirelly unnecessary.
src/basic/cgroup-util.h
src/core/dbus-cgroup.c
src/core/load-fragment.c