device_cgroup: remove can_attach
It is really only wanting to duplicate a check which is already done by the cgroup subsystem. With this patch, user jdoe still cannot move pid 1 into a devices cgroup he owns, but now he can move his own other tasks into devices cgroups. Signed-off-by: NSerge Hallyn <serge.hallyn@ubuntu.com> Signed-off-by: NTejun Heo <tj@kernel.org> Cc: Aristeu Rozanski <aris@redhat.com>
Showing
想要评论请 注册 或 登录