Re: [PATCH cgroup/for-3.16] cgroup: disallow debug controller on the default hierarchy

From: Tejun Heo
Date: Mon May 19 2014 - 16:38:20 EST


On Wed, May 14, 2014 at 07:33:07PM -0400, Tejun Heo wrote:
> The debug controller, as its name suggests, exposes cgroup core
> internals to userland to aid debugging. Unfortunately, except for the
> name, there's no provision to prevent its usage in production
> configurations and the controller is widely enabled and mounted
> leaking internal details to userland. Like most other debug
> information, the information exposed by debug isn't interesting even
> for debugging itself once the related parts are working reliably.
>
> This controller has no reason for existing. This patch implements
> cgrp_dfl_root_inhibit_ss_mask which can suppress specific subsystems
> on the default hierarchy and adds the debug subsystem to it so that it
> can be gradually deprecated as usages move towards the unified
> hierarchy.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>

Applied to cgroup/for-3.16.

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/