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 C5A83138334 for ; Thu, 12 Jul 2018 14:37:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A2C4E08FB; Thu, 12 Jul 2018 14:37:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B9824E08F6 for ; Thu, 12 Jul 2018 14:37:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 6FC6A335C99 for ; Thu, 12 Jul 2018 14:37:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CF2D7375 for ; Thu, 12 Jul 2018 14:37:12 +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: <1531320170.2183738fdf2058f431c6eb7fbdadf9c398eb0eac.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/portage.te X-VCS-Directories: policy/modules/admin/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 2183738fdf2058f431c6eb7fbdadf9c398eb0eac X-VCS-Branch: master Date: Thu, 12 Jul 2018 14:37:12 +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: ca06a34a-e959-4776-a9cd-d1ee7c8043c3 X-Archives-Hash: e08c52873311e8984981ebfbc0273d3c commit: 2183738fdf2058f431c6eb7fbdadf9c398eb0eac Author: Jason Zaman perfinion com> AuthorDate: Mon Jul 9 13:04:40 2018 +0000 Commit: Jason Zaman gentoo org> CommitDate: Wed Jul 11 14:42:50 2018 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=2183738f portage: allow getattr xserver_misc_device for cuda policy/modules/admin/portage.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/admin/portage.te b/policy/modules/admin/portage.te index 4d1a4955..33547b6e 100644 --- a/policy/modules/admin/portage.te +++ b/policy/modules/admin/portage.te @@ -477,6 +477,8 @@ gen_tunable(portage_enable_test, false) auth_use_nsswitch(portage_t) + dev_getattr_xserver_misc_dev(portage_t) + # Support cgroup FEATURES fs_mount_cgroup(portage_t) fs_mounton_cgroup(portage_t) @@ -511,6 +513,8 @@ gen_tunable(portage_enable_test, false) # install-xattr does listxattr() which throws a lot of this dontaudit portage_sandbox_t self:capability sys_admin; + dev_getattr_xserver_misc_dev(portage_sandbox_t) + tunable_policy(`portage_enable_test',` # lots of tests connect over loopback corenet_tcp_bind_all_unreserved_ports(portage_sandbox_t)