init: make initrc_t a init_domain to simplify the policy
This also allows init_t initrc_t:process2 nnp_transition which can be required if the service isn't targeted. Signed-off-by: bauen1 <j2468h@gmail.com>
This commit is contained in:
parent
51d76f956f
commit
5fb8157616
|
@ -79,10 +79,8 @@ mls_trusted_object(initctl_t)
|
|||
|
||||
type initrc_t, init_script_domain_type, init_run_all_scripts_domain;
|
||||
type initrc_exec_t, init_script_file_type;
|
||||
domain_type(initrc_t)
|
||||
domain_entry_file(initrc_t, initrc_exec_t)
|
||||
init_domain(initrc_t, initrc_exec_t)
|
||||
init_named_socket_activation(initrc_t, init_runtime_t)
|
||||
role system_r types initrc_t;
|
||||
# should be part of the true block
|
||||
# of the below init_upstart tunable
|
||||
# but this has a typeattribute in it
|
||||
|
|
Loading…
Reference in New Issue