Chris PeBenito 8d9352
## <summary>Internet News NNTP server</summary>
Chris PeBenito 8d9352
Chris PeBenito 8d9352
########################################
Chris PeBenito 8d9352
## <summary>
Chris PeBenito 8d9352
##	Allow the specified domain to execute innd
Chris PeBenito 8d9352
##	in the caller domain.
Chris PeBenito 8d9352
## </summary>
Chris PeBenito 8d9352
## <param name="domain">
Chris PeBenito 885b83
##	<summary>
Chris PeBenito 8d9352
##	Domain allowed access.
Chris PeBenito 885b83
##	</summary>
Chris PeBenito 8d9352
## </param>
Chris PeBenito 8d9352
#
Chris PeBenito 8d9352
interface(`inn_exec',`
Chris PeBenito 8d9352
	gen_require(`
Chris PeBenito 8d9352
		type innd_t;
Chris PeBenito 8d9352
	')
Chris PeBenito 8d9352
Chris PeBenito 8d9352
	can_exec($1,innd_t)
Chris PeBenito 8d9352
')
Chris PeBenito 8d9352
Chris PeBenito 8d9352
########################################
Chris PeBenito 8d9352
## <summary>
Chris PeBenito 8d9352
##	Allow the specified domain to execute
Chris PeBenito 8d9352
##	inn configuration files in /etc.
Chris PeBenito 8d9352
## </summary>
Chris PeBenito 8d9352
## <param name="domain">
Chris PeBenito 885b83
##	<summary>
Chris PeBenito 8d9352
##	Domain allowed access.
Chris PeBenito 885b83
##	</summary>
Chris PeBenito 8d9352
## </param>
Chris PeBenito 8d9352
#
Chris PeBenito 8d9352
interface(`inn_exec_config',`
Chris PeBenito 8d9352
	gen_require(`
Chris PeBenito 8d9352
		type innd_etc_t;
Chris PeBenito 8d9352
	')
Chris PeBenito 8d9352
Chris PeBenito 8d9352
	can_exec($1,innd_etc_t)
Chris PeBenito 8d9352
')
Chris PeBenito 8d9352
Chris PeBenito 8d9352
########################################
Chris PeBenito 8d9352
## <summary>
Chris PeBenito 8d9352
##	Create, read, write, and delete the innd log.
Chris PeBenito 8d9352
## </summary>
Chris PeBenito 8d9352
## <param name="domain">
Chris PeBenito 885b83
##	<summary>
Chris PeBenito 8d9352
##	Domain allowed access.
Chris PeBenito 885b83
##	</summary>
Chris PeBenito 8d9352
## </param>
Chris PeBenito 8d9352
#
Chris PeBenito 8d9352
interface(`inn_manage_log',`
Chris PeBenito 8d9352
	gen_require(`
Chris PeBenito 8d9352
		type innd_log_t;
Chris PeBenito 8d9352
	')
Chris PeBenito 8d9352
Chris PeBenito 1815ba
	logging_rw_generic_log_dirs($1)
Chris PeBenito 8d9352
	allow $1 innd_log_t:dir search;
Chris PeBenito 8d9352
	allow $1 innd_log_t:file create_file_perms;
Chris PeBenito 8d9352
')
Chris PeBenito 8d9352
Chris PeBenito 8d9352
########################################
Chris PeBenito 8d9352
## <summary>
Chris PeBenito 8d9352
##	Create, read, write, and delete the innd pid files.
Chris PeBenito 8d9352
## </summary>
Chris PeBenito 8d9352
## <param name="domain">
Chris PeBenito 885b83
##	<summary>
Chris PeBenito 8d9352
##	Domain allowed access.
Chris PeBenito 885b83
##	</summary>
Chris PeBenito 8d9352
## </param>
Chris PeBenito 8d9352
#
Chris PeBenito 8d9352
interface(`inn_manage_pid',`
Chris PeBenito 8d9352
	gen_require(`
Chris PeBenito 8d9352
		type innd_var_run_t;
Chris PeBenito 8d9352
	')
Chris PeBenito 8d9352
Chris PeBenito 8d9352
	files_search_pids($1)
Chris PeBenito 8d9352
	allow $1 innd_var_run_t:dir rw_dir_perms;
Chris PeBenito 8d9352
	allow $1 innd_var_run_t:file create_file_perms;
Chris PeBenito 8d9352
	allow $1 innd_var_run_t:lnk_file create_lnk_perms;
Chris PeBenito 8d9352
')
Chris PeBenito 8d9352
Chris PeBenito 8d9352
########################################
Chris PeBenito 8d9352
## <summary>
Chris PeBenito 8d9352
##	Read innd configuration files.
Chris PeBenito 8d9352
## </summary>
Chris PeBenito 8d9352
## <param name="domain">
Chris PeBenito 885b83
##	<summary>
Chris PeBenito 8d9352
##	Domain allowed access.
Chris PeBenito 885b83
##	</summary>
Chris PeBenito 8d9352
## </param>
Chris PeBenito 8d9352
#
Chris PeBenito 8d9352
interface(`inn_read_config',`
Chris PeBenito 8d9352
	gen_require(`
Chris PeBenito 8d9352
		type innd_etc_t;
Chris PeBenito 8d9352
	')
Chris PeBenito 8d9352
Chris PeBenito 8d9352
	allow $1 innd_etc_t:dir { getattr read search };
Chris PeBenito 8d9352
	allow $1 innd_etc_t:file { read getattr };
Chris PeBenito 8d9352
	allow $1 innd_etc_t:lnk_file { getattr read };
Chris PeBenito 8d9352
')
Chris PeBenito 8d9352
Chris PeBenito 8d9352
########################################
Chris PeBenito 8d9352
## <summary>
Chris PeBenito 8d9352
##	Read innd news library files.
Chris PeBenito 8d9352
## </summary>
Chris PeBenito 8d9352
## <param name="domain">
Chris PeBenito 885b83
##	<summary>
Chris PeBenito 8d9352
##	Domain allowed access.
Chris PeBenito 885b83
##	</summary>
Chris PeBenito 8d9352
## </param>
Chris PeBenito 8d9352
#
Chris PeBenito 8d9352
interface(`inn_read_news_lib',`
Chris PeBenito 8d9352
	gen_require(`
Chris PeBenito 8d9352
		type innd_var_lib_t;
Chris PeBenito 8d9352
	')
Chris PeBenito 8d9352
Chris PeBenito 8d9352
	allow $1 innd_var_lib_t:dir { getattr read search };
Chris PeBenito 8d9352
	allow $1 innd_var_lib_t:file { read getattr };
Chris PeBenito 8d9352
	allow $1 innd_var_lib_t:lnk_file { getattr read };
Chris PeBenito 8d9352
')
Chris PeBenito 8d9352
Chris PeBenito 8d9352
########################################
Chris PeBenito 8d9352
## <summary>
Chris PeBenito 8d9352
##	Read innd news library files.
Chris PeBenito 8d9352
## </summary>
Chris PeBenito 8d9352
## <param name="domain">
Chris PeBenito 885b83
##	<summary>
Chris PeBenito 8d9352
##	Domain allowed access.
Chris PeBenito 885b83
##	</summary>
Chris PeBenito 8d9352
## </param>
Chris PeBenito 8d9352
#
Chris PeBenito 8d9352
interface(`inn_read_news_spool',`
Chris PeBenito 8d9352
	gen_require(`
Chris PeBenito 8d9352
		type news_spool_t;
Chris PeBenito 8d9352
	')
Chris PeBenito 8d9352
Chris PeBenito 8d9352
	allow $1 news_spool_t:dir { getattr read search };
Chris PeBenito 8d9352
	allow $1 news_spool_t:file { read getattr };
Chris PeBenito 8d9352
	allow $1 news_spool_t:lnk_file { getattr read };
Chris PeBenito 8d9352
')
Chris PeBenito 8d9352
Chris PeBenito 8d9352
########################################
Chris PeBenito 8d9352
## <summary>
Chris PeBenito 8d9352
##	Send to a innd unix dgram socket.
Chris PeBenito 8d9352
## </summary>
Chris PeBenito 8d9352
## <param name="domain">
Chris PeBenito 885b83
##	<summary>
Chris PeBenito 8d9352
##	Domain allowed access.
Chris PeBenito 885b83
##	</summary>
Chris PeBenito 8d9352
## </param>
Chris PeBenito 8d9352
#
Chris PeBenito 1815ba
interface(`inn_dgram_send',`
Chris PeBenito 8d9352
	gen_require(`
Chris PeBenito 8d9352
		type innd_t;
Chris PeBenito 8d9352
	')
Chris PeBenito 8d9352
Chris PeBenito 8d9352
	allow $1 innd_t:unix_dgram_socket sendto;
Chris PeBenito 8d9352
')