trunk: init script for setrans.

This commit is contained in:
Chris PeBenito 2008-09-18 18:20:31 +00:00
parent 658f4d3dd9
commit 88c02e0538
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,5 @@
/etc/rc\.d/init\.d/mcstrans -- gen_context(system_u:object_r:setrans_initrc_exec_t,s0)
/sbin/mcstransd -- gen_context(system_u:object_r:setrans_exec_t,s0)
/var/run/setrans(/.*)? gen_context(system_u:object_r:setrans_var_run_t,mls_systemhigh)

View File

@ -1,5 +1,5 @@
policy_module(setrans, 1.4.1)
policy_module(setrans, 1.4.2)
########################################
#
@ -10,6 +10,9 @@ type setrans_t;
type setrans_exec_t;
init_daemon_domain(setrans_t, setrans_exec_t)
type setrans_initrc_exec_t;
init_script_file(setrans_initrc_exec_t)
type setrans_var_run_t;
files_pid_file(setrans_var_run_t)
mls_trusted_object(setrans_var_run_t)