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 F2C78138A1A for ; Sun, 25 Jan 2015 13:50:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93CDDE07F7; Sun, 25 Jan 2015 13:50:28 +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 36C26E07F7 for ; Sun, 25 Jan 2015 13:50:28 +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 7643C3406BB for ; Sun, 25 Jan 2015 13:50:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09CDC1057B for ; Sun, 25 Jan 2015 13:50:26 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1422193751.e19b8a6df341e3dc10334f39c5ffed42035da210.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master 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: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: e19b8a6df341e3dc10334f39c5ffed42035da210 X-VCS-Branch: master Date: Sun, 25 Jan 2015 13:50:26 +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: 49cc6f5a-9e5e-4f20-940f-55c605eaad4e X-Archives-Hash: 530ebf87063cde3a84649cc18d9424d9 commit: e19b8a6df341e3dc10334f39c5ffed42035da210 Author: Sven Vermeulen siphos be> AuthorDate: Sun Jan 25 13:49:11 2015 +0000 Commit: Sven Vermeulen gentoo org> 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)