From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 92A431396D9 for ; Sun, 29 Oct 2017 20:43:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5CDA2BC14D; Sun, 29 Oct 2017 20:43:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 971B92BC145 for ; Sun, 29 Oct 2017 20:43:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8C6EB3416C2 for ; Sun, 29 Oct 2017 20:43:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF660743B for ; Sun, 29 Oct 2017 20:42:57 +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: <1509281990.ab221a14bbcdcf910a655ce840f6f75fbad8a869.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/admin/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/admin/netutils.te X-VCS-Directories: policy/modules/admin/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: ab221a14bbcdcf910a655ce840f6f75fbad8a869 X-VCS-Branch: master Date: Sun, 29 Oct 2017 20:42:57 +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: ada7f54f-9d5b-443b-bfc0-275cb35c01e5 X-Archives-Hash: 8cf2208b4222277d4d6f7105ea75f7b1 commit: ab221a14bbcdcf910a655ce840f6f75fbad8a869 Author: Luis Ressel via refpolicy oss tresys com> AuthorDate: Tue Oct 24 23:46:30 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Oct 29 12:59:50 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=ab221a14 netutils: Grant netutils_t map perms for the packet_socket class This is required for the PACKET_RX_RING feature used by tcpdump. policy/modules/admin/netutils.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/admin/netutils.te b/policy/modules/admin/netutils.te index f0995ef3..0d3fb75d 100644 --- a/policy/modules/admin/netutils.te +++ b/policy/modules/admin/netutils.te @@ -40,7 +40,7 @@ allow netutils_t self:netlink_route_socket create_netlink_socket_perms; allow netutils_t self:netlink_socket create_socket_perms; # For tcpdump. allow netutils_t self:netlink_netfilter_socket create_socket_perms; -allow netutils_t self:packet_socket create_socket_perms; +allow netutils_t self:packet_socket { create_socket_perms map }; allow netutils_t self:udp_socket create_socket_perms; allow netutils_t self:tcp_socket create_stream_socket_perms; allow netutils_t self:socket create_socket_perms;