1 |
commit: b5f2d0dd7c3c533bd0cac83d19ca52e2e3e00342 |
2 |
Author: Laurent Bigonville <bigon <AT> bigon <DOT> be> |
3 |
AuthorDate: Thu Dec 10 10:47:41 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=b5f2d0dd |
7 |
|
8 |
Use auth_use_nsswitch() as we need DNS resolving and access nsswitch.conf |
9 |
|
10 |
Use auth_use_nsswitch() instead of files_read_etc_files() and |
11 |
sysnet_dns_name_resolve() |
12 |
|
13 |
policy/modules/contrib/geoclue.te | 7 ++----- |
14 |
1 file changed, 2 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/policy/modules/contrib/geoclue.te b/policy/modules/contrib/geoclue.te |
17 |
index 68e6a16..34ed075 100644 |
18 |
--- a/policy/modules/contrib/geoclue.te |
19 |
+++ b/policy/modules/contrib/geoclue.te |
20 |
@@ -22,18 +22,15 @@ files_type(geoclue_var_lib_t) |
21 |
|
22 |
read_files_pattern(geoclue_t, geoclue_etc_t, geoclue_etc_t) |
23 |
|
24 |
+auth_use_nsswitch(geoclue_t) |
25 |
+ |
26 |
corenet_tcp_connect_http_port(geoclue_t) |
27 |
|
28 |
dev_read_urand(geoclue_t) |
29 |
|
30 |
-# Reads /etc/nsswitch.conf |
31 |
-files_read_etc_files(geoclue_t) |
32 |
- |
33 |
miscfiles_read_generic_certs(geoclue_t) |
34 |
miscfiles_read_localization(geoclue_t) |
35 |
|
36 |
-sysnet_dns_name_resolve(geoclue_t) |
37 |
- |
38 |
optional_policy(` |
39 |
avahi_dbus_chat(geoclue_t) |
40 |
') |