devcg: expand may_access() logic
authorAristeu Rozanski <aris@redhat.com>
Fri, 15 Feb 2013 16:55:44 +0000 (11:55 -0500)
committerTejun Heo <tj@kernel.org>
Wed, 20 Mar 2013 14:50:09 +0000 (07:50 -0700)
commit26898fdff371d78f122cf15d8732d1d37f2d1338
treee6da9b9fe1f6d957f0aae86288525ecb8afb4e08
parent3ac1707a13a3da9cfc8f242a15b2fae6df2c5f88
devcg: expand may_access() logic

In order to make the next patch more clear, expand may_access() logic.

v2: may_access() returns bool now

Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
security/device_cgroup.c