Commit 8b335c7d authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'for-4.15-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup

Pull cgroup fix from Tejun Heo:
 "cgroup.threads should be delegatable (ie. a container should be able
  to write to it from inside) but was missing the flag.

  The change is very low risk"

* 'for-4.15-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
  cgroup: make cgroup.threads delegatable
parents a2c9c1c0 4f58424d
...@@ -4447,6 +4447,7 @@ static struct cftype cgroup_base_files[] = { ...@@ -4447,6 +4447,7 @@ static struct cftype cgroup_base_files[] = {
}, },
{ {
.name = "cgroup.threads", .name = "cgroup.threads",
.flags = CFTYPE_NS_DELEGATABLE,
.release = cgroup_procs_release, .release = cgroup_procs_release,
.seq_start = cgroup_threads_start, .seq_start = cgroup_threads_start,
.seq_next = cgroup_procs_next, .seq_next = cgroup_procs_next,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment