mirror of
https://github.com/SELinuxProject/refpolicy
synced 2025-03-25 04:26:37 +00:00
Fixes for samhain init_system_domain() usage.
This commit is contained in:
parent
7a15ba8bae
commit
7c4fbeba94
@ -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)
|
||||
|
@ -411,6 +411,7 @@ interface(`init_ranged_system_domain',`
|
||||
|
||||
ifdef(`enable_mls',`
|
||||
range_transition initrc_t $2:process $3;
|
||||
mls_rangetrans_target($1)
|
||||
')
|
||||
')
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
policy_module(init, 1.16.0)
|
||||
policy_module(init, 1.16.1)
|
||||
|
||||
gen_require(`
|
||||
class passwd rootok;
|
||||
|
Loading…
Reference in New Issue
Block a user