Skip to content
Commit ab275f23 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

cgroup-util: before operating on a mounted cgroup controller check if it actually can be mounted

We now have the "BPF" pseudo-controllers. These should never be assumed
to be accessible as /sys/fs/cgroup/<controller> and not through
"cgroup.subtree_control" either, hence always check explicitly before we
go to the file system. We do this through our new CGROUP_MASK_V1 and
CGROUP_MASK_V2 definitions.
parent 4edd65e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment