1 |
commit: e74c43f9feecff8411f12ddbc42df02671fe0d98 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Fri Aug 17 18:13:46 2012 +0000 |
4 |
Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
5 |
CommitDate: Fri Aug 17 18:13:46 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=e74c43f9 |
7 |
|
8 |
Remove reference to named_var_lib_t |
9 |
|
10 |
In the named_admin() function, there is a reference to named_var_lib_t, but this |
11 |
type is not declared in the .te file nor is there a file context for it |
12 |
anywhere. |
13 |
|
14 |
--- |
15 |
policy/modules/contrib/bind.if | 5 +---- |
16 |
1 files changed, 1 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/policy/modules/contrib/bind.if b/policy/modules/contrib/bind.if |
19 |
index 44a1e3d..12c0bc9 100644 |
20 |
--- a/policy/modules/contrib/bind.if |
21 |
+++ b/policy/modules/contrib/bind.if |
22 |
@@ -359,7 +359,7 @@ interface(`bind_udp_chat_named',` |
23 |
interface(`bind_admin',` |
24 |
gen_require(` |
25 |
type named_t, named_tmp_t, named_log_t; |
26 |
- type named_conf_t, named_var_lib_t, named_var_run_t; |
27 |
+ type named_conf_t, named_var_run_t; |
28 |
type named_cache_t, named_zone_t; |
29 |
type dnssec_t, ndc_t; |
30 |
type named_initrc_exec_t; |
31 |
@@ -391,9 +391,6 @@ interface(`bind_admin',` |
32 |
admin_pattern($1, named_zone_t) |
33 |
admin_pattern($1, dnssec_t) |
34 |
|
35 |
- files_list_var_lib($1) |
36 |
- admin_pattern($1, named_var_lib_t) |
37 |
- |
38 |
files_list_pids($1) |
39 |
admin_pattern($1, named_var_run_t) |
40 |
') |