X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=selinux.git;a=blobdiff_plain;f=cod4%2Fcod4.te;h=bc833ab99bfd7ca2cd61ddf5b8d8809d01bade58;hp=17885b676eb749a22c34cf3db1df56f75bb9e764;hb=HEAD;hpb=faa5c7dc62167b8b56f1ea1505e32ab6b09fc859 diff --git a/cod4/cod4.te b/cod4/cod4.te index 17885b6..bc833ab 100644 --- a/cod4/cod4.te +++ b/cod4/cod4.te @@ -1,4 +1,8 @@ -policy_module(cod4, 0.1.33) +policy_module(cod4, 0.1.38) + +require { + type games_data_t; +} # File context for the executable process type cod4_t; @@ -27,3 +31,5 @@ setattr_files_pattern(cod4_t, cod4_rw_t, cod4_rw_t) sysnet_dns_name_resolve(cod4_t) allow init_t cod4_t:process { noatsecure }; + +list_dirs_pattern(cod4_t, games_data_t, games_data_t)