1 |
commit: 0f33943959c1bdf50ecd42ca5112c776ca6f141c |
2 |
Author: Chris PeBenito <cpebenito <AT> tresys <DOT> com> |
3 |
AuthorDate: Wed Dec 9 14:45:29 2015 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 17 15:57:35 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=0f339439 |
7 |
|
8 |
Add additional comments in geoclue. |
9 |
|
10 |
policy/modules/contrib/geoclue.te | 10 ++++++++++ |
11 |
1 file changed, 10 insertions(+) |
12 |
|
13 |
diff --git a/policy/modules/contrib/geoclue.te b/policy/modules/contrib/geoclue.te |
14 |
index fc72974..68e6a16 100644 |
15 |
--- a/policy/modules/contrib/geoclue.te |
16 |
+++ b/policy/modules/contrib/geoclue.te |
17 |
@@ -1,5 +1,10 @@ |
18 |
policy_module(geoclue, 1.0.0) |
19 |
|
20 |
+######################################## |
21 |
+# |
22 |
+# Declarations |
23 |
+# |
24 |
+ |
25 |
type geoclue_t; |
26 |
type geoclue_exec_t; |
27 |
dbus_system_domain(geoclue_t, geoclue_exec_t) |
28 |
@@ -10,6 +15,11 @@ files_config_file(geoclue_etc_t) |
29 |
type geoclue_var_lib_t; |
30 |
files_type(geoclue_var_lib_t) |
31 |
|
32 |
+######################################## |
33 |
+# |
34 |
+# Local policy |
35 |
+# |
36 |
+ |
37 |
read_files_pattern(geoclue_t, geoclue_etc_t, geoclue_etc_t) |
38 |
|
39 |
corenet_tcp_connect_http_port(geoclue_t) |