From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7DCF8138AD0 for ; Thu, 29 Jan 2015 06:51:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C191E07D9; Thu, 29 Jan 2015 06:51:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 904F4E07D8 for ; Thu, 29 Jan 2015 06:51:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4B95A340709 for ; Thu, 29 Jan 2015 06:51:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 070D0108CD for ; Thu, 29 Jan 2015 06:51:49 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1422193751.e19b8a6df341e3dc10334f39c5ffed42035da210.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/sysnetwork.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: e19b8a6df341e3dc10334f39c5ffed42035da210 X-VCS-Branch: next Date: Thu, 29 Jan 2015 06:51:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4d6eb45b-649b-4a66-813d-2b8162f04208 X-Archives-Hash: a01ee23c5eb89d754bd7ee21dd535f8a commit: e19b8a6df341e3dc10334f39c5ffed42035da210 Author: Sven Vermeulen siphos be> AuthorDate: Sun Jan 25 13:49:11 2015 +0000 Commit: Jason Zaman perfinion com> CommitDate: Sun Jan 25 13:49:11 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=e19b8a6d Allow dhcpc_script_t to create /run/dhcpcd directory, otherwise resolv.conf generation fails --- policy/modules/system/sysnetwork.te | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/system/sysnetwork.te b/policy/modules/system/sysnetwork.te index b65117e..e5c63d6 100644 --- a/policy/modules/system/sysnetwork.te +++ b/policy/modules/system/sysnetwork.te @@ -455,6 +455,7 @@ ifdef(`distro_gentoo',` files_tmp_filetrans(dhcpc_script_t, dhcpc_script_tmp_t, { file dir }) manage_files_pattern(dhcpc_script_t, dhcpc_var_run_t, dhcpc_var_run_t) + create_dirs_pattern(dhcpc_script_t, dhcpc_var_run_t, dhcpc_var_run_t) files_pid_filetrans(dhcpc_script_t, dhcpc_var_run_t, { file dir }) kernel_read_network_state(dhcpc_script_t)