Move base directories to /var/games
[selinux.git] / tf2 / tf2.te
index 3e6bcdc..024594e 100644 (file)
@@ -1,7 +1,8 @@
-policy_module(tf2, 0.1.29)
+policy_module(tf2, 0.1.30)
 
 require {
     type default_t;
+    type games_data_t;
 }
 
 # File context for the executable process
@@ -61,3 +62,5 @@ dontaudit tf2_t default_t:dir read;
 
 allow init_t tf2_t:process { noatsecure };
 allow tf2_t self:process execmem;
+
+list_dirs_pattern(tf2_t, games_data_t, games_data_t)