Searched hist:"7 b0d0b40cd78cadb525df760ee4cac151533c2b5" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/security/selinux/ |
H A D | hooks.c | diff 7b0d0b40cd78cadb525df760ee4cac151533c2b5 Mon Aug 04 12:36:49 CDT 2014 Stephen Smalley <sds@tycho.nsa.gov> selinux: Permit bounded transitions under NO_NEW_PRIVS or NOSUID.
If the callee SID is bounded by the caller SID, then allowing the transition to occur poses no risk of privilege escalation and we can therefore safely allow the transition to occur. Add this exemption for both the case where a transition was explicitly requested by the application and the case where an automatic transition is defined in policy.
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> Reviewed-by: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Paul Moore <pmoore@redhat.com>
|