diff options
author | Stephen Smalley <sds@tycho.nsa.gov> | 2014-08-04 13:36:49 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2014-08-28 11:37:12 -0400 |
commit | 7b0d0b40cd78cadb525df760ee4cac151533c2b5 (patch) | |
tree | ab2fa10cfd86c0db24135b34bcaf7cbff8674c75 /security/selinux/netlabel.c | |
parent | aa9e0de81b5b257f6dae48efe2ed5f255f066497 (diff) |
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/netlabel.c')
0 files changed, 0 insertions, 0 deletions