Fix samhain range transitions for MLS/MCS and a type transition conflict.

This commit is contained in:
Chris PeBenito 2010-12-15 14:06:58 -05:00
parent aae6881065
commit e50a2becc6
1 changed files with 12 additions and 1 deletions

View File

@ -30,7 +30,18 @@ application_domain(samhain_t, samhain_exec_t)
# Domain for samhain service started by samhain init script
samhain_service_template(samhaind)
init_ranged_daemon_domain(samhaind_t, samhain_exec_t, mls_systemhigh)
ifdef(`enable_mcs',`
# This is system instead of daemon to work around
# a type transition conflict
init_ranged_system_domain(samhaind_t, samhain_exec_t, mcs_systemhigh)
')
ifdef(`enable_mls',`
# This is system instead of daemon to work around
# a type transition conflict
init_ranged_system_domain(samhaind_t, samhain_exec_t, mls_systemhigh)
')
########################################
#