]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
device_cgroup: add "deny_all" in dev_cgroup structure
authorAristeu Rozanski <aris@redhat.com>
Wed, 26 Sep 2012 01:34:49 +0000 (11:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:28:39 +0000 (17:28 +1000)
commit6854a1f65f1843026fd623470ad3b5409c86cc43
tree769b360daf075365ec3c01dd8a6f6581d88b8129
parentec905aa19b1cd4b7c7ee22f4c01819401e8ad9fb
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>
security/device_cgroup.c