Blame mls/domains/program/slrnpull.te
|
Chris PeBenito |
31b7c0 |
#DESC slrnpull
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# Author: Dan Walsh <dwalsh@redhat.com>
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
#################################
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# Rules for the slrnpull_t domain.
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# slrnpull_exec_t is the type of the slrnpull executable.
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
daemon_domain(slrnpull)
|
|
Chris PeBenito |
31b7c0 |
type slrnpull_spool_t, file_type, sysadmfile;
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
log_domain(slrnpull)
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
ifdef(`logrotate.te', `
|
|
Chris PeBenito |
31b7c0 |
create_dir_file(logrotate_t, slrnpull_spool_t)
|
|
Chris PeBenito |
31b7c0 |
')
|
|
Chris PeBenito |
31b7c0 |
system_crond_entry(slrnpull_exec_t, slrnpull_t)
|
|
Chris PeBenito |
31b7c0 |
allow userdomain slrnpull_spool_t:dir search;
|
|
Chris PeBenito |
31b7c0 |
rw_dir_create_file(slrnpull_t, slrnpull_spool_t)
|
|
Chris PeBenito |
31b7c0 |
allow slrnpull_t var_spool_t:dir search;
|
|
Chris PeBenito |
31b7c0 |
allow slrnpull_t slrnpull_spool_t:dir create_dir_perms;
|