cgroups: relax ns_can_attach checks to allow attaching to grandchild cgroups
[deliverable/linux.git] / include / linux / cgroup.h
index bb8feb9feccdedaa3793b98df7d6eefb98eefc14..788c4964c142373b43dac281d77278ccdb20b8d0 100644 (file)
@@ -348,8 +348,8 @@ int cgroup_path(const struct cgroup *cgrp, char *buf, int buflen);
 
 int cgroup_task_count(const struct cgroup *cgrp);
 
-/* Return true if the cgroup is a descendant of the current cgroup */
-int cgroup_is_descendant(const struct cgroup *cgrp);
+/* Return true if cgrp is a descendant of the task's cgroup */
+int cgroup_is_descendant(const struct cgroup *cgrp, struct task_struct *task);
 
 /* Control Group subsystem type. See Documentation/cgroups.txt for details */
 
This page took 0.030919 seconds and 5 git commands to generate.