mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-18 06:03:42 +03:00
mount: mount all cgroup controllers in containers, too
This commit is contained in:
parent
db813c2a91
commit
3cbb76ee34
@ -315,6 +315,7 @@ int mount_cgroup_controllers(char ***join_controllers) {
|
||||
p.type = "cgroup";
|
||||
p.options = options;
|
||||
p.flags = MS_NOSUID|MS_NOEXEC|MS_NODEV;
|
||||
p.mode = MNT_IN_CONTAINER;
|
||||
|
||||
r = mount_one(&p, true);
|
||||
free(controller);
|
||||
|
Loading…
x
Reference in New Issue
Block a user