]> git.ipfire.org Git - people/stevee/selinux-policy.git/blob - policy/modules/admin/certwatch.te
Merge branch 'master' into xselinux
[people/stevee/selinux-policy.git] / policy / modules / admin / certwatch.te
1
2 policy_module(certwatch, 1.5.0)
3
4 ########################################
5 #
6 # Declarations
7 #
8
9 type certwatch_t;
10 type certwatch_exec_t;
11 application_domain(certwatch_t, certwatch_exec_t)
12 role system_r types certwatch_t;
13
14 ########################################
15 #
16 # Local policy
17 #
18 allow certwatch_t self:capability sys_nice;
19 allow certwatch_t self:process { setsched getsched };
20
21 dev_read_urand(certwatch_t)
22
23 files_read_etc_files(certwatch_t)
24 files_read_usr_files(certwatch_t)
25 files_read_usr_symlinks(certwatch_t)
26 files_list_tmp(certwatch_t)
27
28 fs_list_inotifyfs(certwatch_t)
29
30 auth_manage_cache(certwatch_t)
31 auth_var_filetrans_cache(certwatch_t)
32
33 logging_send_syslog_msg(certwatch_t)
34
35 miscfiles_read_certs(certwatch_t)
36 miscfiles_read_localization(certwatch_t)
37
38 userdom_use_user_terminals(certwatch_t)
39 userdom_dontaudit_list_user_home_dirs(certwatch_t)
40
41 optional_policy(`
42 apache_exec_modules(certwatch_t)
43 apache_read_config(certwatch_t)
44 ')
45
46 optional_policy(`
47 cron_system_entry(certwatch_t, certwatch_exec_t)
48 ')
49
50 optional_policy(`
51 pcscd_stream_connect(certwatch_t)
52 pcscd_read_pub_files(certwatch_t)
53 ')