]> git.ipfire.org Git - people/stevee/selinux-policy.git/blob - policy/modules/admin/certwatch.te
trunk: merge UBAC.
[people/stevee/selinux-policy.git] / policy / modules / admin / certwatch.te
1
2 policy_module(certwatch, 1.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 logging_send_syslog_msg(certwatch_t)
31
32 miscfiles_read_certs(certwatch_t)
33 miscfiles_read_localization(certwatch_t)
34
35 userdom_use_user_terminals(certwatch_t)
36
37 optional_policy(`
38 apache_exec_modules(certwatch_t)
39 ')
40
41 optional_policy(`
42 cron_system_entry(certwatch_t, certwatch_exec_t)
43 ')
44
45 optional_policy(`
46 pcscd_stream_connect(certwatch_t)
47 pcscd_read_pub_files(certwatch_t)
48 ')