device_cgroup: add "deny_all" in dev_cgroup structure
authorAristeu Rozanski <aris@redhat.com>
Fri, 5 Oct 2012 00:15:13 +0000 (17:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:05:13 +0000 (03:05 +0900)
commit66b8ef67756b3051bf42a077a82c3c5c279caa5b
tree60527442334744981f0766dae6f46bf7ae9b4d4f
parent12ae6779332181432a7feda740735ffa5bb3d32d
device_cgroup: add "deny_all" in dev_cgroup structure

deny_all will determine if the default policy is to deny all device access
unless for the ones in the exception list.

This variable will be used in the next patches to convert device_cgroup
internally into a default policy + rules.

Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Li Zefan <lizefan@huawei.com>
Cc: James Morris <jmorris@namei.org>
Cc: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Serge E. Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
security/device_cgroup.c