Update cod4, q3a, quake2, tesseract, tf2, ts3 and ut2004 to new interfaces
[selinux.git] / cod4 / cod4.te
index 1caf48e..6b0284d 100644 (file)
@@ -1,4 +1,4 @@
-policy_module(cod4, 0.1.24)
+policy_module(cod4, 0.1.26)
 
 # File context for the executable process
 type cod4_t;
@@ -16,8 +16,7 @@ corenet_udp_sendrecv_generic_port(cod4_t)
 corenet_udp_bind_generic_port(cod4_t)
 corenet_udp_bind_generic_node(cod4_t)
 
-allow cod4_t cod4_ro_t:dir list_dir_perms;
-allow cod4_t cod4_ro_t:file read_file_perms;
+read_files_pattern(cod4_t, cod4_ro_t, cod4_ro_t)
 
 manage_files_pattern(cod4_t, cod4_rw_t, cod4_rw_t)
 manage_dirs_pattern(cod4_t, cod4_rw_t, cod4_rw_t)