Call init_domain() in addition to init_daemon_domain(), this adds permissions needed...
[selinux.git] / tesseract / tesseract.te
1 policy_module(tesseract, 0.1.5)
2
3 # File context for the executable process
4 type tesseract_t;
5 type tesseract_exec_t;
6
7 type tesseract_rw_t;
8 files_type(tesseract_rw_t)
9
10 type tesseract_ro_t;
11 files_type(tesseract_ro_t)
12
13 init_domain(tesseract_t, tesseract_exec_t)
14 init_daemon_domain(tesseract_t, tesseract_exec_t)
15
16 corenet_udp_sendrecv_generic_port(tesseract_t)
17 corenet_udp_bind_generic_port(tesseract_t)
18 corenet_udp_bind_generic_node(tesseract_t)
19
20 read_files_pattern(tesseract_t, tesseract_ro_t, tesseract_ro_t)
21 list_dirs_pattern(tesseract_t, tesseract_ro_t, tesseract_ro_t)
22
23 sysnet_dns_name_resolve(tesseract_t)