diff options
author | Linus Torvalds | 2018-01-19 20:25:17 +0100 |
---|---|---|
committer | Linus Torvalds | 2018-01-19 20:25:17 +0100 |
commit | 8b335c7d22df5a5c252e4c22559a3f3ae011e3f0 (patch) | |
tree | f26352a796defb3b944372374009d6c4ae5a1c15 /kernel | |
parent | Merge branch 'for-4.15-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
parent | cgroup: make cgroup.threads delegatable (diff) | |
download | kernel-qcow2-linux-8b335c7d22df5a5c252e4c22559a3f3ae011e3f0.tar.gz kernel-qcow2-linux-8b335c7d22df5a5c252e4c22559a3f3ae011e3f0.tar.xz kernel-qcow2-linux-8b335c7d22df5a5c252e4c22559a3f3ae011e3f0.zip |
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
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/cgroup/cgroup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index 2cf06c274e4c..7e4c44538119 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c @@ -4447,6 +4447,7 @@ static struct cftype cgroup_base_files[] = { }, { .name = "cgroup.threads", + .flags = CFTYPE_NS_DELEGATABLE, .release = cgroup_procs_release, .seq_start = cgroup_threads_start, .seq_next = cgroup_procs_next, |