[PATCH 3/3] device_cgroup: add proper checking when changing default behavior

2012-10-19 Thread Aristeu Rozanski
Before changing a group's default behavior to ALLOW, we must check if its parent's behavior is also ALLOW. Cc: Tejun Heo Cc: Li Zefan Cc: James Morris Cc: Pavel Emelyanov Cc: Serge Hallyn Signed-off-by: Aristeu Rozanski --- security/device_cgroup.c | 19 ++- 1 file

[PATCH 3/3] device_cgroup: add proper checking when changing default behavior

2012-10-19 Thread Aristeu Rozanski
Before changing a group's default behavior to ALLOW, we must check if its parent's behavior is also ALLOW. Cc: Tejun Heo t...@kernel.org Cc: Li Zefan lize...@huawei.com Cc: James Morris jmor...@namei.org Cc: Pavel Emelyanov xe...@openvz.org Cc: Serge Hallyn serge.hal...@canonical.com