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 B290B138CD0 for ; Fri, 22 May 2015 19:32:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5714AE08DC; Fri, 22 May 2015 19:32: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 6BE87E08EB for ; Fri, 22 May 2015 19:32:27 +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 B8D17340BFA for ; Fri, 22 May 2015 19:32:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 219899FF for ; Fri, 22 May 2015 19:32:24 +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: <1432322363.0e289ab8f74c478433de2a755082464a740d537b.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/networkmanager.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 0e289ab8f74c478433de2a755082464a740d537b X-VCS-Branch: master Date: Fri, 22 May 2015 19:32:24 +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: 6a1883e9-bde1-4391-ab20-de76c01964d9 X-Archives-Hash: 9e1ca8d5da3967756099b159b8685b89 commit: 0e289ab8f74c478433de2a755082464a740d537b Author: Stephen Smalley tycho nsa gov> AuthorDate: Fri May 22 12:49:50 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Fri May 22 19:19:23 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=0e289ab8 contrib: networkmanager: allow netlink_generic_socket access refpolicy commit 58b302957652322288618ceda0771d39e74a9e46 defined the new netlink socket security classes introduced by kernel commit 223ae516404a7a65f09e79a1c0291521c233336e. NetworkManager requires netlink_generic_socket access when running on a kernel with this change. Add an allow rule for it, while retaining the existing :netlink_socket rule for compatibility on older kernels. Signed-off-by: Stephen Smalley tycho.nsa.gov> policy/modules/contrib/networkmanager.te | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/contrib/networkmanager.te b/policy/modules/contrib/networkmanager.te index c29e773..820cc5b 100644 --- a/policy/modules/contrib/networkmanager.te +++ b/policy/modules/contrib/networkmanager.te @@ -52,6 +52,7 @@ allow NetworkManager_t self:unix_dgram_socket sendto; allow NetworkManager_t self:unix_stream_socket { accept listen }; allow NetworkManager_t self:netlink_route_socket create_netlink_socket_perms; allow NetworkManager_t self:netlink_socket create_socket_perms; +allow NetworkManager_t self:netlink_generic_socket create_socket_perms; allow NetworkManager_t self:netlink_kobject_uevent_socket create_socket_perms; allow NetworkManager_t self:tcp_socket { accept listen }; allow NetworkManager_t self:tun_socket { create_socket_perms relabelfrom relabelto };