-policy_module(tf2, 0.1.28)
+policy_module(tf2, 0.1.30)
require {
type default_t;
+ type games_data_t;
}
# File context for the executable process
manage_dirs_pattern(tf2_t, tf2_rw_t, tf2_rw_t)
setattr_files_pattern(tf2_t, tf2_rw_t, tf2_rw_t)
+# TF2 wants to create /tmp/dumps
+files_manage_generic_tmp_dirs(tf2_t)
+
sysnet_dns_name_resolve(tf2_t)
# Needed to load shared libs
allow init_t tf2_t:process { noatsecure };
allow tf2_t self:process execmem;
+
+list_dirs_pattern(tf2_t, games_data_t, games_data_t)