Re: [patch] cgroups: disallow attaching kthreadd

From: Tejun Heo
Date: Wed Apr 04 2012 - 19:10:33 EST


On Wed, Apr 04, 2012 at 04:06:48PM -0700, Tejun Heo wrote:
> 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.

Ooh, and please use Li's new address - lizefan@xxxxxxxxxxx

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/