android_kernel_samsung_msm8976/security/selinux
KaiGai Kohei 7d52a155e3 selinux: remove dead code in type_attribute_bounds_av()
This patch removes dead code in type_attribute_bounds_av().

Due to the historical reason, the type boundary feature is delivered
from hierarchical types in libsepol, it has supported boundary features
both of subject type (domain; in most cases) and target type.

However, we don't have any actual use cases in bounded target types,
and it tended to make conceptual confusion.
So, this patch removes the dead code to apply boundary checks on the
target types. I makes clear the TYPEBOUNDS restricts privileges of
a certain domain bounded to any other domain.

Signed-off-by: KaiGai Kohei <kaigai@ak.jp.nec.com>
Acked-by:  Stephen Smalley <sds@tycho.nsa.gov>

--
 security/selinux/ss/services.c |   43 +++------------------------------------
 1 files changed, 4 insertions(+), 39 deletions(-)
Signed-off-by: James Morris <jmorris@namei.org>
2010-01-25 08:31:38 +11:00
..
include selinux: change the handling of unknown classes 2010-01-18 09:54:26 +11:00
ss selinux: remove dead code in type_attribute_bounds_av() 2010-01-25 08:31:38 +11:00
.gitignore
avc.c selinux: change the handling of unknown classes 2010-01-18 09:54:26 +11:00
exports.c
hooks.c SECURITY: selinux, fix update_rlimit_cpu parameter 2010-01-04 11:27:18 +01:00
Kconfig
Makefile
netif.c
netlabel.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
netlink.c
netnode.c
netport.c
nlmsgtab.c
selinuxfs.c selinux: change the handling of unknown classes 2010-01-18 09:54:26 +11:00
xfrm.c