Skip to content
Commit 7b0d0b40 authored by Stephen Smalley's avatar Stephen Smalley Committed by Paul Moore
Browse files

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: default avatarStephen Smalley <sds@tycho.nsa.gov>
Reviewed-by: default avatarAndy Lutomirski <luto@amacapital.net>
Signed-off-by: default avatarPaul Moore <pmoore@redhat.com>
parent aa9e0de8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment