Merge pull request #30450 from poettering/cgroups-delegate-attr-update
cgroup: bring list of delegated cgroup attributes up-to-date with cur…
This commit is contained in:
@@ -35,6 +35,8 @@ static int chown_cgroup_path(const char *path, uid_t uid_shift) {
|
||||
"cgroup.stat",
|
||||
"cgroup.subtree_control",
|
||||
"cgroup.threads",
|
||||
"memory.oom.group",
|
||||
"memory.reclaim",
|
||||
"notify_on_release",
|
||||
"tasks")
|
||||
if (fchownat(fd, fn, uid_shift, uid_shift, 0) < 0)
|
||||
|
||||
@@ -421,6 +421,8 @@ int cg_set_access(
|
||||
{ "cgroup.procs", true },
|
||||
{ "cgroup.subtree_control", true },
|
||||
{ "cgroup.threads", false },
|
||||
{ "memory.oom.group", false },
|
||||
{ "memory.reclaim", false },
|
||||
{},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user