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

2012-10-22 Thread Serge Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > 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 Acked-by: Serge E. Hallyn Thanks, Aristeu.

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

2012-10-22 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 Cc: Jiri Slaby Signed-off-by: Aristeu Rozanski --- security/device_cgroup.c | 19 ++