fee48647ac
67effb0
483be01
c6c63f6
b0d8d59
5b082e4
b8097d6
689d954
5afc3d3
f3c5e77
a59e50c
cf87233
17759c7
dc1db54
e9bf16d
4f95198
bf40792
622c63b
c20842c
dc7cc4d
792d448
54 lines
1.1 KiB
Plaintext
54 lines
1.1 KiB
Plaintext
policy_module(certwatch, 1.5.2)
|
|
|
|
########################################
|
|
#
|
|
# Declarations
|
|
#
|
|
|
|
type certwatch_t;
|
|
type certwatch_exec_t;
|
|
application_domain(certwatch_t, certwatch_exec_t)
|
|
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)
|
|
|
|
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)
|
|
|
|
auth_manage_cache(certwatch_t)
|
|
auth_var_filetrans_cache(certwatch_t)
|
|
|
|
logging_send_syslog_msg(certwatch_t)
|
|
|
|
miscfiles_read_generic_certs(certwatch_t)
|
|
miscfiles_read_localization(certwatch_t)
|
|
|
|
userdom_use_user_terminals(certwatch_t)
|
|
userdom_dontaudit_list_user_home_dirs(certwatch_t)
|
|
|
|
optional_policy(`
|
|
apache_exec_modules(certwatch_t)
|
|
apache_read_config(certwatch_t)
|
|
')
|
|
|
|
optional_policy(`
|
|
cron_system_entry(certwatch_t, certwatch_exec_t)
|
|
')
|
|
|
|
optional_policy(`
|
|
pcscd_domtrans(certwatch_t)
|
|
pcscd_stream_connect(certwatch_t)
|
|
pcscd_read_pub_files(certwatch_t)
|
|
')
|