Fixes for samhain init_system_domain() usage.

This commit is contained in:
Chris PeBenito 2010-12-16 09:03:51 -05:00
parent 7a15ba8bae
commit 7c4fbeba94
3 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
policy_module(samhain, 1.0.0)
policy_module(samhain, 1.0.1)
########################################
#
@ -70,3 +70,7 @@ allow samhaind_t { samhain_t self }:process signal_perms;
can_exec(samhaind_t, samhain_exec_t)
read_files_pattern(samhaind_t, samhain_db_t, samhain_db_t)
# init script ptys are the stdin/out/err
# when using run_init
init_use_script_ptys(samhaind_t)

View File

@ -411,6 +411,7 @@ interface(`init_ranged_system_domain',`
ifdef(`enable_mls',`
range_transition initrc_t $2:process $3;
mls_rangetrans_target($1)
')
')

View File

@ -1,4 +1,4 @@
policy_module(init, 1.16.0)
policy_module(init, 1.16.1)
gen_require(`
class passwd rootok;