|
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 |
')
|
|
Chris PeBenito |
7a5e2d |
|
|
Chris PeBenito |
7a5e2d |
########################################
|
|
Chris PeBenito |
7a5e2d |
## <summary>
|
|
Chris PeBenito |
7a5e2d |
## All of the rules required to administrate
|
|
Chris PeBenito |
7a5e2d |
## an uucp 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 |
7a5e2d |
## <param name="role">
|
|
Chris PeBenito |
7a5e2d |
## <summary>
|
|
Chris PeBenito |
7a5e2d |
## The role to be allowed to manage the uucp domain.
|
|
Chris PeBenito |
7a5e2d |
## </summary>
|
|
Chris PeBenito |
7a5e2d |
## </param>
|
|
Chris PeBenito |
7a5e2d |
## <param name="terminal">
|
|
Chris PeBenito |
7a5e2d |
## <summary>
|
|
Chris PeBenito |
7a5e2d |
## The type of the user terminal.
|
|
Chris PeBenito |
7a5e2d |
## </summary>
|
|
Chris PeBenito |
7a5e2d |
## </param>
|
|
Chris PeBenito |
7a5e2d |
## <rolecap/>
|
|
Chris PeBenito |
7a5e2d |
#
|
|
Chris PeBenito |
7a5e2d |
interface(`uucp_admin',`
|
|
Chris PeBenito |
7a5e2d |
gen_require(`
|
|
Chris PeBenito |
7a5e2d |
type uucp_t, uucp_tmp_t, uucp_log_t;
|
|
Chris PeBenito |
7a5e2d |
type uucp_spool_t, uucp_ro_t, uucp_rw_t;
|
|
Chris PeBenito |
7a5e2d |
type uucp_var_run_t;
|
|
Chris PeBenito |
7a5e2d |
')
|
|
Chris PeBenito |
7a5e2d |
|
|
Chris PeBenito |
7a5e2d |
allow $1 uucp_t:process { ptrace signal_perms getattr };
|
|
Chris PeBenito |
7a5e2d |
ps_process_pattern($1, uucp_t)
|
|
Chris PeBenito |
7a5e2d |
|
|
Chris PeBenito |
7a5e2d |
files_list_tmp($1)
|
|
Chris PeBenito |
7a5e2d |
manage_files_pattern($1, uucp_tmp_t, uucp_tmp_t)
|
|
Chris PeBenito |
7a5e2d |
|
|
Chris PeBenito |
7a5e2d |
logging_list_logs($1)
|
|
Chris PeBenito |
7a5e2d |
manage_files_pattern($1, uucp_log_t, uucp_log_t)
|
|
Chris PeBenito |
7a5e2d |
|
|
Chris PeBenito |
7a5e2d |
files_list_spool($1)
|
|
Chris PeBenito |
7a5e2d |
manage_files_pattern($1, uucp_spool_t, uucp_spool_t)
|
|
Chris PeBenito |
7a5e2d |
|
|
Chris PeBenito |
7a5e2d |
manage_files_pattern($1, uucp_rw_t, uucp_rw_t)
|
|
Chris PeBenito |
7a5e2d |
|
|
Chris PeBenito |
7a5e2d |
manage_files_pattern($1, uucp_ro_t, uucp_ro_t)
|
|
Chris PeBenito |
7a5e2d |
|
|
Chris PeBenito |
7a5e2d |
files_list_pids($1)
|
|
Chris PeBenito |
7a5e2d |
manage_files_pattern($1, uucp_var_run_t, uucp_var_run_t)
|
|
Chris PeBenito |
7a5e2d |
')
|