]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4199e78f9e5ebd7b228661b5a699b5d463694507
tree60527442334744981f0766dae6f46bf7ae9b4d4f
parent65331c0c89c841bb69f0eacf4f4c6a109a1b855c
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