Blame policy/modules/admin/certwatch.te
|
Chris PeBenito |
2bcdbd |
|
|
Chris PeBenito |
0bfccd |
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 |
0bfccd |
application_domain(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 |
12c61f |
allow certwatch_t self:capability sys_nice;
|
|
Chris PeBenito |
12c61f |
allow certwatch_t self:process { setsched getsched };
|
|
Chris PeBenito |
12c61f |
|
|
Chris PeBenito |
12c61f |
dev_read_urand(certwatch_t)
|
|
Chris PeBenito |
2bcdbd |
|
|
Chris PeBenito |
2bcdbd |
files_read_etc_files(certwatch_t)
|
|
Chris PeBenito |
12c61f |
files_read_usr_files(certwatch_t)
|
|
Chris PeBenito |
12c61f |
files_read_usr_symlinks(certwatch_t)
|
|
Chris PeBenito |
12c61f |
files_list_tmp(certwatch_t)
|
|
Chris PeBenito |
12c61f |
|
|
Chris PeBenito |
12c61f |
fs_list_inotifyfs(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 |
12c61f |
optional_policy(`
|
|
Chris PeBenito |
12c61f |
apache_exec_modules(certwatch_t)
|
|
Chris PeBenito |
12c61f |
')
|
|
Chris PeBenito |
2bcdbd |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
0bfccd |
cron_system_entry(certwatch_t, certwatch_exec_t)
|
|
Chris PeBenito |
2bcdbd |
')
|
|
Chris PeBenito |
12c61f |
|
|
Chris PeBenito |
12c61f |
optional_policy(`
|
|
Chris PeBenito |
12c61f |
pcscd_stream_connect(certwatch_t)
|
|
Chris PeBenito |
12c61f |
pcscd_read_pub_files(certwatch_t)
|
|
Chris PeBenito |
12c61f |
')
|