git://git.camperquake.de
/
selinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move base directories to /var/games
[selinux.git]
/
bf1942
/
bf1942.te
diff --git
a/bf1942/bf1942.te
b/bf1942/bf1942.te
index
f3084c6
..
d7cd464
100644
(file)
--- 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;
# 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;
# 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)