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 920CF138CDD for ; Tue, 9 Jun 2015 13:24:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1F38E0863; Tue, 9 Jun 2015 13:24:19 +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 32076E0863 for ; Tue, 9 Jun 2015 13:24:19 +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 73575340A7F for ; Tue, 9 Jun 2015 13:24:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 26242A32 for ; Tue, 9 Jun 2015 13:24:17 +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: <1432322363.0e289ab8f74c478433de2a755082464a740d537b.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift 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: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 0e289ab8f74c478433de2a755082464a740d537b X-VCS-Branch: swift Date: Tue, 9 Jun 2015 13:24:17 +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: a25a0969-ea00-4260-ad52-b2c21c38024d X-Archives-Hash: 24d6630c0263c0bbe76bad01af323b6b commit: 0e289ab8f74c478433de2a755082464a740d537b Author: Stephen Smalley tycho nsa gov> AuthorDate: Fri May 22 12:49:50 2015 +0000 Commit: Sven Vermeulen 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 };