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]
/
cod4
/
cod4.te
diff --git
a/cod4/cod4.te
b/cod4/cod4.te
index
17885b6
..
bc833ab
100644
(file)
--- 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;
# 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 };
sysnet_dns_name_resolve(cod4_t)
allow init_t cod4_t:process { noatsecure };
+
+list_dirs_pattern(cod4_t, games_data_t, games_data_t)