Update cod4, q3a, quake2, tesseract, tf2, ts3 and ut2004 to new interfaces
[selinux.git] / q3a / q3a.te
1 policy_module(q3a, 0.1.23)
2
3 # File context for the executable process
4 type q3a_t;
5 type q3a_exec_t;
6
7 type q3a_rw_t;
8 files_type(q3a_rw_t)
9
10 type q3a_ro_t;
11 files_type(q3a_ro_t)
12
13 _sky_files_use_tmp(q3a_t, q3a_tmp_t)
14
15 init_daemon_domain(q3a_t, q3a_exec_t)
16
17 corenet_udp_sendrecv_generic_port(q3a_t)
18 corenet_udp_bind_generic_port(q3a_t)
19 corenet_udp_bind_generic_node(q3a_t)
20
21 read_files_pattern(q3a_t, q3a_ro_t, q3a_ro_t)
22
23 allow q3a_t q3a_ro_t:dir list_dir_perms;
24 allow q3a_t q3a_ro_t:file read_file_perms;
25
26 manage_files_pattern(q3a_t, q3a_rw_t, q3a_rw_t)
27 manage_dirs_pattern(q3a_t, q3a_rw_t, q3a_rw_t)
28 setattr_files_pattern(q3a_t, q3a_rw_t, q3a_rw_t)
29
30 sysnet_dns_name_resolve(q3a_t)
31
32 dev_read_urand(q3a_t)
33
34 allow q3a_t self:process execmem;