[PATCH v3] selinux: export validatetrans decisions

2015-10-29 Thread Andrew Perepechko
ss $taskcontext" to /validatetrans is expected to return 0 if the transition is allowed and -EPERM otherwise. Signed-off-by: Andrew Perepechko <anser...@ya.ru> CC: andrew.perepec...@seagate.com --- security/selinux/include/classmap.h | 2 +- security/selinux/include/security.h | 3 ++ se

[PATCH] selinux: export validatetrans decisions

2015-10-27 Thread Andrew Perepechko
quot; to /transition is expected to return 0 if the transition is allowed and -EPERM otherwise. Signed-off-by: Andrew Perepechko <anser...@ya.ru> CC: andrew.perepec...@seagate.com --- security/selinux/hooks.c| 2 +- security/selinux/include/security.h | 2 +- security/selin