drivers: video: rockchip: hdmi: add RAYKEN5.46" lcd for discret vr device
[firefly-linux-kernel-4.4.55.git] / Documentation / cgroups / cgroups.txt
index c6256ae9885b8ac7445f6d10066ee541ebb388b8..2d984e20783be198586267633e65a842ae61559e 100644 (file)
@@ -578,6 +578,15 @@ is completely unused; @cgrp->parent is still valid. (Note - can also
 be called for a newly-created cgroup if an error occurs after this
 subsystem's create() method has been called for the new cgroup).
 
+int allow_attach(struct cgroup *cgrp, struct cgroup_taskset *tset)
+(cgroup_mutex held by caller)
+
+Called prior to moving a task into a cgroup; if the subsystem
+returns an error, this will abort the attach operation.  Used
+to extend the permission checks - if all subsystems in a cgroup
+return 0, the attach will be allowed to proceed, even if the
+default permission check (root or same user) fails.
+
 int can_attach(struct cgroup *cgrp, struct cgroup_taskset *tset)
 (cgroup_mutex held by caller)