Chris PeBenito 17de1b
## <summary>IPv6 router advertisement daemon</summary>
Chris PeBenito 7a5e2d
Chris PeBenito 7a5e2d
########################################
Chris PeBenito 7a5e2d
## <summary>
Chris PeBenito 7a5e2d
##	All of the rules required to administrate 
Chris PeBenito 7a5e2d
##	an radvd environment
Chris PeBenito 7a5e2d
## </summary>
Chris PeBenito 7a5e2d
## <param name="domain">
Chris PeBenito 7a5e2d
##	<summary>
Chris PeBenito 7a5e2d
##	Domain allowed access.
Chris PeBenito 7a5e2d
##	</summary>
Chris PeBenito 7a5e2d
## </param>
Chris PeBenito e87221
## <param name="role">
Chris PeBenito e87221
##	<summary>
Chris PeBenito e87221
##	Role allowed access.
Chris PeBenito e87221
##	</summary>
Chris PeBenito e87221
## </param>
Chris PeBenito 7a5e2d
## <rolecap/>
Chris PeBenito 7a5e2d
#
Chris PeBenito 7a5e2d
interface(`radvd_admin',`
Chris PeBenito 7a5e2d
	gen_require(`
Dominick Grift 2528a2
		type radvd_t, radvd_etc_t, radvd_initrc_exec_t;
Dominick Grift 2528a2
		type radvd_var_run_t;
Chris PeBenito 7a5e2d
	')
Chris PeBenito 7a5e2d
Chris PeBenito e87221
	allow $1 radvd_t:process { ptrace signal_perms };
Chris PeBenito 7a5e2d
	ps_process_pattern($1, radvd_t)
Chris PeBenito 7a5e2d
Chris PeBenito e87221
	init_labeled_script_domtrans($1, radvd_initrc_exec_t)
Chris PeBenito e87221
	domain_system_change_exemption($1)
Chris PeBenito e87221
	role_transition $2 radvd_initrc_exec_t system_r;
Chris PeBenito e87221
	allow $2 system_r;
Chris PeBenito e87221
Chris PeBenito 7a5e2d
	files_list_etc($1)
Chris PeBenito e87221
	admin_pattern($1, radvd_etc_t)
Chris PeBenito 7a5e2d
Chris PeBenito 7a5e2d
	files_list_pids($1)
Chris PeBenito e87221
	admin_pattern($1, radvd_var_run_t)
Chris PeBenito 7a5e2d
')