Re: [patch] cgroups: disallow attaching kthreadd

From: Tejun Heo
Date: Wed Apr 04 2012 - 19:06:50 EST


On Wed, Apr 04, 2012 at 04:34:38AM +0200, Mike Galbraith wrote:
> It looked to me like yes, because cgroup_attach_task() can be called
> directly. For the problem at hand, user script doing bad things, no,
> it's not needed.

Then that's a kernel bug. We're just trying to protect userland from
shotting itself, so please just keep the one in the user-facing
interface.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/