]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/cgroup: actually apply BPF everywhere
authorMike Yuan <me@yhndnzj.com>
Mon, 21 Apr 2025 14:55:34 +0000 (16:55 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 21 Apr 2025 23:45:39 +0000 (08:45 +0900)
commit239afa597167de0f049f87dfa2e144a1610b33a2
tree1fabe2dc87362ecf412b265182b730802c0bc943
parent399a358a387aad8df97ba25d9268cbc42f805519
core/cgroup: actually apply BPF everywhere

Follow-up for f1c5534eb61a1abcac62d67d57ef2f0715073819

The previous logic was an OR, i.e. as long as we're running
in unified mode BPF is applied. The offending commit
spuriously excluded local root.

While at it, remove check for cgv1 CGROUP_MASK_DEVICES controller.
src/core/cgroup.c