2010-09-10 15:31:22 +00:00
|
|
|
policy_module(certwatch, 1.5.1)
|
2006-01-18 19:09:48 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type certwatch_t;
|
|
|
|
type certwatch_exec_t;
|
2008-07-23 21:38:39 +00:00
|
|
|
application_domain(certwatch_t, certwatch_exec_t)
|
2006-01-18 19:09:48 +00:00
|
|
|
role system_r types certwatch_t;
|
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Local policy
|
|
|
|
#
|
2008-10-06 17:27:49 +00:00
|
|
|
allow certwatch_t self:capability sys_nice;
|
|
|
|
allow certwatch_t self:process { setsched getsched };
|
|
|
|
|
|
|
|
dev_read_urand(certwatch_t)
|
2006-01-18 19:09:48 +00:00
|
|
|
|
|
|
|
files_read_etc_files(certwatch_t)
|
2008-10-06 17:27:49 +00:00
|
|
|
files_read_usr_files(certwatch_t)
|
|
|
|
files_read_usr_symlinks(certwatch_t)
|
|
|
|
files_list_tmp(certwatch_t)
|
|
|
|
|
|
|
|
fs_list_inotifyfs(certwatch_t)
|
2006-01-18 19:09:48 +00:00
|
|
|
|
2009-06-12 15:30:15 +00:00
|
|
|
auth_manage_cache(certwatch_t)
|
|
|
|
auth_var_filetrans_cache(certwatch_t)
|
|
|
|
|
2006-01-18 19:09:48 +00:00
|
|
|
logging_send_syslog_msg(certwatch_t)
|
|
|
|
|
2010-09-10 15:31:00 +00:00
|
|
|
miscfiles_read_generic_certs(certwatch_t)
|
2006-01-18 19:09:48 +00:00
|
|
|
miscfiles_read_localization(certwatch_t)
|
|
|
|
|
2008-11-05 16:10:46 +00:00
|
|
|
userdom_use_user_terminals(certwatch_t)
|
2009-09-01 12:50:39 +00:00
|
|
|
userdom_dontaudit_list_user_home_dirs(certwatch_t)
|
2008-11-05 16:10:46 +00:00
|
|
|
|
2008-10-06 17:27:49 +00:00
|
|
|
optional_policy(`
|
|
|
|
apache_exec_modules(certwatch_t)
|
2009-06-12 15:30:15 +00:00
|
|
|
apache_read_config(certwatch_t)
|
2008-10-06 17:27:49 +00:00
|
|
|
')
|
2006-01-18 19:09:48 +00:00
|
|
|
|
2006-03-24 16:13:54 +00:00
|
|
|
optional_policy(`
|
2008-07-23 21:38:39 +00:00
|
|
|
cron_system_entry(certwatch_t, certwatch_exec_t)
|
2006-01-18 19:09:48 +00:00
|
|
|
')
|
2008-10-06 17:27:49 +00:00
|
|
|
|
|
|
|
optional_policy(`
|
2010-08-27 15:22:12 +00:00
|
|
|
pcscd_domtrans(certwatch_t)
|
2008-10-06 17:27:49 +00:00
|
|
|
pcscd_stream_connect(certwatch_t)
|
|
|
|
pcscd_read_pub_files(certwatch_t)
|
|
|
|
')
|