Blame refpolicy/policy/modules/services/cups.if
|
Chris PeBenito |
ef5ca0 |
## <summary>Common UNIX printing system</summary>
|
|
Chris PeBenito |
3df88d |
|
|
Chris PeBenito |
3df88d |
########################################
|
|
Chris PeBenito |
3df88d |
## <summary>
|
|
Chris PeBenito |
725926 |
## Execute cups_config in the cups_config domain.
|
|
Chris PeBenito |
725926 |
## </summary>
|
|
Chris PeBenito |
725926 |
## <param name="domain">
|
|
Chris PeBenito |
725926 |
## The type of the process performing this action.
|
|
Chris PeBenito |
725926 |
## </param>
|
|
Chris PeBenito |
725926 |
#
|
|
Chris PeBenito |
725926 |
interface(`cups_domtrans_config',`
|
|
Chris PeBenito |
725926 |
gen_require(`
|
|
Chris PeBenito |
725926 |
type cupsd_config_t, cupsd_config_exec_t;
|
|
Chris PeBenito |
725926 |
')
|
|
Chris PeBenito |
725926 |
|
|
Chris PeBenito |
725926 |
domain_auto_trans($1,cupsd_config_exec_t,cupsd_config_t)
|
|
Chris PeBenito |
725926 |
|
|
Chris PeBenito |
725926 |
allow $1 cupsd_config_t:fd use;
|
|
Chris PeBenito |
725926 |
allow cupsd_config_t $1:fd use;
|
|
Chris PeBenito |
725926 |
allow cupsd_config_t $1:fifo_file rw_file_perms;
|
|
Chris PeBenito |
725926 |
allow cupsd_config_t $1:process sigchld;
|
|
Chris PeBenito |
725926 |
')
|
|
Chris PeBenito |
725926 |
|
|
Chris PeBenito |
725926 |
########################################
|
|
Chris PeBenito |
725926 |
## <summary>
|
|
Chris PeBenito |
3df88d |
## Read cups-writable configuration files.
|
|
Chris PeBenito |
3df88d |
## </summary>
|
|
Chris PeBenito |
3df88d |
## <param name="domain">
|
|
Chris PeBenito |
3df88d |
## Domain allowed access.
|
|
Chris PeBenito |
3df88d |
## </param>
|
|
Chris PeBenito |
3df88d |
#
|
|
Chris PeBenito |
3df88d |
interface(`cups_read_rw_config',`
|
|
Chris PeBenito |
3df88d |
gen_require(`
|
|
Chris PeBenito |
3df88d |
type cupsd_etc_t, cupsd_rw_etc_t;
|
|
Chris PeBenito |
3df88d |
')
|
|
Chris PeBenito |
3df88d |
|
|
Chris PeBenito |
3df88d |
files_search_etc($1)
|
|
Chris PeBenito |
3df88d |
allow $1 cupsd_etc_t:dir search_dir_perms;
|
|
Chris PeBenito |
3df88d |
allow $1 cupsd_rw_etc_t:file { getattr read };
|
|
Chris PeBenito |
3df88d |
')
|