From: Andy Warner <warner@rubix.com>
To: selinux@tycho.nsa.gov
Subject: mcs_systemhigh use
Date: Thu, 10 Jun 2010 17:15:23 +0800 [thread overview]
Message-ID: <4C10AD2B.9080802@rubix.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 909 bytes --]
In the policy for the Trusted RUBIX DBMS, we assign file contexts using
the following (only one representative dir, 'backups', shown):
ifdef(`enable_mls',`
/var/lib/RUBIXdbms/backups(/.*)?
gen_context(system_u:object_r:rubix_backup_t,mls_systemhigh)
')
ifdef(`enable_mcs',`
/var/lib/RUBIXdbms/backups(/.*)?
gen_context(system_u:object_r:rubix_backup_t,mcs_systemhigh)
')
When using the mls policy, I get the expected level of mls_systemhigh
(s15:c0.c1023). But when using the targeted policy, I get an unexpected
value for mcs_systemhigh. I would expect to get s0:c0.c1023, but get s0.
I have verified this behavior on Fedora 9 and 12. Is my assumption wrong
about what mcs_systemhigh should be or am I missing something?
Relevant output from 'semanage fcontext -l'
/var/lib/RUBIXdbms/backups(/.*)? all files
system_u:object_r:rubix_backup_t:s0
Thanks,
Andy
[-- Attachment #2: Type: text/html, Size: 1396 bytes --]
next reply other threads:[~2010-06-10 9:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-10 9:15 Andy Warner [this message]
2010-06-10 11:09 ` mcs_systemhigh use Christopher J. PeBenito
2010-06-10 11:12 ` Andy Warner
2010-06-10 11:21 ` Christopher J. PeBenito
2010-06-10 16:48 ` Andy Warner
2010-06-10 17:50 ` Christopher J. PeBenito
2010-06-10 17:58 ` Andy Warner
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=4C10AD2B.9080802@rubix.com \
--to=warner@rubix.com \
--cc=selinux@tycho.nsa.gov \
/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.