Chris PeBenito 2bcdbd
Chris PeBenito 2bcdbd
policy_module(certwatch,1.0)
Chris PeBenito 2bcdbd
Chris PeBenito 2bcdbd
########################################
Chris PeBenito 2bcdbd
#
Chris PeBenito 2bcdbd
# Declarations
Chris PeBenito 2bcdbd
#
Chris PeBenito 2bcdbd
Chris PeBenito 2bcdbd
type certwatch_t;
Chris PeBenito 2bcdbd
type certwatch_exec_t;
Chris PeBenito 2bcdbd
domain_type(certwatch_t)
Chris PeBenito 2bcdbd
domain_entry_file(certwatch_t,certwatch_exec_t)
Chris PeBenito 2bcdbd
role system_r types certwatch_t;
Chris PeBenito 2bcdbd
Chris PeBenito 2bcdbd
########################################
Chris PeBenito 2bcdbd
#
Chris PeBenito 2bcdbd
# Local policy
Chris PeBenito 2bcdbd
#
Chris PeBenito 2bcdbd
Chris PeBenito 2bcdbd
files_read_etc_files(certwatch_t)
Chris PeBenito 2bcdbd
Chris PeBenito 2bcdbd
libs_use_ld_so(certwatch_t)
Chris PeBenito 2bcdbd
libs_use_shared_libs(certwatch_t)
Chris PeBenito 2bcdbd
Chris PeBenito 2bcdbd
logging_send_syslog_msg(certwatch_t)
Chris PeBenito 2bcdbd
Chris PeBenito 2bcdbd
miscfiles_read_certs(certwatch_t)
Chris PeBenito 2bcdbd
miscfiles_read_localization(certwatch_t)
Chris PeBenito 2bcdbd
Chris PeBenito 2bcdbd
apache_exec_modules(certwatch_t)
Chris PeBenito 2bcdbd
Chris PeBenito bb7170
optional_policy(`
Chris PeBenito 2bcdbd
	cron_system_entry(certwatch_t,certwatch_exec_t)
Chris PeBenito 2bcdbd
')