All of lore.kernel.org
 help / color / mirror / Atom feed
* mcs_systemhigh use
@ 2010-06-10  9:15 Andy Warner
  2010-06-10 11:09 ` Christopher J. PeBenito
  0 siblings, 1 reply; 7+ messages in thread
From: Andy Warner @ 2010-06-10  9:15 UTC (permalink / raw)
  To: selinux

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-06-10 17:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-10  9:15 mcs_systemhigh use Andy Warner
2010-06-10 11:09 ` 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

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.