init: replace call to init_domtrans_script

Signed-off-by: bauen1 <j2468h@gmail.com>
This commit is contained in:
bauen1 2020-05-27 17:00:07 +02:00
parent 8784dd0c66
commit be231899f5
No known key found for this signature in database
GPG Key ID: FF0AAF5E0812BA9C
1 changed files with 9 additions and 3 deletions

View File

@ -80,6 +80,15 @@ mls_trusted_object(initctl_t)
type initrc_t, init_script_domain_type, init_run_all_scripts_domain; type initrc_t, init_script_domain_type, init_run_all_scripts_domain;
type initrc_exec_t, init_script_file_type; type initrc_exec_t, init_script_file_type;
init_domain(initrc_t, initrc_exec_t) init_domain(initrc_t, initrc_exec_t)
ifdef(`enable_mcs', `
init_ranged_daemon_domain(initrc_t, initrc_exec_t, s0)
')
ifdef(`enable_mls', `
init_ranged_daemon_domain(initrc_t, initrc_exec_t, s0 - mls_systemhigh)
')
init_named_socket_activation(initrc_t, init_runtime_t) init_named_socket_activation(initrc_t, init_runtime_t)
# should be part of the true block # should be part of the true block
# of the below init_upstart tunable # of the below init_upstart tunable
@ -207,9 +216,6 @@ selinux_set_all_booleans(init_t)
term_use_all_terms(init_t) term_use_all_terms(init_t)
# Run init scripts.
init_domtrans_script(init_t)
libs_rw_ld_so_cache(init_t) libs_rw_ld_so_cache(init_t)
logging_send_syslog_msg(init_t) logging_send_syslog_msg(init_t)