Skip to contentSkip to conversation

cgroup fixes for v4.15-rc8

GIT PULL Tejun Heo 1 participant 1 message Jan 19, 2018 cgroup

lore
Share & tools
lore

Tejun Heo

author
#0 lore raw

Hello, Linus.

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.

Thanks.

The following changes since commit 74d0833c659a8a54735e5efdd44f4b225af68586:

cgroup: fix css_task_iter crash on CSS_TASK_ITER_PROC (2017-12-20 07:09:19 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-4.15-fixes

for you to fetch changes up to 4f58424da3deead2605e39a9df65f5f06107a3cb:

cgroup: make cgroup.threads delegatable (2018-01-10 09:42:32 -0800)

----------------------------------------------------------------
Roman Gushchin (1):
cgroup: make cgroup.threads delegatable

 kernel/cgroup/cgroup.c | 1 +
 1 file changed, 1 insertion(+)
kernel/cgroup/cgroup.c +1 -0
index 2cf06c2..7e4c445 100644
@@ -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,
Signature · 1 line
tejun