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 279771393DD for ; Wed, 13 Aug 2014 20:02:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73152E0C39; Wed, 13 Aug 2014 20:02:08 +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 C365AE0C31 for ; Wed, 13 Aug 2014 20:02:07 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0D0B340532 for ; Wed, 13 Aug 2014 20:02:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 952FA18816 for ; Wed, 13 Aug 2014 20:02:05 +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: <1407947770.b159698992463638f2fd801f987f2d8a2f1b6012.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: b159698992463638f2fd801f987f2d8a2f1b6012 X-VCS-Branch: master Date: Wed, 13 Aug 2014 20:02:05 +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: 993eaa43-7217-4b18-8186-0bf0c85b6b6a X-Archives-Hash: f0b93caf97de45928547d60dc09d9022 commit: b159698992463638f2fd801f987f2d8a2f1b6012 Author: Sven Vermeulen siphos be> AuthorDate: Wed Aug 13 16:36:10 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Wed Aug 13 16:36:10 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=b1596989 Allow dhcpc to create and manage control sockets --- policy/modules/system/sysnetwork.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policy/modules/system/sysnetwork.te b/policy/modules/system/sysnetwork.te index 35ca66f..cb0922d 100644 --- a/policy/modules/system/sysnetwork.te +++ b/policy/modules/system/sysnetwork.te @@ -399,6 +399,9 @@ ifdef(`distro_gentoo',` # Fixes bug 468874 allow dhcpc_t self:rawip_socket create_socket_perms; + # Allow dhcpcd to set its control sockets + allow dhcpc_t dhcpc_var_run_t:sock_file manage_sock_file_perms; + # Allow dhcpc to set hostname (/proc/sys/kernel/hostname) allow dhcpc_t self:capability sys_admin; kernel_rw_kernel_sysctl(dhcpc_t)