selinux-policy/policy/modules/admin/certwatch.te

50 lines
968 B
Plaintext
Raw Normal View History

2006-01-18 19:09:48 +00:00
policy_module(certwatch, 1.0)
2006-01-18 19:09:48 +00:00
########################################
#
# Declarations
#
type certwatch_t;
type certwatch_exec_t;
application_domain(certwatch_t, certwatch_exec_t)
2006-01-18 19:09:48 +00:00
role system_r types certwatch_t;
########################################
#
# Local policy
#
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)
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
libs_use_ld_so(certwatch_t)
libs_use_shared_libs(certwatch_t)
logging_send_syslog_msg(certwatch_t)
miscfiles_read_certs(certwatch_t)
miscfiles_read_localization(certwatch_t)
optional_policy(`
apache_exec_modules(certwatch_t)
')
2006-01-18 19:09:48 +00:00
optional_policy(`
cron_system_entry(certwatch_t, certwatch_exec_t)
2006-01-18 19:09:48 +00:00
')
optional_policy(`
pcscd_stream_connect(certwatch_t)
pcscd_read_pub_files(certwatch_t)
')