Skip to content
Commit 73ba3534 authored by Serge Hallyn's avatar Serge Hallyn Committed by Tejun Heo
Browse files

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: default avatarSerge Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Cc: Aristeu Rozanski <aris@redhat.com>
parent 2ff2a7d0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment