From: Stephen Smalley Date: Mon, 4 Aug 2014 17:36:49 +0000 (-0400) Subject: selinux: Permit bounded transitions under NO_NEW_PRIVS or NOSUID. X-Git-Tag: fixes-against-v3.18-rc2~106^2~8^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b0d0b40cd78cadb525df760ee4cac151533c2b5;p=pandora-kernel.git 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 Reviewed-by: Andy Lutomirski Signed-off-by: Paul Moore --- Reading git-diff-tree failed