Blame policy/modules/services/roundup.if
|
Chris PeBenito |
17de1b |
## <summary>Roundup Issue Tracking System policy</summary>
|
|
Chris PeBenito |
5843d0 |
|
|
Chris PeBenito |
5843d0 |
########################################
|
|
Chris PeBenito |
5843d0 |
## <summary>
|
|
Chris PeBenito |
5843d0 |
## All of the rules required to administrate
|
|
Chris PeBenito |
5843d0 |
## an roundup environment
|
|
Chris PeBenito |
5843d0 |
## </summary>
|
|
Chris PeBenito |
5843d0 |
## <param name="domain">
|
|
Chris PeBenito |
5843d0 |
## <summary>
|
|
Chris PeBenito |
5843d0 |
## Domain allowed access.
|
|
Chris PeBenito |
5843d0 |
## </summary>
|
|
Chris PeBenito |
5843d0 |
## </param>
|
|
Chris PeBenito |
5843d0 |
## <param name="role">
|
|
Chris PeBenito |
5843d0 |
## <summary>
|
|
Chris PeBenito |
5843d0 |
## The role to be allowed to manage the roundup domain.
|
|
Chris PeBenito |
5843d0 |
## </summary>
|
|
Chris PeBenito |
5843d0 |
## </param>
|
|
Chris PeBenito |
5843d0 |
## <rolecap/>
|
|
Chris PeBenito |
5843d0 |
#
|
|
Chris PeBenito |
5843d0 |
interface(`roundup_admin',`
|
|
Chris PeBenito |
5843d0 |
gen_require(`
|
|
Chris PeBenito |
5843d0 |
type roundup_t, roundup_var_lib_t, roundup_var_run_t;
|
|
Chris PeBenito |
5843d0 |
type roundup_initrc_exec_t;
|
|
Chris PeBenito |
5843d0 |
')
|
|
Chris PeBenito |
5843d0 |
|
|
Chris PeBenito |
5843d0 |
allow $1 roundup_t:process { ptrace signal_perms };
|
|
Chris PeBenito |
5843d0 |
ps_process_pattern($1, roundup_t)
|
|
Chris PeBenito |
5843d0 |
|
|
Chris PeBenito |
5843d0 |
init_labeled_script_domtrans($1, roundup_initrc_exec_t)
|
|
Chris PeBenito |
5843d0 |
domain_system_change_exemption($1)
|
|
Chris PeBenito |
5843d0 |
role_transition $2 roundup_initrc_exec_t system_r;
|
|
Chris PeBenito |
5843d0 |
allow $2 system_r;
|
|
Chris PeBenito |
5843d0 |
|
|
Chris PeBenito |
5843d0 |
files_list_var_lib($1)
|
|
Chris PeBenito |
5843d0 |
admin_pattern($1, roundup_var_lib_t)
|
|
Chris PeBenito |
5843d0 |
|
|
Chris PeBenito |
5843d0 |
files_list_pids($1)
|
|
Chris PeBenito |
5843d0 |
admin_pattern($1, roundup_var_run_t)
|
|
Chris PeBenito |
5843d0 |
')
|