Chris PeBenito 17de1b
## <summary>Unix to Unix Copy</summary>
Chris PeBenito d6d16b
Chris PeBenito d6d16b
########################################
Chris PeBenito d6d16b
## <summary>
Chris PeBenito d6d16b
##	Allow the specified domain to append
Chris PeBenito d6d16b
##	to uucp log files.
Chris PeBenito d6d16b
## </summary>
Chris PeBenito d6d16b
## <param name="domain">
Chris PeBenito d6d16b
##	<summary>
Chris PeBenito d6d16b
##	Domain allowed access.
Chris PeBenito d6d16b
##	</summary>
Chris PeBenito d6d16b
## </param>
Chris PeBenito d6d16b
#
Chris PeBenito d6d16b
interface(`uucp_append_log',`
Chris PeBenito d6d16b
	gen_require(`
Chris PeBenito d6d16b
		type uucpd_log_t;
Chris PeBenito d6d16b
	')
Chris PeBenito d6d16b
Chris PeBenito d6d16b
	logging_search_logs($1)
Chris PeBenito c0868a
	allow $1 uucpd_log_t:dir list_dir_perms;
Chris PeBenito c0868a
	append_files_pattern($1,uucpd_log_t,uucpd_log_t)
Chris PeBenito d6d16b
')
Chris PeBenito d6d16b
Chris PeBenito d6d16b
########################################
Chris PeBenito d6d16b
## <summary>
Chris PeBenito d6d16b
##	Create, read, write, and delete uucp spool files.
Chris PeBenito d6d16b
## </summary>
Chris PeBenito d6d16b
## <param name="domain">
Chris PeBenito d6d16b
##	<summary>
Chris PeBenito d6d16b
##	Domain allowed access.
Chris PeBenito d6d16b
##	</summary>
Chris PeBenito d6d16b
## </param>
Chris PeBenito d6d16b
#
Chris PeBenito d6d16b
interface(`uucp_manage_spool',`
Chris PeBenito d6d16b
	gen_require(`
Chris PeBenito d6d16b
		type uucpd_spool_t;
Chris PeBenito d6d16b
	')
Chris PeBenito d6d16b
Chris PeBenito d6d16b
	files_search_spool($1)
Chris PeBenito c0868a
	manage_dirs_pattern($1,uucpd_spool_t,uucpd_spool_t)
Chris PeBenito c0868a
	manage_files_pattern($1,uucpd_spool_t,uucpd_spool_t)
Chris PeBenito c0868a
	manage_lnk_files_pattern($1,uucpd_spool_t,uucpd_spool_t)
Chris PeBenito d6d16b
')
Chris PeBenito d6d16b
Chris PeBenito d6d16b
########################################
Chris PeBenito d6d16b
## <summary>
Chris PeBenito d6d16b
##	Execute the master uux program in the
Chris PeBenito d6d16b
##	uux_t domain.
Chris PeBenito d6d16b
## </summary>
Chris PeBenito d6d16b
## <param name="domain">
Chris PeBenito d6d16b
##	<summary>
Chris PeBenito d6d16b
##	Domain allowed access.
Chris PeBenito d6d16b
##	</summary>
Chris PeBenito d6d16b
## </param>
Chris PeBenito d6d16b
#
Chris PeBenito d6d16b
interface(`uucp_domtrans_uux',`
Chris PeBenito d6d16b
	gen_require(`
Chris PeBenito d6d16b
		type uux_t, uux_exec_t;
Chris PeBenito d6d16b
	')
Chris PeBenito d6d16b
Chris PeBenito c0868a
	domtrans_pattern($1,uux_exec_t,uux_t)
Chris PeBenito d6d16b
')