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 77292138247 for ; Sun, 29 Dec 2013 15:24:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A361E0A96; Sun, 29 Dec 2013 15:24:55 +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 0C416E0A96 for ; Sun, 29 Dec 2013 15:24:54 +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 E641033F7DE for ; Sun, 29 Dec 2013 15:24:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 390D9E54D1 for ; Sun, 29 Dec 2013 15:24:52 +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: <1388330568.a9333123e9697f2281b2d3023784e18760cad9c0.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: a9333123e9697f2281b2d3023784e18760cad9c0 X-VCS-Branch: master Date: Sun, 29 Dec 2013 15:24:52 +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: 515a0d1b-9ad3-4922-a1b2-45429c77442e X-Archives-Hash: 7d16a64668962c8ae91ae1e720f43fe8 commit: a9333123e9697f2281b2d3023784e18760cad9c0 Author: Sven Vermeulen siphos be> AuthorDate: Sun Dec 29 15:22:48 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Dec 29 15:22:48 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=a9333123 Fix bug #468878 - Allow pump DHCP client to work --- policy/modules/system/sysnetwork.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/system/sysnetwork.te b/policy/modules/system/sysnetwork.te index 021c8ca..bfd9435 100644 --- a/policy/modules/system/sysnetwork.te +++ b/policy/modules/system/sysnetwork.te @@ -402,4 +402,8 @@ ifdef(`distro_gentoo',` # Allow dhcpc to set hostname (/proc/sys/kernel/hostname) allow dhcpc_t self:capability sys_admin; kernel_rw_kernel_sysctl(dhcpc_t) + + # Fixes bug 468878 + files_pid_filetrans(dhcpc_t, dhcpc_var_run_t, sock_file) + allow dhcpc_t self:unix_stream_socket { create_stream_socket_perms connectto }; ')