1 |
commit: e19b8a6df341e3dc10334f39c5ffed42035da210 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Sun Jan 25 13:49:11 2015 +0000 |
4 |
Commit: Jason Zaman <gentoo <AT> perfinion <DOT> com> |
5 |
CommitDate: Sun Jan 25 13:49:11 2015 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=e19b8a6d |
7 |
|
8 |
Allow dhcpc_script_t to create /run/dhcpcd directory, otherwise resolv.conf generation fails |
9 |
|
10 |
--- |
11 |
policy/modules/system/sysnetwork.te | 1 + |
12 |
1 file changed, 1 insertion(+) |
13 |
|
14 |
diff --git a/policy/modules/system/sysnetwork.te b/policy/modules/system/sysnetwork.te |
15 |
index b65117e..e5c63d6 100644 |
16 |
--- a/policy/modules/system/sysnetwork.te |
17 |
+++ b/policy/modules/system/sysnetwork.te |
18 |
@@ -455,6 +455,7 @@ ifdef(`distro_gentoo',` |
19 |
files_tmp_filetrans(dhcpc_script_t, dhcpc_script_tmp_t, { file dir }) |
20 |
|
21 |
manage_files_pattern(dhcpc_script_t, dhcpc_var_run_t, dhcpc_var_run_t) |
22 |
+ create_dirs_pattern(dhcpc_script_t, dhcpc_var_run_t, dhcpc_var_run_t) |
23 |
files_pid_filetrans(dhcpc_script_t, dhcpc_var_run_t, { file dir }) |
24 |
|
25 |
kernel_read_network_state(dhcpc_script_t) |