]> git.proxmox.com Git - mirror_lxcfs.git/commit
cgroup_utils: explicitly check for cgroup2 FDs in cgroup_walkup_to_root
authorAlexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Wed, 27 Mar 2024 13:47:55 +0000 (14:47 +0100)
committerAlexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Wed, 27 Mar 2024 13:55:35 +0000 (14:55 +0100)
commit86d93a312b094de93a00d022f746d4c435c3548c
treee8db78a2ae86fcb19baae459e161bf421af8566f
parent532c61fe07c4b8d713f77bceb7f87c457ead288f
cgroup_utils: explicitly check for cgroup2 FDs in cgroup_walkup_to_root

See:
https://github.com/lxc/lxcfs/pull/617#discussion_r1533524372

Suggested-by: Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
src/cgroups/cgroup_utils.c