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
Update cod4, q3a, quake2, tesseract, tf2, ts3 and ut2004 to new interfaces
[selinux.git]
/
ts3
/
ts3.te
diff --git
a/ts3/ts3.te
b/ts3/ts3.te
index
4cf9e8e
..
00a2ef2
100644
(file)
--- a/
ts3/ts3.te
+++ b/
ts3/ts3.te
@@
-1,4
+1,4
@@
-policy_module(ts3, 0.1.2
1
)
+policy_module(ts3, 0.1.2
2
)
# File context for the executable process
type ts3_t;
# File context for the executable process
type ts3_t;
@@
-21,8
+21,7
@@
corenet_tcp_bind_generic_node(ts3_t)
allow ts3_t self:tcp_socket { create_stream_socket_perms connected_stream_socket_perms };
allow ts3_t self:tcp_socket { create_stream_socket_perms connected_stream_socket_perms };
-allow ts3_t ts3_ro_t:dir list_dir_perms;
-allow ts3_t ts3_ro_t:file read_file_perms;
+read_files_pattern(ts3_t, ts3_ro_t, ts3_ro_t)
manage_files_pattern(ts3_t, ts3_rw_t, ts3_rw_t)
manage_dirs_pattern(ts3_t, ts3_rw_t, ts3_rw_t)
manage_files_pattern(ts3_t, ts3_rw_t, ts3_rw_t)
manage_dirs_pattern(ts3_t, ts3_rw_t, ts3_rw_t)