X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=selinux.git;a=blobdiff_plain;f=bf1942%2Fbf1942.te;h=d7cd464c9fdf9d511f2f6b6c0a2b7ab0e4242149;hp=f3084c6be35f659f7898994b180ff54872c5ae5c;hb=HEAD;hpb=faa5c7dc62167b8b56f1ea1505e32ab6b09fc859 diff --git a/bf1942/bf1942.te b/bf1942/bf1942.te index f3084c6..d7cd464 100644 --- a/bf1942/bf1942.te +++ b/bf1942/bf1942.te @@ -1,4 +1,8 @@ -policy_module(bf1942, 0.1.6) +policy_module(bf1942, 0.1.7) + +require { + type games_data_t; +} # File context for the executable process type bf1942_t; @@ -32,3 +36,5 @@ allow bf1942_t self:process execmem; # The BF1942 binary executes itself allow bf1942_t bf1942_exec_t:file execute_no_trans; + +list_dirs_pattern(bf1942_t, games_data_t, games_data_t)