summaryrefslogtreecommitdiffstats
path: root/security/selinux/xfrm.c
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2014-08-04 19:36:49 +0200
committerPaul Moore <pmoore@redhat.com>2014-08-28 17:37:12 +0200
commit7b0d0b40cd78cadb525df760ee4cac151533c2b5 (patch)
treeab2fa10cfd86c0db24135b34bcaf7cbff8674c75 /security/selinux/xfrm.c
parentMerge tag 'v3.16' into next (diff)
downloadlinux-7b0d0b40cd78cadb525df760ee4cac151533c2b5.tar.xz
linux-7b0d0b40cd78cadb525df760ee4cac151533c2b5.zip
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>
Diffstat (limited to 'security/selinux/xfrm.c')
0 files changed, 0 insertions, 0 deletions