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 E6EDD1387B1 for ; Fri, 6 Dec 2013 17:33:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EC2EE0B35; Fri, 6 Dec 2013 17:33:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B5576E0B3C for ; Fri, 6 Dec 2013 17:33:18 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BC23633F4B7 for ; Fri, 6 Dec 2013 17:33:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 88690D0894 for ; Fri, 6 Dec 2013 17:33:15 +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: <1386351005.c50f5c45160fd4d53ed545a8610ca58b266e5a94.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: c50f5c45160fd4d53ed545a8610ca58b266e5a94 X-VCS-Branch: master Date: Fri, 6 Dec 2013 17:33:15 +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: 1e4046be-9ba8-48ff-812c-bb7e19c9907e X-Archives-Hash: 34a7bf9d72a70fc94e38cbab9570adb7 commit: c50f5c45160fd4d53ed545a8610ca58b266e5a94 Author: Dominick Grift gmail com> AuthorDate: Sat Nov 9 09:44:56 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Fri Dec 6 17:30:05 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=c50f5c45 sysnetwork: dhcpc: networkmanager interface calls from Fedora. In Debian i was able to confirm the need for networkmanager_manage_lib_files(dhcpc_t) since dhclient reads /var/lib/NetworkManager/dhclient-eth0.conf Signed-off-by: Dominick Grift gmail.com> --- policy/modules/system/sysnetwork.te | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/policy/modules/system/sysnetwork.te b/policy/modules/system/sysnetwork.te index f19fb4b..9613897 100644 --- a/policy/modules/system/sysnetwork.te +++ b/policy/modules/system/sysnetwork.te @@ -203,6 +203,13 @@ optional_policy(` ') optional_policy(` + networkmanager_domtrans(dhcpc_t) + networkmanager_read_pid_files(dhcpc_t) + networkmanager_manage_lib_files(dhcpc_t) + networkmanager_stream_connect(dhcpc_t) +') + +optional_policy(` nis_read_ypbind_pid(dhcpc_t) ')