From: ewalsh@tycho.nsa.gov (Eamon Walsh)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] range_transitions not working
Date: Fri, 14 Nov 2008 15:25:51 -0500 [thread overview]
Message-ID: <491DDECF.9050701@tycho.nsa.gov> (raw)
In-Reply-To: <491D93A5.2080007@redhat.com>
I found the problem, it's a bad range_transition rule. The rule takes
the "related object" context not the result of the type transition,
attached patch fixes it for me.
Index: xserver.te
===================================================================
--- xserver.te (revision 2877)
+++ xserver.te (working copy)
@@ -743,7 +743,7 @@
ifdef(`enable_mls',`
range_transition xserver_t xserver_tmp_t:sock_file s0 - mls_systemhigh;
- range_transition xserver_t rootwindow_t:x_drawable s0 - mls_systemhigh;
+ range_transition xserver_t xserver_t:x_drawable s0 - mls_systemhigh;
')
tunable_policy(`!xserver_object_manager',`
--
Eamon Walsh <ewalsh@tycho.nsa.gov>
National Security Agency
next prev parent reply other threads:[~2008-11-14 20:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-13 14:25 [refpolicy] range_transitions not working Xavier Toth
2008-11-14 15:05 ` Daniel J Walsh
2008-11-14 20:25 ` Eamon Walsh [this message]
2008-11-17 13:58 ` Christopher J. PeBenito
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=491DDECF.9050701@tycho.nsa.gov \
--to=ewalsh@tycho.nsa.gov \
--cc=refpolicy@oss.tresys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.